/frameworks/base/libs/hwui/ |
H A D | TextureCache.h | 26 #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 D | GradientCache.h | 27 #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 D | TextureCache.cpp | 37 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 D | GradientCache.cpp | 50 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 D | Texture.h | 28 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 D | TextDropShadowCache.h | 29 #include "Texture.h" 112 struct ShadowTexture: public Texture { 113 ShadowTexture(): Texture() {
|
H A D | SkiaShader.h | 113 inline void bindTexture(Texture* texture, GLenum wrapS, GLenum wrapT); 153 Texture* mTexture;
|
H A D | SkiaShader.cpp | 25 #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 D | ShapeCache.h | 30 #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 D | Layer.h | 30 #include "Texture.h" 239 * Texture coordinates of the layer. 284 Texture texture;
|
H A D | OpenGLRenderer.h | 524 void drawAlphaBitmap(Texture* texture, float left, float top, SkPaint* paint); 562 Texture* texture, SkPaint* paint);
|
H A D | OpenGLRenderer.cpp | 1617 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 D | BootAnimation.h | 53 struct Texture { struct in class:android::BootAnimation 81 status_t initTexture(Texture* texture, AssetManager& asset, const char* name); 90 Texture mAndroid[2];
|
H A D | BootAnimation.cpp | 100 status_t BootAnimation::initTexture(Texture* texture, AssetManager& assets,
|
/frameworks/native/opengl/libagl/ |
H A D | texture.cpp | 851 #pragma mark Texture API
|