/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;
|
/external/opencv3/samples/cpp/ |
fitellipse.cpp | 88 Point2f vtx[4]; local 89 box.points(vtx); 91 line(cimage, vtx[j], vtx[(j+1)%4], Scalar(0,255,0), 1, LINE_AA);
|
minarea.cpp | 51 Point2f center, vtx[4]; local 54 box.points(vtx); 64 line(img, vtx[i], vtx[(i+1)%4], Scalar(0, 255, 0), 1, LINE_AA);
|
/external/deqp/modules/gles2/functional/ |
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...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRenderSwitchTests.cpp | 108 std::ostringstream vtx; local 110 std::ostringstream& op = isVertex ? vtx : frag; 112 vtx << "#version 310 es\n" 120 vtx << "layout(location = 0) out mediump vec4 v_color;\n"; 125 vtx << "layout(location = 0) out highp vec4 v_coords;\n"; 132 vtx << "\n" 155 vtx << " v_color = vec4(res, 1.0);\n"; 160 vtx << " v_coords = a_coords;\n"; 164 vtx << "}\n"; 167 return de::MovePtr<ShaderSwitchCase>(new ShaderSwitchCase(testCtx, name, desc, isVertex, vtx.str(), frag.str() [all...] |
/external/deqp/modules/gles3/functional/ |
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/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionShapes/ |
btCapsuleShape.cpp | 48 btVector3 vtx; local 58 vtx = pos +vec*(radius) - vec * getMargin(); 59 newDot = vec.dot(vtx); 63 supVec = vtx; 70 vtx = pos +vec*(radius) - vec * getMargin(); 71 newDot = vec.dot(vtx); 75 supVec = vtx; 94 btVector3 vtx; local 99 vtx = pos +vec*(radius) - vec * getMargin(); 100 newDot = vec.dot(vtx); [all...] |
btMultiSphereShape.cpp | 65 btVector3 vtx; local 103 btVector3 vtx; local
|
btConvexHullShape.cpp | 152 void btConvexHullShape::getVertex(int i,btVector3& vtx) const 154 vtx = getScaledPoint(i); 218 btVector3 vtx = m_unscaledPoints[i] * m_localScaling; local 219 btVector3 pt = trans * 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/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/CollisionDispatch/ |
btConvexPlaneCollisionAlgorithm.cpp | 74 btVector3 vtx = convexShape->localGetSupportingVertex(planeInConvex.getBasis()*-planeNormal); local 76 btVector3 vtxInPlane = convexInPlaneTrans(vtx); 114 btVector3 vtx = convexShape->localGetSupportingVertex(planeInConvex.getBasis()*-planeNormal); local 115 btVector3 vtxInPlane = convexInPlaneTrans(vtx);
|
/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/ |
rsdShaderCache.cpp | 77 bool RsdShaderCache::hasArrayUniforms(RsdShader *vtx, RsdShader *frag) { 79 for (uint32_t ct=0; ct < vtx->getUniformCount(); ct++) { 116 RsdShader *vtx = mVertex; local 119 uint32_t vID = vtx->getStateBasedShaderID(rsc); 128 if ((mEntries[ct]->vtx == vID) && (mEntries[ct]->frag == fID)) { 139 ProgramEntry *e = new ProgramEntry(vtx->getAttribCount(), 140 vtx->getUniformCount(), 144 e->vtx = vID; 180 glGetAttribLocation(pgm, vtx->getAttribName(ct).c_str()); 181 e->vtxAttrs[ct].name = vtx->getAttribName(ct).c_str() [all...] |
rsdShaderCache.h | 105 uint32_t numFragUnis) : vtx(0), frag(0), program(0), vtxAttrCount(0), 138 uint32_t vtx; member in struct:RsdShaderCache::ProgramEntry 150 bool hasArrayUniforms(RsdShader *vtx, RsdShader *frag);
|
/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/libgdx/extensions/gdx-bullet/jni/src/bullet/BulletCollision/NarrowPhaseCollision/ |
btContinuousConvexCollision.cpp | 74 btVector3 vtx = convexShape->localGetSupportingVertex(planeInConvex.getBasis()*-planeNormal); local 76 btVector3 vtxInPlane = convexInPlaneTrans(vtx);
|
/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);
|
/external/deqp/modules/internal/ |
ditFrameworkTests.cpp | 590 c.vtx[0] = tcu::Vec4(-1.0f, -1.0f, 0.5f, 1.0f); 591 c.vtx[1] = tcu::Vec4(-1.0f, +1.0f, 0.5f, 1.0f); 592 c.vtx[2] = tcu::Vec4(+1.0f, -1.0f, 0.5f, 1.0f); 600 c.vtx[0] = tcu::Vec4(-1.0f, +1.0f, 0.5f, 1.0f); 601 c.vtx[1] = tcu::Vec4(+1.0f, -1.0f, 0.5f, 1.0f); 602 c.vtx[2] = tcu::Vec4(+1.0f, +1.0f, 0.5f, 1.0f); 609 c.vtx[0] = tcu::Vec4(-1.0f, -1.0f, 0.5f, 1.0f); 610 c.vtx[1] = tcu::Vec4(-1.0f, +1.0f, 0.5f, 1.0f); 611 c.vtx[2] = tcu::Vec4(+1.0f, -1.0f, 0.5f, 1.0f); 618 c.vtx[0] = tcu::Vec4(-1.0f, +1.0f, 0.5f, 1.0f) 678 tcu::Vec4 vtx[3]; member in struct:dit::__anon9911::ConstantInterpolationTest::SubCase [all...] |