/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/ |
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;
|
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/ |
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;
|
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;
|
/hardware/libhardware/tests/hwc/ |
test-arrows.c | 47 static GLfloat vtx[2 * 3 * 2]; variable 82 vtx[0] = left; 83 vtx[1] = top; 84 vtx[2] = left; 85 vtx[3] = bottom; 86 vtx[4] = right; 87 vtx[5] = bottom; 89 vtx[6] = right; 90 vtx[7] = bottom; 91 vtx[8] = right [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
brw_clip_tri.c | 228 struct brw_indirect vtx = brw_indirect(0, 0); local 269 /* vtx = *input_ptr; 271 brw_MOV(p, get_addr_reg(vtx), deref_1uw(inlist_ptr, 0)); 281 brw_DP4(p, vec4(c->reg.dp), deref_4f(vtx, hpos_offset), c->reg.plane_equation); 297 brw_clip_interp_vertex(c, vtxOut, vtxPrev, vtx, c->reg.t, false); 323 brw_DP4(p, vec4(c->reg.dp), deref_4f(vtx, hpos_offset), c->reg.plane_equation); 333 /* If (vtxOut == 0) vtxOut = vtx 336 brw_MOV(p, get_addr_reg(vtxOut), get_addr_reg(vtx) ); 339 brw_clip_interp_vertex(c, vtxOut, vtx, vtxPrev, c->reg.t, true); 354 /* vtxPrev = vtx; [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
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/i965/ |
brw_clip_tri.c | 228 struct brw_indirect vtx = brw_indirect(0, 0); local 269 /* vtx = *input_ptr; 271 brw_MOV(p, get_addr_reg(vtx), deref_1uw(inlist_ptr, 0)); 281 brw_DP4(p, vec4(c->reg.dp), deref_4f(vtx, hpos_offset), c->reg.plane_equation); 297 brw_clip_interp_vertex(c, vtxOut, vtxPrev, vtx, c->reg.t, false); 323 brw_DP4(p, vec4(c->reg.dp), deref_4f(vtx, hpos_offset), c->reg.plane_equation); 333 /* If (vtxOut == 0) vtxOut = vtx 336 brw_MOV(p, get_addr_reg(vtxOut), get_addr_reg(vtx) ); 339 brw_clip_interp_vertex(c, vtxOut, vtx, vtxPrev, c->reg.t, true); 354 /* vtxPrev = vtx; [all...] |
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
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];
|
/frameworks/rs/driver/ |
rsdPath.cpp | 53 DrvPathStatic(const Allocation *vtx, const Allocation *loops); 73 const Allocation *vtx, const Allocation *loops) { 77 DrvPathStatic *dps = new DrvPathStatic(vtx, loops); 112 DrvPathStatic::DrvPathStatic(const Allocation *vtx, const Allocation *loops) { 113 mSegmentCount = vtx->getType()->getDimX() / 3; 116 const float *fin = (const float *)vtx->getPtr(); 140 float vtx[12]; local 153 attribs[0].set(GL_FLOAT, 2, 8, false, (uint32_t)vtx, "ATTRIB_position"); 162 vtx[0] = s->x1; 163 vtx[1] = s->y1 [all...] |
rsdShaderCache.cpp | 70 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { 72 for (uint32_t ct=0; ct < vtx->getUniformCount(); ct++) { 109 RsdShader *vtx = mVertex; local 112 uint32_t vID = vtx->getStateBasedShaderID(rsc); 121 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) { 132 ProgramEntry *e = new ProgramEntry(vtx->getAttribCount(), 133 vtx->getUniformCount(), 137 e->vtx = vID; 172 e->vtxAttrs[ct].slot = glGetAttribLocation(pgm, vtx->getAttribName(ct)); 173 e->vtxAttrs[ct].name = vtx->getAttribName(ct).string() [all...] |
rsdShaderCache.h | 104 uint32_t numFragUnis) : vtx(0), frag(0), program(0), vtxAttrCount(0), 137 uint32_t vtx; member in struct:RsdShaderCache::ProgramEntry 149 bool hasArrayUniforms(RsdShader *vtx, RsdShader *frag);
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/ |
nv50_screen.h | 111 uint32_t vtx; member in struct:nv50_format
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nvc0/ |
nvc0_screen.h | 110 uint32_t vtx; member in struct:nvc0_format
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
t_vertex.c | 40 static GLboolean match_fastpath( struct tnl_clipspace *vtx, 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 ) 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...] |
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, &vtx->vp_xlate[0]))) 644 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local [all...] |
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->attr[1].emit == insert_4ub_4f_rgba_4) 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...] |
/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
vbo_exec.h | 116 } vtx; member in struct:vbo_exec_context
|
/external/eigen/unsupported/test/ |
openglsupport.cpp | 72 GLint createShader(const char* vtx, const char* frg) 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/mesa3d/src/gallium/drivers/nv50/ |
nv50_screen.h | 111 uint32_t vtx; member in struct:nv50_format
|
/external/mesa3d/src/gallium/drivers/nvc0/ |
nvc0_screen.h | 110 uint32_t vtx; member in struct:nvc0_format
|
/external/mesa3d/src/mesa/tnl/ |
t_vertex.c | 40 static GLboolean match_fastpath( struct tnl_clipspace *vtx, 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 ) 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...] |
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, &vtx->vp_xlate[0]))) 644 struct tnl_clipspace *vtx = GET_VERTEX_STATE(ctx); local [all...] |
/external/mesa3d/src/mesa/vbo/ |
vbo_exec.h | 116 } vtx; member in struct:vbo_exec_context
|
/frameworks/native/opengl/tests/gl_perf/ |
fill_common.cpp | 159 static const float vtx[] = { local 185 glVertexAttribPointer(A_POS, 2, GL_FLOAT, false, 8, vtx);
|