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;
98 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/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/libs/hwui/
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 DTextureCache.h27 #include "Texture.h"
54 class TextureCache: public OnEntryRemoved<uint32_t, Texture*> {
64 void operator()(uint32_t&, Texture*& texture);
72 * Attempts to precache the SkBitmap. Returns true if a Texture was successfully
73 * acquired for the bitmap, false otherwise. If a Texture was acquired it is
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*> mCach
[all...]
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;
175 Texture* mTexture;
H A DAssetAtlas.cpp42 mTexture = new Texture(caches);
68 // Texture ID changed, force-set to defaults to sync the wrapper & GL
88 Texture* AssetAtlas::getEntryTexture(const SkBitmap* bitmap) const {
97 struct DelegateTexture: public Texture {
98 DelegateTexture(Caches& caches, Texture* delegate): Texture(caches), mDelegate(delegate) { }
111 Texture* const mDelegate;
139 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 DTextureCache.cpp41 mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity),
65 mCache(LruCache<uint32_t, Texture*>::kUnlimitedCapacity),
110 void TextureCache::operator()(uint32_t&, Texture*& texture) {
117 ALOGD("Texture deleted, size = %d", texture->bitmapSize);
133 LruCache<uint32_t, Texture*>::Iterator iter(mCache);
148 // Returns a prepared Texture* that either is already in the cache or can fit
150 Texture* TextureCache::getCachedTexture(const SkBitmap* bitmap) {
158 Texture* texture = mCache.get(bitmap->pixelRef()->getStableID());
169 Texture* oldest = mCache.peekOldestValue();
178 texture = new Texture();
[all...]
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.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) {
947 Texture* getTexture(const SkBitmap* bitmap);
/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 4404 milliseconds

12