Flutter Engine
The Flutter Engine
|
#include <GrProgramDesc.h>
Public Member Functions | |
GrProgramDesc (const GrProgramDesc &other)=default | |
GrProgramDesc & | operator= (const GrProgramDesc &other)=default |
bool | isValid () const |
void | reset () |
const uint32_t * | asKey () const |
uint32_t | keyLength () const |
bool | operator== (const GrProgramDesc &that) const |
bool | operator!= (const GrProgramDesc &other) const |
uint32_t | initialKeyLength () const |
Static Public Member Functions | |
static SkString | Describe (const GrProgramInfo &, const GrCaps &) |
Protected Types | |
enum | { kHeaderSize = 1 , kMaxPreallocProcessors = 8 , kIntsPerProcessor = 4 , kPreAllocSize } |
using | KeyType = skia_private::STArray< kPreAllocSize, uint32_t, true > |
Protected Member Functions | |
GrProgramDesc () | |
KeyType * | key () |
Static Protected Member Functions | |
static void | Build (GrProgramDesc *, const GrProgramInfo &, const GrCaps &) |
static bool | BuildFromData (GrProgramDesc *desc, const void *keyData, size_t keyLength) |
Friends | |
class | GrDawnCaps |
class | GrD3DCaps |
class | GrGLCaps |
class | GrMockCaps |
class | GrMtlCaps |
class | GrVkCaps |
class | GrGLGpu |
class | GrMtlResourceProvider |
This class is used to generate a generic program cache key. The Dawn, Metal and Vulkan backends derive backend-specific versions which add additional information.
Definition at line 26 of file GrProgramDesc.h.
|
protected |
Definition at line 99 of file GrProgramDesc.h.
|
protected |
Enumerator | |
---|---|
kHeaderSize | |
kMaxPreallocProcessors | |
kIntsPerProcessor | |
kPreAllocSize |
Definition at line 91 of file GrProgramDesc.h.
|
default |
|
inlineprotected |
Definition at line 70 of file GrProgramDesc.h.
|
inline |
Definition at line 35 of file GrProgramDesc.h.
|
staticprotected |
Builds a program descriptor.
desc | The built descriptor |
programInfo | Program information need to build the key |
caps | the caps |
Definition at line 176 of file GrProgramDesc.cpp.
|
inlinestaticprotected |
Definition at line 82 of file GrProgramDesc.h.
|
static |
Definition at line 185 of file GrProgramDesc.cpp.
|
inline |
Definition at line 52 of file GrProgramDesc.h.
|
inline |
Definition at line 31 of file GrProgramDesc.h.
|
inlineprotected |
Definition at line 101 of file GrProgramDesc.h.
|
inline |
Definition at line 40 of file GrProgramDesc.h.
|
inline |
Definition at line 48 of file GrProgramDesc.h.
|
default |
|
inline |
Definition at line 44 of file GrProgramDesc.h.
|
inline |
Definition at line 32 of file GrProgramDesc.h.
|
friend |
Definition at line 60 of file GrProgramDesc.h.
|
friend |
Definition at line 59 of file GrProgramDesc.h.
|
friend |
Definition at line 61 of file GrProgramDesc.h.
|
friend |
Definition at line 66 of file GrProgramDesc.h.
|
friend |
Definition at line 62 of file GrProgramDesc.h.
|
friend |
Definition at line 63 of file GrProgramDesc.h.
|
friend |
Definition at line 67 of file GrProgramDesc.h.
|
friend |
Definition at line 64 of file GrProgramDesc.h.