/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 569 vertex_t *v, *v0, *v1; 589 v1 = v++; 590 const uint32_t cc = v0->flags & v1->flags; 592 c->prims.renderLine(c, v0, v1); 593 v0 = v1; 610 vertex_t* v1 = c->vc.vBuffer + 1; local 611 c->arrays.compileElement(c, v1, first); 612 const uint32_t cc = v0->flags & v1->flags; 614 c->prims.renderLine(c, v0, v1); 659 vertex_t *v, *v0, *v1, *v 789 vertex_t* v1; local 816 vertex_t* v1; local 848 vertex_t* const v1 = fetch_vertex(c, read_index(type, indices)); local 871 vertex_t* v1 = v+1; local 918 vertex_t* const v1 = fetch_vertex(c, *p++); local 932 vertex_t* const v1 = fetch_vertex(c, *p++); local [all...] |
H A D | primitives.cpp | 38 static void primitive_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1); 40 vertex_t* v0, vertex_t* v1, vertex_t* v2); 43 static void primitive_nop_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1); 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_ 73 lightTriangleDarkSmooth(ogles_context_t* c, vertex_t* v0, vertex_t* v1, vertex_t* v2) argument 109 lightTriangleSmooth(ogles_context_t* c, vertex_t* v0, vertex_t* v1, 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 246 initLine( vertex_t const* v0, vertex_t const* v1) 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 532 primitive_line(ogles_context_t* c, vertex_t* v0, vertex_t* v1) 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 258 vector3Sub(&v1, &pb, &pa); 263 * v1.x v1.y v1.z | v1 [all...] |
/frameworks/rs/driver/runtime/ |
H A D | rs_cl.c | 71 extern float2 __attribute__((overloadable)) fnc(float2 v1, float2 v2) { \ 73 r.x = fnc(v1.x, v2.x); \ 74 r.y = fnc(v1.y, v2.y); \ 77 extern float3 __attribute__((overloadable)) fnc(float3 v1, float3 v2) { \ 79 r.x = fnc(v1.x, v2.x); \ 80 r.y = fnc(v1.y, v2.y); \ 81 r.z = fnc(v1.z, v2.z); \ 84 extern float4 __attribute__((overloadable)) fnc(float4 v1, float4 v2) { \ 86 r.x = fnc(v1.x, v2.x); \ 87 r.y = fnc(v1 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 | 101 float v1 = glyph->mBitmapMinV; local 109 nPenX + width, nPenY - height, 0, u2, v1, 110 nPenX, nPenY - height, 0, u1, v1); 669 float u1, float v1, 694 (*currentPos++) = v1; 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 | 1010 /* void glProgramUniform2i ( GLuint program, GLint location, GLint v0, GLint v1 ) */ 1013 (JNIEnv *_env, jobject _this, jint program, jint location, jint v0, jint v1) { 1018 (GLint)v1 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) { 1030 (GLint)v1, 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) { 1043 (GLint)v1, 1060 /* void glProgramUniform2ui ( GLuint program, GLint location, GLuint v0, GLuint v1 ) */ 1012 android_glProgramUniform2i__IIII(JNIEnv *_env, jobject _this, jint program, jint location, jint v0, jint v1) argument 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 1062 android_glProgramUniform2ui__IIII(JNIEnv *_env, jobject _this, jint program, jint location, jint v0, jint v1) 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 1112 android_glProgramUniform2f__IIFF(JNIEnv *_env, jobject _this, jint program, jint location, jfloat v0, jfloat v1) 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 | 2547 /* void glUniform2ui ( GLint location, GLuint v0, GLuint v1 ) */ 2550 (JNIEnv *_env, jobject _this, jint location, jint v0, jint v1) { 2554 (GLuint)v1 2558 /* void glUniform3ui ( GLint location, GLuint v0, GLuint v1, GLuint v2 ) */ 2561 (JNIEnv *_env, jobject _this, jint location, jint v0, jint v1, jint v2) { 2565 (GLuint)v1, 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) { 2577 (GLuint)v1, 2549 android_glUniform2ui__III(JNIEnv *_env, jobject _this, jint location, jint v0, jint v1) argument 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/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 | 408 // C function void glProgramUniform2i ( GLuint program, GLint location, GLint v0, GLint v1 ) 414 int v1 417 // C function void glProgramUniform3i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2 ) 423 int v1, 427 // C function void glProgramUniform4i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3 ) 433 int v1, 446 // C function void glProgramUniform2ui ( GLuint program, GLint location, GLuint v0, GLuint v1 ) 452 int v1 455 // C function void glProgramUniform3ui ( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2 ) 461 int v1, 419 glProgramUniform3i( int program, int location, int v0, int v1, int v2 ) argument 429 glProgramUniform4i( int program, int location, int v0, int v1, int v2, int v3 ) argument 457 glProgramUniform3ui( int program, int location, int v0, int v1, int v2 ) argument 467 glProgramUniform4ui( int program, int location, int v0, int v1, int v2, int v3 ) argument 495 glProgramUniform3f( int program, int location, float v0, float v1, float v2 ) argument 505 glProgramUniform4f( int program, int location, float v0, float v1, float v2, float v3 ) argument [all...] |
H A D | GLES30.java | 1076 // C function void glUniform2ui ( GLint location, GLuint v0, GLuint v1 ) 1081 int v1 1084 // C function void glUniform3ui ( GLint location, GLuint v0, GLuint v1, GLuint v2 ) 1089 int v1, 1093 // C function void glUniform4ui ( GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3 ) 1098 int v1, 1086 glUniform3ui( int location, int v0, int v1, int v2 ) argument 1095 glUniform4ui( int location, int v0, int v1, int v2, int v3 ) argument
|
/frameworks/rs/driver/ |
H A D | rsdRuntimeStubs.cpp | 305 static void SC_DrawQuadTexCoords(float x1, float y1, float z1, float u1, float v1, argument 327 const float tex[] = {u1,v1, u2,v2, u3,v3, u4,v4};
|
/frameworks/base/libs/hwui/ |
H A D | OpenGLRenderer.cpp | 1158 const float v1 = (height - r->top) * texY; local 1163 TextureVertex::set(mesh++, r->left, r->top, u1, v1); 1164 TextureVertex::set(mesh++, r->right, r->top, u2, v1); 2069 float v1 = float(y) / meshHeight; local 2072 mapper.map(u1, v1, u2, v2); 2085 ColorTextureVertex::set(vertex++, vertices[bx], vertices[by], u1, v1, colors[bx / 2]); 2088 ColorTextureVertex::set(vertex++, vertices[bx], vertices[by], u1, v1, colors[bx / 2]); 2089 ColorTextureVertex::set(vertex++, vertices[cx], vertices[cy], u2, v1, colors[cx / 2]); 2167 float v1 = fmax(0.0f, srcTop / height); local 2171 getMapper(texture).map(u1, v1, u 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 | 4589 void GLTrace_glUniform2f(GLint location, GLfloat v0, GLfloat v1) { argument 4607 // copy argument v1 4611 arg_v1->add_floatvalue(v1); 4616 glContext->hooks->gl.glUniform2f(location, v0, v1); 4670 void GLTrace_glUniform2i(GLint location, GLint v0, GLint v1) { argument 4688 // copy argument v1 4692 arg_v1->add_intvalue(v1); 4697 glContext->hooks->gl.glUniform2i(location, v0, v1); 4751 void GLTrace_glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) { argument 4769 // copy argument v1 4838 GLTrace_glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) argument 4925 GLTrace_glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) argument 5018 GLTrace_glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) argument 8010 GLTrace_glUniform2ui(GLint location, GLuint v0, GLuint v1) 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 11186 GLTrace_glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1) 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 11382 GLTrace_glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1) 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 11578 GLTrace_glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1) 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 18707 GLTrace_glProgramUniform2fEXT(GLuint program, GLint location, GLfloat v0, GLfloat v1) argument 18800 GLTrace_glProgramUniform2iEXT(GLuint program, GLint location, GLint v0, GLint v1) 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 19568 GLTrace_glProgramUniform2uiEXT(GLuint program, GLint location, GLuint v0, GLuint v1) 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...] |