Searched refs:Texture (Results 1 - 25 of 34) 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.h34 class Texture;
55 virtual void setupLayerTexturing(const Texture& texture);
H A DGLES20RenderEngine.h36 class Texture;
70 virtual void setupLayerTexturing(const Texture& texture);
H A DRenderEngine.h36 class Texture;
90 virtual void setupLayerTexturing(const Texture& texture) = 0;
H A DDescription.cpp62 void Description::setTexture(const Texture& texture) {
H A DGLES20RenderEngine.cpp32 #include "Texture.h"
122 void GLES20RenderEngine::setupLayerTexturing(const Texture& texture) {
139 Texture texture(Texture::TEXTURE_2D, mProtectedTexName);
252 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() { }
114 }; // struct Texture
118 AutoTexture(const Texture* texture): mTexture(texture) { }
127 const Texture* mTexture;
H A DTextureCache.h27 #include "Texture.h"
52 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;
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(SkBitmap* const bitmap) const;
181 Texture* mTexture;
H A DAssetAtlas.cpp41 mTexture = new Texture(caches);
82 Texture* AssetAtlas::getEntryTexture(SkBitmap* const bitmap) const {
91 struct DelegateTexture: public Texture {
92 DelegateTexture(Caches& caches, Texture* delegate): Texture(caches), mDelegate(delegate) { }
105 Texture* const mDelegate;
128 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, int count, Texture* texture);
184 LruCache<GradientCacheEntry, Texture*> mCache;
H A DTextureCache.cpp37 mCache(LruCache<SkBitmap*, Texture*>::kUnlimitedCapacity),
61 mCache(LruCache<SkBitmap*, Texture*>::kUnlimitedCapacity),
106 void TextureCache::operator()(SkBitmap*& bitmap, Texture*& texture) {
113 ALOGD("Texture deleted, size = %d", texture->bitmapSize);
124 Texture* TextureCache::get(SkBitmap* bitmap) {
125 Texture* texture = mCache.get(bitmap);
142 texture = new Texture();
151 ALOGD("Texture created, size = %d", size);
164 Texture* TextureCache::getTransient(SkBitmap* bitmap) {
165 Texture* textur
[all...]
H A DGradientCache.cpp66 mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity),
86 mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity),
118 void GradientCache::operator()(GradientCacheEntry& shader, 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();
242 int count, 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"
60 struct PathTexture: public Texture {
61 PathTexture(Caches& caches): Texture(caches) {
260 void generateTexture(SkBitmap& bitmap, Texture* texture);
H A DAndroid.mk44 Texture.cpp \
H A DSkiaShader.h113 inline void bindTexture(Texture* texture, GLenum wrapS, GLenum wrapT);
152 Texture* mTexture;
H A DSkiaShader.cpp25 #include "Texture.h"
93 void SkiaShader::bindTexture(Texture* texture, GLenum wrapS, GLenum wrapT) {
121 Texture* texture = mCaches->textureCache.get(mBitmap);
149 Texture* texture = mTexture;
236 Texture* texture = mCaches->gradientCache.get(mColors, mPositions, mCount);
356 Texture* texture = mCaches->gradientCache.get(mColors, mPositions, mCount);
/frameworks/base/cmds/bootanimation/
H A DBootAnimation.h53 struct Texture { struct in class:android::BootAnimation
81 status_t initTexture(Texture* texture, AssetManager& asset, const char* name);
90 Texture mAndroid[2];
/frameworks/native/services/surfaceflinger/
H A DAndroid.mk31 RenderEngine/Texture.cpp \

Completed in 191 milliseconds

12