/frameworks/base/libs/hwui/ |
Patch.h | 49 TextureVertex* vertices; 58 TextureVertex* createMesh(const float bitmapWidth, const float bitmapHeight, 60 TextureVertex* createMesh(const float bitmapWidth, const float bitmapHeight, 64 void generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, 67 void generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2,
|
Patch.cpp | 47 return verticesCount * sizeof(TextureVertex); 50 TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeight, 56 TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeight, 80 TextureVertex* tempVertices = new TextureVertex[maxVertices]; 81 TextureVertex* vertex = tempVertices; 163 vertices = new TextureVertex[verticesCount]; 164 memcpy(vertices, tempVertices, verticesCount * sizeof(TextureVertex)); 171 void Patch::generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, 211 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2 [all...] |
Vertex.h | 59 struct TextureVertex { 63 static inline void set(TextureVertex* vertex, float x, float y, float u, float v) { 70 static inline void setUV(TextureVertex* vertex, float u, float v) { 74 }; // struct TextureVertex 79 struct ColorTextureVertex : TextureVertex { 84 TextureVertex::set(vertex, x, y, u, v);
|
Caches.h | 73 static const TextureVertex gMeshVertices[] = { 79 static const GLsizei gMeshStride = sizeof(TextureVertex); 295 TextureVertex* getRegionMesh(); 417 TextureVertex* mRegionMesh;
|
LayerRenderer.cpp | 159 mLayer->mesh = new TextureVertex[count * 4]; 167 TextureVertex* mesh = mLayer->mesh; 177 TextureVertex::set(mesh++, r->left, r->top, u1, v1); 178 TextureVertex::set(mesh++, r->right, r->top, u2, v1); 179 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2); 180 TextureVertex::set(mesh++, r->right, r->bottom, u2, v2);
|
PatchCache.h | 162 void setupMesh(Patch* newMesh, TextureVertex* vertices);
|
PatchCache.cpp | 187 void PatchCache::setupMesh(Patch* newMesh, TextureVertex* vertices) { 250 TextureVertex* vertices;
|
OpenGLRenderer.h | 163 TextureVertex* vertices, bool pureTranslate, const Rect& bounds, const SkPaint* paint); 171 TextureVertex* vertices, uint32_t indexCount, const SkPaint* paint); [all...] |
Layer.h | 321 TextureVertex* mesh;
|
DisplayListOp.h | 667 TextureVertex::set(ptr++, posRect.xDim - offsetRect.left, posRect.yDim - offsetRect.top, \ 680 TextureVertex vertices[6 * ops.size()]; 681 TextureVertex* vertex = &vertices[0]; 885 TextureVertex vertices[totalVertices]; 886 TextureVertex* vertex = &vertices[0]; 908 TextureVertex* opVertices = opMesh->vertices; 910 TextureVertex::set(vertex++, [all...] |
OpenGLRenderer.cpp | [all...] |
Caches.cpp | 688 TextureVertex* Caches::getRegionMesh() { 691 mRegionMesh = new TextureVertex[gMaxNumberOfQuads * 4];
|
FontRenderer.cpp | 517 TextureVertex* mesh = texture->mesh();
|
/frameworks/base/libs/hwui/font/ |
CacheTexture.h | 141 TextureVertex* mesh() const { 161 TextureVertex* mesh = mMesh + mCurrentQuad * 4; 162 TextureVertex::set(mesh++, x2, y2, u2, v2); 163 TextureVertex::set(mesh++, x3, y3, u3, v3); 164 TextureVertex::set(mesh++, x1, y1, u1, v1); 165 TextureVertex::set(mesh++, x4, y4, u4, v4); 188 TextureVertex* mMesh;
|
CacheTexture.cpp | 179 mMesh = new TextureVertex[mMaxQuadCount * 4];
|