Searched defs:vertex (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/libs/hwui/
H A DVertex.h29 * 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) { set(vertex, val.x, val.y); } argument
50 static inline void copyWithOffset(Vertex* vertex, const Vertex& src, float x, float y) { argument
51 set(vertex, src.x + x, src.y + y);
59 * Simple structure to describe a vertex with a position and texture UV.
65 static inline void set(TextureVertex* vertex, floa argument
69 setUV(TextureVertex* vertex, float u, float v) argument
86 set(ColorTextureVertex* vertex, float x, float y, float u, float v, uint32_t color) argument
103 set(AlphaVertex* vertex, float x, float y, float alpha) argument
107 copyWithOffset(AlphaVertex* vertex, const AlphaVertex& src, float x, float y) argument
112 setColor(AlphaVertex* vertex, float alpha) argument
[all...]
H A DProgram.cpp29 Program::Program(const ProgramDescription& description, const char* vertex, const char* fragment) { argument
37 mVertexShader = buildShader(vertex, GL_VERTEX_SHADER);
H A DBakedOpRenderer.cpp191 Vertex* vertex = vertices.data(); local
199 Vertex::set(vertex++, l, t);
200 Vertex::set(vertex++, r, t);
201 Vertex::set(vertex++, l, b);
202 Vertex::set(vertex++, r, b);
H A DPatch.cpp60 TextureVertex* vertex = vertices.get(); local
123 generateRow(xDivs, xCount, vertex, y1, y2, v1, v2, stretchX, rescaleX, width,
135 generateRow(xDivs, xCount, vertex, y1, y2, v1, 1.0f, stretchX, rescaleX, width, bitmapWidth,
146 void Patch::generateRow(const int32_t* xDivs, uint32_t xCount, TextureVertex*& vertex, float y1, argument
171 generateQuad(vertex, x1, y1, x2, y2, u1, v1, u2, v2, quadCount);
182 generateQuad(vertex, x1, y1, x2, y2, u1, v1, 1.0f, v2, quadCount);
186 void Patch::generateQuad(TextureVertex*& vertex, float x1, float y1, float x2, float y2, float u1, argument
213 TextureVertex::set(vertex++, x1, y1, u1, v1);
214 TextureVertex::set(vertex++, x2, y1, u2, v1);
215 TextureVertex::set(vertex
[all...]
H A DBakedOpDispatcher.cpp112 TextureVertex* vertex = &vertices[0]; local
140 TextureVertex::set(vertex++, opVertices->x + tx, opVertices->y + ty, opVertices->u,
275 // apply the full transform matrix at draw time in the vertex shader.
444 ColorTextureVertex* vertex = &mesh[0]; local
474 ColorTextureVertex::set(vertex++, vertices[dx], vertices[dy], u2, v2, colors[dx / 2]);
475 ColorTextureVertex::set(vertex++, vertices[ax], vertices[ay], u1, v2, colors[ax / 2]);
476 ColorTextureVertex::set(vertex++, vertices[bx], vertices[by], u1, v1, colors[bx / 2]);
478 ColorTextureVertex::set(vertex++, vertices[dx], vertices[dy], u2, v2, colors[dx / 2]);
479 ColorTextureVertex::set(vertex++, vertices[bx], vertices[by], u1, v1, colors[bx / 2]);
480 ColorTextureVertex::set(vertex
[all...]
H A DRecordingCanvas.cpp290 Vertex* vertex = rectData; local
302 Vertex::set(vertex++, l, t);
303 Vertex::set(vertex++, r, t);
304 Vertex::set(vertex++, l, b);
305 Vertex::set(vertex++, r, b);
486 refBuffer<float>(vertices, vertexCount * 2), // 2 floats per vertex
487 refBuffer<int>(colors, vertexCount))); // 1 color per vertex
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgram.cpp29 Program::Program(const ProgramCache::Key& /*needs*/, const char* vertex, const char* fragment) argument
31 GLuint vertexId = buildShader(vertex, GL_VERTEX_SHADER);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DGLTextureViewActivity.java280 private static int buildProgram(String vertex, String fragment) { argument
281 int vertexShader = buildShader(vertex, GL_VERTEX_SHADER);
/frameworks/base/tests/UiBench/src/com/android/test/uibench/opengl/
H A DImageFlipRenderThread.java233 private static int buildProgram(String vertex, String fragment) { argument
234 int vertexShader = buildShader(vertex, GL_VERTEX_SHADER);
/frameworks/rs/
H A Drs_hal.h335 } vertex; member in struct:android::renderscript::__anon2032
/frameworks/native/opengl/libagl/
H A Dcontext.h142 size_t index; // cache tag, and vertex index
202 array_t vertex; member in struct:android::gl::array_machine_t

Completed in 54 milliseconds