/development/samples/ApiDemos/src/com/example/android/apis/graphics/kube/ |
GLWorld.java | 50 GLVertex vertex = iter2.next(); local 51 vertex.put(mVertexBuffer, mColorBuffer); 62 GLVertex vertex = new GLVertex(x, y, z, mVertexList.size()); local 63 mVertexList.add(vertex); 64 return vertex; 67 public void transformVertex(GLVertex vertex, M4 transform) { 68 vertex.update(mVertexBuffer, transform);
|
GLFace.java | 55 GLVertex vertex = mVertexList.get(last); local 59 while (vertex.color != null) { 60 mVertexList.add(0, vertex); 62 vertex = mVertexList.get(last); 66 vertex.color = c;
|
GLShape.java | 60 GLVertex vertex = iter.next(); local 61 if (vertex.x == x && vertex.y == y && vertex.z == z) { 62 return vertex; 66 // doesn't exist, so create new vertex 67 GLVertex vertex = mWorld.addVertex(x, y, z); local 68 mVertexList.add(vertex); 69 return vertex; 80 GLVertex vertex = iter.next() local [all...] |
/external/chromium_org/third_party/angle_dx11/samples/gles2_book/Common/ |
esShapes.c | 43 /// \brief Generates geometry for a sphere. Allocates memory for the vertex data and stores 80 int vertex = ( i * (numSlices + 1) + j ) * 3; local 84 (*vertices)[vertex + 0] = radius * sinf ( angleStep * (float)i ) * 86 (*vertices)[vertex + 1] = radius * cosf ( angleStep * (float)i ); 87 (*vertices)[vertex + 2] = radius * sinf ( angleStep * (float)i ) * 93 (*normals)[vertex + 0] = (*vertices)[vertex + 0] / radius; 94 (*normals)[vertex + 1] = (*vertices)[vertex + 1] / radius; 95 (*normals)[vertex + 2] = (*vertices)[vertex + 2] / radius [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d10tri/ |
d3d10tri.cpp | 31 struct vertex { struct 36 static struct vertex vertices[3] =
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/d3d1x/progs/d3d11tri/ |
d3d11tri.cpp | 31 struct vertex { struct 36 static struct vertex vertices[3] = 66 // inverse order to make sure the implementation can properly parse the vertex shader signature
|
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
vbo_exec_eval.c | 73 /* Vertex program maps have priority over conventional attribs */ 123 * They alias and override the conventional vertex attributs. 164 /** Vertex -- EvalCoord1f is a noop if this map not enabled: 169 GLfloat vertex[4]; local 171 ASSIGN_4V(vertex, 0, 0, 0, 1); 173 _math_horner_bezier_curve(map->Points, vertex, uu, 178 CALL_Vertex4fv(GET_DISPATCH(), ( vertex )); 180 CALL_Vertex3fv(GET_DISPATCH(), ( vertex )); 212 /** Vertex -- EvalCoord2f is a noop if this map not enabled: 218 GLfloat vertex[4] local [all...] |
vbo_save_draw.c | 47 * last vertex to the saved state 54 GLfloat vertex[VBO_ATTRIB_MAX * 4]; local 65 data = vertex; 77 data += node->attrsz[0]; /* skip vertex position */ 131 * Treat the vertex storage as a VBO, define vertex arrays pointing 166 /* The aliasing of attributes for NV vertex programs has already 167 * occurred. NV vertex programs cannot access material values, 265 /* The vertex store is currently mapped but we're about to replay 268 * We never want to have mapped vertex buffers when we're drawing [all...] |
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d10tri/ |
d3d10tri.cpp | 31 struct vertex { struct 36 static struct vertex vertices[3] =
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/progs/d3d11tri/ |
d3d11tri.cpp | 31 struct vertex { struct 36 static struct vertex vertices[3] = 66 // inverse order to make sure the implementation can properly parse the vertex shader signature
|
/external/mesa3d/src/mesa/vbo/ |
vbo_exec_eval.c | 73 /* Vertex program maps have priority over conventional attribs */ 123 * They alias and override the conventional vertex attributs. 164 /** Vertex -- EvalCoord1f is a noop if this map not enabled: 169 GLfloat vertex[4]; local 171 ASSIGN_4V(vertex, 0, 0, 0, 1); 173 _math_horner_bezier_curve(map->Points, vertex, uu, 178 CALL_Vertex4fv(GET_DISPATCH(), ( vertex )); 180 CALL_Vertex3fv(GET_DISPATCH(), ( vertex )); 212 /** Vertex -- EvalCoord2f is a noop if this map not enabled: 218 GLfloat vertex[4] local [all...] |
vbo_save_draw.c | 47 * last vertex to the saved state 54 GLfloat vertex[VBO_ATTRIB_MAX * 4]; local 65 data = vertex; 77 data += node->attrsz[0]; /* skip vertex position */ 131 * Treat the vertex storage as a VBO, define vertex arrays pointing 166 /* The aliasing of attributes for NV vertex programs has already 167 * occurred. NV vertex programs cannot access material values, 265 /* The vertex store is currently mapped but we're about to replay 268 * We never want to have mapped vertex buffers when we're drawing [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
fs-fragcoord.c | 16 struct vertex { struct 21 /* Note: the upper-left vertex is pushed to the left a bit to 24 static struct vertex vertices[] = 59 ve[0].src_offset = Offset(struct vertex, position); 61 ve[1].src_offset = Offset(struct vertex, color); 68 vbuf.stride = sizeof(struct vertex);
|
fs-frontface.c | 14 struct vertex { struct 23 static struct vertex vertices[] = 81 ve[0].src_offset = Offset(struct vertex, position); 83 ve[1].src_offset = Offset(struct vertex, color); 90 vbuf.stride = sizeof(struct vertex);
|
fs-write-z.c | 17 struct vertex { struct 27 static struct vertex vertices[] = 85 ve[0].src_offset = Offset(struct vertex, position); 87 ve[1].src_offset = Offset(struct vertex, color); 94 vbuf.stride = sizeof(struct vertex);
|
tri.c | 14 struct vertex { struct 22 static struct vertex vertices[3] = 47 ve[0].src_offset = Offset(struct vertex, position); 49 ve[1].src_offset = Offset(struct vertex, color); 56 vbuf.stride = sizeof( struct vertex );
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_gs.h | 84 * Register holding streamed vertex buffer pointers -- see the Sandy 90 struct brw_reg vertex[MAX_GS_VERTS]; member in struct:brw_gs_compile::__anon15082 101 /* Number of registers used to store vertex data */
|
brw_gs_emit.c | 51 * 1 needs to be set aside to hold the streamed vertex buffer indices. 65 /* Streamed vertex buffer indices */ 72 c->reg.vertex[j] = brw_vec4_grf(i, 0); 114 * need to be able to update on a per-vertex basis. 144 * for each vertex. 155 * Emit a vertex using the URB_WRITE message. Use the contents of 157 * for the vertex data. 159 * If \c last is true, then this is the last vertex, so no further URB space 173 /* Copy the vertex from vertn into m1..mN+1: 177 /* Send each vertex as a seperate write to the urb. This i 361 unsigned vertex, binding; local [all...] |
/external/mesa3d/src/gallium/tests/graw/ |
fs-fragcoord.c | 16 struct vertex { struct 21 /* Note: the upper-left vertex is pushed to the left a bit to 24 static struct vertex vertices[] = 59 ve[0].src_offset = Offset(struct vertex, position); 61 ve[1].src_offset = Offset(struct vertex, color); 68 vbuf.stride = sizeof(struct vertex);
|
fs-frontface.c | 14 struct vertex { struct 23 static struct vertex vertices[] = 81 ve[0].src_offset = Offset(struct vertex, position); 83 ve[1].src_offset = Offset(struct vertex, color); 90 vbuf.stride = sizeof(struct vertex);
|
fs-write-z.c | 17 struct vertex { struct 27 static struct vertex vertices[] = 85 ve[0].src_offset = Offset(struct vertex, position); 87 ve[1].src_offset = Offset(struct vertex, color); 94 vbuf.stride = sizeof(struct vertex);
|
tri.c | 14 struct vertex { struct 22 static struct vertex vertices[3] = 47 ve[0].src_offset = Offset(struct vertex, position); 49 ve[1].src_offset = Offset(struct vertex, color); 56 vbuf.stride = sizeof( struct vertex );
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_gs.h | 84 * Register holding streamed vertex buffer pointers -- see the Sandy 90 struct brw_reg vertex[MAX_GS_VERTS]; member in struct:brw_gs_compile::__anon25426 101 /* Number of registers used to store vertex data */
|
brw_gs_emit.c | 51 * 1 needs to be set aside to hold the streamed vertex buffer indices. 65 /* Streamed vertex buffer indices */ 72 c->reg.vertex[j] = brw_vec4_grf(i, 0); 114 * need to be able to update on a per-vertex basis. 144 * for each vertex. 155 * Emit a vertex using the URB_WRITE message. Use the contents of 157 * for the vertex data. 159 * If \c last is true, then this is the last vertex, so no further URB space 173 /* Copy the vertex from vertn into m1..mN+1: 177 /* Send each vertex as a seperate write to the urb. This i 361 unsigned vertex, binding; local [all...] |
/cts/suite/cts/deviceTests/opengl/jni/reference/scene/glowing/ |
GlowingScene.cpp | 48 const char* vertex = GLUtils::openTextFile("vertex/perspective"); local 50 if (vertex == NULL || fragment == NULL) { 53 GLuint programId = GLUtils::createProgram(&vertex, &fragment); 54 delete[] vertex; 61 vertex = GLUtils::openTextFile("vertex/blur"); 63 if (vertex == NULL || fragment == NULL) { 66 programId = GLUtils::createProgram(&vertex, &fragment); 67 delete[] vertex; [all...] |