Searched refs:texture (Results 1 - 25 of 144) sorted by relevance

123456

/external/replicaisland/src/com/replica/replicaisland/
H A DAnimationFrame.java20 * A single animation frame. Frames contain a texture, a hold time, and collision volumes to
23 * frames. Note that an animation frame may have a null texture and null collision volumes. Null
24 * collision volumes will exclude that frame from collision detection and a null texture will
28 public Texture texture; field in class:AnimationFrame
35 texture = textureObject;
43 texture = textureObject;
H A DTextureLibrary.java34 * requesting parties via allocateTexture(). However, the texture data itself is not immediately
37 * various game systems and while the texture data itself is streamed in or loaded as necessary.
67 * Creates a Texture object that is mapped to the passed resource id. If a texture has already
73 Texture texture = getTextureByResource(resourceID);
74 if (texture == null) {
75 texture = addTexture(resourceID, -1, 0, 0);
78 return texture;
81 /** Loads a single texture into memory. Does nothing if the texture is already loaded. */
83 Texture texture
127 loadBitmap(Context context, GL10 gl, Texture texture) argument
[all...]
H A DOpenGLSystem.java53 public static final void bindTexture(int target, int texture) { argument
54 if (sLastBoundTexture != texture) {
55 sGL.glBindTexture(target, texture);
56 sLastBoundTexture = texture;
H A DScrollableBitmap.java27 public ScrollableBitmap(Texture texture, int width, int height) { argument
28 super(texture, width, height);
H A DDrawableBitmap.java35 DrawableBitmap(Texture texture, int width, int height) { argument
37 mTexture = texture;
102 final Texture texture = mTexture;
104 if (gl != null && texture != null) {
105 assert texture.loaded;
123 || !texture.loaded) {
128 OpenGLSystem.bindTexture(GL10.GL_TEXTURE_2D, texture.name);
130 // This is necessary because we could be drawing the same texture with different
184 * Changes the crop parameters of this bitmap. Note that the underlying OpenGL texture's
206 public void setTexture(Texture texture) { argument
[all...]
H A DTiledVertexGrid.java40 public TiledVertexGrid(Texture texture, int width, int height, int tileWidth, int tileHeight) { argument
46 mTexture = texture;
64 final Texture texture = mTexture;
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;
99 textureOffsetX > texture.width - tileWidth ||
101 textureOffsetY > texture.height - tileHeight) {
159 final Texture texture
[all...]
H A DMotionBlurComponent.java32 public Texture texture; field in class:MotionBlurComponent.BlurRecord
50 mHistory[x].texture = null;
72 mHistory[mCurrentStep].texture = currentTexture;
95 if (record.texture != null) {
97 stepImage.setTexture(record.texture);
H A DDebugSystem.java70 Texture texture = getTexture(shapeType, colorType);
71 bitmap.resize((int)texture.width, (int)texture.height);
75 bitmap.setTexture(texture);
H A DScrollerComponent.java35 public ScrollerComponent(float speedX, float speedY, int width, int height, Texture texture) { argument
39 setUseTexture(texture);
84 public void setUseTexture(Texture texture) { argument
85 mTexture = texture;
/external/webkit/Source/WebCore/platform/graphics/chromium/
H A DVideoLayerChromium.cpp82 Texture texture = m_textures[plane]; local
83 if (!texture.isEmpty && texture.ownedByLayerRenderer)
84 GLC(context, context->deleteTexture(texture.id));
126 // If the incoming frame is backed by a texture (i.e. decoded in hardware),
127 // then we do not need to allocate a texture via the layer renderer. Instead
128 // we save the texture data then exit.
147 // Update texture planes.
149 Texture texture = m_textures[plane]; local
150 ASSERT(frame->requiredTextureSize(plane) == texture
193 Texture texture = m_textures[plane]; local
[all...]
/external/webkit/Source/WebCore/platform/graphics/android/
H A DGLUtils.h70 static void deleteTexture(GLuint* texture);
75 static void createTextureWithBitmap(GLuint texture, const SkBitmap& bitmap, GLint filter = GL_LINEAR);
76 static void updateTextureWithBitmap(GLuint texture, int x, int y, const SkBitmap& bitmap, GLint filter = GL_LINEAR);
77 static void createEGLImageFromTexture(GLuint texture, EGLImageKHR* image);
78 static void createTextureFromEGLImage(GLuint texture, EGLImageKHR image, GLint filter = GL_LINEAR);
H A DTilesManager.cpp125 BaseTileTexture* texture = new BaseTileTexture( local
127 // the atomic load ensures that the texture has been fully initialized
131 android_atomic_acquire_load(reinterpret_cast<int32_t*>(&texture)));
141 BaseTileTexture* texture = new BaseTileTexture( local
143 // the atomic load ensures that the texture has been fully initialized
147 android_atomic_acquire_load(reinterpret_cast<int32_t*>(&texture)));
197 BaseTileTexture* texture = m_textures[i]; local
198 if (texture->m_ownTextureId)
203 BaseTileTexture* texture = m_tilesTextures[i]; local
204 if (texture
214 BaseTileTexture* texture = m_textures[i]; local
286 BaseTileTexture* texture = (*availableTexturePool)[i]; local
[all...]
H A DBaseTile.cpp120 // neither texture is relevant
134 BaseTileTexture* texture = TilesManager::instance()->getAvailableTexture(this); local
137 if (texture && m_backTexture != texture) {
138 XLOG("tile %p reserving texture %p, back was %p (front %p)",
139 this, texture, m_backTexture, m_frontTexture);
141 m_backTexture = texture;
151 bool BaseTile::removeTexture(BaseTileTexture* texture) argument
154 this, texture, m_backTexture, m_frontTexture, m_page);
157 if (m_frontTexture == texture) {
290 BaseTileTexture * texture = (m_state == ReadyToSwap) ? m_backTexture : m_frontTexture; local
352 BaseTileTexture* texture = m_backTexture; local
[all...]
H A DGLUtils.cpp309 void GLUtils::deleteTexture(GLuint* texture) argument
311 glDeleteTextures(1, texture);
313 *texture = 0;
317 GLuint texture; local
318 glGenTextures(1, &texture);
326 glBindTexture(GL_TEXTURE_2D, texture);
332 return texture;
337 GLuint texture; local
338 glGenTextures(1, &texture);
346 glBindTexture(GL_TEXTURE_2D, texture);
357 GLuint texture; local
421 TextureInfo* texture = renderInfo->textureInfo; local
443 TextureInfo* texture = renderInfo->textureInfo; local
495 createTextureWithBitmap(GLuint texture, const SkBitmap& bitmap, GLint filter) argument
526 updateTextureWithBitmap(GLuint texture, int x, int y, const SkBitmap& bitmap, GLint filter) argument
547 createEGLImageFromTexture(GLuint texture, EGLImageKHR* image) argument
556 createTextureFromEGLImage(GLuint texture, EGLImageKHR image, GLint filter) argument
[all...]
H A DTextureOwner.h41 virtual bool removeTexture(BaseTileTexture* texture) = 0;
H A DVideoLayerAndroid.cpp81 // We can use this function to set the Layer to point to surface texture.
82 void VideoLayerAndroid::setSurfaceTexture(sp<SurfaceTexture> texture, argument
85 m_surfaceTexture = texture;
117 GLuint texture; local
118 glGenTextures(1, &texture);
120 GLUtils::createTextureWithBitmap(texture, bitmap);
122 return texture;
127 GLuint texture; local
128 glGenTextures(1, &texture);
136 glBindTexture(GL_TEXTURE_2D, texture);
[all...]
/external/skia/gpu/src/
H A DGrTextureCache.cpp21 GrTextureEntry::GrTextureEntry(const GrTextureKey& key, GrTexture* texture) argument
22 : fKey(key), fTexture(texture) {
26 // we assume ownership of the texture, and will unref it when we die
27 GrAssert(texture);
100 fClientDetachedBytes += entry->texture()->sizeInBytes();
103 fEntryBytes -= entry->texture()->sizeInBytes();
122 fClientDetachedBytes -= entry->texture()->sizeInBytes();
125 fEntryBytes += entry->texture()->sizeInBytes();
171 GrTexture* texture) {
174 GrTextureEntry* entry = new GrTextureEntry(key, texture);
170 createAndLock(const GrTextureKey& key, GrTexture* texture) argument
[all...]
H A DGrTextContext.cpp36 // setup our sampler state for our text texture/atlas
231 GrTexture* texture = glyph->fAtlas->texture(); local
232 GrAssert(texture);
234 if (fCurrTexture != texture || fCurrVertex + 4 > fMaxVertices) {
236 fCurrTexture = texture;
283 texture->normalizeFixedX(tx),
284 texture->normalizeFixedY(ty),
285 texture->normalizeFixedX(tx + width),
286 texture
[all...]
/external/mesa3d/docs/OLD/
H A DMESA_sprite_point.spec33 a point is rendered as if it were a quadrilateral with unique texture
44 1. How are the texture coordinates computed?
46 The lower-left corner has texture coordinate (0,0,r,q).
50 2. What about texgen and texture matrices?
52 Texgen and the texture matrix have no effect on the point's s and t
53 texture coordinates. The r and q coordinates may have been computed
54 by texgen or the texture matrix. Note that with a 3D texture and/or
56 3D texture.
65 Smoothed points can be approximated by using an appropriate texture
[all...]
/external/mesa3d/docs/
H A DMESA_texture_array.spec54 texture applied to it. If the transition is from beach sand to
55 grass to rocks to snow, the application will store each texture
56 in a different texture map, and dynamically select which two
63 involve using a separate texture unit for each texture map or using 3D
67 drawbacks of both previous methods. A new texture target,
73 same for all levels of detail. The texture then becomes an array of
74 2D textures. The per-fragment texel is selected by the R texture
89 uint texture, int level, int layer);
153 "<zoffset>" to include layers of an array texture
[all...]
/external/webkit/Source/WebCore/platform/graphics/texmap/
H A DTextureMapper.h45 // A 2D texture that can be the target of software or GL rendering.
90 // A "context" class used to encapsulate accelerated texture mapping functions: i.e. drawing a texture
91 // onto the screen or into another texture with a specified transform, opacity and mask.
99 virtual void drawTexture(const BitmapTexture& texture, const IntRect& target, const TransformationMatrix& matrix = TransformationMatrix(), float opacity = 1.0f, const BitmapTexture* maskTexture = 0) = 0;
103 virtual void paintToTarget(const BitmapTexture& texture, const IntSize&, const TransformationMatrix& matrix, float opacity, const IntRect& visibleRect) argument
106 drawTexture(texture, IntRect(0, 0, texture.contentSize().width(), texture.contentSize().height()), matrix, opacity, 0);
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
H A DResourceManager.cpp119 // Returns an unused texture name
196 void ResourceManager::deleteTexture(GLuint texture) argument
198 TextureMap::iterator textureObject = mTextureMap.find(texture);
250 TextureMap::iterator texture = mTextureMap.find(handle);
252 if (texture == mTextureMap.end())
258 return texture->second;
305 void ResourceManager::checkTextureAllocation(GLuint texture, SamplerType type) argument
307 if (!getTexture(texture) && texture != 0)
313 textureObject = new Texture2D(texture);
[all...]
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/
H A DCCVideoLayerImpl.cpp72 void CCVideoLayerImpl::setTexture(size_t i, VideoLayerChromium::Texture texture) argument
75 m_textures[i] = texture;
138 // Reset active texture back to texture 0.
145 VideoLayerChromium::Texture texture = m_textures[VideoFrameChromium::rgbPlane]; local
148 GLC(context, context->bindTexture(GraphicsContext3D::TEXTURE_2D, texture.id));
151 float widthScaleFactor = static_cast<float>(texture.visibleSize.width()) / texture.size.width();
/external/chromium/webkit/glue/
H A Dwebvideoframe_impl.h28 virtual unsigned texture(unsigned plane) const;
/external/mesa3d/src/mesa/main/
H A Ddebug.h67 _mesa_dump_texture(GLuint texture, GLuint writeImages);

Completed in 439 milliseconds

123456