Searched refs:Texture (Results 1 - 25 of 51) sorted by path

123

/frameworks/base/cmds/bootanimation/
H A DBootAnimation.cpp105 status_t BootAnimation::initTexture(Texture* texture, AssetManager& assets,
449 void BootAnimation::drawTime(const Texture& clockTex, const int yPos) {
H A DBootAnimation.h54 struct Texture { struct in class:android::BootAnimation
90 status_t initTexture(Texture* texture, AssetManager& asset, const char* name);
94 void drawTime(const Texture& clockTex, const int yPos);
106 Texture mAndroid[2];
107 Texture mClock;
/frameworks/base/libs/hwui/
H A DAndroid.mk100 Texture.cpp \
H A DAssetAtlas.cpp41 mTexture = new Texture(caches);
69 Texture* AssetAtlas::getEntryTexture(const SkPixelRef* pixelRef) const {
78 struct DelegateTexture: public Texture {
79 DelegateTexture(Caches& caches, Texture* delegate)
80 : Texture(caches), mDelegate(delegate) { }
93 Texture* const mDelegate;
117 Texture* texture = new DelegateTexture(caches, mTexture);
H A DAssetAtlas.h20 #include "Texture.h"
56 Texture* texture;
87 Entry(SkPixelRef* pixelRef, Texture* texture, const UvMapper& mapper,
157 Texture* getEntryTexture(const SkPixelRef* pixelRef) const;
162 Texture* mTexture;
H A DBakedOpDispatcher.cpp52 Texture* texture = entry ? entry->texture : renderer.caches().textureCache.get(bitmap);
175 Texture* texture = entry ? entry->texture : renderer.caches().textureCache.get(firstOp.bitmap);
427 Texture* texture = renderer.getTexture(op.bitmap);
460 Texture* texture = renderer.renderState().assetAtlas().getEntryTexture(op.bitmap->pixelRef());
519 Texture* texture = renderer.getTexture(op.bitmap);
607 Texture* texture = entry ? entry->texture : renderer.caches().textureCache.get(op.bitmap);
H A DBakedOpRenderer.cpp184 Texture* BakedOpRenderer::getTexture(const SkBitmap* bitmap) {
185 Texture* texture = mRenderState.assetAtlas().getEntryTexture(bitmap->pixelRef());
H A DBakedOpRenderer.h77 Texture* getTexture(const SkBitmap* bitmap);
H A DGlop.h36 class Texture;
86 * vertex/index/Texture/RoundRectClipState pointers prevent this from
122 Texture* texture;
H A DGlopBuilder.cpp25 #include "Texture.h"
324 GlopBuilder& GlopBuilder::setFillTexturePaint(Texture& texture,
339 // Texture defines color, so disable shaders, and reset all non-alpha color channels
451 GlopBuilder& GlopBuilder::setFillLayer(Texture& texture, const SkColorFilter* colorFilter,
480 GlopBuilder& GlopBuilder::setFillExternalTexture(Texture& texture, Matrix4& textureTransform) {
607 "Texture %p, hT%d, hET %d, attribFlags %x",
626 LOG_ALWAYS_FATAL("Texture transform incorrectly specified");
H A DGlopBuilder.h34 class Texture;
62 GlopBuilder& setFillTexturePaint(Texture& texture, const int textureFillFlags,
70 GlopBuilder& setFillLayer(Texture& texture, const SkColorFilter* colorFilter,
73 // TODO: Texture should probably know and own its target.
76 GlopBuilder& setFillExternalTexture(Texture& texture, Matrix4& textureTransform);
H A DGpuMemoryTracker.cpp18 #include "Texture.h"
36 "Texture",
122 std::vector<const Texture*> freeList;
124 if (obj->objectType() == GpuObjectType::Texture) {
125 const Texture* texture = static_cast<Texture*>(obj);
134 const_cast<Texture*>(texture)->deleteTexture();
H A DGpuMemoryTracker.h34 Texture = 0, member in class:android::uirenderer::GpuObjectType
H A DGradientCache.cpp66 : mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity)
96 void GradientCache::operator()(GradientCacheEntry&, Texture*& texture) {
108 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) {
110 Texture* texture = mCache.get(gradient);
146 Texture* GradientCache::addLinearGradient(GradientCacheEntry& gradient,
152 Texture* texture = new Texture(Caches::getInstance());
223 const uint32_t width, const uint32_t height, Texture* texture) {
H A DGradientCache.h32 class Texture;
104 class GradientCache: public OnEntryRemoved<GradientCacheEntry, Texture*> {
113 void operator()(GradientCacheEntry& shader, Texture*& texture) override;
118 Texture* get(uint32_t* colors, float* positions, int count);
139 Texture* addLinearGradient(GradientCacheEntry& gradient,
143 const uint32_t width, const uint32_t height, Texture* texture);
173 LruCache<GradientCacheEntry, Texture*> mCache;
H A DLayer.h37 #include "Texture.h"
61 Texture, member in class:android::uirenderer::Layer::Type
207 inline Texture& getTexture() {
248 return type == Type::Texture;
308 * Texture coordinates of the layer.
371 Texture texture;
379 * Denotes whether the layer is a DisplayList, or Texture layer.
H A DLayerRenderer.cpp276 Layer* layer = new Layer(Layer::Type::Texture, renderState, 0, 0);
H A DOpenGLRenderer.cpp1463 Texture* texture = entry ? entry->texture : mCaches.textureCache.get(bitmap);
1494 Texture* texture = getTexture(bitmap);
1535 Texture* texture = mRenderState.assetAtlas().getEntryTexture(bitmap->pixelRef());
1606 Texture* texture = getTexture(bitmap);
1637 Texture* texture = entry ? entry->texture : mCaches.textureCache.get(bitmap);
1665 Texture* texture = entry ? entry->texture : mCaches.textureCache.get(bitmap);
2318 Texture* OpenGLRenderer::getTexture(const SkBitmap* bitmap) {
2319 Texture* texture = mRenderState.assetAtlas().getEntryTexture(bitmap->pixelRef());
H A DOpenGLRenderer.h716 inline const UvMapper& getMapper(const Texture* texture) {
725 Texture* getTexture(const SkBitmap* bitmap);
H A DPathCache.cpp272 ATRACE_NAME("Generate Path Texture");
315 void PathCache::generateTexture(SkBitmap& bitmap, Texture* texture) {
316 ATRACE_NAME("Upload Path Texture");
H A DPathCache.h21 #include "Texture.h"
63 struct PathTexture: public Texture {
66 : Texture(caches)
73 : Texture(caches) {
244 void generateTexture(SkBitmap& bitmap, Texture* texture);
H A DReadback.cpp154 Texture sourceTexture(caches);
H A DSkiaShader.cpp23 #include "Texture.h"
59 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) {
H A DSkiaShader.h34 class Texture;
55 Texture* bitmapTexture;
72 Texture* gradientTexture;
H A DTextDropShadowCache.h28 #include "Texture.h"
113 struct ShadowTexture: public Texture {
114 ShadowTexture(Caches& caches): Texture(caches) {

Completed in 217 milliseconds

123