Home
last modified time | relevance | path

Searched refs:Texture (Results 1 – 25 of 40) 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.cpp156 void GLES20RenderEngine::setupLayerTexturing(const Texture& texture) { in setupLayerTexturing()
173 Texture texture(Texture::TEXTURE_2D, mProtectedTexName); in setupLayerBlackedOut()
286 Texture texture(Texture::TEXTURE_2D, group.texture); in endGroup()
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;
DDescription.cpp62 void Description::setTexture(const Texture& texture) { in setTexture()
/frameworks/base/libs/hwui/
DTextureCache.h54 class TextureCache: public OnEntryRemoved<uint32_t, Texture*> {
64 void operator()(uint32_t&, Texture*& texture);
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*> mCache;
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()
DTexture.h31 class Texture {
33 Texture();
34 Texture(Caches& caches);
36 virtual ~Texture() { } in ~Texture()
124 AutoTexture(const Texture* texture): mTexture(texture) { } in AutoTexture()
133 const Texture* mTexture;
DTextureCache.cpp41 mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity), in TextureCache()
65 mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity), in TextureCache()
110 void TextureCache::operator()(uint32_t&, Texture*& texture) { in operator ()()
133 LruCache<uint32_t, Texture*>::Iterator iter(mCache); in resetMarkInUse()
150 Texture* TextureCache::getCachedTexture(const SkBitmap* bitmap) { in getCachedTexture()
158 Texture* texture = mCache.get(bitmap->pixelRef()->getStableID()); in getCachedTexture()
169 Texture* oldest = mCache.peekOldestValue(); in getCachedTexture()
178 texture = new Texture(); in getCachedTexture()
200 Texture* texture = getCachedTexture(bitmap); in prefetchAndMarkInUse()
207 Texture* TextureCache::get(const SkBitmap* bitmap) { in get()
[all …]
DAssetAtlas.cpp42 mTexture = new Texture(caches); in init()
88 Texture* AssetAtlas::getEntryTexture(const SkBitmap* bitmap) const { in getEntryTexture()
97 struct DelegateTexture: public Texture {
98 DelegateTexture(Caches& caches, Texture* delegate): Texture(caches), mDelegate(delegate) { } in DelegateTexture()
111 Texture* const mDelegate;
139 Texture* texture = new DelegateTexture(caches, mTexture); in createEntries()
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, 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(const SkBitmap* bitmap) const;
175 Texture* mTexture;
DGradientCache.cpp66 mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity), in GradientCache()
86 mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity), in GradientCache()
118 void GradientCache::operator()(GradientCacheEntry&, 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()
241 void GradientCache::generateTexture(uint32_t* colors, float* positions, Texture* texture) { in generateTexture()
DPathCache.h61 struct PathTexture: public Texture {
62 PathTexture(Caches& caches): Texture(caches) { in PathTexture()
239 void generateTexture(SkBitmap& bitmap, Texture* texture);
DTextDropShadowCache.h118 struct ShadowTexture: public Texture {
119 ShadowTexture(Caches& caches): Texture(caches) { in ShadowTexture()
DSkiaShader.cpp58 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { in bindTexture()
209 Texture* texture;
216 Texture* texture = caches->textureCache.get(&bitmap); in bitmapShaderHelper()
280 Texture* texture = shaderInfo.texture; in setupProgram()
399 Texture* texture = caches->gradientCache.get(gradInfo.fColors, gradInfo.fColorOffsets, in setupProgram()
DOpenGLRenderer.h657 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) { in getMapper()
947 Texture* getTexture(const SkBitmap* bitmap);
DAndroid.mk59 Texture.cpp \
/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
DBasicTexture.java28 public abstract class BasicTexture implements Texture {
/frameworks/native/services/surfaceflinger/
DAndroid.mk34 RenderEngine/Texture.cpp \

12