Searched refs:vtx (Results 1 - 25 of 94) sorted by relevance

1234

/external/chromium_org/third_party/mesa/src/src/mesa/vbo/
H A Dvbo_exec_draw.c47 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 Dvbo_exec_api.c69 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 Dvbo_exec_eval.c158 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 Dvbo_exec_draw.c47 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 Dvbo_exec_api.c69 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 Dvbo_exec_eval.c158 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 Dt_vertex.c40 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 Dt_vertex_generic.c874 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 Dt_vertex_sse.c309 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 Dt_vertex.c40 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 Dt_vertex_generic.c874 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 Dt_vertex_sse.c309 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/deqp/modules/gles3/functional/
H A Des3fShaderIndexingTests.cpp223 std::ostringstream vtx; local
224 vtx << "#version 300 es\n";
225 vtx << "in highp vec4 a_position;\n";
226 vtx << "in highp vec4 a_coords;\n";
228 vtx << "uniform mediump int ui_zero, ui_one, ui_two, ui_three;\n";
230 vtx << "uniform mediump int ui_four;\n";
231 vtx << "out ${PRECISION} ${VAR_TYPE} var[${ARRAY_LEN}];\n";
232 vtx << "\n";
233 vtx << "void main()\n";
234 vtx << "{\
338 std::ostringstream vtx; local
444 std::ostringstream vtx; local
604 std::ostringstream vtx; local
804 std::ostringstream vtx; local
[all...]
H A Des3fShaderLoopTests.cpp245 std::ostringstream vtx; local
247 std::ostringstream& op = isVertexCase ? vtx : frag;
249 vtx << "#version 300 es\n";
252 vtx << "in highp vec4 a_position;\n";
253 vtx << "in highp vec4 a_coords;\n";
257 vtx << "in mediump float a_one;\n";
261 vtx << "out mediump vec3 v_color;\n";
266 vtx << "out mediump vec4 v_coords;\n";
271 vtx << "out mediump float v_one;\n";
294 vtx << "\
443 std::ostringstream vtx; local
[all...]
H A Des3fShaderSwitchTests.cpp91 std::ostringstream vtx; local
93 std::ostringstream& op = isVertex ? vtx : frag;
95 vtx << "#version 300 es\n"
103 vtx << "out mediump vec4 v_color;\n";
108 vtx << "out highp vec4 v_coords;\n";
115 vtx << "\n"
138 vtx << " v_color = vec4(res, 1.0);\n";
143 vtx << " v_coords = a_coords;\n";
147 vtx << "}\n";
150 return new ShaderSwitchCase(context, name, desc, isVertex, vtx
[all...]
/external/deqp/modules/gles2/functional/
H A Des2fShaderIndexingTests.cpp253 std::ostringstream vtx; local
254 vtx << "attribute highp vec4 a_position;\n";
255 vtx << "attribute highp vec4 a_coords;\n";
257 vtx << "uniform mediump int ui_zero, ui_one, ui_two, ui_three;\n";
259 vtx << "uniform mediump int ui_four;\n";
260 vtx << "varying ${PRECISION} ${VAR_TYPE} var[${ARRAY_LEN}];\n";
261 vtx << "\n";
262 vtx << "void main()\n";
263 vtx << "{\n";
264 vtx << " gl_Positio
376 std::ostringstream vtx; local
486 std::ostringstream vtx; local
650 std::ostringstream vtx; local
836 std::ostringstream vtx; local
[all...]
H A Des2fShaderAlgorithmTests.cpp75 std::ostringstream vtx; local
77 std::ostringstream& op = isVertexCase ? vtx : frag;
79 vtx << "attribute highp vec4 a_position;\n";
80 vtx << "attribute highp vec4 a_unitCoords;\n";
84 vtx << "varying mediump vec3 v_color;\n";
89 vtx << "varying mediump vec4 v_coords;\n";
95 vtx << "\n";
96 vtx << "void main()\n";
97 vtx << "{\n";
98 vtx << " gl_Positio
[all...]
H A Des2fShaderLoopTests.cpp277 std::ostringstream vtx; local
279 std::ostringstream& op = isVertexCase ? vtx : frag;
281 vtx << "attribute highp vec4 a_position;\n";
282 vtx << "attribute highp vec4 a_coords;\n";
285 vtx << "attribute mediump float a_one;\n";
289 vtx << "varying mediump vec3 v_color;\n";
294 vtx << "varying mediump vec4 v_coords;\n";
299 vtx << "varying mediump float v_one;\n";
322 vtx << "\n";
323 vtx << "voi
485 std::ostringstream vtx; local
[all...]
/external/deqp/modules/gles3/performance/
H A Des3pShaderControlStatementTests.cpp190 std::ostringstream vtx; local
192 std::ostringstream& op = isVertexCase ? vtx : frag;
194 vtx << "#version 300 es\n";
195 vtx << "in highp vec4 a_position;\n"; // Position attribute.
196 vtx << "in mediump vec4 a_value0;\n"; // Input for workload calculations of "true" branch.
197 vtx << "in mediump vec4 a_value1;\n"; // Input for workload calculations of "false" branch.
204 vtx << "in mediump float a_compareValue;\n";
211 vtx << "out mediump vec4 v_color;\n";
216 vtx << "out mediump vec4 v_value0;\n";
217 vtx << "ou
470 std::ostringstream vtx; local
702 std::ostringstream vtx; local
[all...]
/external/deqp/modules/gles2/performance/
H A Des2pShaderControlStatementTests.cpp190 std::ostringstream vtx; local
192 std::ostringstream& op = isVertexCase ? vtx : frag;
194 vtx << "attribute highp vec4 a_position;\n"; // Position attribute.
195 vtx << "attribute mediump vec4 a_value0;\n"; // Input for workload calculations of "true" branch.
196 vtx << "attribute mediump vec4 a_value1;\n"; // Input for workload calculations of "false" branch.
200 vtx << "attribute mediump float a_compareValue;\n";
207 vtx << "varying mediump vec4 v_color;\n";
212 vtx << "varying mediump vec4 v_value0;\n";
213 vtx << "varying mediump vec4 v_value1;\n";
219 vtx << "varyin
466 std::ostringstream vtx; local
694 std::ostringstream vtx; local
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dr200_maos_arrays.c190 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 Dr200_maos_arrays.c190 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 Dradeon_maos_arrays.c151 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;
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_maos_arrays.c151 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;
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r600/
H A Dr600_asm.c222 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...]

Completed in 414 milliseconds

1234