Home
last modified time | relevance | path

Searched refs:Texture (Results 1 – 25 of 37) 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.h34 class Texture; variable
55 virtual void setupLayerTexturing(const Texture& texture);
DGLES20RenderEngine.cpp122 void GLES20RenderEngine::setupLayerTexturing(const Texture& texture) { in setupLayerTexturing()
139 Texture texture(Texture::TEXTURE_2D, mProtectedTexName); in setupLayerBlackedOut()
252 Texture texture(Texture::TEXTURE_2D, group.texture); in endGroup()
DGLES20RenderEngine.h36 class Texture; variable
70 virtual void setupLayerTexturing(const Texture& texture);
DRenderEngine.h36 class Texture; variable
90 virtual void setupLayerTexturing(const Texture& texture) = 0;
DDescription.cpp62 void Description::setTexture(const Texture& texture) { in setTexture()
/frameworks/base/libs/hwui/
DTexture.cpp27 Texture::Texture(): id(0), generation(0), blend(false), width(0), height(0), in Texture() function in android::uirenderer::Texture
34 Texture::Texture(Caches& caches): id(0), generation(0), blend(false), width(0), height(0), in Texture() function in android::uirenderer::Texture
41 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force, in setWrapST()
59 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force, in setFilterMinMag()
79 void Texture::deleteTexture() const { in deleteTexture()
DTextureCache.h52 class TextureCache: public OnEntryRemoved<SkBitmap*, Texture*> {
62 void operator()(SkBitmap*& bitmap, Texture*& texture);
68 Texture* get(SkBitmap* bitmap);
73 Texture* getTransient(SkBitmap* bitmap);
125 void generateTexture(SkBitmap* bitmap, Texture* texture, bool regenerate = false);
133 LruCache<SkBitmap*, Texture*> mCache;
DTexture.h31 class Texture {
33 Texture();
34 Texture(Caches& caches);
36 virtual ~Texture() { } in ~Texture()
118 AutoTexture(const Texture* texture): mTexture(texture) { } in AutoTexture()
127 const Texture* mTexture;
DAssetAtlas.cpp41 mTexture = new Texture(caches); in init()
82 Texture* AssetAtlas::getEntryTexture(SkBitmap* const bitmap) const { in getEntryTexture()
91 struct DelegateTexture: public Texture {
92 DelegateTexture(Caches& caches, Texture* delegate): Texture(caches), mDelegate(delegate) { } in DelegateTexture()
105 Texture* const mDelegate;
128 Texture* texture = new DelegateTexture(caches, mTexture); in createEntries()
DTextureCache.cpp37 mCache(LruCache<SkBitmap*, Texture*>::kUnlimitedCapacity), in TextureCache()
61 mCache(LruCache<SkBitmap*, Texture*>::kUnlimitedCapacity), in TextureCache()
106 void TextureCache::operator()(SkBitmap*& bitmap, Texture*& texture) { in operator ()()
124 Texture* TextureCache::get(SkBitmap* bitmap) { in get()
125 Texture* texture = mCache.get(bitmap); in get()
142 texture = new Texture(); in get()
164 Texture* TextureCache::getTransient(SkBitmap* bitmap) { in getTransient()
165 Texture* texture = new Texture(); in getTransient()
212 void TextureCache::generateTexture(SkBitmap* bitmap, Texture* texture, bool regenerate) { in generateTexture()
DGradientCache.h111 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, int count, Texture* texture);
184 LruCache<GradientCacheEntry, Texture*> mCache;
DAssetAtlas.h74 Texture* texture;
97 Texture* texture, const UvMapper& mapper, const AssetAtlas& atlas): in Entry()
169 Texture* getEntryTexture(SkBitmap* const bitmap) const;
181 Texture* mTexture;
DGradientCache.cpp66 mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity), in GradientCache()
86 mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity), in GradientCache()
118 void GradientCache::operator()(GradientCacheEntry& shader, Texture*& texture) { in operator ()()
132 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) { in get()
134 Texture* texture = mCache.get(gradient); in get()
170 Texture* GradientCache::addLinearGradient(GradientCacheEntry& gradient, in addLinearGradient()
176 Texture* texture = new Texture(); in addLinearGradient()
242 int count, Texture* texture) { in generateTexture()
DPathCache.h60 struct PathTexture: public Texture {
61 PathTexture(Caches& caches): Texture(caches) { in PathTexture()
260 void generateTexture(SkBitmap& bitmap, Texture* texture);
DTextDropShadowCache.h118 struct ShadowTexture: public Texture {
119 ShadowTexture(Caches& caches): Texture(caches) { in ShadowTexture()
DSkiaShader.cpp93 void SkiaShader::bindTexture(Texture* texture, GLenum wrapS, GLenum wrapT) { in bindTexture()
121 Texture* texture = mCaches->textureCache.get(mBitmap); in describe()
149 Texture* texture = mTexture; in setupProgram()
236 Texture* texture = mCaches->gradientCache.get(mColors, mPositions, mCount); in setupProgram()
356 Texture* texture = mCaches->gradientCache.get(mColors, mPositions, mCount); in setupProgram()
DSkiaShader.h113 inline void bindTexture(Texture* texture, GLenum wrapS, GLenum wrapT);
152 Texture* mTexture;
DAndroid.mk44 Texture.cpp \
/frameworks/base/cmds/bootanimation/
DBootAnimation.h53 struct Texture { struct
81 status_t initTexture(Texture* texture, AssetManager& asset, const char* name);
90 Texture mAndroid[2];
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DTexture.java38 public interface Texture { interface
DBasicTexture.java28 public abstract class BasicTexture implements Texture {
/frameworks/native/services/surfaceflinger/
DAndroid.mk31 RenderEngine/Texture.cpp \

12