/frameworks/base/libs/hwui/ |
H A D | Vertex.h | 28 * Simple structure to describe a vertex with a position and a texture. 43 static inline void set(Vertex* vertex, float x, float y) { argument 44 vertex->x = x; 45 vertex->y = y; 48 static inline void set(Vertex* vertex, Vector2 val) { argument 49 set(vertex, val.x, val.y); 52 static inline void copyWithOffset(Vertex* vertex, const Vertex& src, float x, float y) { argument 53 set(vertex, src.x + x, src.y + y); 61 * Simple structure to describe a vertex with a position and texture UV. 67 static inline void set(TextureVertex* vertex, floa argument 71 setUV(TextureVertex* vertex, float u, float v) argument 87 set(ColorTextureVertex* vertex, float x, float y, float u, float v, int color) argument 107 set(AlphaVertex* vertex, float x, float y, float alpha) argument 111 copyWithOffset(AlphaVertex* vertex, const AlphaVertex& src, float x, float y) argument 116 setColor(AlphaVertex* vertex, float alpha) argument [all...] |
H A D | Program.cpp | 32 Program::Program(const ProgramDescription& description, const char* vertex, const char* fragment) { argument 40 mVertexShader = buildShader(vertex, GL_VERTEX_SHADER);
|
H A D | Patch.cpp | 63 TextureVertex* vertex = vertices.get(); local 126 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX, 138 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX, 149 void Patch::generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, argument 174 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); 185 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); 189 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, argument 217 TextureVertex::set(vertex++, x1, y1, u1, v1); 218 TextureVertex::set(vertex++, x2, y1, u2, v1); 219 TextureVertex::set(vertex [all...] |
H A D | DisplayListOp.h | 235 // NOTE: requires at least 1 vertex, and doesn't account for stroke size (should be handled in 656 TextureVertex* vertex = &vertices[0]; variable 674 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, top); 675 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, top); 676 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, bottom); 678 SET_TEXTURE(vertex, opBounds, bounds, texCoords, left, bottom); 679 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, top); 680 SET_TEXTURE(vertex, opBounds, bounds, texCoords, right, bottom); 839 TextureVertex* vertex = &vertices[0]; variable 863 TextureVertex::set(vertex [all...] |
H A D | OpenGLRenderer.cpp | 1125 Vertex* vertex = mesh; local 1130 Vertex::set(vertex++, bounds.left, bounds.top); 1131 Vertex::set(vertex++, bounds.right, bounds.top); 1132 Vertex::set(vertex++, bounds.left, bounds.bottom); 1133 Vertex::set(vertex++, bounds.right, bounds.bottom); 1588 ColorTextureVertex* vertex = &mesh[0]; local 1621 ColorTextureVertex::set(vertex++, vertices[dx], vertices[dy], u2, v2, colors[dx / 2]); 1622 ColorTextureVertex::set(vertex++, vertices[ax], vertices[ay], u1, v2, colors[ax / 2]); 1623 ColorTextureVertex::set(vertex++, vertices[bx], vertices[by], u1, v1, colors[bx / 2]); 1625 ColorTextureVertex::set(vertex 2547 Vertex* vertex = mesh; local [all...] |
/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Program.cpp | 28 Program::Program(const ProgramCache::Key& /*needs*/, const char* vertex, const char* fragment) argument 30 GLuint vertexId = buildShader(vertex, GL_VERTEX_SHADER);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLTextureViewActivity.java | 280 private static int buildProgram(String vertex, String fragment) { argument 281 int vertexShader = buildShader(vertex, GL_VERTEX_SHADER);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 611 private int buildProgram(String vertex, String fragment) { argument 612 int vertexShader = buildShader(vertex, GL_VERTEX_SHADER);
|
/frameworks/rs/ |
H A D | rs_hal.h | 303 } vertex; member in struct:android::renderscript::__anon1606
|
/frameworks/native/opengl/libagl/ |
H A D | context.h | 141 size_t index; // cache tag, and vertex index 201 array_t vertex; member in struct:android::gl::array_machine_t
|