Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Functions
GrCaps.cpp File Reference
#include "src/gpu/ganesh/GrCaps.h"
#include "include/core/SkColor.h"
#include "include/core/SkRect.h"
#include "include/core/SkSize.h"
#include "include/core/SkTextureCompressionType.h"
#include "include/gpu/GpuTypes.h"
#include "include/gpu/GrBackendSurface.h"
#include "include/gpu/GrContextOptions.h"
#include "include/private/base/SkDebug.h"
#include "include/private/gpu/ganesh/GrTypesPriv.h"
#include "src/core/SkCompressedDataUtils.h"
#include "src/gpu/ganesh/GrBackendUtils.h"
#include "src/gpu/ganesh/GrRenderTargetProxy.h"
#include "src/gpu/ganesh/GrSurface.h"
#include "src/gpu/ganesh/GrSurfaceProxy.h"
#include "src/gpu/ganesh/GrWindowRectangles.h"

Go to the source code of this file.

Functions

static GrColorType color_type_fallback (GrColorType ct)
 

Function Documentation

◆ color_type_fallback()

static GrColorType color_type_fallback ( GrColorType  ct)
inlinestatic

Definition at line 476 of file GrCaps.cpp.

476 {
477 switch (ct) {
478 // kRGBA_8888 is our default fallback for many color types that may not have renderable
479 // backend formats.
494 default:
496 }
497}