/external/mesa3d/src/gallium/tests/graw/ |
gs-test.c | 55 struct vertex { struct 62 /* Vertex data matches progs/fp/fp-tri.c, but flipped in Y dimension 65 static struct vertex vertices[] = 86 static struct vertex vertices_strip[] = 239 ve[0].src_offset = Offset(struct vertex, position); 241 ve[1].src_offset = Offset(struct vertex, color); 243 ve[2].src_offset = Offset(struct vertex, texcoord); 245 ve[3].src_offset = Offset(struct vertex, generic); 251 vbuf.stride = sizeof( struct vertex );
|
quad-sample.c | 38 struct vertex { struct 43 static struct vertex vertices[] = 92 ve[0].src_offset = Offset(struct vertex, position); 94 ve[1].src_offset = Offset(struct vertex, color); 101 vbuf.stride = sizeof( struct vertex );
|
fs-test.c | 53 struct vertex { struct 59 /* Vertex data matches progs/fp/fp-tri.c, but flipped in Y dimension 62 static struct vertex vertices[] = 206 ve[0].src_offset = Offset(struct vertex, position); 208 ve[1].src_offset = Offset(struct vertex, color); 210 ve[2].src_offset = Offset(struct vertex, texcoord); 217 vbuf.stride = sizeof( struct vertex );
|
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/vega/ |
polygon.h | 54 float *vertex);
|
/external/mesa3d/src/gallium/state_trackers/vega/ |
polygon.h | 54 float *vertex);
|
/external/chromium_org/native_client_sdk/src/examples/api/mouse_lock/ |
mouse_lock.cc | 281 pp::Point vertex(mouse_movement_.x() + center_x, 312 bool within_bound_1 = ((y - anchor_1.y()) * (vertex.x() - anchor_1.x())) > 313 ((vertex.y() - anchor_1.y()) * (x - anchor_1.x())); 314 bool within_bound_2 = ((y - anchor_2.y()) * (vertex.x() - anchor_2.x())) < 315 ((vertex.y() - anchor_2.y()) * (x - anchor_2.x()));
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/draw/ |
draw_pipe_vbuf.c | 30 * Vertex buffer drawing stage. 50 * Vertex buffer emit stage. 59 /** Vertex size in bytes */ 123 * Extract the needed fields from post-transformed vertex and emit 124 * a hardware(driver) vertex. 127 * clip pos) that we ignore here. We only use the vertex->data[] fields. 131 struct vertex_header *vertex ) 133 if (vertex->vertex_id == UNDEFINED_VERTEX_ID && vbuf->vertex_ptr) { 140 vbuf->translate->set_buffer(vbuf->translate, 0, vertex->data[0], 0, ~0); 146 vertex->vertex_id = vbuf->nr_vertices++ [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/tests/graw/ |
quad-sample.c | 38 struct vertex { struct 43 static struct vertex vertices[] = 92 ve[0].src_offset = Offset(struct vertex, position); 94 ve[1].src_offset = Offset(struct vertex, color); 101 vbuf.stride = sizeof( struct vertex );
|
fs-test.c | 53 struct vertex { struct 59 /* Vertex data matches progs/fp/fp-tri.c, but flipped in Y dimension 62 static struct vertex vertices[] = 206 ve[0].src_offset = Offset(struct vertex, position); 208 ve[1].src_offset = Offset(struct vertex, color); 210 ve[2].src_offset = Offset(struct vertex, texcoord); 217 vbuf.stride = sizeof( struct vertex );
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_clip_line.c | 68 c->reg.vertex[j] = brw_vec4_grf(i, 0); 139 brw_MOV(p, get_addr_reg(vtx0), brw_address(c->reg.vertex[0])); 140 brw_MOV(p, get_addr_reg(vtx1), brw_address(c->reg.vertex[1])); 141 brw_MOV(p, get_addr_reg(newvtx0), brw_address(c->reg.vertex[2])); 142 brw_MOV(p, get_addr_reg(newvtx1), brw_address(c->reg.vertex[3]));
|
brw_clip_unfilled.c | 57 struct brw_reg v0 = byte_offset(c->reg.vertex[0], hpos_offset); 58 struct brw_reg v1 = byte_offset(c->reg.vertex[1], hpos_offset); 59 struct brw_reg v2 = byte_offset(c->reg.vertex[2], hpos_offset); 67 * NOTE: We can't modify the original vertex coordinates, 162 byte_offset(c->reg.vertex[i], 165 byte_offset(c->reg.vertex[i], 172 byte_offset(c->reg.vertex[i], 175 byte_offset(c->reg.vertex[i], 229 /* Get away with using reg.vertex because we know that this is not 236 brw_MOV(p, byte_offset(c->reg.vertex[0] [all...] |
/external/mesa3d/src/gallium/auxiliary/draw/ |
draw_pipe_vbuf.c | 30 * Vertex buffer drawing stage. 50 * Vertex buffer emit stage. 59 /** Vertex size in bytes */ 123 * Extract the needed fields from post-transformed vertex and emit 124 * a hardware(driver) vertex. 127 * clip pos) that we ignore here. We only use the vertex->data[] fields. 131 struct vertex_header *vertex ) 133 if (vertex->vertex_id == UNDEFINED_VERTEX_ID && vbuf->vertex_ptr) { 140 vbuf->translate->set_buffer(vbuf->translate, 0, vertex->data[0], 0, ~0); 146 vertex->vertex_id = vbuf->nr_vertices++ [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
brw_clip_line.c | 68 c->reg.vertex[j] = brw_vec4_grf(i, 0); 139 brw_MOV(p, get_addr_reg(vtx0), brw_address(c->reg.vertex[0])); 140 brw_MOV(p, get_addr_reg(vtx1), brw_address(c->reg.vertex[1])); 141 brw_MOV(p, get_addr_reg(newvtx0), brw_address(c->reg.vertex[2])); 142 brw_MOV(p, get_addr_reg(newvtx1), brw_address(c->reg.vertex[3]));
|
brw_clip_unfilled.c | 57 struct brw_reg v0 = byte_offset(c->reg.vertex[0], hpos_offset); 58 struct brw_reg v1 = byte_offset(c->reg.vertex[1], hpos_offset); 59 struct brw_reg v2 = byte_offset(c->reg.vertex[2], hpos_offset); 67 * NOTE: We can't modify the original vertex coordinates, 162 byte_offset(c->reg.vertex[i], 165 byte_offset(c->reg.vertex[i], 172 byte_offset(c->reg.vertex[i], 175 byte_offset(c->reg.vertex[i], 229 /* Get away with using reg.vertex because we know that this is not 236 brw_MOV(p, byte_offset(c->reg.vertex[0] [all...] |
/frameworks/native/opengl/libagl/ |
array.cpp | 24 #include "vertex.h" 107 c->arrays.vertex.size = 4; 108 c->arrays.vertex.type = GL_FLOAT; 438 case GL_VERTEX_ARRAY: a = &c->arrays.vertex; break; 449 #pragma mark Vertex Cache 534 // vertex cache size must be multiple of 1 571 // vertex cache size must be multiple of 1 593 // copy back the last processed vertex 619 // vertex cache size must be multiple of 2 661 // vertex cache size must be multiple of 2. This is extremely importan [all...] |
Android.mk | 23 vertex.cpp.arm
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/i915/ |
i915_prim_emit.c | 42 * Primitive emit to hardware. No support for vertex buffers or any 70 const struct vertex_header *vertex) 80 const float *attrib = vertex->data[j];
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vb_lighttmp.h | 43 * VB is the vertex buffer 45 * input is the vector of eye or object-space vertex coordinates 58 const GLfloat *vertex = (GLfloat *)input->data; local 89 for (j = 0; j < nr; j++,STRIDE_F(vertex,vstride),STRIDE_F(normal,nstride)) { 116 GLfloat VP[3]; /* unit vector from vertex to light */ 127 GLfloat d; /* distance from vertex to light */ 129 SUB_3V(VP, light->_Position, vertex); 189 COPY_3V(v, vertex); 241 const GLfloat *vertex = (GLfloat *) input->data; local 267 for (j = 0; j < nr; j++,STRIDE_F(vertex,vstride),STRIDE_F(normal,nstride)) [all...] |
/external/mesa3d/src/gallium/drivers/i915/ |
i915_prim_emit.c | 42 * Primitive emit to hardware. No support for vertex buffers or any 70 const struct vertex_header *vertex) 80 const float *attrib = vertex->data[j];
|
/external/mesa3d/src/mesa/tnl/ |
t_vb_lighttmp.h | 43 * VB is the vertex buffer 45 * input is the vector of eye or object-space vertex coordinates 58 const GLfloat *vertex = (GLfloat *)input->data; local 89 for (j = 0; j < nr; j++,STRIDE_F(vertex,vstride),STRIDE_F(normal,nstride)) { 116 GLfloat VP[3]; /* unit vector from vertex to light */ 127 GLfloat d; /* distance from vertex to light */ 129 SUB_3V(VP, light->_Position, vertex); 189 COPY_3V(v, vertex); 241 const GLfloat *vertex = (GLfloat *) input->data; local 267 for (j = 0; j < nr; j++,STRIDE_F(vertex,vstride),STRIDE_F(normal,nstride)) [all...] |
/frameworks/base/libs/hwui/ |
Program.cpp | 23 #include "Vertex.h" 32 Program::Program(const ProgramDescription& description, const char* vertex, const char* fragment) { 40 mVertexShader = buildShader(vertex, GL_VERTEX_SHADER); 176 p.translate(Vertex::gGeometryFudgeFactor, Vertex::gGeometryFudgeFactor);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
Program.cpp | 28 Program::Program(const ProgramCache::Key& needs, const char* vertex, const char* fragment) 30 GLuint vertexId = buildShader(vertex, GL_VERTEX_SHADER);
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/spritetext/ |
SpriteTextRenderer.java | 334 public float getX(int vertex) { 335 return sCoords[3*vertex]; 338 public float getY(int vertex) { 339 return sCoords[3*vertex+1];
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
FloatPolygon.cpp | 98 const FloatPoint& vertex = vertexAt(i); 99 if (vertex.y() < vertexAt(minVertexIndex).y() || (vertex.y() == vertexAt(minVertexIndex).y() && vertex.x() < vertexAt(minVertexIndex).x()))
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
nv50_push.c | 218 ctx.translate = nv50->vertex->translate; 219 ctx.packet_vertex_limit = nv50->vertex->packet_vertex_limit; 220 ctx.vertex_words = nv50->vertex->vertex_size; 232 if (apply_bias && likely(!(nv50->vertex->instance_bufs & (1 << i))))
|