Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GrMockTextureSpec Struct Reference

#include <GrMockTypesPriv.h>

Public Member Functions

 GrMockTextureSpec ()
 
 GrMockTextureSpec (const GrMockSurfaceInfo &info)
 

Public Attributes

GrColorType fColorType = GrColorType::kUnknown
 
SkTextureCompressionType fCompressionType = SkTextureCompressionType::kNone
 

Detailed Description

Definition at line 18 of file GrMockTypesPriv.h.

Constructor & Destructor Documentation

◆ GrMockTextureSpec() [1/2]

GrMockTextureSpec::GrMockTextureSpec ( )
inline

◆ GrMockTextureSpec() [2/2]

GrMockTextureSpec::GrMockTextureSpec ( const GrMockSurfaceInfo info)
inline

Definition at line 22 of file GrMockTypesPriv.h.

23 : fColorType(info.fColorType)
24 , fCompressionType(info.fCompressionType) {}
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
Definition DM.cpp:213

Member Data Documentation

◆ fColorType

GrColorType GrMockTextureSpec::fColorType = GrColorType::kUnknown

Definition at line 26 of file GrMockTypesPriv.h.

◆ fCompressionType

SkTextureCompressionType GrMockTextureSpec::fCompressionType = SkTextureCompressionType::kNone

Definition at line 27 of file GrMockTypesPriv.h.


The documentation for this struct was generated from the following file: