/frameworks/base/libs/hwui/ |
Patch.h | 48 TextureVertex* vertices; 57 TextureVertex* createMesh(const float bitmapWidth, const float bitmapHeight, 59 TextureVertex* createMesh(const float bitmapWidth, const float bitmapHeight, 63 void generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, 66 void generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2,
|
Vertex.h | 58 struct TextureVertex { 62 static inline void set(TextureVertex* vertex, float x, float y, float u, float v) { 69 static inline void setUV(TextureVertex* vertex, float u, float v) { 73 }; // struct TextureVertex 78 struct ColorTextureVertex : TextureVertex { 83 TextureVertex::set(vertex, x, y, u, v);
|
Patch.cpp | 46 return verticesCount * sizeof(TextureVertex); 49 TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeight, 55 TextureVertex* Patch::createMesh(const float bitmapWidth, const float bitmapHeight, 79 TextureVertex* tempVertices = new TextureVertex[maxVertices]; 80 TextureVertex* vertex = tempVertices; 162 vertices = new TextureVertex[verticesCount]; 163 memcpy(vertices, tempVertices, verticesCount * sizeof(TextureVertex)); 170 void Patch::generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, 210 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2 [all...] |
Caches.h | 69 static const TextureVertex gMeshVertices[] = { 75 static const GLsizei gMeshStride = sizeof(TextureVertex); 288 TextureVertex* getRegionMesh(); 399 TextureVertex* mRegionMesh;
|
LayerRenderer.cpp | 158 mLayer->mesh = new TextureVertex[count * 4]; 166 TextureVertex* mesh = mLayer->mesh; 176 TextureVertex::set(mesh++, r->left, r->top, u1, v1); 177 TextureVertex::set(mesh++, r->right, r->top, u2, v1); 178 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2); 179 TextureVertex::set(mesh++, r->right, r->bottom, u2, v2);
|
PatchCache.h | 162 void setupMesh(Patch* newMesh, TextureVertex* vertices);
|
PatchCache.cpp | 171 void PatchCache::setupMesh(Patch* newMesh, TextureVertex* vertices) { 233 TextureVertex* vertices;
|
OpenGLRenderer.h | 288 TextureVertex* vertices, bool pureTranslate, const Rect& bounds, SkPaint* paint); 297 TextureVertex* vertices, uint32_t indexCount, SkPaint* paint); [all...] |
Layer.h | 279 TextureVertex* mesh;
|
DisplayListOp.h | 758 TextureVertex::set(ptr++, posRect.xDim - offsetRect.left, posRect.yDim - offsetRect.top, \ 771 TextureVertex vertices[6 * ops.size()]; 772 TextureVertex* vertex = &vertices[0]; [all...] |
OpenGLRenderer.cpp | [all...] |
Caches.cpp | 670 TextureVertex* Caches::getRegionMesh() { 673 mRegionMesh = new TextureVertex[gMaxNumberOfQuads * 4];
|
FontRenderer.cpp | 516 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];
|