Searched refs:Texture (Results 1 - 25 of 33) sorted by relevance

12

/frameworks/native/services/surfaceflinger/RenderEngine/
H A DTexture.cpp19 #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 DTexture.h25 class Texture { class in namespace:android
36 Texture();
37 Texture(Target textureTarget, uint32_t textureName);
38 ~Texture();
H A DDescription.h18 #include "Texture.h"
45 // Texture this layer uses
46 Texture mTexture;
64 void setTexture(const Texture& texture);
H A DGLES11RenderEngine.h35 class Texture;
57 virtual void setupLayerTexturing(const Texture& texture);
H A DGLES20RenderEngine.h37 class Texture;
72 virtual void setupLayerTexturing(const Texture& texture);
H A DRenderEngine.h39 class Texture;
97 virtual void setupLayerTexturing(const Texture& texture) = 0;
H A DDescription.cpp62 void Description::setTexture(const Texture& texture) {
H A DGLES20RenderEngine.cpp36 #include "Texture.h"
156 void GLES20RenderEngine::setupLayerTexturing(const Texture& texture) {
173 Texture texture(Texture::TEXTURE_2D, mProtectedTexName);
286 Texture texture(Texture::TEXTURE_2D, group.texture);
/frameworks/base/libs/hwui/
H A DTextureCache.h27 #include "Texture.h"
52 class TextureCache: public OnEntryRemoved<const SkPixelRef*, Texture*> {
62 void operator()(const SkPixelRef*& pixelRef, Texture*& texture);
70 * Attempts to precache the SkBitmap. Returns true if a Texture was successfully
71 * acquired for the bitmap, false otherwise. If a Texture was acquired it is
80 Texture* get(const SkBitmap* bitmap);
85 Texture* getTransient(const SkBitmap* bitmap);
134 Texture* getCachedTexture(const SkBitmap* bitmap);
142 void generateTexture(const SkBitmap* bitmap, Texture* texture, bool regenerate = false);
150 LruCache<const SkPixelRef*, Texture*> mCach
[all...]
H A DTexture.h31 class Texture { class in namespace:android::uirenderer
33 Texture();
34 Texture(Caches& caches);
36 virtual ~Texture() { }
98 * Whether or not the Texture is marked in use and thus not evictable for
120 }; // struct Texture
124 AutoTexture(const Texture* texture): mTexture(texture) { }
133 const Texture* mTexture;
H A DTexture.cpp22 #include "Texture.h"
27 Texture::Texture(): id(0), generation(0), blend(false), width(0), height(0), function in class:android::uirenderer::Texture
34 Texture::Texture(Caches& caches): id(0), generation(0), blend(false), width(0), height(0), function in class:android::uirenderer::Texture
41 void Texture::setWrapST(GLenum wrapS, GLenum wrapT, bool bindTexture, bool force,
59 void Texture::setFilterMinMag(GLenum min, GLenum mag, bool bindTexture, bool force,
79 void Texture::deleteTexture() const {
H A DAssetAtlas.h31 #include "Texture.h"
74 Texture* texture;
97 Texture* texture, const UvMapper& mapper, const AssetAtlas& atlas):
169 Texture* getEntryTexture(const SkBitmap* bitmap) const;
181 Texture* mTexture;
H A DTextureCache.cpp38 mCache(LruCache<const SkPixelRef*, Texture*>::kUnlimitedCapacity),
62 mCache(LruCache<const SkPixelRef*, Texture*>::kUnlimitedCapacity),
107 void TextureCache::operator()(const SkPixelRef*&, Texture*& texture) {
114 ALOGD("Texture deleted, size = %d", texture->bitmapSize);
126 LruCache<const SkPixelRef*, Texture*>::Iterator iter(mCache);
141 // Returns a prepared Texture* that either is already in the cache or can fit
143 Texture* TextureCache::getCachedTexture(const SkBitmap* bitmap) {
144 Texture* texture = mCache.get(bitmap->pixelRef());
155 Texture* oldest = mCache.peekOldestValue();
164 texture = new Texture();
[all...]
H A DAssetAtlas.cpp41 mTexture = new Texture(caches);
82 Texture* AssetAtlas::getEntryTexture(const SkBitmap* bitmap) const {
91 struct DelegateTexture: public Texture {
92 DelegateTexture(Caches& caches, Texture* delegate): Texture(caches), mDelegate(delegate) { }
105 Texture* const mDelegate;
133 Texture* texture = new DelegateTexture(caches, mTexture);
H A DGradientCache.h28 #include "Texture.h"
111 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;
H A DGradientCache.cpp66 mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity),
86 mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity),
118 void GradientCache::operator()(GradientCacheEntry&, Texture*& texture) {
132 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) {
134 Texture* texture = mCache.get(gradient);
170 Texture* GradientCache::addLinearGradient(GradientCacheEntry& gradient,
176 Texture* texture = new Texture();
241 void GradientCache::generateTexture(uint32_t* colors, float* positions, Texture* texture) {
H A DTextDropShadowCache.h28 #include "Texture.h"
118 struct ShadowTexture: public Texture {
119 ShadowTexture(Caches& caches): Texture(caches) {
H A DPathCache.h28 #include "Texture.h"
61 struct PathTexture: public Texture {
62 PathTexture(Caches& caches): Texture(caches) {
239 void generateTexture(SkBitmap& bitmap, Texture* texture);
H A DSkiaShader.cpp27 #include "Texture.h"
58 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) {
209 Texture* texture;
216 Texture* texture = caches->textureCache.get(&bitmap);
280 Texture* texture = shaderInfo.texture;
399 Texture* texture = caches->gradientCache.get(gradInfo.fColors, gradInfo.fColorOffsets,
H A DAndroid.mk59 Texture.cpp \
H A DOpenGLRenderer.h660 void drawAlphaBitmap(Texture* texture, float left, float top, const SkPaint* paint);
700 Texture* texture, const SkPaint* paint);
941 inline const UvMapper& getMapper(const Texture* texture) {
950 Texture* getTexture(const SkBitmap* bitmap);
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DTexture.java20 // Texture is a rectangular image which can be drawn on GLCanvas.
26 // Texture
38 public interface Texture { interface
H A DBasicTexture.java25 // BasicTexture is a Texture corresponds to a real GL texture.
28 public abstract class BasicTexture implements Texture {
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h54 struct Texture { struct in class:android::BootAnimation
84 status_t initTexture(Texture* texture, AssetManager& asset, const char* name);
95 Texture mAndroid[2];
/frameworks/native/services/surfaceflinger/
H A DAndroid.mk34 RenderEngine/Texture.cpp \

Completed in 576 milliseconds

12