/frameworks/native/opengl/libagl/ |
D | matrix.h | 59 GLfixed vsquare3(GLfixed a, GLfixed b, GLfixed c) in vsquare3() 63 GLfixed r; in vsquare3() 86 static inline GLfixed mla2a( GLfixed a0, GLfixed b0, in mla2a() 87 GLfixed a1, GLfixed b1, in mla2a() 88 GLfixed c) in mla2a() 92 GLfixed r; in mla2a() 115 static inline GLfixed mla3a( GLfixed a0, GLfixed b0, in mla3a() 116 GLfixed a1, GLfixed b1, in mla3a() 117 GLfixed a2, GLfixed b2, in mla3a() 118 GLfixed c) in mla3a() [all …]
|
D | light.cpp | 40 static inline void vscale3(GLfixed* d, const GLfixed* m, GLfixed s); 43 void vnorm3(GLfixed* d, const GLfixed* a); 45 static inline void vsa3(GLfixed* d, 46 const GLfixed* m, GLfixed s, const GLfixed* a); 47 static inline void vss3(GLfixed* d, 48 const GLfixed* m, GLfixed s, const GLfixed* a); 49 static inline void vmla3(GLfixed* d, 50 const GLfixed* m0, const GLfixed* m1, const GLfixed* a); 51 static inline void vmul3(GLfixed* d, 52 const GLfixed* m0, const GLfixed* m1); [all …]
|
D | context.h | 88 struct { GLfixed x, y, z; }; 89 struct { GLfixed r, g, b; }; 90 struct { GLfixed S, T, R; }; 91 GLfixed v[3]; 97 struct { GLfixed x, y, z, w; }; 98 struct { GLfixed r, g, b, a; }; 99 struct { GLfixed S, T, R, Q; }; 100 GLfixed v[4]; 143 GLfixed fog; 173 GLfixed factor; [all …]
|
D | matrix.cpp | 182 int notZero(GLfixed v) { in notZero() 187 int notOne(GLfixed v) { in notOne() 193 const GLfixed* const m = matrix.m; in picker() 218 GLfixed const * const m = matrix.m; in dump() 236 GLfixed* xp = m; in load() 286 void matrixf_t::set(const GLfixed* rhs) { in set() 294 void matrixf_t::load(const GLfixed* rhs) { in load() 405 void matrix_stack_t::load(const GLfixed* rhs) in load() 581 GLfixed* const x = mvit4.matrix.m; in update_mvit() 606 GLfixed* const x = mvui.matrix.m; in update_mvui() [all …]
|
D | vertex.cpp | 70 const GLfixed* const m = c->transforms.vpt.transform.matrix.m; in perspective() 90 const GLfixed w = v->clip.w; in clipFrustumPerspective() 124 GLfixed d = dot4(c->clipPlanes.plane[i].equation.v, v->eye.v); in clipAllPerspective() 164 static void clipPlanex(GLenum plane, const GLfixed* equ, ogles_context_t* c) in clipPlanex() 200 void glColor4x(GLfixed r, GLfixed g, GLfixed b, GLfixed a) in glColor4x() 221 void glNormal3x(GLfixed x, GLfixed y, GLfixed z) in glNormal3x() 233 const GLfixed equx[4] = { in glClipPlanef() 243 void glClipPlanex(GLenum plane, const GLfixed* equ) in glClipPlanex()
|
D | array.cpp | 136 static void currentColor(ogles_context_t* c, GLfixed* v, const GLvoid*) { in currentColor() 139 static void currentNormal(ogles_context_t* c, GLfixed* v, const GLvoid*) { in currentNormal() 142 static void currentTexCoord(ogles_context_t* c, GLfixed* v, const GLvoid*) { in currentTexCoord() 147 static void fetchNop(ogles_context_t*, GLfixed*, const GLvoid*) { in fetchNop() argument 149 static void fetch2b(ogles_context_t*, GLfixed* v, const GLbyte* p) { in fetch2b() 153 static void fetch2s(ogles_context_t*, GLfixed* v, const GLshort* p) { in fetch2s() 157 static void fetch2x(ogles_context_t*, GLfixed* v, const GLfixed* p) { in fetch2x() 158 memcpy(v, p, 2*sizeof(GLfixed)); in fetch2x() 160 static void fetch2f(ogles_context_t*, GLfixed* v, const GLfloat* p) { in fetch2f() 164 static void fetch3b(ogles_context_t*, GLfixed* v, const GLbyte* p) { in fetch3b() [all …]
|
D | primitives.cpp | 382 static inline int32_t clampZ(GLfixed z) CONST; 383 int32_t clampZ(GLfixed z) { in clampZ() 514 GLfixed itf[3]; in primitive_point() 650 GLfixed itc[12]; in lerp_triangle() 667 const GLfixed factor = c->polygonOffset.factor; in lerp_triangle() 687 GLfixed itf[3]; in lerp_triangle() 839 GLfixed frustumPlaneDist(int plane, const vec4_t& s) in frustumPlaneDist() 841 const GLfixed d = s.v[ plane >> 1 ]; in frustumPlaneDist() 846 int32_t clipDivide(GLfixed a, GLfixed b) { in clipDivide() 903 GLfixed sd = dot4(equation.v, s->eye.v); in clip_triangle() [all …]
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
D | GLES11Ext.spec | 6 void glDrawTexxOES ( GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height ) 9 void glDrawTexxvOES ( const GLfixed *coords ) 17 void glClipPlanexOES ( GLenum plane, const GLfixed *equation ) 18 void glColor4xOES ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 20 void glFogxOES ( GLenum pname, GLfixed param ) 21 void glFogxvOES ( GLenum pname, const GLfixed *params ) 22 void glFrustumxOES ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfix… 23 void glGetClipPlanexOES ( GLenum pname, GLfixed *eqn ) 24 void glGetFixedvOES ( GLenum pname, GLfixed *params ) 25 void glGetLightxvOES ( GLenum light, GLenum pname, GLfixed *params ) [all …]
|
D | GLES10.spec | 14 void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 37 void glFogx ( GLenum pname, GLfixed param ) 38 void glFogxv ( GLenum pname, const GLfixed *params ) 41 void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed … 49 void glLightModelx ( GLenum pname, GLfixed param ) 50 void glLightModelxv ( GLenum pname, const GLfixed *params ) 53 void glLightx ( GLenum light, GLenum pname, GLfixed param ) 54 void glLightxv ( GLenum light, GLenum pname, const GLfixed *params ) 56 void glLineWidthx ( GLfixed width ) 59 void glLoadMatrixx ( const GLfixed *m ) [all …]
|
D | GLES11.spec | 5 void glClipPlanex ( GLenum plane, const GLfixed *equation ) 14 void glGetClipPlanex ( GLenum pname, GLfixed *eqn ) 15 void glGetFixedv ( GLenum pname, GLfixed *params ) 18 void glGetLightxv ( GLenum light, GLenum pname, GLfixed *params ) 20 void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params ) 24 void glGetTexEnvxv ( GLenum env, GLenum pname, GLfixed *params ) 27 void glGetTexParameterxv ( GLenum target, GLenum pname, GLfixed *params ) 34 void glPointParameterx ( GLenum pname, GLfixed param ) 35 void glPointParameterxv ( GLenum pname, const GLfixed *params ) 43 void glTexParameterxv ( GLenum target, GLenum pname, const GLfixed *params )
|
/frameworks/native/opengl/libs/ |
D | entries_gles1.in | 3 GL_ENTRY(void, glAlphaFuncx, GLenum func, GLfixed ref) 4 GL_ENTRY(void, glAlphaFuncxOES, GLenum func, GLfixed ref) 19 GL_ENTRY(void, glClearColorx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) 20 GL_ENTRY(void, glClearColorxOES, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) 23 GL_ENTRY(void, glClearDepthx, GLfixed depth) 24 GL_ENTRY(void, glClearDepthxOES, GLfixed depth) 31 GL_ENTRY(void, glClipPlanex, GLenum plane, const GLfixed *equation) 32 GL_ENTRY(void, glClipPlanexIMG, GLenum p, const GLfixed *eqn) 33 GL_ENTRY(void, glClipPlanexOES, GLenum plane, const GLfixed *equation) 36 GL_ENTRY(void, glColor4x, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) [all …]
|
D | entries.in | 6 GL_ENTRY(void, glAlphaFuncx, GLenum func, GLfixed ref) 7 GL_ENTRY(void, glAlphaFuncxOES, GLenum func, GLfixed ref) 75 GL_ENTRY(void, glClearColorx, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) 76 GL_ENTRY(void, glClearColorxOES, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) 79 GL_ENTRY(void, glClearDepthx, GLfixed depth) 80 GL_ENTRY(void, glClearDepthxOES, GLfixed depth) 92 GL_ENTRY(void, glClipPlanex, GLenum plane, const GLfixed *equation) 93 GL_ENTRY(void, glClipPlanexIMG, GLenum p, const GLfixed *eqn) 94 GL_ENTRY(void, glClipPlanexOES, GLenum plane, const GLfixed *equation) 97 GL_ENTRY(void, glColor4x, GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) [all …]
|
/frameworks/native/opengl/include/GLES/ |
D | glext.h | 133 …ypedef void (GL_APIENTRYP PFNGLDRAWTEXXOESPROC) (GLfixed x, GLfixed y, GLfixed z, GLfixed width, G… 136 typedef void (GL_APIENTRYP PFNGLDRAWTEXXVOESPROC) (const GLfixed *coords); 142 GL_API void GL_APIENTRY glDrawTexxOES (GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed heig… 145 GL_API void GL_APIENTRY glDrawTexxvOES (const GLfixed *coords); 167 typedef void (GL_APIENTRYP PFNGLALPHAFUNCXOESPROC) (GLenum func, GLfixed ref); 168 …ypedef void (GL_APIENTRYP PFNGLCLEARCOLORXOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfi… 169 typedef void (GL_APIENTRYP PFNGLCLEARDEPTHXOESPROC) (GLfixed depth); 170 typedef void (GL_APIENTRYP PFNGLCLIPPLANEXOESPROC) (GLenum plane, const GLfixed *equation); 171 typedef void (GL_APIENTRYP PFNGLCOLOR4XOESPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed … 172 typedef void (GL_APIENTRYP PFNGLDEPTHRANGEXOESPROC) (GLfixed n, GLfixed f); [all …]
|
D | gl.h | 58 typedef khronos_int32_t GLfixed; typedef 444 GL_API void GL_APIENTRY glAlphaFuncx (GLenum func, GLfixed ref); 451 GL_API void GL_APIENTRY glClearColorx (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 452 GL_API void GL_APIENTRY glClearDepthx (GLfixed depth); 455 GL_API void GL_APIENTRY glClipPlanex (GLenum plane, const GLfixed *equation); 457 GL_API void GL_APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 469 GL_API void GL_APIENTRY glDepthRangex (GLfixed n, GLfixed f); 478 GL_API void GL_APIENTRY glFogx (GLenum pname, GLfixed param); 479 GL_API void GL_APIENTRY glFogxv (GLenum pname, const GLfixed *param); 481 GL_API void GL_APIENTRY glFrustumx (GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed … [all …]
|
/frameworks/native/opengl/tools/glgen/specs/jsr239/ |
D | glspec-1.0 | 14 void glColor4x ( GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha ) 37 void glFogx ( GLenum pname, GLfixed param ) 38 void glFogxv ( GLenum pname, const GLfixed *params ) 41 void glFrustumx ( GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed … 49 void glLightModelx ( GLenum pname, GLfixed param ) 50 void glLightModelxv ( GLenum pname, const GLfixed *params ) 53 void glLightx ( GLenum light, GLenum pname, GLfixed param ) 54 void glLightxv ( GLenum light, GLenum pname, const GLfixed *params ) 56 void glLineWidthx ( GLfixed width ) 59 void glLoadMatrixx ( const GLfixed *m ) [all …]
|
D | glspec-1.1 | 5 void glClipPlanex ( GLenum plane, const GLfixed *equation ) 14 void glGetClipPlanex ( GLenum pname, GLfixed *eqn ) 15 void glGetFixedv ( GLenum pname, GLfixed *params ) 18 void glGetLightxv ( GLenum light, GLenum pname, GLfixed *params ) 20 void glGetMaterialxv ( GLenum face, GLenum pname, GLfixed *params ) 22 void glGetTexEnvxv ( GLenum env, GLenum pname, GLfixed *params ) 25 void glGetTexParameterxv ( GLenum target, GLenum pname, GLfixed *params ) 32 void glPointParameterx ( GLenum pname, GLfixed param ) 33 void glPointParameterxv ( GLenum pname, const GLfixed *params ) 41 void glTexParameterxv ( GLenum target, GLenum pname, const GLfixed *params )
|
D | glspec-1.1ext | 8 void glDrawTexxOES ( GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height ) 9 void glDrawTexxvOES ( const GLfixed *coords )
|
/frameworks/native/opengl/tests/angeles/include/GLES/ |
D | gl.h | 69 typedef int GLfixed; typedef 486 GLAPI void APIENTRY glColor4x (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha); 509 GLAPI void APIENTRY glFogx (GLenum pname, GLfixed param); 510 GLAPI void APIENTRY glFogxv (GLenum pname, const GLfixed *params); 513 GLAPI void APIENTRY glFrustumx (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed z… 521 GLAPI void APIENTRY glLightModelx (GLenum pname, GLfixed param); 522 GLAPI void APIENTRY glLightModelxv (GLenum pname, const GLfixed *params); 525 GLAPI void APIENTRY glLightx (GLenum light, GLenum pname, GLfixed param); 526 GLAPI void APIENTRY glLightxv (GLenum light, GLenum pname, const GLfixed *params); 528 GLAPI void APIENTRY glLineWidthx (GLfixed width); [all …]
|
/frameworks/base/core/jni/ |
D | android_opengl_GLES11Ext.cpp | 485 (GLfixed)x, in android_glDrawTexxOES__IIIII() 486 (GLfixed)y, in android_glDrawTexxOES__IIIII() 487 (GLfixed)z, in android_glDrawTexxOES__IIIII() 488 (GLfixed)width, in android_glDrawTexxOES__IIIII() 489 (GLfixed)height in android_glDrawTexxOES__IIIII() 680 GLfixed *coords_base = (GLfixed *) 0; in android_glDrawTexxvOES___3II() 682 GLfixed *coords = (GLfixed *) 0; in android_glDrawTexxvOES___3II() 703 coords_base = (GLfixed *) in android_glDrawTexxvOES___3II() 708 (GLfixed *)coords in android_glDrawTexxvOES___3II() 731 GLfixed *coords = (GLfixed *) 0; in android_glDrawTexxvOES__Ljava_nio_IntBuffer_2() [all …]
|
D | android_opengl_GLES10.cpp | 558 (GLfixed)red, in android_glColor4x__IIII() 559 (GLfixed)green, in android_glColor4x__IIII() 560 (GLfixed)blue, in android_glColor4x__IIII() 561 (GLfixed)alpha in android_glColor4x__IIII() 1101 (GLfixed)param in android_glFogx__II() 1112 GLfixed *params_base = (GLfixed *) 0; in android_glFogxv__I_3II() 1114 GLfixed *params = (GLfixed *) 0; in android_glFogxv__I_3II() 1146 params_base = (GLfixed *) in android_glFogxv__I_3II() 1152 (GLfixed *)params in android_glFogxv__I_3II() 1175 GLfixed *params = (GLfixed *) 0; in android_glFogxv__ILjava_nio_IntBuffer_2() [all …]
|
D | android_opengl_GLES11.cpp | 606 GLfixed *equation_base = (GLfixed *) 0; in android_glClipPlanex__I_3II() 608 GLfixed *equation = (GLfixed *) 0; in android_glClipPlanex__I_3II() 623 equation_base = (GLfixed *) in android_glClipPlanex__I_3II() 629 (GLfixed *)equation in android_glClipPlanex__I_3II() 652 GLfixed *equation = (GLfixed *) 0; in android_glClipPlanex__ILjava_nio_IntBuffer_2() 660 …equation = (GLfixed *)getPointer(_env, equation_buf, (jarray*)&_array, &_remaining, &_bufferOffset… in android_glClipPlanex__ILjava_nio_IntBuffer_2() 663 equation = (GLfixed *) (_equationBase + _bufferOffset); in android_glClipPlanex__ILjava_nio_IntBuffer_2() 667 (GLfixed *)equation in android_glClipPlanex__ILjava_nio_IntBuffer_2() 1113 GLfixed *eqn_base = (GLfixed *) 0; in android_glGetClipPlanex__I_3II() 1115 GLfixed *eqn = (GLfixed *) 0; in android_glGetClipPlanex__I_3II() [all …]
|
D | com_google_android_gles_jni_GLImpl.cpp | 342 (GLfixed)red, in android_glColor4x__IIII() 343 (GLfixed)green, in android_glColor4x__IIII() 344 (GLfixed)blue, in android_glColor4x__IIII() 345 (GLfixed)alpha in android_glColor4x__IIII() 913 (GLfixed)param in android_glFogx__II() 924 GLfixed *params_base = (GLfixed *) 0; in android_glFogxv__I_3II() 926 GLfixed *params = (GLfixed *) 0; in android_glFogxv__I_3II() 972 params_base = (GLfixed *) in android_glFogxv__I_3II() 978 (GLfixed *)params in android_glFogxv__I_3II() 1001 GLfixed *params = (GLfixed *) 0; in android_glFogxv__ILjava_nio_IntBuffer_2() [all …]
|
/frameworks/native/opengl/libs/GLES_CM/ |
D | glext_api.in | 22 void API_ENTRY(glDrawTexxOES)(GLfixed x, GLfixed y, GLfixed z, GLfixed width, GLfixed height) { 31 void API_ENTRY(glDrawTexxvOES)(const GLfixed *coords) { 40 void API_ENTRY(glAlphaFuncxOES)(GLenum func, GLfixed ref) { 43 void API_ENTRY(glClearColorxOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { 46 void API_ENTRY(glClearDepthxOES)(GLfixed depth) { 49 void API_ENTRY(glClipPlanexOES)(GLenum plane, const GLfixed *equation) { 52 void API_ENTRY(glColor4xOES)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { 55 void API_ENTRY(glDepthRangexOES)(GLfixed n, GLfixed f) { 58 void API_ENTRY(glFogxOES)(GLenum pname, GLfixed param) { 61 void API_ENTRY(glFogxvOES)(GLenum pname, const GLfixed *param) { [all …]
|
D | gl_api.in | 118 void API_ENTRY(glAlphaFuncx)(GLenum func, GLfixed ref) { 139 void API_ENTRY(glClearColorx)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { 142 void API_ENTRY(glClearDepthx)(GLfixed depth) { 151 void API_ENTRY(glClipPlanex)(GLenum plane, const GLfixed *equation) { 157 void API_ENTRY(glColor4x)(GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha) { 193 void API_ENTRY(glDepthRangex)(GLfixed n, GLfixed f) { 220 void API_ENTRY(glFogx)(GLenum pname, GLfixed param) { 223 void API_ENTRY(glFogxv)(GLenum pname, const GLfixed *param) { 229 void API_ENTRY(glFrustumx)(GLfixed l, GLfixed r, GLfixed b, GLfixed t, GLfixed n, GLfixed f) { 238 void API_ENTRY(glGetClipPlanex)(GLenum plane, GLfixed *equation) { [all …]
|
/frameworks/native/opengl/tests/angeles/ |
D | demo.c | 81 GLfixed *vertexArray; 83 GLfixed *normalArray; 125 result->vertexArray = (GLfixed *)malloc(vertices * vertexComponents * in newGLObject() 126 sizeof(GLfixed)); in newGLObject() 130 result->normalArray = (GLfixed *)malloc(vertices * 3 * in newGLObject() 131 sizeof(GLfixed)); in newGLObject() 417 static const GLfixed quadVertices[] = { in drawFadeQuad() 432 const GLfixed fadeColor = minFade << 6; in drawFadeQuad() 512 glFrustumx((GLfixed)(xmin * 65536), (GLfixed)(xmax * 65536), in gluPerspective() 513 (GLfixed)(ymin * 65536), (GLfixed)(ymax * 65536), in gluPerspective() [all …]
|