/external/chromium_org/third_party/mesa/src/src/mesa/vbo/ |
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.buffer_map + [all...] |
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.vert_count - [all...] |
/external/mesa3d/src/mesa/vbo/ |
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.buffer_map + [all...] |
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.vert_count - [all...] |
/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_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...] |
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/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_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...] |
/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, (size_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);
|
/frameworks/base/rs/java/android/renderscript/ |
Path.java | 41 Path(long id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) { 43 mVertexBuffer = vtx; 66 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { 67 long id = rs.nPathCreate(p.mID, false, vtx.getID(rs), 0, quality); 72 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) { 76 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx) { 80 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) {
|
/external/deqp/modules/gles3/functional/ |
es3fShaderIndexingTests.cpp | 223 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 << "{\n" 338 std::ostringstream vtx; local 444 std::ostringstream vtx; local 604 std::ostringstream vtx; local 804 std::ostringstream vtx; local [all...] |
es3fShaderLoopTests.cpp | 245 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 << "\n" 443 std::ostringstream vtx; local [all...] |
es3fShaderSwitchTests.cpp | 91 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.str().c_str(), frag.str().c_str() [all...] |
/external/deqp/modules/gles2/functional/ |
es2fShaderIndexingTests.cpp | 253 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_Position = a_position;\n" 376 std::ostringstream vtx; local 486 std::ostringstream vtx; local 650 std::ostringstream vtx; local 836 std::ostringstream vtx; local [all...] |
es2fShaderAlgorithmTests.cpp | 75 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_Position = a_position;\n" [all...] |
es2fShaderLoopTests.cpp | 277 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 << "void main()\n" 485 std::ostringstream vtx; local [all...] |
/frameworks/rs/ |
rsPath.cpp | 28 Allocation *vtx, Allocation *loops, float quality) 36 rsc->mHal.funcs.path.initStatic(rsc, this, vtx, loops); 74 RsAllocation vtx, RsAllocation loops, float quality) { 75 return new Path(rsc, pp, isStatic, (Allocation *)vtx, (Allocation *)loops, quality);
|
/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/deqp/modules/gles3/performance/ |
es3pShaderControlStatementTests.cpp | 190 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 << "out mediump vec4 v_value1;\n" 470 std::ostringstream vtx; local 702 std::ostringstream vtx; local [all...] |
/external/deqp/modules/gles2/performance/ |
es2pShaderControlStatementTests.cpp | 190 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 << "varying mediump float v_compareValue;\n" 466 std::ostringstream vtx; local 694 std::ostringstream vtx; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/ |
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/ |
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;
|