/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
H A D | s_context.c | 351 const SWvertex *v2 ) 365 swrast->Triangle( ctx, v0, v1, v2 ); 609 const SWvertex *v2, const SWvertex *v3 ) 615 _swrast_print_vertex( ctx, v2 ); 619 SWRAST_CONTEXT(ctx)->Triangle( ctx, v1, v2, v3 ); 624 const SWvertex *v1, const SWvertex *v2 ) 630 _swrast_print_vertex( ctx, v2 ); 632 SWRAST_CONTEXT(ctx)->Triangle( ctx, v0, v1, v2 ); 607 _swrast_Quad( struct gl_context *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2, const SWvertex *v3 ) argument
|
H A D | s_feedback.c | 57 const SWvertex *v1, const SWvertex *v2) 59 if (!_swrast_culltriangle(ctx, v0, v1, v2)) { 66 feedback_vertex(ctx, v2, v2); 69 feedback_vertex(ctx, v0, v2); 70 feedback_vertex(ctx, v1, v2); 71 feedback_vertex(ctx, v2, v2); 112 const SWvertex *v1, const SWvertex *v2) 114 if (!_swrast_culltriangle(ctx, v0, v1, v2)) { 56 _swrast_feedback_triangle(struct gl_context *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2) argument 111 _swrast_select_triangle(struct gl_context *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2) argument [all...] |
H A D | s_span.c | 192 GLfloat v2 = span->attrStart[attr][2] + span->leftClip * dv2dx; local 199 span->array->attribs[attr][k][2] = v2 * invW; 203 v2 += dv2dx;
|
H A D | s_triangle.c | 57 const SWvertex *v2 ) 62 GLfloat fx = v2->attrib[FRAG_ATTRIB_WPOS][0] - v0->attrib[FRAG_ATTRIB_WPOS][0]; 63 GLfloat fy = v2->attrib[FRAG_ATTRIB_WPOS][1] - v0->attrib[FRAG_ATTRIB_WPOS][1]; 83 span.red = ChanToFixed(v2->color[0]); \ 84 span.green = ChanToFixed(v2->color[1]); \ 85 span.blue = ChanToFixed(v2->color[2]); \ 86 span.alpha = ChanToFixed(v2->color[3]); \ 915 const SWvertex *v2 ) 917 (void) (ctx && v0 && v1 && v2); 929 const SWvertex *v1, const SWvertex *v2) 928 _swrast_add_spec_terms_triangle(struct gl_context *ctx, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2) argument [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast_setup/ |
H A D | ss_triangle.c | 57 const SWvertex *v2); 70 const SWvertex *v2) 75 if (ef[e2]) _swrast_Line( ctx, v2, v0 ); 77 if (ef[e1]) _swrast_Line( ctx, v1, v2 ); 80 if (ef[e1]) _swrast_Line( ctx, v1, v2 ); 81 if (ef[e2]) _swrast_Line( ctx, v2, v0 ); 96 const SWvertex *v2) 100 if (ef[e2]) _swrast_Point( ctx, v2 ); 121 SWvertex *v2 = &verts[e2]; local 143 /* copy v2 colo 63 _swsetup_edge_render_line_tri(struct gl_context *ctx, const GLubyte *ef, GLuint e0, GLuint e1, GLuint e2, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2) argument 89 _swsetup_edge_render_point_tri(struct gl_context *ctx, const GLubyte *ef, GLuint e0, GLuint e1, GLuint e2, const SWvertex *v0, const SWvertex *v1, const SWvertex *v2) argument [all...] |
H A D | ss_tritmp.h | 217 GLuint v1, GLuint v2, GLuint v3 ) 228 TAG(triangle)( ctx, v1, v2, v3 ); 233 TAG(triangle)( ctx, v1, v2, v3 ); 216 quadfunc( struct gl_context *ctx, GLuint v0, GLuint v1, GLuint v2, GLuint v3 ) argument
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl/ |
H A D | t_vb_cliptmp.h | 187 TAG(clip_tri)( struct gl_context *ctx, GLuint v0, GLuint v1, GLuint v2, GLubyte mask ) argument 194 GLuint pv = v2; 200 ASSIGN_3V(inlist, v2, v0, v1 ); /* pv rotated to slot zero */ 266 TAG(clip_quad)( struct gl_context *ctx, GLuint v0, GLuint v1, GLuint v2, GLuint v3, argument 280 ASSIGN_4V(inlist, v3, v0, v1, v2 ); /* pv rotated to slot zero */
|
/external/chromium_org/third_party/mesa/src/src/mesa/tnl_dd/ |
H A D | t_dd_triemit.h | 41 VERTEX *v2, 52 PRINT_VERTEX(v2); 58 COPY_DWORDS( j, vb, vertsize, v2 ); 65 VERTEX *v2, 76 PRINT_VERTEX(v2); 84 COPY_DWORDS( j, vb, vertsize, v2 ); 93 VERTEX *v2 ) 103 PRINT_VERTEX(v2); 108 COPY_DWORDS( j, vb, vertsize, v2 ); 38 quad( CTX_ARG, VERTEX *v0, VERTEX *v1, VERTEX *v2, VERTEX *v3 ) argument 62 quad( CTX_ARG, VERTEX *v0, VERTEX *v1, VERTEX *v2, VERTEX *v3 ) argument
|
H A D | t_dd_vertex.h | 58 GLfloat u2, v2; member in struct:__anon14590::__anon14591 67 GLfloat u2, v2, q2; member in struct:__anon14590::__anon14592
|
/external/chromium_org/third_party/opus/src/tests/ |
H A D | test_opus_encode.c | 70 opus_int32 v1,v2; local 71 v1=v2=(((j*((j>>12)^((j>>10|j>>12)&26&j>>7)))&128)+128)<<15; 73 r=fast_rand();v2+=r&65535;v2-=r>>16; 75 b2=v2-a2+((b2*61+32)>>6);a2=v2; 79 v2=(c2+128)>>8; 81 buf[i*2+1]=v2>32767?32767:(v2<-32768?-32768:v2); [all...] |
/external/chromium_org/third_party/re2/re2/testing/ |
H A D | re2_test.cc | 778 int64 v2; local 783 CHECK(RE2::FullMatch("-100", "(-?\\d+)", &v2)); CHECK_EQ(v2, -100); 1340 StringPiece v2; local 1341 EXPECT_TRUE(RE2::FullMatch(v2, re2));
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
H A D | TriangleUtilities.cpp | 15 _Vector v2 = pt - triangle[0]; local 20 double dot02 = v0.dot(v2); 22 double dot12 = v1.dot(v2);
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleColorFilter.cpp | 69 int v2 = inflate5To8(t2); local 72 int err2 = i - v2; 74 v0, err0, v1, err1, v2, err2);
|
/external/chromium_org/third_party/skia/src/animator/ |
H A D | SkOperandIterpolator.cpp | 112 SkOperand v1[3], v2[3], v[3], vv[3]; local 116 inter.setKeyFrame(1, 200, iset(v2, 110, 220, 330)); 132 SkASSERT(memcmp(v, v2, sizeof(v)) == 0); 136 SkASSERT(memcmp(v, v2, sizeof(v)) == 0);
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBitmapProcState.cpp | 100 SkPoint v1, v2; local 105 v2.fX = mat.getSkewX(); 106 v2.fY = mat.getScaleY(); 108 return SkMaxScalar(v1.lengthSqd(), v2.lengthSqd());
|
/external/chromium_org/third_party/skia/src/gpu/gl/ |
H A D | GrGLNoOpInterface.cpp | 309 GrGLfloat v2) { 315 GrGLint v2) { 331 GrGLfloat v2, 338 GrGLint v2, 306 noOpGLUniform3f(GrGLint location, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2) argument 312 noOpGLUniform3i(GrGLint location, GrGLint v0, GrGLint v1, GrGLint v2) argument 328 noOpGLUniform4f(GrGLint location, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2, GrGLfloat v3) argument 335 noOpGLUniform4i(GrGLint location, GrGLint v0, GrGLint v1, GrGLint v2, GrGLint v3) argument
|
H A D | GrGLProgramDataManager.cpp | 140 void GrGLProgramDataManager::set3f(UniformHandle u, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2) const { 146 GR_GL_CALL(fGpu->glInterface(), Uniform3f(uni.fFSLocation, v0, v1, v2)); 149 GR_GL_CALL(fGpu->glInterface(), Uniform3f(uni.fVSLocation, v0, v1, v2)); 172 GrGLfloat v2, 179 GR_GL_CALL(fGpu->glInterface(), Uniform4f(uni.fFSLocation, v0, v1, v2, v3)); 182 GR_GL_CALL(fGpu->glInterface(), Uniform4f(uni.fVSLocation, v0, v1, v2, v3)); 169 set4f(UniformHandle u, GrGLfloat v0, GrGLfloat v1, GrGLfloat v2, GrGLfloat v3) const argument
|
/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkPathOpsTriangle.cpp | 16 SkDVector v2 = pt - fPts[0]; local 21 double dot02 = v0.dot(v2); 23 double dot12 = v1.dot(v2);
|
/external/chromium_org/third_party/skia/src/sfnt/ |
H A D | SkOTTable_OS_2.h | 34 struct V2 : SkOTTableOS2_V2 { } v2; member in union:SkOTTableOS2::Version
|
/external/chromium_org/third_party/skia/src/utils/ |
H A D | SkTextureCompressor_ASTC.cpp | 474 int v2 = v[2]; local 483 bit_transfer_signed(&v3, &v2); 493 c[0][2] = v2; 498 c[1][2] = v2 + v3; 503 c[0][2] = (v2 + v3 + v4 + v5) >> 1; 508 c[1][2] = (v2 + v4) >> 1; 1270 int v2 = colorValues[2]; 1274 bit_transfer_signed(&v3, &v2); 1276 endpoints[i][0] = SkColorSetARGB(v2, v0, v0, v0); 1278 clamp_byte(v3+v2), [all...] |
/external/chromium_org/third_party/skia/tests/ |
H A D | InterpolatorTest.cpp | 21 SkScalar v1[3], v2[3], v[3]; local 25 inter.setKeyFrame(1, 200, iset(v2, 110, 220, 330)); 41 REPORTER_ASSERT(reporter, memcmp(v, v2, sizeof(v)) == 0); 45 REPORTER_ASSERT(reporter, memcmp(v, v2, sizeof(v)) == 0);
|
H A D | PathOpsDVectorTest.cpp | 27 SkDVector v2 = tests[index] - tests[index + 1]; local 28 SkASSERT(ValidVector(v2)); 29 v1 += v2; 31 SkDPoint p = tests[index + 1] + v2; 33 v2 -= v2; 34 REPORTER_ASSERT(reporter, v2.fX == 0 && v2.fY == 0);
|
/external/chromium_org/third_party/skia/third_party/lua/src/ |
H A D | lobject.c | 73 lua_Number luaO_arith (int op, lua_Number v1, lua_Number v2) { argument 75 case LUA_OPADD: return luai_numadd(NULL, v1, v2); 76 case LUA_OPSUB: return luai_numsub(NULL, v1, v2); 77 case LUA_OPMUL: return luai_nummul(NULL, v1, v2); 78 case LUA_OPDIV: return luai_numdiv(NULL, v1, v2); 79 case LUA_OPMOD: return luai_nummod(NULL, v1, v2); 80 case LUA_OPPOW: return luai_numpow(NULL, v1, v2);
|
H A D | lparser.c | 1052 expdesc v2; local 1058 nextop = subexpr(ls, &v2, priority[op].right); 1059 luaK_posfix(ls->fs, op, v, &v2, line);
|
/external/chromium_org/third_party/skia/tools/ |
H A D | render_pictures_main.cpp | 237 static int MaxByteDiff(uint32_t v1, uint32_t v2) { argument 238 return SkMax32(SkMax32(abs(getByte(v1, 0) - getByte(v2, 0)), abs(getByte(v1, 1) - getByte(v2, 1))), 239 SkMax32(abs(getByte(v1, 2) - getByte(v2, 2)), abs(getByte(v1, 3) - getByte(v2, 3))));
|