/frameworks/ex/carousel/java/com/android/ex/carousel/ |
H A D | CarouselRS.java | 131 * Called when the detail texture for a card is tapped 142 * @param detailCoordinates position of detail texture, in screen coordinates 147 * Called when texture is needed for card n. This happens when the given card becomes 154 * Called when a texture is no longer needed for card n. This happens when the card 161 * Called when detail texture is needed for card n. This happens when the given card 168 * Called when a detail texture is no longer needed for card n. This happens when the card 373 // Single texture program 385 // Single texture program, plus blending 402 // Multi texture program 419 // Multi texture progra [all...] |
H A D | carousel.rs | 25 rs_allocation texture; // basic card texture 26 rs_allocation detailTexture; // screen-aligned detail texture 29 float2 detailTexturePosition[2]; // screen coordinates of detail texture, computed at draw time 32 int textureState; // whether or not the primary card texture is loaded. 38 int64_t textureTimeStamp; // time when this texture was last updated, in ms 39 int64_t detailTextureTimeStamp; // time when this texture was last updated, in ms 79 // Typical properties: texture, geometry and matrices. 95 // Detail texture alignments ** THIS LIST MUST MATCH THOSE IN CarouselView.java *** 168 const bool debugTextureLoading = false; // for debugging texture loa [all...] |
/frameworks/native/opengl/tests/hwc/ |
H A D | hwcRects.cpp | 161 sp<GraphicBuffer> texture; member in class:Rectangle 320 layer->handle = it->texture->handle; 509 // Create source texture 510 rect.texture = new GraphicBuffer(rect.sourceDim.width(), 513 if ((rv = rect.texture->initCheck()) != NO_ERROR) { 514 testPrintE("source texture initCheck failed, rv: %i", rv); 520 hwcTestFillColor(rect.texture.get(), rect.color, rect.alpha); 524 rect.texture.get(), rect.texture->handle, format->desc,
|
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 27 #include "texture.h" 114 c->arrays.texture[i].size = 4; 115 c->arrays.texture[i].type = GL_FLOAT; 146 memcpy(v, c->current.texture[c->arrays.tmu].v, sizeof(vec4_t)); 437 case GL_TEXTURE_COORD_ARRAY: a = &c->arrays.texture[tmu]; break; 1054 if (c->rasterizer.state.texture[i].enable) 1055 clipVec4(nv->texture[i], t, s->texture[i], p->texture[i]); 1120 if (enables & GGL_ENABLE_TMUS) { // needs texture transform 1331 glClientActiveTexture(GLenum texture) argument [all...] |
H A D | Android.mk | 12 texture.cpp \
|
H A D | TextureObjectManager.h | 100 sp<EGLTextureObject> texture(GLuint name);
|
H A D | context.h | 124 TT = 0x8000, // texture coords transformed 149 vec4_t texture[GGL_TEXTURE_UNIT_COUNT]; member in struct:android::gl::vertex_t 200 array_t texture[GGL_TEXTURE_UNIT_COUNT]; member in struct:android::gl::array_machine_t 349 EGLTextureObject* texture; member in struct:android::gl::texture_unit_t 493 matrix_stack_t texture[GGL_TEXTURE_UNIT_COUNT]; member in struct:android::gl::transform_state_t
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 81 status_t initTexture(Texture* texture, AssetManager& asset, const char* name);
|
H A D | BootAnimation.cpp | 100 status_t BootAnimation::initTexture(Texture* texture, AssetManager& assets, argument 120 texture->w = w; 121 texture->h = h; 123 glGenTextures(1, &texture->name); 124 glBindTexture(GL_TEXTURE_2D, texture->name);
|
/frameworks/base/libs/hwui/ |
H A D | FontRenderer.h | 129 float x4, float y4, float u4, float v4, CacheTexture* texture); 133 float x4, float y4, float u4, float v4, CacheTexture* texture); 137 float x4, float y4, float u4, float v4, CacheTexture* texture);
|
H A D | TextDropShadowCache.h | 110 * Alpha texture used to represent a shadow. 130 void operator()(ShadowText& text, ShadowTexture*& texture);
|
H A D | LayerRenderer.cpp | 230 // Initialize the texture if needed 236 ALOGD("Could not allocate texture for layer (fbo=%d %dx%d)", 273 LAYER_RENDERER_LOGD("Creating new texture layer"); 372 GLuint texture; local 413 glGenTextures(1, &texture); 417 glBindTexture(GL_TEXTURE_2D, texture); 432 GL_TEXTURE_2D, texture, 0); 479 glDeleteTextures(1, &texture);
|
H A D | FontRenderer.cpp | 145 // Start from 1; don't deallocate smallest/default texture 181 // Now copy the bitmap into the cache texture 213 // Large-glyph texture memory is allocated only as needed 388 float x4, float y4, float u4, float v4, CacheTexture* texture) { 389 if (texture != mCurrentCacheTexture) { 391 // First, draw everything stored already which uses the previous texture 395 // Now use the new texture id 396 mCurrentCacheTexture = texture; 428 float x4, float y4, float u4, float v4, CacheTexture* texture) { 435 appendMeshQuadNoClip(x1, y1, u1, v1, x2, y2, u2, v2, x3, y3, u3, v3, x4, y4, u4, v4, texture); 386 appendMeshQuadNoClip(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument 426 appendMeshQuad(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument 450 appendRotatedMeshQuad(float x1, float y1, float u1, float v1, float x2, float y2, float u2, float v2, float x3, float y3, float u3, float v3, float x4, float y4, float u4, float v4, CacheTexture* texture) argument [all...] |
/frameworks/native/opengl/tests/gl_jni/jni/ |
H A D | gl_code.cpp | 14 GLuint texture; variable 129 glGenTextures(1, &texture); 130 glBindTexture(GL_TEXTURE_2D, texture);
|
/frameworks/native/opengl/tests/tritex/ |
H A D | tritex.cpp | 23 GLuint texture;
variable 220 glGenTextures(1, &texture);
221 glBindTexture(GL_TEXTURE_2D, texture);
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | GLTextureViewActivity.java | 163 "uniform sampler2D texture;\n" + 165 " gl_FragColor = texture2D(texture, outTexCoords);\n" + 188 int texture = loadTexture(R.drawable.large_photo); 197 int uniformTexture = glGetUniformLocation(program, "texture"); 200 glBindTexture(GL_TEXTURE_2D, texture); 260 int texture = textures[0]; 261 glBindTexture(GL_TEXTURE_2D, texture); 277 return texture;
|
H A D | GradientsActivity.java | 97 Bitmap texture = BitmapFactory.decodeResource(c.getResources(), R.drawable.sunset1); 98 BitmapShader shader = new BitmapShader(texture, Shader.TileMode.REPEAT,
|
/frameworks/native/opengl/tests/gl_basic/ |
H A D | gl_basic.cpp | 21 GLuint texture; variable 328 glGenTextures(1, &texture); 329 glBindTexture(GL_TEXTURE_2D, texture);
|
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | GLES20.spec | 1 void glActiveTexture ( GLenum texture )
7 void glBindTexture ( GLenum target, GLuint texture )
49 void glFramebufferTexture2D ( GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level )
89 GLboolean glIsTexture ( GLuint texture )
|
/frameworks/rs/ |
H A D | rsProgram.cpp | 58 uint32_t texture = 0; local 69 mHal.state.textureTargets[texture++] = (RsTextureTarget)params[ct+1]; 170 ALOGE("Attempt to bind texture to slot %u but tex count is %u", slot, mHal.state.texturesCount); 171 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind texture"); 176 ALOGE("Attempt to bind cubemap to slot %u but 2d texture needed", slot); 177 rsc->setError(RS_ERROR_BAD_SHADER, "Cannot bind cubemap to 2d texture slot");
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL11ExtensionPack.java | 122 int texture 204 int texture, 200 glFramebufferTexture2DOES( int target, int attachment, int textarget, int texture, int level ) argument
|
/frameworks/native/opengl/include/GLES/ |
H A D | glext.h | 715 GL_API void GL_APIENTRY glFramebufferTexture2DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 731 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 953 GL_API void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 956 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 1022 GL_API void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 1023 GL_API void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 1024 GL_API void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 1029 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 1030 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 1031 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenu [all...] |
/frameworks/native/opengl/include/GLES2/ |
H A D | gl2ext.h | 770 GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 777 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOES) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 996 GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 999 typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 1162 GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 1163 GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 1164 GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 1169 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 1170 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 1171 typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenu [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ImageWallpaper.java | 142 "uniform sampler2D texture;\n" + 144 " gl_FragColor = texture2D(texture, outTexCoords);\n" + 464 final int texture = loadTexture(mBackground); 469 final int uniformTexture = glGetUniformLocation(program, "texture"); 475 glBindTexture(GL_TEXTURE_2D, texture); 534 int texture = textures[0]; 535 glBindTexture(GL_TEXTURE_2D, texture); 547 return texture;
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_api.h | 24 void GLTrace_glActiveTexture(GLenum texture); 30 void GLTrace_glBindTexture(GLenum target, GLuint texture); 71 void GLTrace_glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); 111 GLboolean GLTrace_glIsTexture(GLuint texture); 181 void GLTrace_glFramebufferTexture3DOES(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); 208 void GLTrace_glFramebufferTexture2DMultisampleEXT(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples); 255 void GLTrace_glTextureStorage1DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width); 256 void GLTrace_glTextureStorage2DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height); 257 void GLTrace_glTextureStorage3DEXT(GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth); 259 void GLTrace_glFramebufferTexture2DMultisampleIMG(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLin [all...] |