/external/chromium_org/third_party/skia/src/gpu/effects/ |
GrBicubicEffect.cpp | 76 builder->fsCodeAppendf("\tvec2 coord = %s - %s * vec2(0.5);\n", coords2D.c_str(), imgInc); 77 // We unnormalize the coord in order to determine our fractional offset (f) within the texel 78 // We then snap coord to a texel center and renormalize. The snap prevents cases where the 82 builder->fsCodeAppend("\tvec2 f = fract(coord);\n"); 83 builder->fsCodeAppendf("\tcoord = (coord - f + vec2(0.5)) * %s;\n", imgInc); 86 SkString coord; local 87 coord.printf("coord + %s * vec2(%d, %d)", imgInc, x - 1, y - 1); 89 builder->fsAppendTextureLookup(samplers[0], coord.c_str());
|
/external/mesa3d/src/mesa/tnl/ |
t_vb_texgen.c | 105 GLfloat *coord = (GLfloat *)eye->start; local 110 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { 112 COPY_3V( u, coord ); 132 GLfloat *coord = eye->start; local 138 for (i=0;i<count;i++,STRIDE_F(coord,stride),STRIDE_F(norm,normal->stride)) { 140 COPY_2V( u, coord ); 181 GLfloat *coord = eye->start; local 189 COPY_3V( u, coord ); 195 STRIDE_F(coord,stride); 208 GLfloat *coord = eye->start local [all...] |
/external/skia/src/gpu/effects/ |
GrBicubicEffect.cpp | 76 builder->fsCodeAppendf("\tvec2 coord = %s - %s * vec2(0.5);\n", coords2D.c_str(), imgInc); 77 // We unnormalize the coord in order to determine our fractional offset (f) within the texel 78 // We then snap coord to a texel center and renormalize. The snap prevents cases where the 82 builder->fsCodeAppend("\tvec2 f = fract(coord);\n"); 83 builder->fsCodeAppendf("\tcoord = (coord - f + vec2(0.5)) * %s;\n", imgInc); 86 SkString coord; local 87 coord.printf("coord + %s * vec2(%d, %d)", imgInc, x - 1, y - 1); 89 builder->fsAppendTextureLookup(samplers[0], coord.c_str());
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/GLES/ |
glext.h | 548 GL_API void GL_APIENTRY glTexGenfOES (GLenum coord, GLenum pname, GLfloat param); 549 GL_API void GL_APIENTRY glTexGenfvOES (GLenum coord, GLenum pname, const GLfloat *params); 550 GL_API void GL_APIENTRY glTexGeniOES (GLenum coord, GLenum pname, GLint param); 551 GL_API void GL_APIENTRY glTexGenivOES (GLenum coord, GLenum pname, const GLint *params); 552 GL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); 553 GL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); 554 GL_API void GL_APIENTRY glGetTexGenfvOES (GLenum coord, GLenum pname, GLfloat *params); 555 GL_API void GL_APIENTRY glGetTexGenivOES (GLenum coord, GLenum pname, GLint *params); 556 GL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); 558 typedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param) [all...] |
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/GLES/ |
glext.h | 548 GL_API void GL_APIENTRY glTexGenfOES (GLenum coord, GLenum pname, GLfloat param); 549 GL_API void GL_APIENTRY glTexGenfvOES (GLenum coord, GLenum pname, const GLfloat *params); 550 GL_API void GL_APIENTRY glTexGeniOES (GLenum coord, GLenum pname, GLint param); 551 GL_API void GL_APIENTRY glTexGenivOES (GLenum coord, GLenum pname, const GLint *params); 552 GL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); 553 GL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); 554 GL_API void GL_APIENTRY glGetTexGenfvOES (GLenum coord, GLenum pname, GLfloat *params); 555 GL_API void GL_APIENTRY glGetTexGenivOES (GLenum coord, GLenum pname, GLint *params); 556 GL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); 558 typedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param) [all...] |
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/GLES/ |
glext.h | 548 GL_API void GL_APIENTRY glTexGenfOES (GLenum coord, GLenum pname, GLfloat param); 549 GL_API void GL_APIENTRY glTexGenfvOES (GLenum coord, GLenum pname, const GLfloat *params); 550 GL_API void GL_APIENTRY glTexGeniOES (GLenum coord, GLenum pname, GLint param); 551 GL_API void GL_APIENTRY glTexGenivOES (GLenum coord, GLenum pname, const GLint *params); 552 GL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); 553 GL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); 554 GL_API void GL_APIENTRY glGetTexGenfvOES (GLenum coord, GLenum pname, GLfloat *params); 555 GL_API void GL_APIENTRY glGetTexGenivOES (GLenum coord, GLenum pname, GLint *params); 556 GL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); 558 typedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param) [all...] |
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/GLES/ |
glext.h | 548 GL_API void GL_APIENTRY glTexGenfOES (GLenum coord, GLenum pname, GLfloat param); 549 GL_API void GL_APIENTRY glTexGenfvOES (GLenum coord, GLenum pname, const GLfloat *params); 550 GL_API void GL_APIENTRY glTexGeniOES (GLenum coord, GLenum pname, GLint param); 551 GL_API void GL_APIENTRY glTexGenivOES (GLenum coord, GLenum pname, const GLint *params); 552 GL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); 553 GL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); 554 GL_API void GL_APIENTRY glGetTexGenfvOES (GLenum coord, GLenum pname, GLfloat *params); 555 GL_API void GL_APIENTRY glGetTexGenivOES (GLenum coord, GLenum pname, GLint *params); 556 GL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); 558 typedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param) [all...] |
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/GLES/ |
glext.h | 548 GL_API void GL_APIENTRY glTexGenfOES (GLenum coord, GLenum pname, GLfloat param); 549 GL_API void GL_APIENTRY glTexGenfvOES (GLenum coord, GLenum pname, const GLfloat *params); 550 GL_API void GL_APIENTRY glTexGeniOES (GLenum coord, GLenum pname, GLint param); 551 GL_API void GL_APIENTRY glTexGenivOES (GLenum coord, GLenum pname, const GLint *params); 552 GL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); 553 GL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); 554 GL_API void GL_APIENTRY glGetTexGenfvOES (GLenum coord, GLenum pname, GLfloat *params); 555 GL_API void GL_APIENTRY glGetTexGenivOES (GLenum coord, GLenum pname, GLint *params); 556 GL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); 558 typedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param) [all...] |
/prebuilts/ndk/5/platforms/android-4/arch-arm/usr/include/GLES/ |
glext.h | 548 GL_API void GL_APIENTRY glTexGenfOES (GLenum coord, GLenum pname, GLfloat param); 549 GL_API void GL_APIENTRY glTexGenfvOES (GLenum coord, GLenum pname, const GLfloat *params); 550 GL_API void GL_APIENTRY glTexGeniOES (GLenum coord, GLenum pname, GLint param); 551 GL_API void GL_APIENTRY glTexGenivOES (GLenum coord, GLenum pname, const GLint *params); 552 GL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); 553 GL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); 554 GL_API void GL_APIENTRY glGetTexGenfvOES (GLenum coord, GLenum pname, GLfloat *params); 555 GL_API void GL_APIENTRY glGetTexGenivOES (GLenum coord, GLenum pname, GLint *params); 556 GL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); 558 typedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param) [all...] |
/prebuilts/ndk/6/platforms/android-4/arch-arm/usr/include/GLES/ |
glext.h | 548 GL_API void GL_APIENTRY glTexGenfOES (GLenum coord, GLenum pname, GLfloat param); 549 GL_API void GL_APIENTRY glTexGenfvOES (GLenum coord, GLenum pname, const GLfloat *params); 550 GL_API void GL_APIENTRY glTexGeniOES (GLenum coord, GLenum pname, GLint param); 551 GL_API void GL_APIENTRY glTexGenivOES (GLenum coord, GLenum pname, const GLint *params); 552 GL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); 553 GL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); 554 GL_API void GL_APIENTRY glGetTexGenfvOES (GLenum coord, GLenum pname, GLfloat *params); 555 GL_API void GL_APIENTRY glGetTexGenivOES (GLenum coord, GLenum pname, GLint *params); 556 GL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); 558 typedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param) [all...] |
/prebuilts/ndk/6/platforms/android-4/arch-x86/usr/include/GLES/ |
glext.h | 548 GL_API void GL_APIENTRY glTexGenfOES (GLenum coord, GLenum pname, GLfloat param); 549 GL_API void GL_APIENTRY glTexGenfvOES (GLenum coord, GLenum pname, const GLfloat *params); 550 GL_API void GL_APIENTRY glTexGeniOES (GLenum coord, GLenum pname, GLint param); 551 GL_API void GL_APIENTRY glTexGenivOES (GLenum coord, GLenum pname, const GLint *params); 552 GL_API void GL_APIENTRY glTexGenxOES (GLenum coord, GLenum pname, GLfixed param); 553 GL_API void GL_APIENTRY glTexGenxvOES (GLenum coord, GLenum pname, const GLfixed *params); 554 GL_API void GL_APIENTRY glGetTexGenfvOES (GLenum coord, GLenum pname, GLfloat *params); 555 GL_API void GL_APIENTRY glGetTexGenivOES (GLenum coord, GLenum pname, GLint *params); 556 GL_API void GL_APIENTRY glGetTexGenxvOES (GLenum coord, GLenum pname, GLfixed *params); 558 typedef void (GL_APIENTRYP PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param) [all...] |
/external/chromium_org/third_party/skia/src/core/ |
SkEdgeClipper.cpp | 504 static void assert_monotonic(const SkScalar coord[], int count) { 505 if (coord[0] > coord[(count - 1) * 2]) { 507 SkASSERT(coord[2 * (i - 1)] >= coord[i * 2]); 509 } else if (coord[0] < coord[(count - 1) * 2]) { 511 SkASSERT(coord[2 * (i - 1)] <= coord[i * 2]); 515 SkASSERT(coord[2 * (i - 1)] == coord[i * 2]) [all...] |
/external/skia/src/core/ |
SkEdgeClipper.cpp | 504 static void assert_monotonic(const SkScalar coord[], int count) { 505 if (coord[0] > coord[(count - 1) * 2]) { 507 SkASSERT(coord[2 * (i - 1)] >= coord[i * 2]); 509 } else if (coord[0] < coord[(count - 1) * 2]) { 511 SkASSERT(coord[2 * (i - 1)] <= coord[i * 2]); 515 SkASSERT(coord[2 * (i - 1)] == coord[i * 2]) [all...] |
/frameworks/base/opengl/java/android/opengl/ |
GLErrorWrapper.java | [all...] |
/development/samples/CubeLiveWallpaper/src/com/example/android/livecubes/cube2/ |
CubeWallpaper2.java | 128 String [] coord = p[i].split(" "); local 129 mOriginalPoints[i].x = Float.valueOf(coord[0]); 130 mOriginalPoints[i].y = Float.valueOf(coord[1]); 131 mOriginalPoints[i].z = Float.valueOf(coord[2]);
|
/sdk/emulator/opengl/host/libs/Translator/GLES_CM/ |
GLEScmValidate.h | 41 static bool texGen(GLenum coord,GLenum pname);
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
GLImpl.java | [all...] |
/frameworks/rs/driver/runtime/ |
rs_sample.c | 299 static uint32_t wrapI(rs_sampler_value wrap, int32_t coord, int32_t size) { 301 coord = coord % size; 302 if (coord < 0) { 303 coord += size; 307 coord = coord % (size * 2); 308 if (coord < 0) { 309 coord = (size * 2) + coord; [all...] |
/development/ndk/platforms/android-4/include/GLES/ |
glext.h | [all...] |
/external/chromium_org/third_party/mesa/src/include/GLES/ |
glext.h | [all...] |
/external/mesa3d/include/GLES/ |
glext.h | [all...] |
/prebuilts/ndk/7/platforms/android-14/arch-arm/usr/include/GLES/ |
glext.h | [all...] |
/prebuilts/ndk/7/platforms/android-14/arch-x86/usr/include/GLES/ |
glext.h | [all...] |
/prebuilts/ndk/7/platforms/android-4/arch-arm/usr/include/GLES/ |
glext.h | [all...] |
/prebuilts/ndk/7/platforms/android-4/arch-x86/usr/include/GLES/ |
glext.h | [all...] |