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

/frameworks/base/libs/hwui/
H A DTextureCache.h26 #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 GenerationCache<SkBitmap*, Texture*> mCache;
H A DGradientCache.h27 #include "Texture.h"
101 class GradientCache: public OnEntryRemoved<GradientCacheEntry, Texture*> {
111 void operator()(GradientCacheEntry& shader, Texture*& texture);
116 Texture* get(uint32_t* colors, float* positions, int count);
141 Texture* addLinearGradient(GradientCacheEntry& gradient,
144 void generateTexture(uint32_t* colors, float* positions, int count, Texture* texture);
153 GenerationCache<GradientCacheEntry, Texture*> mCache;
H A DTextureCache.cpp37 mCache(GenerationCache<SkBitmap*, Texture*>::kUnlimitedCapacity),
61 mCache(GenerationCache<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.cpp50 mCache(GenerationCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity),
66 mCache(GenerationCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity),
98 void GradientCache::operator()(GradientCacheEntry& shader, Texture*& texture) {
114 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) {
117 Texture* texture = mCache.get(gradient);
150 Texture* GradientCache::addLinearGradient(GradientCacheEntry& gradient,
156 Texture* texture = new Texture;
177 int count, Texture* texture) {
H A DTexture.h28 struct Texture { struct in namespace:android::uirenderer
29 Texture() { function in struct:android::uirenderer::Texture
143 }; // struct Texture
147 AutoTexture(const Texture* texture): mTexture(texture) { }
156 const Texture* mTexture;
H A DTextDropShadowCache.h29 #include "Texture.h"
112 struct ShadowTexture: public Texture {
113 ShadowTexture(): Texture() {
H A DSkiaShader.h113 inline void bindTexture(Texture* texture, GLenum wrapS, GLenum wrapT);
153 Texture* mTexture;
H A DSkiaShader.cpp25 #include "Texture.h"
89 void SkiaShader::bindTexture(Texture* texture, GLenum wrapS, GLenum wrapT) {
117 Texture* texture = mTextureCache->get(mBitmap);
145 Texture* texture = mTexture;
232 Texture* texture = mGradientCache->get(mColors, mPositions, mCount);
352 Texture* texture = mGradientCache->get(mColors, mPositions, mCount);
H A DShapeCache.h30 #include "Texture.h"
55 struct PathTexture: public Texture {
56 PathTexture(): Texture() {
371 void generateTexture(SkBitmap& bitmap, Texture* texture);
615 void ShapeCache<Entry>::generateTexture(SkBitmap& bitmap, Texture* texture) {
H A DLayer.h30 #include "Texture.h"
239 * Texture coordinates of the layer.
284 Texture texture;
H A DOpenGLRenderer.h524 void drawAlphaBitmap(Texture* texture, float left, float top, SkPaint* paint);
562 Texture* texture, SkPaint* paint);
H A DOpenGLRenderer.cpp1617 void OpenGLRenderer::drawAlphaBitmap(Texture* texture, float left, float top, SkPaint* paint) {
1670 Texture* texture = mCaches.textureCache.get(bitmap);
1693 Texture* texture = mCaches.textureCache.get(bitmap);
1716 Texture* texture = mCaches.textureCache.getTransient(bitmap);
1781 Texture* texture = mCaches.textureCache.get(bitmap);
1812 Texture* texture = mCaches.textureCache.get(bitmap);
1881 Texture* texture = mCaches.textureCache.get(bitmap);
3053 Texture* texture, SkPaint* paint) {
/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];
H A DBootAnimation.cpp100 status_t BootAnimation::initTexture(Texture* texture, AssetManager& assets,
/frameworks/native/opengl/libagl/
H A Dtexture.cpp851 #pragma mark Texture API

Completed in 676 milliseconds