/external/replicaisland/src/com/replica/replicaisland/ |
MotionBlurComponent.java | 32 public Texture texture; field in class:MotionBlurComponent.BlurRecord 50 mHistory[x].texture = null; 70 Texture currentTexture = drawable.getTexture(); 72 mHistory[mCurrentStep].texture = currentTexture; 95 if (record.texture != null) { 97 stepImage.setTexture(record.texture);
|
TiledVertexGrid.java | 30 private Texture mTexture; 40 public TiledVertexGrid(Texture texture, int width, int height, int tileWidth, int tileHeight) { 46 mTexture = texture; 64 final Texture texture = mTexture; local 65 final float texelWidth = 1.0f / texture.width; 66 final float texelHeight = 1.0f / texture.height; 67 final int textureTilesAcross = texture.width / tileWidth; 68 final int textureTilesDown = texture.height / tileHeight 159 final Texture texture = mTexture; local [all...] |
/frameworks/base/libs/hwui/ |
TextDropShadowCache.h | 28 #include "Texture.h" 116 * Alpha texture used to represent a shadow. 118 struct ShadowTexture: public Texture { 119 ShadowTexture(Caches& caches): Texture(caches) { 136 void operator()(ShadowText& text, ShadowTexture*& texture);
|
/frameworks/native/services/surfaceflinger/RenderEngine/ |
RenderEngine.h | 39 class Texture; 97 virtual void setupLayerTexturing(const Texture& texture) = 0;
|
Description.cpp | 62 void Description::setTexture(const Texture& texture) { 63 mTexture = texture;
|
GLES20RenderEngine.cpp | 36 #include "Texture.h" 156 void GLES20RenderEngine::setupLayerTexturing(const Texture& texture) { 157 GLuint target = texture.getTextureTarget(); 158 glBindTexture(target, texture.getTextureName()); 160 if (texture.getFiltering()) { 168 mState.setTexture(texture); 173 Texture texture(Texture::TEXTURE_2D, mProtectedTexName) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/ |
s_fragprog.c | 49 * Apply texture object's swizzle (X/Y/Z/W/0/1) to incoming 'texel' 82 const struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; 91 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current, 115 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 140 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current,
|
s_texture.c | 25 * Functions for mapping/unmapping texture images. 121 /* scale = 1.0 since texture coords directly map to texels */ 172 * Map a 2D slice of a texture image into user space. 176 * \param texImage the texture image 177 * \param slice the 3D image slice or array texture slice 295 GLbitfield enabledUnits = ctx->Texture._EnabledUnits; 297 /* loop over enabled texture units */ 300 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; 315 GLbitfield enabledUnits = ctx->Texture._EnabledUnits; 317 /* loop over enabled texture units * [all...] |
s_texcombine.c | 70 * Do texture application for: 77 * conventional GL texture env modes 80 * \param unit the texture combiner unit 82 * \param texelBuffer pointer to texel colors for all texture units 95 const struct gl_texture_unit *textureUnit = &(ctx->Texture.Unit[unit]); 200 if (!ctx->Texture.Unit[srcUnit]._ReallyEnabled) 290 if (!ctx->Texture.Unit[srcUnit]._ReallyEnabled) 601 * Apply texture mapping to a span of fragments. 654 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 662 ctx->Texture.Unit[unit].BumpTarget - GL_TEXTURE0] [all...] |
/external/mesa3d/src/mesa/swrast/ |
s_fragprog.c | 49 * Apply texture object's swizzle (X/Y/Z/W/0/1) to incoming 'texel' 82 const struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; 91 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current, 115 const struct gl_texture_unit *texUnit = &ctx->Texture.Unit[unit]; 140 swrast->TextureSample[unit](ctx, samp, ctx->Texture.Unit[unit]._Current,
|
s_texture.c | 25 * Functions for mapping/unmapping texture images. 121 /* scale = 1.0 since texture coords directly map to texels */ 172 * Map a 2D slice of a texture image into user space. 176 * \param texImage the texture image 177 * \param slice the 3D image slice or array texture slice 295 GLbitfield enabledUnits = ctx->Texture._EnabledUnits; 297 /* loop over enabled texture units */ 300 struct gl_texture_object *texObj = ctx->Texture.Unit[unit]._Current; 315 GLbitfield enabledUnits = ctx->Texture._EnabledUnits; 317 /* loop over enabled texture units * [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AlbumSlotRenderer.java | 26 import com.android.gallery3d.glrenderer.Texture; 96 private static Texture checkTexture(Texture texture) { 97 return (texture instanceof TiledTexture) 98 && !((TiledTexture) texture).isReady() 100 : texture; 111 Texture content = checkTexture(entry.content);
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
Context.h | 47 class Texture; 99 unsigned int activeSampler; // Active texture unit selector - GL_TEXTURE0 109 BindingPointer<Texture> samplerTexture[TEXTURE_TYPE_COUNT][IMPLEMENTATION_MAX_COMBINED_TEXTURE_IMAGE_UNITS]; 264 void deleteTexture(GLuint texture); 288 void bindTexture2D(GLuint texture); 289 void bindTextureCubeMap(GLuint texture); 290 void bindTexture3D(GLuint texture); 291 void bindTexture2DArray(GLuint texture); 332 Texture *getTexture(GLuint handle); 345 Texture *getTargetTexture(GLenum target) const [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/nouveau/ |
nouveau_state.c | 237 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); 238 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); 244 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); 383 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); 387 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); 398 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); 401 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); 420 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); 427 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); 500 if (ctx->Texture.Unit[i].Sampler [all...] |
nv10_state_frag.c | 79 /* Initialize a combiner_state struct from the texture unit 83 ctx->Texture.Unit[i]._CurrentCombine; \ 168 /* Fake several unsupported texture formats. */ 172 struct gl_texture_object *t = rc->ctx->Texture.Unit[i]._Current; 307 if (ctx->Texture.Unit[i]._ReallyEnabled) { 323 ctx->Texture.Unit[i].EnvColor); 356 if (ctx->Texture._EnabledUnits) { 365 *n = log2i(ctx->Texture._EnabledUnits) + 1;
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
nouveau_state.c | 237 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); 238 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); 244 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); 383 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); 387 context_dirty_i(ctx, TEX_GEN, ctx->Texture.CurrentUnit); 398 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); 401 context_dirty_i(ctx, TEX_ENV, ctx->Texture.CurrentUnit); 420 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); 427 context_dirty_i(ctx, TEX_OBJ, ctx->Texture.CurrentUnit); 500 if (ctx->Texture.Unit[i].Sampler [all...] |
nv10_state_frag.c | 79 /* Initialize a combiner_state struct from the texture unit 83 ctx->Texture.Unit[i]._CurrentCombine; \ 168 /* Fake several unsupported texture formats. */ 172 struct gl_texture_object *t = rc->ctx->Texture.Unit[i]._Current; 307 if (ctx->Texture.Unit[i]._ReallyEnabled) { 323 ctx->Texture.Unit[i].EnvColor); 356 if (ctx->Texture._EnabledUnits) { 365 *n = log2i(ctx->Texture._EnabledUnits) + 1;
|
/external/chromium_org/gpu/command_buffer/service/ |
texture_manager_unittest.cc | 32 static bool IsNPOT(const Texture* texture) { 33 return texture->npot(); 35 static bool IsTextureComplete(const Texture* texture) { 36 return texture->texture_complete(); 38 static bool IsCubeComplete(const Texture* texture) { 39 return texture->cube_complete(); 107 // Check we can create texture 110 scoped_refptr<TextureRef> texture = manager_->GetTexture(kClient1Id); local 138 Texture* texture = texture_ref->texture(); local 241 TextureRef* texture = manager.GetTexture(kClient1Id); local 477 Texture* texture = texture_ref_->texture(); local 498 Texture* texture = texture_ref_->texture(); local 510 Texture* texture = texture_ref_->texture(); local 638 Texture* texture = texture_ref_->texture(); local 735 Texture* texture = texture_ref_->texture(); local 791 Texture* texture = texture_ref_->texture(); local 853 Texture* texture = texture_ref->texture(); local 874 Texture* texture = texture_ref_->texture(); local 1037 Texture* texture = texture_ref_->texture(); local 1065 Texture* texture = texture_ref_->texture(); local 1092 Texture* texture = texture_ref_->texture(); local 1145 Texture* texture = texture_ref->texture(); local 1175 Texture* texture = texture_ref->texture(); local 1197 Texture* texture = texture_ref->texture(); local 1227 Texture* texture = texture_ref->texture(); local 1249 Texture* texture = texture_ref->texture(); local 1282 Texture* texture = texture_ref_->texture(); local 1521 Texture* texture = texture_ref_->texture(); local 1632 Texture* texture = texture_ref_->texture(); local 1966 const Texture* texture = texture_ref->texture(); local 1978 Texture* texture = manager_->Produce(texture_ref); local 1999 Texture* texture = texture_ref_->texture(); local 2043 Texture* texture = texture_ref_->texture(); local 2071 Texture* texture = texture_ref_->texture(); local 2092 Texture* texture = texture_ref_->texture(); local 2128 Texture* texture = texture_ref_->texture(); local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_cb_fbo.c | 131 /* Free the old surface and texture 134 pipe_resource_reference( &strb->texture, NULL ); 181 /* Setup new texture template. 204 strb->texture = screen->resource_create(screen, &templ); 206 if (!strb->texture) 209 u_surface_default_template(&surf_tmpl, strb->texture, templ.bind); 211 strb->texture, 214 assert(strb->surface->texture); 235 pipe_resource_reference(&strb->texture, NULL); 396 if (!st_finalize_texture(ctx, pipe, att->Texture)) [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_fbo.c | 131 /* Free the old surface and texture 134 pipe_resource_reference( &strb->texture, NULL ); 181 /* Setup new texture template. 204 strb->texture = screen->resource_create(screen, &templ); 206 if (!strb->texture) 209 u_surface_default_template(&surf_tmpl, strb->texture, templ.bind); 211 strb->texture, 214 assert(strb->surface->texture); 235 pipe_resource_reference(&strb->texture, NULL); 396 if (!st_finalize_texture(ctx, pipe, att->Texture)) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
prog_statevars.c | 205 /* state[1] is the texture unit */ 210 COPY_4V(value, ctx->Texture.Unit[unit].GenS.EyePlane); 213 COPY_4V(value, ctx->Texture.Unit[unit].GenT.EyePlane); 216 COPY_4V(value, ctx->Texture.Unit[unit].GenR.EyePlane); 219 COPY_4V(value, ctx->Texture.Unit[unit].GenQ.EyePlane); 222 COPY_4V(value, ctx->Texture.Unit[unit].GenS.ObjectPlane); 225 COPY_4V(value, ctx->Texture.Unit[unit].GenT.ObjectPlane); 228 COPY_4V(value, ctx->Texture.Unit[unit].GenR.ObjectPlane); 231 COPY_4V(value, ctx->Texture.Unit[unit].GenQ.ObjectPlane); 240 /* state[1] is the texture unit * [all...] |
/external/mesa3d/src/mesa/program/ |
prog_statevars.c | 205 /* state[1] is the texture unit */ 210 COPY_4V(value, ctx->Texture.Unit[unit].GenS.EyePlane); 213 COPY_4V(value, ctx->Texture.Unit[unit].GenT.EyePlane); 216 COPY_4V(value, ctx->Texture.Unit[unit].GenR.EyePlane); 219 COPY_4V(value, ctx->Texture.Unit[unit].GenQ.EyePlane); 222 COPY_4V(value, ctx->Texture.Unit[unit].GenS.ObjectPlane); 225 COPY_4V(value, ctx->Texture.Unit[unit].GenT.ObjectPlane); 228 COPY_4V(value, ctx->Texture.Unit[unit].GenR.ObjectPlane); 231 COPY_4V(value, ctx->Texture.Unit[unit].GenQ.ObjectPlane); 240 /* state[1] is the texture unit * [all...] |
/external/chromium_org/ppapi/proxy/ |
video_decoder_resource.cc | 44 VideoDecoderResource::Texture::Texture(uint32_t texture_target, 49 VideoDecoderResource::Texture::~Texture() { 104 // Create a new Graphics3D resource that can create texture resources to 370 std::make_pair(texture_ids[i], Texture(texture_target, size))); 375 // Create some fake texture ids so we can test picture handling. 379 std::make_pair(texture_ids[i], Texture(texture_target, size)));
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
matrix.c | 165 * glPopAttrib() when the active texture unit is >= MaxTextureCoordUnits 169 * texture matrices beyond MaxTextureCoordUnits. 172 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { 175 ctx->Texture.CurrentUnit); 179 ASSERT(ctx->Texture.CurrentUnit < Elements(ctx->TextureMatrixStack)); 180 ctx->CurrentStack = &ctx->TextureMatrixStack[ctx->Texture.CurrentUnit]; 255 ctx->Texture.CurrentUnit); 295 ctx->Texture.CurrentUnit);
|
/external/mesa3d/src/mesa/main/ |
matrix.c | 165 * glPopAttrib() when the active texture unit is >= MaxTextureCoordUnits 169 * texture matrices beyond MaxTextureCoordUnits. 172 if (ctx->Texture.CurrentUnit >= ctx->Const.MaxTextureCoordUnits) { 175 ctx->Texture.CurrentUnit); 179 ASSERT(ctx->Texture.CurrentUnit < Elements(ctx->TextureMatrixStack)); 180 ctx->CurrentStack = &ctx->TextureMatrixStack[ctx->Texture.CurrentUnit]; 255 ctx->Texture.CurrentUnit); 295 ctx->Texture.CurrentUnit);
|