/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 659 vertex_t *v, *v0, *v1, *v2; 683 v2 = v++; 684 const uint32_t cc = v0->flags & v1->flags & v2->flags; 686 c->prims.renderTriangle(c, v0, v1, v2); 687 swap(((winding^=1) ? v1 : v0), v2); 872 vertex_t* v2; local 883 v2 = fetch_vertex(c, read_index(type, indices)); 884 const uint32_t cc = v0->flags & v1->flags & v2->flags; 886 c->prims.renderTriangle(c, v0, v1, v2); 889 consumed = v2; 919 vertex_t* const v2 = fetch_vertex(c, *p++); local 933 vertex_t* const v2 = fetch_vertex(c, *p++); local [all...] |
H A D | primitives.cpp | 40 vertex_t* v0, vertex_t* v1, vertex_t* v2); 45 vertex_t* v0, vertex_t* v1, vertex_t* v2); 48 vertex_t* v0, vertex_t* v1, vertex_t* v2); 51 vertex_t* v0, vertex_t* v1, vertex_t* v2); 54 vertex_t* v0, vertex_t* v1, vertex_t* v2); 57 vertex_t* v0, vertex_t* v1, vertex_t* v2); 60 vertex_t* v0, vertex_t* v1, vertex_t* v2); 63 vertex_t* v0, vertex_t* v1, vertex_t* v2); 74 vertex_t* v0, vertex_t* v1, vertex_t* v2) 88 if(!(v2 73 lightTriangleDarkSmooth(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 96 lightTriangleDarkFlat(ogles_context_t* c, vertex_t* , vertex_t* , vertex_t* v2) argument 109 lightTriangleSmooth(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 120 lightTriangleFlat(ogles_context_t* c, vertex_t* , vertex_t* , vertex_t* v2) argument 159 lightTriangleDarkSmoothFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 167 lightTriangleDarkFlatFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 177 lightTriangleSmoothFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 185 lightTriangleFlatFog(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 236 initTriangle( vertex_t const* v0, vertex_t const* v1, vertex_t const* v2) argument 390 fetch_texcoord_impl(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 435 fetch_texcoord(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 574 primitive_clip_triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 614 triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 631 lerp_triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 715 lerp_texcoords(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 759 lerp_texcoords_w(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 850 clip_triangle(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument [all...] |
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 169 static void vector3Sub(VECTOR3 *dest, VECTOR3 *v1, VECTOR3 *v2) argument 171 dest->x = v1->x - v2->x; 172 dest->y = v1->y - v2->y; 173 dest->z = v1->z - v2->z; 244 VECTOR3 v1, v2, n; local 259 vector3Sub(&v2, &pd, &pa); 264 * v2.x v2.y v2.z | v2 [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 12 extern float __attribute__((overloadable)) fmin(float v, float v2); 13 extern float2 __attribute__((overloadable)) fmin(float2 v, float v2); 14 extern float3 __attribute__((overloadable)) fmin(float3 v, float v2); 15 extern float4 __attribute__((overloadable)) fmin(float4 v, float v2); 17 extern float __attribute__((overloadable)) fmax(float v, float v2); 18 extern float2 __attribute__((overloadable)) fmax(float2 v, float v2); 19 extern float3 __attribute__((overloadable)) fmax(float3 v, float v2); 20 extern float4 __attribute__((overloadable)) fmax(float4 v, float v2); 71 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { \ 73 r.x = fnc(v1.x, v2 1207 float2 v2 = {native_log2(v.x), native_log2(v.y)}; local 1211 float3 v2 = {native_log2(v.x), native_log2(v.y), native_log2(v.z)}; local 1215 float4 v2 = {native_log2(v.x), native_log2(v.y), native_log2(v.z), native_log2(v.w)}; local 1247 float v2 = native_log2(v); local 1252 float2 v2 = native_log2(v); local 1257 float3 v2 = native_log2(v); local 1262 float4 v2 = native_log2(v); local 1267 min(double v1, double v2) argument 1271 min(double2 v1, double2 v2) argument 1278 min(double3 v1, double3 v2) argument 1286 min(double4 v1, double4 v2) argument 1295 min(long v1, long v2) argument 1298 min(long2 v1, long2 v2) argument 1304 min(long3 v1, long3 v2) argument 1311 min(long4 v1, long4 v2) argument 1320 min(ulong v1, ulong v2) argument 1323 min(ulong2 v1, ulong2 v2) argument 1329 min(ulong3 v1, ulong3 v2) argument 1336 min(ulong4 v1, ulong4 v2) argument 1345 max(double v1, double v2) argument 1349 max(double2 v1, double2 v2) argument 1356 max(double3 v1, double3 v2) argument 1364 max(double4 v1, double4 v2) argument 1373 max(long v1, long v2) argument 1376 max(long2 v1, long2 v2) argument 1382 max(long3 v1, long3 v2) argument 1389 max(long4 v1, long4 v2) argument 1398 max(ulong v1, ulong v2) argument 1401 max(ulong2 v1, ulong2 v2) argument 1407 max(ulong3 v1, ulong3 v2) argument 1414 max(ulong4 v1, ulong4 v2) argument 1486 native_distance(float v1, float v2) argument 1487 native_distance(float2 v1, float2 v2) argument 1488 native_distance(float3 v1, float3 v2) argument 1489 native_distance(float4 v1, float4 v2) argument 1496 native_divide(float v1, float v2) argument 1497 native_divide(float2 v1, float2 v2) argument 1498 native_divide(float3 v1, float3 v2) argument 1499 native_divide(float4 v1, float4 v2) argument [all...] |
/frameworks/rs/ |
H A D | rsFont.cpp | 102 float v2 = glyph->mBitmapMaxV; local 107 state->appendMeshQuad(nPenX, nPenY, 0, u1, v2, 108 nPenX + width, nPenY, 0, u2, v2, 671 float u2, float v2, 701 (*currentPos++) = v2; 668 appendMeshQuad(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4) argument
|
/frameworks/base/core/jni/ |
H A D | android_opengl_GLES31.cpp | 1022 /* void glProgramUniform3i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2 ) */ 1025 (JNIEnv *_env, jobject _this, jint program, jint location, jint v0, jint v1, jint v2) { 1031 (GLint)v2 1035 /* void glProgramUniform4i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3 ) */ 1038 (JNIEnv *_env, jobject _this, jint program, jint location, jint v0, jint v1, jint v2, jint v3) { 1044 (GLint)v2, 1072 /* void glProgramUniform3ui ( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2 ) */ 1075 (JNIEnv *_env, jobject _this, jint program, jint location, jint v0, jint v1, jint v2) { 1081 (GLuint)v2 1085 /* void glProgramUniform4ui ( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuin 1024 android_glProgramUniform3i__IIIII(JNIEnv *_env, jobject _this, jint program, jint location, jint v0, jint v1, jint v2) argument 1037 android_glProgramUniform4i__IIIIII(JNIEnv *_env, jobject _this, jint program, jint location, jint v0, jint v1, jint v2, jint v3) argument 1074 android_glProgramUniform3ui__IIIII(JNIEnv *_env, jobject _this, jint program, jint location, jint v0, jint v1, jint v2) argument 1087 android_glProgramUniform4ui__IIIIII(JNIEnv *_env, jobject _this, jint program, jint location, jint v0, jint v1, jint v2, jint v3) argument 1124 android_glProgramUniform3f__IIFFF(JNIEnv *_env, jobject _this, jint program, jint location, jfloat v0, jfloat v1, jfloat v2) argument 1137 android_glProgramUniform4f__IIFFFF(JNIEnv *_env, jobject _this, jint program, jint location, jfloat v0, jfloat v1, jfloat v2, jfloat v3) argument [all...] |
H A D | android_opengl_GLES30.cpp | 2558 /* void glUniform3ui ( GLint location, GLuint v0, GLuint v1, GLuint v2 ) */ 2561 (JNIEnv *_env, jobject _this, jint location, jint v0, jint v1, jint v2) { 2566 (GLuint)v2 2570 /* void glUniform4ui ( GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 ) */ 2573 (JNIEnv *_env, jobject _this, jint location, jint v0, jint v1, jint v2, jint v3) { 2578 (GLuint)v2, 2560 android_glUniform3ui__IIII(JNIEnv *_env, jobject _this, jint location, jint v0, jint v1, jint v2) argument 2572 android_glUniform4ui__IIIII(JNIEnv *_env, jobject _this, jint location, jint v0, jint v1, jint v2, jint v3) argument
|
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 420 const uint16_t v2 = chars[(*iter)++]; local 421 // test whether v2 in (0xdc00..0xdfff), trail surrogate 422 if ((v2 & 0xfc00) == 0xdc00) { 425 return (((hb_codepoint_t)v) << 10) + v2 - delta;
|
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 73 static inline int max(int v1, int v2) argument 75 return (v1 > v2) ? v1 : v2;
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES31.java | 417 // C function void glProgramUniform3i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2 ) 424 int v2 427 // C function void glProgramUniform4i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3 ) 434 int v2, 455 // C function void glProgramUniform3ui ( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2 ) 462 int v2 465 // C function void glProgramUniform4ui ( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 ) 472 int v2, 493 // C function void glProgramUniform3f ( GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2 ) 500 float v2 429 glProgramUniform4i( int program, int location, int v0, int v1, int v2, int v3 ) argument 467 glProgramUniform4ui( int program, int location, int v0, int v1, int v2, int v3 ) argument 505 glProgramUniform4f( int program, int location, float v0, float v1, float v2, float v3 ) argument [all...] |
H A D | GLES30.java | 1084 // C function void glUniform3ui ( GLint location, GLuint v0, GLuint v1, GLuint v2 ) 1090 int v2 1093 // C function void glUniform4ui ( GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 ) 1099 int v2, 1095 glUniform4ui( int location, int v0, int v1, int v2, int v3 ) argument
|
/frameworks/rs/driver/ |
H A D | rsdRuntimeStubs.cpp | 306 float x2, float y2, float z2, float u2, float v2, 327 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4}; 305 SC_DrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1, float x2, float y2, float z2, float u2, float v2, float x3, float y3, float z3, float u3, float v3, float x4, float y4, float z4, float u4, float v4) argument
|
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.cpp | 1160 const float v2 = (height - r->bottom) * texY; local 1165 TextureVertex::set(mesh++, r->left, r->bottom, u1, v2); 1166 TextureVertex::set(mesh++, r->right, r->bottom, u2, v2); 2070 float v2 = float(y + 1) / meshHeight; local 2072 mapper.map(u1, v1, u2, v2); 2083 ColorTextureVertex::set(vertex++, vertices[dx], vertices[dy], u2, v2, colors[dx / 2]); 2084 ColorTextureVertex::set(vertex++, vertices[ax], vertices[ay], u1, v2, colors[ax / 2]); 2087 ColorTextureVertex::set(vertex++, vertices[dx], vertices[dy], u2, v2, colors[dx / 2]); 2169 float v2 = fmin(1.0f, srcBottom / height); local 2171 getMapper(texture).map(u1, v1, u2, v2); 3442 resetDrawTextureTexCoords(float u1, float v1, float u2, float v2) argument [all...] |
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_api.cpp | 4751 void GLTrace_glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { argument 4775 // copy argument v2 4779 arg_v2->add_floatvalue(v2); 4784 glContext->hooks->gl.glUniform3f(location, v0, v1, v2); 4838 void GLTrace_glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) { argument 4862 // copy argument v2 4866 arg_v2->add_intvalue(v2); 4871 glContext->hooks->gl.glUniform3i(location, v0, v1, v2); 4925 void GLTrace_glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) { argument 4949 // copy argument v2 5018 GLTrace_glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) argument 8050 GLTrace_glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2) argument 8096 GLTrace_glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) argument 11232 GLTrace_glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) argument 11284 GLTrace_glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) argument 11428 GLTrace_glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) argument 11480 GLTrace_glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) argument 11624 GLTrace_glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) argument 11676 GLTrace_glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) argument 18893 GLTrace_glProgramUniform3fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) argument 18992 GLTrace_glProgramUniform3iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) argument 19091 GLTrace_glProgramUniform4fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) argument 19196 GLTrace_glProgramUniform4iEXT(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) argument 19614 GLTrace_glProgramUniform3uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) argument 19666 GLTrace_glProgramUniform4uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) argument [all...] |