/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 | GLES20RenderEngine.h | 37 class Texture; 101 virtual void setupLayerTexturing(const Texture& texture);
|
H A D | Description.cpp | 62 void Description::setTexture(const Texture& texture) {
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | GpuMemoryTrackerTests.cpp | 33 TestGPUObject() : GpuMemoryTracker(GpuObjectType::Texture) {} 55 ASSERT_EQ(0, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); 56 ASSERT_EQ(0, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture)); 59 ASSERT_EQ(1, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture)); 61 ASSERT_EQ(500, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); 63 ASSERT_EQ(1000, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); 65 ASSERT_EQ(300, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); 67 ASSERT_EQ(0, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); 68 ASSERT_EQ(0, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture));
|
H A D | TextureCacheTests.cpp | 30 int initialCount = GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture); 36 ASSERT_EQ(GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture), initialCount + 1); 38 ASSERT_EQ(GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture), initialCount);
|
H A D | GradientCacheTests.cpp | 33 Texture* texture = cache.get(colors, positions, 3);
|
/frameworks/base/libs/hwui/ |
H A D | TextureCache.h | 38 class Texture; 60 class TextureCache : public OnEntryRemoved<uint32_t, Texture*> { 69 void operator()(uint32_t&, Texture*& texture) override; 77 * Attempts to precache the SkBitmap. Returns true if a Texture was successfully 78 * acquired for the bitmap, false otherwise. If a Texture was acquired it is 84 * Attempts to precache the SkBitmap. Returns true if a Texture was successfully 85 * acquired for the bitmap, false otherwise. Does not mark the Texture 94 Texture* get(Bitmap* bitmap); 125 Texture* getCachedTexture(Bitmap* bitmap); 126 Texture* createTextur [all...] |
H A D | TextureCache.cpp | 22 #include "Texture.h" 36 : mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity) 68 void TextureCache::operator()(uint32_t&, Texture*& texture) { 75 ALOGD("Texture deleted, size = %d", texture->bitmapSize); 87 LruCache<uint32_t, Texture*>::Iterator iter(mCache); 104 Texture* TextureCache::createTexture(Bitmap* bitmap) { 105 Texture* texture = new Texture(Caches::getInstance()); 112 // Returns a prepared Texture* that either is already in the cache or can fit 114 Texture* TextureCach [all...] |
H A D | SkiaShader.h | 32 class Texture; 52 Texture* bitmapTexture; 68 Texture* gradientTexture;
|
H A D | GpuMemoryTracker.cpp | 18 #include "Texture.h" 36 "Texture", 122 std::vector<const Texture*> freeList; 124 if (obj->objectType() == GpuObjectType::Texture) { 125 const Texture* texture = static_cast<Texture*>(obj); 134 const_cast<Texture*>(texture)->deleteTexture();
|
H A D | GradientCache.h | 34 class Texture; 106 class GradientCache: public OnEntryRemoved<GradientCacheEntry, Texture*> { 115 void operator()(GradientCacheEntry& shader, Texture*& texture) override; 120 Texture* get(uint32_t* colors, float* positions, int count); 141 Texture* addLinearGradient(GradientCacheEntry& gradient, 145 const uint32_t width, const uint32_t height, Texture* texture); 165 LruCache<GradientCacheEntry, Texture*> mCache;
|
H A D | Texture.h | 49 class Texture : public GpuMemoryTracker { class in namespace:android::uirenderer 57 explicit Texture(Caches& caches) function in class:android::uirenderer::Texture 58 : GpuMemoryTracker(GpuObjectType::Texture) 62 virtual ~Texture() { } 95 * Updates this Texture with the contents of the provided Bitmap, 188 * Whether or not the Texture is marked in use and thus not evictable for 225 }; // struct Texture 229 explicit AutoTexture(Texture* texture) 238 Texture* const texture;
|
H A D | GlLayer.h | 21 #include "Texture.h" 63 inline Texture& getTexture() { 91 Texture texture;
|
H A D | Glop.h | 34 class Texture; 84 * vertex/index/Texture/RoundRectClipState pointers prevent this from 120 Texture* texture;
|
H A D | Texture.cpp | 18 #include "Texture.h" 54 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force) { 68 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force) { 84 void Texture::deleteTexture() { 95 bool Texture::updateLayout(uint32_t width, uint32_t height, GLint internalFormat, 113 void Texture::resetCachedParams() { 120 void Texture::upload(GLint internalFormat, uint32_t width, uint32_t height, 140 void Texture::uploadHardwareBitmapToTexture(GraphicBuffer* buffer) { 195 void Texture::colorTypeToGlFormatAndType(const Caches& caches, SkColorType colorType, 247 SkBitmap Texture [all...] |
H A D | GlopBuilder.h | 35 class Texture; 65 GlopBuilder& setFillTexturePaint(Texture& texture, const int textureFillFlags, 73 GlopBuilder& setFillLayer(Texture& texture, const SkColorFilter* colorFilter, 78 GlopBuilder& setFillExternalTexture(Texture& texture, Matrix4& textureTransform,
|
H A D | GpuMemoryTracker.h | 35 Texture = 0, member in class:android::uirenderer::GpuObjectType
|
H A D | GradientCache.cpp | 66 : mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity) 97 void GradientCache::operator()(GradientCacheEntry&, Texture*& texture) { 109 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) { 111 Texture* texture = mCache.get(gradient); 147 Texture* GradientCache::addLinearGradient(GradientCacheEntry& gradient, 153 Texture* texture = new Texture(Caches::getInstance()); 218 const uint32_t width, const uint32_t height, Texture* texture) {
|
H A D | PathCache.h | 21 #include "Texture.h" 77 struct PathTexture: public Texture { 79 : Texture(caches) { 243 void generateTexture(Bitmap& bitmap, Texture* texture);
|
H A D | TextDropShadowCache.h | 28 #include "Texture.h" 113 struct ShadowTexture: public Texture { 114 explicit ShadowTexture(Caches& caches): Texture(caches) {
|
/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
|
/frameworks/base/libs/hwui/renderstate/ |
H A D | TextureState.h | 20 #include "Texture.h" 29 class Texture; 80 Texture* getShadowLutTexture() { return mShadowLutTexture.get(); } 93 std::unique_ptr<Texture> mShadowLutTexture;
|
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.h | 80 struct Texture { struct in class:android::BootAnimation 88 Texture texture; 134 status_t initTexture(Texture* texture, AssetManager& asset, const char* name); 153 Texture mAndroid[2];
|