Flutter Engine
The Flutter Engine
|
Public Member Functions | |
DrawMeshHelper (GrOpFlushState *state) | |
sk_sp< const GrBuffer > | getIndexBuffer () |
sk_sp< const GrBuffer > | makeIndexBuffer (const uint16_t[], int count) |
template<typename T > | |
sk_sp< const GrBuffer > | makeVertexBuffer (const TArray< T > &data) |
template<typename T > | |
sk_sp< const GrBuffer > | makeVertexBuffer (const std::vector< T > &data) |
template<typename T > | |
sk_sp< const GrBuffer > | makeVertexBuffer (const T *data, int count) |
GrMeshDrawTarget * | target () |
GrOpsRenderPass * | bindPipeline (GrPrimitiveType, bool isInstanced, bool hasVertexBuffer) |
Public Attributes | |
sk_sp< const GrBuffer > | fIndexBuffer |
sk_sp< const GrBuffer > | fIndexBuffer2 |
sk_sp< const GrBuffer > | fInstBuffer |
sk_sp< const GrBuffer > | fVertBuffer |
sk_sp< const GrBuffer > | fVertBuffer2 |
sk_sp< const GrBuffer > | fDrawIndirectBuffer |
size_t | fDrawIndirectBufferOffset |
Definition at line 96 of file GrMeshTest.cpp.
|
inline |
Definition at line 98 of file GrMeshTest.cpp.
GrOpsRenderPass * DrawMeshHelper::bindPipeline | ( | GrPrimitiveType | primitiveType, |
bool | isInstanced, | ||
bool | hasVertexBuffer | ||
) |
Definition at line 609 of file GrMeshTest.cpp.
Definition at line 603 of file GrMeshTest.cpp.
Definition at line 588 of file GrMeshTest.cpp.
|
inline |
Definition at line 107 of file GrMeshTest.cpp.
sk_sp< const GrBuffer > DrawMeshHelper::makeVertexBuffer | ( | const T * | data, |
int | count | ||
) |
Definition at line 596 of file GrMeshTest.cpp.
|
inline |
Definition at line 104 of file GrMeshTest.cpp.
|
inline |
Definition at line 112 of file GrMeshTest.cpp.
Definition at line 119 of file GrMeshTest.cpp.
size_t DrawMeshHelper::fDrawIndirectBufferOffset |
Definition at line 120 of file GrMeshTest.cpp.
Definition at line 114 of file GrMeshTest.cpp.
Definition at line 115 of file GrMeshTest.cpp.
Definition at line 116 of file GrMeshTest.cpp.
Definition at line 117 of file GrMeshTest.cpp.
Definition at line 118 of file GrMeshTest.cpp.