HomeSort by relevance Sort by last modified time
    Searched refs:texture (Results 1 - 25 of 140) sorted by null

1 2 3 4 5 6

  /frameworks/base/services/surfaceflinger/
TextureManager.cpp 48 case Texture::TEXTURE_EXTERNAL:
55 status_t TextureManager::initTexture(Texture* texture)
57 if (texture->name != -1UL)
62 texture->name = textureName;
63 texture->width = 0;
64 texture->height = 0;
92 pImage->target = Texture::TEXTURE_EXTERNAL;
183 status_t TextureManager::loadTexture(Texture* texture,
    [all...]
TextureManager.h 52 struct Texture : public Image {
53 Texture() : Image(), NPOTAdjust(0) { }
65 static status_t initTexture(Image* texture, int32_t format);
66 static status_t initTexture(Texture* texture);
75 status_t loadTexture(Texture* texture,
79 status_t initEglImage(Image* texture,
82 // activate a texture
83 static void activateTexture(const Texture& texture, bool filter)
    [all...]
LayerBase.cpp 364 void LayerBase::drawWithOpenGL(const Region& clip, const Texture& texture) const
370 // bind our texture
371 TextureManager::activateTexture(texture, needsFiltering());
372 uint32_t width = texture.width;
373 uint32_t height = texture.height;
398 * compute texture coordinates
405 const GLfloat us = (texture.NPOTAdjust ? texture.wScale : 1.0f) / width;
406 const GLfloat vs = (texture.NPOTAdjust ? texture.hScale : 1.0f) / height
    [all...]
  /external/webkit/WebCore/platform/graphics/mac/
Canvas3DLayer.h 44 - (id)initWithContext:(CGLContextObj)context texture:(GLuint)texture;
Canvas3DLayer.mm 44 -(id)initWithContext:(CGLContextObj)context texture:(GLuint)texture
47 m_texture = texture;
  /packages/apps/Gallery3D/src/com/cooliris/media/
CrossFadingTexture.java 26 private Texture mTexture;
27 private Texture mFadingTexture;
37 public CrossFadingTexture(Texture initialTexture) {
50 public CrossFadingTexture(Texture source, Texture destination) {
55 Log.i(TAG, "Creating crossfading texture");
58 public Texture getTexture() {
62 public void setTexture(Texture texture) {
63 if (mTexture == texture || texture == null || mAnimatedMixRatio < 1.0f)
    [all...]
RenderView.java 75 private static final Deque<Texture> sLoadInputQueue = new Deque<Texture>();
76 private static final Deque<Texture> sLoadInputQueueCached = new Deque<Texture>();
77 private static final Deque<Texture> sLoadInputQueueVideo = new Deque<Texture>();
78 private static final Deque<Texture> sLoadOutputQueue = new Deque<Texture>();
99 // The cached texture that is bound to Texture Unit 0
174 ResourceTexture texture = cache.get(resourceId); local
492 Texture texture; local
889 final Texture texture = iter.value.get(); local
1024 Texture texture = null; local
    [all...]
DisplaySlot.java 85 StringTexture texture = null; local
87 texture = textureTable.get(string);
89 if (texture == null) {
90 texture = new StringTexture(string, config);
92 textureTable.put(string, texture);
95 return texture;
102 StringTexture texture = mTitleImage; local
104 if (texture == null && title != null && !(title.equals(mTitle))) {
105 texture = getTextureForString(title, textureTable, ((mSetRef.mId != Shared.INVALID && mSetRef.mId != 0) ? CAPTION_STYLE
107 mTitleImage = texture;
    [all...]
DisplayItem.java 41 private Texture mScreennailImage = null;
126 public Texture getThumbnailImage(Context context, MediaItemTexture.Config config) {
127 MediaItemTexture texture = mThumbnailImage; local
128 if (texture == null && config != null) {
130 texture = new MediaItemTexture(context, config, mItemRef);
132 mThumbnailImage = texture;
134 return texture;
137 public Texture getScreennailImage(Context context) {
138 Texture texture = mScreennailImage local
335 UriTexture texture = mHiResImage; local
    [all...]
GridDrawManager.java 61 private final Texture mNoItemsTexture;
156 Texture texture = displayItem.getThumbnailImage(context, sThumbnailConfig); local
157 if (texture != null && texture.isLoaded() == false) {
176 Texture texture = displayItem.getThumbnailImage(context, sThumbnailConfig); local
177 if (index == mCurrentScaleSlot && texture != null && !texture.isLoaded()) {
178 view.prime(texture, true)
199 Texture texture = displayItem.getThumbnailImage(context, sThumbnailConfig); local
256 Texture texture = displayItem.getThumbnailImage(view.getContext(), sThumbnailConfig); local
    [all...]
BackgroundLayer.java 32 private final HashMap<Texture, AdaptiveBackgroundTexture> mCacheAdaptiveTexture = new HashMap<Texture, AdaptiveBackgroundTexture>();
36 private Texture mFallbackBackground = null;
55 Texture fallback = mFallbackBackground;
74 private Texture getAdaptive(RenderView view, DisplayItem item) {
78 Texture itemThumbnail = item.getThumbnailImage(view.getContext(), null);
82 HashMap<Texture, AdaptiveBackgroundTexture> adaptives = mCacheAdaptiveTexture;
117 Texture texture = anchorTexture.getTexture(); local
118 if (texture != null && texture.isLoaded())
    [all...]
PathBarLayer.java 106 public StringTexture texture; field in class:PathBarLayer.Component
130 this.texture = new StringTexture(label, sPathFormat);
172 float thisComponentWidth = (i != numComponents - 1) ? iconWidth + offset : component.texture.computeTextWidth()
196 final Texture fill = view.getResource(FILL);
197 final Texture join = view.getResource(JOIN);
198 final Texture cap = view.getResource(CAP);
230 final Texture icon = view.getResource(iconId);
236 final StringTexture texture = component.texture; local
237 view.loadTexture(texture);
    [all...]
  /frameworks/base/graphics/java/android/graphics/utils/
BoundaryPatch.java 84 * Reference a bitmap texture to be mapped onto the patch.
86 public void setTexture(Bitmap texture) {
87 if (mTexture != texture) {
89 mTexture.getWidth() != texture.getWidth() ||
90 mTexture.getHeight() != texture.getHeight()) {
91 // need to recompute texture coordinates
94 mTexture = texture;
95 mPaint.setShader(new BitmapShader(texture,
  /frameworks/base/opengl/java/android/opengl/
Texture.java 31 public class Texture {
37 // Texture maps have the following format. All integers
52 public Texture(InputStream is) throws IOException {
93 int[] texture = new int[1]; local
94 gl.glGenTextures(1, texture, 0);
98 gl.glBindTexture(gl.GL_TEXTURE_2D, texture[0]);
118 return texture[0];
ETC1Util.java 32 * Convenience method to load an ETC1 texture whether or not the active OpenGL context
33 * supports the ETC1 texture compression format.
34 * @param target the texture target.
35 * @param level the texture level
37 * @param fallbackFormat the format to use if ETC1 texture compression is not supported.
39 * @param fallbackType the type to use if ETC1 texture compression is not supported.
42 * @param input the input stream containing an ETC1 texture in PKM format.
52 * Convenience method to load an ETC1 texture whether or not the active OpenGL context
53 * supports the ETC1 texture compression format.
54 * @param target the texture target
    [all...]
  /frameworks/base/opengl/libagl/
texture.cpp 1 /* libs/opengles/texture.cpp
23 #include "texture.h"
34 ogles_context_t* c, int tmu, GLuint texture, const sp<EGLTextureObject>& tex);
51 // each context has a default named (0) texture (not shared)
55 // bind the default texture to each texture unit
58 memset(c->current.texture[i].v, 0, sizeof(vec4_t));
59 c->current.texture[i].Q = 0x10000;
69 if (c->textures.tmu[i].texture)
70 c->textures.tmu[i].texture->decStrong(c)
    [all...]
primitives.cpp 394 array_t const * const texcoordArray = c->arrays.texture;
397 if (!(c->rasterizer.state.texture[i].enable))
409 vec4_t& coords = v->texture[i];
414 // transform texture coordinates...
416 const transform_t& tr = c->transforms.texture[i].transform;
442 // Fetch & transform texture coordinates...
486 if (!c->rasterizer.state.texture[i].enable)
491 if (c->rasterizer.state.texture[i].s_wrap == GGL_CLAMP) {
492 int width = c->textures.tmu[i].texture->surface.width;
493 itt[0] = v->texture[i].S * width
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
TrackingPatternView.java 49 final Bitmap texture = mTexture; local
64 canvas.drawBitmap(texture, x, y, paint);
  /external/skia/src/gl/
SkGLTextCache.h 13 /** Delete all of the strikes in the cache. Pass true if the texture IDs are
24 GLuint texture() const { return fTexName; } function in class:SkGLTextCache::Strike
28 // call this to force us to ignore the texture name in our destructor
61 (if not null). Does NOT bind the texture.
68 for this glyph within the strike. The associated texture is bound
  /external/quake/quake/src/QW/client/
d_surf.c 274 r_drawsurf.texture = R_TextureAnimation (surface->texinfo->texture);
286 && cache->texture == r_drawsurf.texture
305 if (!cache) // if a texture just animated, don't reallocate it
321 cache->texture = r_drawsurf.texture;
328 // draw and light the surface texture
d_local.h 47 struct texture_s *texture; // checked for animating textures member in struct:surfcache_s
  /external/quake/quake/src/WinQuake/
d_surf.cpp 271 r_drawsurf.texture = R_TextureAnimation (surface->texinfo->texture);
283 && cache->texture == r_drawsurf.texture
302 if (!cache) // if a texture just animated, don't reallocate it
318 cache->texture = r_drawsurf.texture;
325 // draw and light the surface texture
d_local.h 47 struct texture_s *texture; // checked for animating textures member in struct:surfcache_s
  /system/core/libpixelflinger/codeflinger/
texturing.cpp 82 // by a texture unit.
212 // non CORRUPTIBLE so that the texture env or blending code
336 comment("compute texture coordinates");
339 // init texture coordinates for each tmu
349 // 1:1 texture
352 CONTEXT_LOAD(txPtr.reg, state.texture[i].iterators.ydsdy);
354 CONTEXT_LOAD(txPtr.reg, state.texture[i].iterators.ydtdy);
357 CONTEXT_LOAD(txPtr.reg, generated_vars.texture[i].stride);
359 CONTEXT_LOAD(txPtr.reg, generated_vars.texture[i].data);
373 CONTEXT_LOAD(s.reg, state.texture[i].iterators.ydsdy)
    [all...]
  /frameworks/base/cmds/bootanimation/
BootAnimation.h 54 struct Texture {
81 status_t initTexture(Texture* texture, AssetManager& asset, const char* name);
88 Texture mAndroid[2];

Completed in 753 milliseconds

1 2 3 4 5 6