/frameworks/native/services/surfaceflinger/RenderEngine/ |
D | Texture.cpp | 23 Texture::Texture() : in Texture() function in android::Texture 28 Texture::Texture(Target textureTarget, uint32_t textureName) : in Texture() function in android::Texture 33 void Texture::init(Target textureTarget, uint32_t textureName) { in init() 38 Texture::~Texture() { in ~Texture() 42 void Texture::setMatrix(float const* matrix) { in setMatrix() 46 void Texture::setFiltering(bool enabled) { in setFiltering() 50 void Texture::setDimensions(size_t width, size_t height) { in setDimensions() 55 uint32_t Texture::getTextureName() const { in getTextureName() 59 uint32_t Texture::getTextureTarget() const { in getTextureTarget() 63 const mat4& Texture::getMatrix() const { in getMatrix() [all …]
|
D | Texture.h | 25 class Texture { 36 Texture(); 37 Texture(Target textureTarget, uint32_t textureName); 38 ~Texture();
|
D | Description.h | 46 Texture mTexture; 66 void setTexture(const Texture& texture);
|
D | GLES20RenderEngine.h | 37 class Texture; variable 102 virtual void setupLayerTexturing(const Texture& texture);
|
D | RenderEngine.h | 39 class Texture; variable 112 virtual void setupLayerTexturing(const Texture& texture) = 0;
|
/frameworks/base/libs/hwui/tests/unit/ |
D | GpuMemoryTrackerTests.cpp | 33 TestGPUObject() : GpuMemoryTracker(GpuObjectType::Texture) {} in TestGPUObject() 55 ASSERT_EQ(0, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); in TEST() 56 ASSERT_EQ(0, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture)); in TEST() 59 ASSERT_EQ(1, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture)); in TEST() 61 ASSERT_EQ(500, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); in TEST() 63 ASSERT_EQ(1000, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); in TEST() 65 ASSERT_EQ(300, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); in TEST() 67 ASSERT_EQ(0, GpuMemoryTracker::getTotalSize(GpuObjectType::Texture)); in TEST() 68 ASSERT_EQ(0, GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture)); in TEST()
|
D | TextureCacheTests.cpp | 30 int initialCount = GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 36 ASSERT_EQ(GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture), initialCount + 1); in RENDERTHREAD_OPENGL_PIPELINE_TEST() 38 ASSERT_EQ(GpuMemoryTracker::getInstanceCount(GpuObjectType::Texture), initialCount); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|
D | GradientCacheTests.cpp | 33 Texture* texture = cache.get(colors, positions, 3); in RENDERTHREAD_OPENGL_PIPELINE_TEST()
|
/frameworks/base/libs/hwui/ |
D | TextureCache.cpp | 37 : mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity) in TextureCache() 66 void TextureCache::operator()(uint32_t&, Texture*& texture) { in operator ()() 85 LruCache<uint32_t, Texture*>::Iterator iter(mCache); in resetMarkInUse() 102 Texture* TextureCache::createTexture(Bitmap* bitmap) { in createTexture() 103 Texture* texture = new Texture(Caches::getInstance()); in createTexture() 112 Texture* TextureCache::getCachedTexture(Bitmap* bitmap) { in getCachedTexture() 116 Texture* texture = createTexture(bitmap); in getCachedTexture() 118 std::unique_ptr<Texture>(texture))); in getCachedTexture() 127 Texture* texture = mCache.get(bitmap->getStableID()); in getCachedTexture() 138 Texture* oldest = mCache.peekOldestValue(); in getCachedTexture() [all …]
|
D | TextureCache.h | 38 class Texture; variable 60 class TextureCache : public OnEntryRemoved<uint32_t, Texture*> { 69 void operator()(uint32_t&, Texture*& texture) override; 94 Texture* get(Bitmap* bitmap); 125 Texture* getCachedTexture(Bitmap* bitmap); 126 Texture* createTexture(Bitmap* bitmap); 128 LruCache<uint32_t, Texture*> mCache; 138 std::unordered_map<uint32_t, std::unique_ptr<Texture>> mHardwareTextures;
|
D | GradientCache.h | 34 class Texture; variable 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;
|
D | Texture.cpp | 54 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force) { in setWrapST() 68 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force) { in setFilterMinMag() 84 void Texture::deleteTexture() { in deleteTexture() 95 bool Texture::updateLayout(uint32_t width, uint32_t height, GLint internalFormat, in updateLayout() 113 void Texture::resetCachedParams() { in resetCachedParams() 120 void Texture::upload(GLint internalFormat, uint32_t width, uint32_t height, in upload() 144 void Texture::uploadHardwareBitmapToTexture(GraphicBuffer* buffer) { in uploadHardwareBitmapToTexture() 199 void Texture::colorTypeToGlFormatAndType(const Caches& caches, SkColorType colorType, in colorTypeToGlFormatAndType() 250 SkBitmap Texture::uploadToN32(const SkBitmap& bitmap, bool hasLinearBlending, in uploadToN32() 270 bool Texture::hasUnsupportedColorType(const SkImageInfo& info, bool hasLinearBlending) { in hasUnsupportedColorType() [all …]
|
D | Texture.h | 49 class Texture : public GpuMemoryTracker { 57 explicit Texture(Caches& caches) in Texture() function 58 : GpuMemoryTracker(GpuObjectType::Texture) in Texture() 62 virtual ~Texture() { } in ~Texture() 233 explicit AutoTexture(Texture* texture) in AutoTexture() 242 Texture* const texture;
|
D | GpuMemoryTracker.cpp | 122 std::vector<const Texture*> freeList; in onFrameCompleted() 124 if (obj->objectType() == GpuObjectType::Texture) { in onFrameCompleted() 125 const Texture* texture = static_cast<Texture*>(obj); in onFrameCompleted() 134 const_cast<Texture*>(texture)->deleteTexture(); in onFrameCompleted()
|
D | GradientCache.cpp | 67 : mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity) in GradientCache() 98 void GradientCache::operator()(GradientCacheEntry&, Texture*& texture) { in operator ()() 110 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) { in get() 112 Texture* texture = mCache.get(gradient); in get() 148 Texture* GradientCache::addLinearGradient(GradientCacheEntry& gradient, in addLinearGradient() 154 Texture* texture = new Texture(Caches::getInstance()); in addLinearGradient() 219 const uint32_t width, const uint32_t height, Texture* texture) { in generateTexture()
|
D | SkiaShader.h | 32 class Texture; variable 52 Texture* bitmapTexture; 68 Texture* gradientTexture;
|
D | GlopBuilder.h | 35 class Texture; variable 65 GlopBuilder& setFillTexturePaint(Texture& texture, const int textureFillFlags, 73 GlopBuilder& setFillLayer(Texture& texture, const SkColorFilter* colorFilter, 78 GlopBuilder& setFillExternalTexture(Texture& texture, Matrix4& textureTransform,
|
D | GlLayer.h | 63 inline Texture& getTexture() { in getTexture() 91 Texture texture;
|
D | Glop.h | 34 class Texture; variable 121 Texture* texture;
|
D | PathCache.h | 77 struct PathTexture: public Texture { 79 : Texture(caches) { in PathTexture() 243 void generateTexture(Bitmap& bitmap, Texture* texture);
|
D | TextDropShadowCache.h | 113 struct ShadowTexture: public Texture { 114 explicit ShadowTexture(Caches& caches): Texture(caches) { in ShadowTexture()
|
/frameworks/base/libs/hwui/renderstate/ |
D | TextureState.h | 29 class Texture; variable 80 Texture* getShadowLutTexture() { return mShadowLutTexture.get(); } in getShadowLutTexture() 93 std::unique_ptr<Texture> mShadowLutTexture;
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimation.h | 42 struct Texture { struct 50 Texture texture; argument 144 status_t initTexture(Texture* texture, AssetManager& asset, const char* name); 162 Texture mAndroid[2];
|
/frameworks/base/libs/hwui/font/ |
D | CacheTexture.h | 118 Texture& getTexture() { in getTexture() 187 Texture mTexture;
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/ |
D | Texture.java | 38 public interface Texture { interface
|