/frameworks/native/services/surfaceflinger/RenderEngine/ |
H A D | Texture.cpp | 19 #include "Texture.h" 23 Texture::Texture() : function in class:android::Texture 28 Texture::Texture(Target textureTarget, uint32_t textureName) : function in class:android::Texture 33 void Texture::init(Target textureTarget, uint32_t textureName) { 38 Texture::~Texture() { 42 void Texture::setMatrix(float const* matrix) { 46 void Texture [all...] |
H A D | Texture.h | 25 class Texture { class in namespace:android 36 Texture(); 37 Texture(Target textureTarget, uint32_t textureName); 38 ~Texture();
|
H A D | Description.h | 18 #include "Texture.h" 45 // Texture this layer uses 46 Texture mTexture; 64 void setTexture(const Texture& texture);
|
H A D | GLES11RenderEngine.h | 35 class Texture; 57 virtual void setupLayerTexturing(const Texture& texture);
|
H A D | GLES20RenderEngine.h | 37 class Texture; 72 virtual void setupLayerTexturing(const Texture& texture);
|
H A D | RenderEngine.h | 39 class Texture; 98 virtual void setupLayerTexturing(const Texture& texture) = 0;
|
H A D | Description.cpp | 62 void Description::setTexture(const Texture& texture) {
|
H A D | GLES20RenderEngine.cpp | 36 #include "Texture.h" 156 void GLES20RenderEngine::setupLayerTexturing(const Texture& texture) { 173 Texture texture(Texture::TEXTURE_2D, mProtectedTexName); 286 Texture texture(Texture::TEXTURE_2D, group.texture);
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
H A D | Texture.java | 20 // Texture is a rectangular image which can be drawn on GLCanvas. 26 // Texture 38 public interface Texture { interface
|
H A D | BasicTexture.java | 25 // BasicTexture is a Texture corresponds to a real GL texture. 28 public abstract class BasicTexture implements Texture {
|
/frameworks/base/libs/hwui/ |
H A D | Texture.h | 31 class Texture { class in namespace:android::uirenderer 33 Texture(); 34 Texture(Caches& caches); 36 virtual ~Texture() { } 98 * Whether or not the Texture is marked in use and thus not evictable for 120 }; // struct Texture 124 AutoTexture(const Texture* texture): mTexture(texture) { } 133 const Texture* mTexture;
|
H A D | Texture.cpp | 22 #include "Texture.h" 27 Texture::Texture(): id(0), generation(0), blend(false), width(0), height(0), function in class:android::uirenderer::Texture 34 Texture::Texture(Caches& caches): id(0), generation(0), blend(false), width(0), height(0), function in class:android::uirenderer::Texture 41 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force, 59 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force, 79 void Texture::deleteTexture() const {
|
H A D | TextureCache.h | 27 #include "Texture.h" 54 class TextureCache: public OnEntryRemoved<uint32_t, Texture*> { 64 void operator()(uint32_t&, Texture*& texture); 72 * Attempts to precache the SkBitmap. Returns true if a Texture was successfully 73 * acquired for the bitmap, false otherwise. If a Texture was acquired it is 82 Texture* get(const SkBitmap* bitmap); 87 Texture* getTransient(const SkBitmap* bitmap); 134 Texture* getCachedTexture(const SkBitmap* bitmap); 142 void generateTexture(const SkBitmap* bitmap, Texture* texture, bool regenerate = false); 150 LruCache<uint32_t, Texture*> mCach [all...] |
H A D | AssetAtlas.h | 31 #include "Texture.h" 74 Texture* texture; 97 Texture* texture, const UvMapper& mapper, const AssetAtlas& atlas): 169 Texture* getEntryTexture(const SkBitmap* bitmap) const; 175 Texture* mTexture;
|
H A D | AssetAtlas.cpp | 42 mTexture = new Texture(caches); 68 // Texture ID changed, force-set to defaults to sync the wrapper & GL 88 Texture* AssetAtlas::getEntryTexture(const SkBitmap* bitmap) const { 97 struct DelegateTexture: public Texture { 98 DelegateTexture(Caches& caches, Texture* delegate): Texture(caches), mDelegate(delegate) { } 111 Texture* const mDelegate; 139 Texture* texture = new DelegateTexture(caches, mTexture);
|
H A D | GradientCache.h | 28 #include "Texture.h" 111 class GradientCache: public OnEntryRemoved<GradientCacheEntry, Texture*> { 121 void operator()(GradientCacheEntry& shader, Texture*& texture); 126 Texture* get(uint32_t* colors, float* positions, int count); 151 Texture* addLinearGradient(GradientCacheEntry& gradient, 154 void generateTexture(uint32_t* colors, float* positions, Texture* texture); 184 LruCache<GradientCacheEntry, Texture*> mCache;
|
H A D | TextureCache.cpp | 41 mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity), 65 mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity), 110 void TextureCache::operator()(uint32_t&, Texture*& texture) { 117 ALOGD("Texture deleted, size = %d", texture->bitmapSize); 133 LruCache<uint32_t, Texture*>::Iterator iter(mCache); 148 // Returns a prepared Texture* that either is already in the cache or can fit 150 Texture* TextureCache::getCachedTexture(const SkBitmap* bitmap) { 158 Texture* texture = mCache.get(bitmap->pixelRef()->getStableID()); 169 Texture* oldest = mCache.peekOldestValue(); 178 texture = new Texture(); [all...] |
H A D | GradientCache.cpp | 66 mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity), 86 mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity), 118 void GradientCache::operator()(GradientCacheEntry&, Texture*& texture) { 132 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) { 134 Texture* texture = mCache.get(gradient); 170 Texture* GradientCache::addLinearGradient(GradientCacheEntry& gradient, 176 Texture* texture = new Texture(); 241 void GradientCache::generateTexture(uint32_t* colors, float* positions, Texture* texture) {
|
H A D | TextDropShadowCache.h | 28 #include "Texture.h" 118 struct ShadowTexture: public Texture { 119 ShadowTexture(Caches& caches): Texture(caches) {
|
H A D | PathCache.h | 28 #include "Texture.h" 61 struct PathTexture: public Texture { 62 PathTexture(Caches& caches): Texture(caches) { 239 void generateTexture(SkBitmap& bitmap, Texture* texture);
|
H A D | SkiaShader.cpp | 27 #include "Texture.h" 58 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { 209 Texture* texture; 216 Texture* texture = caches->textureCache.get(&bitmap); 280 Texture* texture = shaderInfo.texture; 399 Texture* texture = caches->gradientCache.get(gradInfo.fColors, gradInfo.fColorOffsets,
|
H A D | Android.mk | 59 Texture.cpp \
|
H A D | OpenGLRenderer.h | 657 void drawAlphaBitmap(Texture* texture, float left, float top, const SkPaint* paint); 697 Texture* texture, const SkPaint* paint); 938 inline const UvMapper& getMapper(const Texture* texture) { 947 Texture* getTexture(const SkBitmap* bitmap);
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 54 struct Texture { struct in class:android::BootAnimation 84 status_t initTexture(Texture* texture, AssetManager& asset, const char* name); 95 Texture mAndroid[2];
|
/frameworks/native/services/surfaceflinger/ |
H A D | Android.mk | 34 RenderEngine/Texture.cpp \
|