/development/samples/GlobalTime/src/com/android/globaltime/ |
Texture.java | 21 public class Texture { 26 public Texture(ByteBuffer data, int width, int height) {
|
/external/webkit/Source/WebCore/platform/graphics/gpu/ |
Texture.h | 46 class Texture : public RefCounted<Texture> { 48 ~Texture(); 50 static PassRefPtr<Texture> create(GraphicsContext3D*, Format, int width, int height); 57 Texture(GraphicsContext3D*, PassOwnPtr<Vector<unsigned int> > tileTextureIds, Format format, int width, int height, int maxTextureSize);
|
Texture.cpp | 35 #include "Texture.h" 50 Texture::Texture(GraphicsContext3D* context, PassOwnPtr<Vector<unsigned int> > tileTextureIds, Format format, int width, int height, int maxTextureSize) 58 Texture::~Texture() 64 static void convertFormat(GraphicsContext3D* context, Texture::Format format, unsigned int* glFormat, unsigned int* glType, bool* swizzle) 68 case Texture::RGBA8: 72 case Texture::BGRA8: 88 PassRefPtr<Texture> Texture::create(GraphicsContext3D* context, Format format, int width, int height [all...] |
SharedGraphicsContext3D.h | 37 #include "Texture.h" 64 typedef HashMap<NativeImagePtr, RefPtr<Texture> > TextureHashMap; 94 void deleteTexture(Platform3DObject texture); 116 void bindTexture(GC3Denum target, Platform3DObject texture); 120 // Creates a texture associated with the given image. Is owned by this context's 122 Texture* createTexture(NativeImagePtr, Texture::Format, int width, int height); 123 Texture* getTexture(NativeImagePtr); 126 // NativeImagePtr may be uploaded as a texture into all of them. This function removes uploaded textures 130 // Creates a texture that is not associated with any image. The caller takes ownership o [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
Texture.java | 19 // Texture is a rectangular image which can be drawn on GLCanvas. 20 // The isOpaque() function gives a hint about whether the texture is opaque, 23 // This is the current texture hierarchy: 25 // Texture 39 public interface Texture {
|
SelectionDrawer.java | 35 public abstract void draw(GLCanvas canvas, Texture content, 41 public void draw(GLCanvas canvas, Texture content, int width, int height, 48 public static void drawWithRotation(GLCanvas canvas, Texture content,
|
ColorTexture.java | 21 // ColorTexture is a texture which fills the rectangle with the specified color. 22 public class ColorTexture implements Texture {
|
GridDrawer.java | 27 private Texture mImportLabel; 48 public void draw(GLCanvas canvas, Texture content, int width,
|
/frameworks/base/libs/hwui/ |
TextureCache.h | 25 #include "Texture.h" 47 * A simple LRU texture cache. The cache has a maximum size expressed in bytes. 48 * Any texture added to the cache causing the cache to grow beyond the maximum 49 * allowed size will also cause the oldest texture to be kicked out. 51 class TextureCache: public OnEntryRemoved<SkBitmap*, Texture*> { 61 void operator()(SkBitmap*& bitmap, Texture*& texture); 64 * Returns the texture associated with the specified bitmap. If the texture 65 * cannot be found in the cache, a new texture is generated [all...] |
Texture.h | 26 * Represents an OpenGL texture. 28 struct Texture { 29 Texture() { 80 * Name of the texture. 88 * Indicates whether the texture requires blending. 100 * Indicates whether this texture should be cleaned up after use. 109 * Last wrap modes set on this texture. Defaults to GL_CLAMP_TO_EDGE. 115 * Last filters set on this texture. Defaults to GL_NEAREST. 123 }; // struct Texture 127 AutoTexture(const Texture* texture): mTexture(texture) { [all...] |
GradientCache.cpp | 38 mCache(GenerationCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity), 52 mCache(GenerationCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity), 84 void GradientCache::operator()(GradientCacheEntry& shader, Texture*& texture) { 85 if (texture) { 86 const uint32_t size = texture->width * texture->height * 4; 90 if (texture) { 91 glDeleteTextures(1, &texture->id); 92 delete texture; 104 Texture* texture = mCache.get(gradient); local 145 Texture* texture = new Texture; local [all...] |
GradientCache.h | 24 #include "Texture.h" 100 * Any texture added to the cache causing the cache to grow beyond the maximum 101 * allowed size will also cause the oldest texture to be kicked out. 103 class GradientCache: public OnEntryRemoved<GradientCacheEntry, Texture*> { 113 void operator()(GradientCacheEntry& shader, Texture*& texture); 116 * Returns the texture associated with the specified shader. 118 Texture* get(uint32_t* colors, float* positions, 140 * Adds a new linear gradient to the cache. The generated texture is 143 Texture* addLinearGradient(GradientCacheEntry& gradient [all...] |
TextureCache.cpp | 36 mCache(GenerationCache<SkBitmap*, Texture*>::kUnlimitedCapacity), 40 INIT_LOGD(" Setting texture cache size to %sMB", property); 43 INIT_LOGD(" Using default texture cache size of %.2fMB", DEFAULT_TEXTURE_CACHE_SIZE); 50 mCache(GenerationCache<SkBitmap*, Texture*>::kUnlimitedCapacity), 63 INIT_LOGD(" Maximum texture dimension is %d pixels", mMaxTextureSize); 91 void TextureCache::operator()(SkBitmap*& bitmap, Texture*& texture) { 93 if (texture) { 94 mSize -= texture->bitmapSize; 96 texture->id, texture->bitmapSize, mSize) 110 Texture* texture = mCache.get(bitmap); local [all...] |
TextDropShadowCache.h | 29 #include "Texture.h" 97 * Alpha texture used to represent a shadow. 99 struct ShadowTexture: public Texture { 100 ShadowTexture(): Texture() { 117 void operator()(ShadowText& text, ShadowTexture*& texture);
|
/external/webkit/Source/WebCore/platform/graphics/chromium/ |
GLES2Canvas.h | 40 #include "Texture.h" 88 void drawTexturedRect(unsigned texture, const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, ColorSpace, CompositeOperator); 90 void drawTexturedRect(Texture*, const FloatRect& srcRect, const FloatRect& dstRect, ColorSpace, CompositeOperator); 92 void drawTexturedRect(Texture*, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform&, float alpha, ColorSpace, CompositeOperator, bool clip); 93 Texture* createTexture(NativeImagePtr, Texture::Format, int width, int height); 94 Texture* getTexture(NativeImagePtr); 105 void drawTexturedRectTile(Texture* texture, int tile, const FloatRect& srcRect, const FloatRect& dstRect, const AffineTransform&, float alpha); 108 void convolveRect(unsigned texture, const IntSize& textureSize, const FloatRect& srcRect, const FloatRect& dstRect, float imageIncrem (…) [all...] |
VideoLayerChromium.h | 45 struct Texture { 91 Texture m_textures[3];
|
/external/webkit/Source/WebCore/platform/graphics/chromium/cc/ |
CCVideoLayerImpl.h | 56 void setTexture(size_t, VideoLayerChromium::Texture); 69 VideoLayerChromium::Texture m_textures[3];
|
CCVideoLayerImpl.cpp | 72 void CCVideoLayerImpl::setTexture(size_t i, VideoLayerChromium::Texture texture) 75 m_textures[i] = texture; 107 VideoLayerChromium::Texture yTexture = m_textures[VideoFrameChromium::yPlane]; 108 VideoLayerChromium::Texture uTexture = m_textures[VideoFrameChromium::uPlane]; 109 VideoLayerChromium::Texture vTexture = m_textures[VideoFrameChromium::vPlane]; 138 // Reset active texture back to texture 0. 145 VideoLayerChromium::Texture texture = m_textures[VideoFrameChromium::rgbPlane] local [all...] |
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/ |
ResourceManager.h | 25 class Texture; 54 void deleteTexture(GLuint texture); 60 Texture *getTexture(GLuint handle); 66 void checkTextureAllocation(GLuint texture, SamplerType type); 83 typedef std::map<GLuint, Texture*> TextureMap;
|
Texture.cpp | 7 // Texture.cpp: Implements the gl::Texture class and its derived classes 8 // Texture2D and TextureCubeMap. Implements GL texture objects and related 11 #include "libGLESv2/Texture.h" 27 Texture::Image::Image() 32 Texture::Image::~Image() 37 Texture::Texture(GLuint id) : RefCountObject(id) 54 Texture::~Texture() 1510 IDirect3DTexture9 *texture; local 1558 IDirect3DTexture9 *texture = NULL; local 1951 IDirect3DCubeTexture9 *texture; local 1999 IDirect3DCubeTexture9 *texture = NULL; local [all...] |
Renderbuffer.h | 24 class Texture; 105 explicit Colorbuffer(const Texture* texture);
|
/frameworks/base/cmds/bootanimation/ |
BootAnimation.h | 54 struct Texture { 81 status_t initTexture(Texture* texture, AssetManager& asset, const char* name); 88 Texture mAndroid[2];
|
/frameworks/base/opengl/java/android/opengl/ |
Object3D.java | 58 // All texture maps, by name 59 private Map<String, Texture> mTextures; 79 mTextures = new HashMap<String,Texture>(); 87 public Texture getTexture(String name) { 142 Texture texture = new Texture(is); local 143 mTextures.put(name, texture);
|
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];
|
/external/webkit/Source/WebCore/platform/graphics/skia/ |
PlatformContextSkia.h | 51 class Texture; 227 mutable RefPtr<Texture> m_uploadTexture;
|