/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
H A D | vbo_exec_draw.c | 47 GLuint count = exec->vtx.vert_count; 53 exec->vtx.prim_count, 54 exec->vtx.vertex_size); 56 for (i = 0 ; i < exec->vtx.prim_count ; i++) { 57 struct _mesa_prim *prim = &exec->vtx.prim[i]; 77 GLuint nr = exec->vtx.prim[exec->vtx.prim_count-1].count; 79 GLuint sz = exec->vtx.vertex_size; 80 GLfloat *dst = exec->vtx.copied.buffer; 81 const GLfloat *src = (exec->vtx [all...] |
H A D | vbo_exec_api.c | 69 if (exec->vtx.prim_count == 0) { 70 exec->vtx.copied.nr = 0; 71 exec->vtx.vert_count = 0; 72 exec->vtx.buffer_ptr = exec->vtx.buffer_map; 75 GLuint last_begin = exec->vtx.prim[exec->vtx.prim_count-1].begin; 79 GLint i = exec->vtx.prim_count - 1; 81 exec->vtx.prim[i].count = (exec->vtx [all...] |
H A D | vbo_exec_eval.c | 158 COPY_SZ_4V( exec->vtx.attrptr[attr], 159 exec->vtx.attrsz[attr], 206 COPY_SZ_4V( exec->vtx.attrptr[attr], 207 exec->vtx.attrsz[attr], 245 COPY_SZ_4V( exec->vtx.attrptr[VBO_ATTRIB_NORMAL], 246 exec->vtx.attrsz[VBO_ATTRIB_NORMAL], 256 if (exec->vtx.attrsz[0] == 4)
|
/external/mesa3d/src/mesa/vbo/ |
H A D | vbo_exec_draw.c | 47 GLuint count = exec->vtx.vert_count; 53 exec->vtx.prim_count, 54 exec->vtx.vertex_size); 56 for (i = 0 ; i < exec->vtx.prim_count ; i++) { 57 struct _mesa_prim *prim = &exec->vtx.prim[i]; 77 GLuint nr = exec->vtx.prim[exec->vtx.prim_count-1].count; 79 GLuint sz = exec->vtx.vertex_size; 80 GLfloat *dst = exec->vtx.copied.buffer; 81 const GLfloat *src = (exec->vtx [all...] |
H A D | vbo_exec_api.c | 69 if (exec->vtx.prim_count == 0) { 70 exec->vtx.copied.nr = 0; 71 exec->vtx.vert_count = 0; 72 exec->vtx.buffer_ptr = exec->vtx.buffer_map; 75 GLuint last_begin = exec->vtx.prim[exec->vtx.prim_count-1].begin; 79 GLint i = exec->vtx.prim_count - 1; 81 exec->vtx.prim[i].count = (exec->vtx [all...] |
H A D | vbo_exec_eval.c | 158 COPY_SZ_4V( exec->vtx.attrptr[attr], 159 exec->vtx.attrsz[attr], 206 COPY_SZ_4V( exec->vtx.attrptr[attr], 207 exec->vtx.attrsz[attr], 245 COPY_SZ_4V( exec->vtx.attrptr[VBO_ATTRIB_NORMAL], 246 exec->vtx.attrsz[VBO_ATTRIB_NORMAL], 256 if (exec->vtx.attrsz[0] == 4)
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
H A D | t_vertex.c | 40 static GLboolean match_fastpath( struct tnl_clipspace *vtx, argument 45 if (vtx->attr_count != fp->attr_count) 48 for (j = 0; j < vtx->attr_count; j++) 49 if (vtx->attr[j].format != fp->attr[j].format || 50 vtx->attr[j].inputsize != fp->attr[j].size || 51 vtx->attr[j].vertoffset != fp->attr[j].offset) 55 if (vtx->vertex_size != fp->vertex_size) 58 for (j = 0; j < vtx->attr_count; j++) 59 if (vtx->attr[j].inputstride != fp->attr[j].stride) 66 static GLboolean search_fastpath_emit( struct tnl_clipspace *vtx ) 80 _tnl_register_fastpath( struct tnl_clipspace *vtx, GLboolean match_strides ) argument 112 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 158 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 173 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 198 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 206 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 218 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 249 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 265 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 274 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 293 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 366 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 376 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 384 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 399 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 433 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 448 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 467 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 490 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 541 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local [all...] |
H A D | t_vertex_generic.c | 874 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); \ 875 struct tnl_clipspace_attr *a = vtx->attr; \ 878 for (i = 0 ; i < count ; i++, v += vtx->vertex_size) { \ 935 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 941 switch (vtx->attr_count) { 943 if (vtx->attr[0].emit == insert_3f_viewport_3) { 944 if (vtx->attr[1].emit == insert_4ub_4f_bgra_4) 946 else if (vtx->attr[1].emit == insert_4ub_4f_rgba_4) 949 else if (vtx->attr[0].emit == insert_3f_3 && 950 vtx 995 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 1018 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 1064 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local [all...] |
H A D | t_vertex_sse.c | 309 struct tnl_clipspace *vtx = GET_VERTEX_STATE(p->ctx); local 310 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr)); 323 struct tnl_clipspace *vtx = GET_VERTEX_STATE(p->ctx); local 324 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr)); 348 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 378 /* Dereference ctx to get tnl, then vtx: 387 if (vtx->need_viewport) { 388 sse_movups(&p->func, vp0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_scale[0]))); 389 sse_movups(&p->func, vp1, x86_make_disp(vtxESI, get_offset(vtx, 644 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local [all...] |
/external/mesa3d/src/mesa/tnl/ |
H A D | t_vertex.c | 40 static GLboolean match_fastpath( struct tnl_clipspace *vtx, argument 45 if (vtx->attr_count != fp->attr_count) 48 for (j = 0; j < vtx->attr_count; j++) 49 if (vtx->attr[j].format != fp->attr[j].format || 50 vtx->attr[j].inputsize != fp->attr[j].size || 51 vtx->attr[j].vertoffset != fp->attr[j].offset) 55 if (vtx->vertex_size != fp->vertex_size) 58 for (j = 0; j < vtx->attr_count; j++) 59 if (vtx->attr[j].inputstride != fp->attr[j].stride) 66 static GLboolean search_fastpath_emit( struct tnl_clipspace *vtx ) 80 _tnl_register_fastpath( struct tnl_clipspace *vtx, GLboolean match_strides ) argument 112 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 158 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 173 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 198 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 206 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 218 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 249 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 265 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 274 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 293 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 366 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 376 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 384 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 399 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 433 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 448 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 467 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 490 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 541 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local [all...] |
H A D | t_vertex_generic.c | 874 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); \ 875 struct tnl_clipspace_attr *a = vtx->attr; \ 878 for (i = 0 ; i < count ; i++, v += vtx->vertex_size) { \ 935 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 941 switch (vtx->attr_count) { 943 if (vtx->attr[0].emit == insert_3f_viewport_3) { 944 if (vtx->attr[1].emit == insert_4ub_4f_bgra_4) 946 else if (vtx->attr[1].emit == insert_4ub_4f_rgba_4) 949 else if (vtx->attr[0].emit == insert_3f_3 && 950 vtx 995 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 1018 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 1064 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local [all...] |
H A D | t_vertex_sse.c | 309 struct tnl_clipspace *vtx = GET_VERTEX_STATE(p->ctx); local 310 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr)); 323 struct tnl_clipspace *vtx = GET_VERTEX_STATE(p->ctx); local 324 struct x86_reg ptr_to_src = x86_make_disp(vtxREG, get_offset(vtx, &a->inputptr)); 348 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local 378 /* Dereference ctx to get tnl, then vtx: 387 if (vtx->need_viewport) { 388 sse_movups(&p->func, vp0, x86_make_disp(vtxESI, get_offset(vtx, &vtx->vp_scale[0]))); 389 sse_movups(&p->func, vp1, x86_make_disp(vtxESI, get_offset(vtx, 644 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
H A D | r200_maos_arrays.c | 190 if (vfmt0 != rmesa->hw.vtx.cmd[VTX_VTXFMT_0] || 191 vfmt1 != rmesa->hw.vtx.cmd[VTX_VTXFMT_1]) { 192 R200_STATECHANGE( rmesa, vtx ); 193 rmesa->hw.vtx.cmd[VTX_VTXFMT_0] = vfmt0; 194 rmesa->hw.vtx.cmd[VTX_VTXFMT_1] = vfmt1;
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
H A D | r200_maos_arrays.c | 190 if (vfmt0 != rmesa->hw.vtx.cmd[VTX_VTXFMT_0] || 191 vfmt1 != rmesa->hw.vtx.cmd[VTX_VTXFMT_1]) { 192 R200_STATECHANGE( rmesa, vtx ); 193 rmesa->hw.vtx.cmd[VTX_VTXFMT_0] = vfmt0; 194 rmesa->hw.vtx.cmd[VTX_VTXFMT_1] = vfmt1;
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
H A D | radeon_maos_arrays.c | 151 GLuint vtx, unit; local 248 vtx = (rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] & 266 vtx |= RADEON_Q_BIT(unit); 270 vtx |= RADEON_Q_BIT(unit); 281 if (vtx != rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT]) { 283 rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] = vtx;
|
H A D | radeon_maos_verts.c | 316 GLuint vtx = (rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] & local 352 vtx |= RADEON_Q_BIT(unit); 355 vtx |= RADEON_Q_BIT(unit); 366 if (vtx != rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT]) { 368 rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] = vtx;
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
H A D | radeon_maos_arrays.c | 151 GLuint vtx, unit; local 248 vtx = (rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] & 266 vtx |= RADEON_Q_BIT(unit); 270 vtx |= RADEON_Q_BIT(unit); 281 if (vtx != rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT]) { 283 rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] = vtx;
|
H A D | radeon_maos_verts.c | 316 GLuint vtx = (rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] & local 352 vtx |= RADEON_Q_BIT(unit); 355 vtx |= RADEON_Q_BIT(unit); 366 if (vtx != rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT]) { 368 rmesa->hw.tcl.cmd[TCL_OUTPUT_VTXFMT] = vtx;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/ |
H A D | r600_asm.c | 222 LIST_INITHEAD(&cf->vtx); 239 struct r600_bytecode_vtx *vtx = CALLOC_STRUCT(r600_bytecode_vtx); local 241 if (vtx == NULL) 243 LIST_INITHEAD(&vtx->list); 244 return vtx; 1455 /* cf can contains only alu or only vtx or only tex */ 1591 int r600_bytecode_add_vtx(struct r600_bytecode *bc, const struct r600_bytecode_vtx *vtx) argument 1598 memcpy(nvtx, vtx, sizeof(struct r600_bytecode_vtx)); 1600 /* cf can contains only alu or only vtx or only tex */ 1625 LIST_ADDTAIL(&nvtx->list, &bc->cf_last->vtx); 1706 r600_bytecode_vtx_build(struct r600_bytecode *bc, struct r600_bytecode_vtx *vtx, unsigned id) argument 1905 struct r600_bytecode_vtx *vtx; local 2207 struct r600_bytecode_tex *vtx = NULL, *next_vtx; local 2237 struct r600_bytecode_vtx *vtx = NULL; local 2755 struct r600_bytecode_vtx vtx; local [all...] |
H A D | r600_asm.h | 165 struct list_head vtx; member in struct:r600_bytecode_cf 228 int r600_bytecode_add_vtx(struct r600_bytecode *bc, const struct r600_bytecode_vtx *vtx);
|
/external/mesa3d/src/gallium/drivers/r600/ |
H A D | r600_asm.c | 222 LIST_INITHEAD(&cf->vtx); 239 struct r600_bytecode_vtx *vtx = CALLOC_STRUCT(r600_bytecode_vtx); local 241 if (vtx == NULL) 243 LIST_INITHEAD(&vtx->list); 244 return vtx; 1455 /* cf can contains only alu or only vtx or only tex */ 1591 int r600_bytecode_add_vtx(struct r600_bytecode *bc, const struct r600_bytecode_vtx *vtx) argument 1598 memcpy(nvtx, vtx, sizeof(struct r600_bytecode_vtx)); 1600 /* cf can contains only alu or only vtx or only tex */ 1625 LIST_ADDTAIL(&nvtx->list, &bc->cf_last->vtx); 1706 r600_bytecode_vtx_build(struct r600_bytecode *bc, struct r600_bytecode_vtx *vtx, unsigned id) argument 1905 struct r600_bytecode_vtx *vtx; local 2207 struct r600_bytecode_tex *vtx = NULL, *next_vtx; local 2237 struct r600_bytecode_vtx *vtx = NULL; local 2755 struct r600_bytecode_vtx vtx; local [all...] |
/external/opencv/cxcore/src/ |
H A D | cxdatastructs.cpp | 2962 cvGraphRemoveVtxByPtr( CvGraph* graph, CvGraphVtx* vtx ) 2970 if( !graph || !vtx ) 2973 if( !CV_IS_SET_ELEM(vtx)) 2979 CvGraphEdge *edge = vtx->first; 2982 cvGraphRemoveEdgeByPtr( graph, edge->vtx[0], edge->vtx[1] ); 2985 cvSetRemoveByPtr( (CvSet*)graph, vtx ); 2998 CvGraphVtx *vtx = 0; local 3007 vtx = cvGetGraphVtx( graph, index ); 3008 if( !vtx ) 3349 CvGraphVtx* vtx; member in struct:CvGraphItem 3526 CvGraphVtx* vtx; local 3718 CvGraphVtx* vtx = (CvGraphVtx*)reader.ptr; local 3750 CvGraphVtx* vtx = (CvGraphVtx*)reader.ptr; local [all...] |
/external/eigen/unsupported/test/ |
H A D | openglsupport.cpp | 72 GLint createShader(const char* vtx, const char* frg) argument 79 glShaderSource(vtx_id, 1, &vtx, 0); 84 std::cerr << "vtx compilation failed\n"; 219 const char* vtx = "void main(void) { gl_Position = gl_Vertex; }\n"; local 236 GLint prg_id = createShader(vtx,frg); 264 GLint prg_id = createShader(vtx,frg); 294 GLint prg_id = createShader(vtx,frg); 319 GLint prg_id = createShader(vtx,frg);
|
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
H A D | nouveau_swtnl_t.c | 108 struct tnl_clipspace *vtx = &tnl->clipspace; local 147 render->attrs[attr].stride = vtx->vertex_size; 168 struct tnl_clipspace *vtx = &TNL_CONTEXT(ctx)->clipspace; local 171 for (i = 0; i < vtx->attr_count; i++) { 172 struct tnl_clipspace_attr *ta = &vtx->attr[i];
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
H A D | nouveau_swtnl_t.c | 108 struct tnl_clipspace *vtx = &tnl->clipspace; local 147 render->attrs[attr].stride = vtx->vertex_size; 168 struct tnl_clipspace *vtx = &TNL_CONTEXT(ctx)->clipspace; local 171 for (i = 0; i < vtx->attr_count; i++) { 172 struct tnl_clipspace_attr *ta = &vtx->attr[i];
|