/frameworks/base/libs/hwui/ |
H A D | Vertex.h | 24 * Simple structure to describe a vertex with a position and a texture. 29 static inline void set(Vertex* vertex, float x, float y) { argument 30 vertex[0].position[0] = x; 31 vertex[0].position[1] = y; 36 * Simple structure to describe a vertex with a position and a texture. 42 static inline void set(TextureVertex* vertex, float x, float y, float u, float v) { argument 43 vertex[0].position[0] = x; 44 vertex[0].position[1] = y; 45 vertex[0].texture[0] = u; 46 vertex[ 49 setUV(TextureVertex* vertex, float u, float v) argument 61 set(AlphaVertex* vertex, float x, float y, float alpha) argument 66 setColor(AlphaVertex* vertex, float alpha) argument 78 set(AAVertex* vertex, float x, float y, float width, float length) argument 84 setColor(AAVertex* vertex, float width, float length) argument [all...] |
H A D | Program.cpp | 29 Program::Program(const ProgramDescription& description, const char* vertex, const char* fragment) { argument 37 mVertexShader = buildShader(vertex, GL_VERTEX_SHADER);
|
H A D | Patch.cpp | 152 TextureVertex* vertex = mVertices; local 180 generateRow(vertex, y1, y2, v1, v2, stretchX, rescaleX, right - left, 199 generateRow(vertex, y1, y2, v1, 1.0f, stretchX, rescaleX, right - left, 220 void Patch::generateRow(TextureVertex*& vertex, float y1, float y2, float v1, float v2, argument 248 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount); 266 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount); 270 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, argument 297 TextureVertex::set(vertex++, x1, y1, u1, v1); 298 TextureVertex::set(vertex++, x2, y1, u2, v1); 299 TextureVertex::set(vertex [all...] |
H A D | OpenGLRenderer.cpp | 1130 Vertex* vertex = mesh; local 1135 Vertex::set(vertex++, bounds->left, bounds->bottom); 1136 Vertex::set(vertex++, bounds->left, bounds->top); 1137 Vertex::set(vertex++, bounds->right, bounds->top); 1138 Vertex::set(vertex++, bounds->left, bounds->bottom); 1139 Vertex::set(vertex++, bounds->right, bounds->top); 1140 Vertex::set(vertex++, bounds->right, bounds->bottom); 1563 * attributes (one per vertex) are values from zero to one that tells the fragment 1700 // to the vertex shader. The save/restore is a bit overkill. 1742 TextureVertex* vertex local 2290 TextureVertex* vertex = &pointsData[0]; local [all...] |
/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/rs/ |
H A D | rs_hal.h | 231 } vertex; member in struct:android::renderscript::__anon1555
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rs_hal.h | 231 } vertex; member in struct:android::renderscript::__anon1584
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 550 private int buildProgram(String vertex, String fragment) { argument 551 int vertexShader = buildShader(vertex, GL_VERTEX_SHADER);
|
/frameworks/native/opengl/libagl/ |
H A D | context.h | 141 size_t index; // cache tag, and vertex index 197 array_t vertex; member in struct:android::gl::array_machine_t
|