Home
last modified time | relevance | path

Searched refs:Texture (Results 1 – 25 of 45) sorted by relevance

12

/frameworks/native/services/surfaceflinger/RenderEngine/
DTexture.cpp23 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 …]
DTexture.h25 class Texture {
36 Texture();
37 Texture(Target textureTarget, uint32_t textureName);
38 ~Texture();
DDescription.h46 Texture mTexture;
64 void setTexture(const Texture& texture);
DGLES11RenderEngine.h35 class Texture; variable
57 virtual void setupLayerTexturing(const Texture& texture);
DGLES20RenderEngine.h37 class Texture; variable
72 virtual void setupLayerTexturing(const Texture& texture);
DRenderEngine.h39 class Texture; variable
98 virtual void setupLayerTexturing(const Texture& texture) = 0;
DGLES20RenderEngine.cpp150 void GLES20RenderEngine::setupLayerTexturing(const Texture& texture) { in setupLayerTexturing()
167 Texture texture(Texture::TEXTURE_2D, mProtectedTexName); in setupLayerBlackedOut()
DDescription.cpp62 void Description::setTexture(const Texture& texture) { in setTexture()
/frameworks/base/libs/hwui/
DTextureCache.h31 class Texture; variable
55 class TextureCache : public OnEntryRemoved<uint32_t, Texture*> {
64 void operator()(uint32_t&, Texture*& texture) override;
82 Texture* get(const SkBitmap* bitmap) { in get()
90 Texture* getAndBypassAtlas(const SkBitmap* bitmap) { in getAndBypassAtlas()
143 Texture* get(const SkBitmap* bitmap, AtlasUsageType atlasUsageType);
144 Texture* getCachedTexture(const SkBitmap* bitmap, AtlasUsageType atlasUsageType);
152 void generateTexture(const SkBitmap* bitmap, Texture* texture, bool regenerate = false);
158 LruCache<uint32_t, Texture*> mCache;
DAssetAtlas.cpp43 mTexture = new Texture(caches); in init()
89 Texture* AssetAtlas::getEntryTexture(const SkBitmap* bitmap) const { in getEntryTexture()
98 struct DelegateTexture: public Texture {
99 DelegateTexture(Caches& caches, Texture* delegate): Texture(caches), mDelegate(delegate) { } in DelegateTexture()
112 Texture* const mDelegate;
136 Texture* texture = new DelegateTexture(caches, mTexture); in createEntries()
DTexture.h31 class Texture {
33 Texture(Caches& caches) : mCaches(caches) { } in Texture() function
35 virtual ~Texture() { } in ~Texture()
123 AutoTexture(const Texture* texture): mTexture(texture) { } in AutoTexture()
132 const Texture* mTexture;
DGradientCache.h33 class Texture; variable
105 class GradientCache: public OnEntryRemoved<GradientCacheEntry, Texture*> {
114 void operator()(GradientCacheEntry& shader, Texture*& texture) override;
119 Texture* get(uint32_t* colors, float* positions, int count);
144 Texture* addLinearGradient(GradientCacheEntry& gradient,
147 void generateTexture(uint32_t* colors, float* positions, Texture* texture);
177 LruCache<GradientCacheEntry, Texture*> mCache;
DTextureCache.cpp42 : mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity) in TextureCache()
103 void TextureCache::operator()(uint32_t&, Texture*& texture) { in operator ()()
126 LruCache<uint32_t, Texture*>::Iterator iter(mCache); in resetMarkInUse()
145 Texture* TextureCache::getCachedTexture(const SkBitmap* bitmap, AtlasUsageType atlasUsageType) { in getCachedTexture()
153 Texture* texture = mCache.get(bitmap->pixelRef()->getStableID()); in getCachedTexture()
164 Texture* oldest = mCache.peekOldestValue(); in getCachedTexture()
173 texture = new Texture(Caches::getInstance()); in getCachedTexture()
195 Texture* texture = getCachedTexture(bitmap, AtlasUsageType::Use); in prefetchAndMarkInUse()
202 Texture* TextureCache::get(const SkBitmap* bitmap, AtlasUsageType atlasUsageType) { in get()
203 Texture* texture = getCachedTexture(bitmap, atlasUsageType); in get()
[all …]
DAssetAtlas.h58 Texture* texture;
85 Entry(SkPixelRef* pixelRef, Texture* texture, const UvMapper& mapper, in Entry()
159 Texture* getEntryTexture(const SkBitmap* bitmap) const;
165 Texture* mTexture;
DGradientCache.cpp66 : mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity) in GradientCache()
111 void GradientCache::operator()(GradientCacheEntry&, Texture*& texture) { in operator ()()
125 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) { in get()
127 Texture* texture = mCache.get(gradient); in get()
163 Texture* GradientCache::addLinearGradient(GradientCacheEntry& gradient, in addLinearGradient()
169 Texture* texture = new Texture(Caches::getInstance()); in addLinearGradient()
234 void GradientCache::generateTexture(uint32_t* colors, float* positions, Texture* texture) { in generateTexture()
DTexture.cpp27 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force, in setWrapST()
45 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force, in setFilterMinMag()
65 void Texture::deleteTexture() const { in deleteTexture()
DSkiaShader.h34 class Texture; variable
55 Texture* bitmapTexture;
72 Texture* gradientTexture;
DGlopBuilder.h34 class Texture; variable
61 GlopBuilder& setFillTexturePaint(Texture& texture, const int textureFillFlags,
69 GlopBuilder& setFillLayer(Texture& texture, const SkColorFilter* colorFilter,
DPathCache.h61 struct PathTexture: public Texture {
64 : Texture(caches) in PathTexture()
73 : Texture(caches) { in PathTexture()
245 void generateTexture(SkBitmap& bitmap, Texture* texture);
DGlop.h36 class Texture; variable
115 Texture* texture;
DTextDropShadowCache.h119 struct ShadowTexture: public Texture {
120 ShadowTexture(Caches& caches): Texture(caches) { in ShadowTexture()
/frameworks/base/cmds/bootanimation/
DBootAnimation.h54 struct Texture { struct
84 status_t initTexture(Texture* texture, AssetManager& asset, const char* name);
95 Texture mAndroid[2];
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DTexture.java38 public interface Texture { interface
/frameworks/base/libs/hwui/font/
DCacheTexture.h118 Texture& getTexture() { in getTexture()
185 Texture mTexture;
/frameworks/native/services/surfaceflinger/
DAndroid.mk34 RenderEngine/Texture.cpp \

12