/frameworks/base/libs/hwui/ |
Dither.h | 25 class Caches; 40 Dither(Caches& caches); 48 Caches& mCaches;
|
Caches.h | 57 // Caches 63 class ANDROID_API Caches { 65 static Caches& createInstance(RenderState& renderState) { 66 LOG_ALWAYS_FATAL_IF(sInstance, "double create of Caches attempted"); 67 sInstance = new Caches(renderState); 71 static Caches& getInstance() { 80 Caches(RenderState& renderState); 81 static Caches* sInstance; 91 * Initialize caches. 204 }; // class Caches [all...] |
Caches.cpp | 17 #include "Caches.h" 33 Caches* Caches::sInstance = nullptr; 49 Caches::Caches(RenderState& renderState) 56 INIT_LOGD("Creating OpenGL renderer caches"); 63 bool Caches::init() { 66 ATRACE_NAME("Caches::init"); 82 void Caches::initExtensions() { 95 void Caches::initConstraints() [all...] |
Image.cpp | 19 #include "Caches.h" 40 Caches::getInstance().textureState().bindTexture(mTexture); 55 Caches::getInstance().textureState().deleteTexture(mTexture);
|
SkiaShader.h | 31 class Caches; 90 static void store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix, 93 static void apply(Caches& caches, const SkiaShaderData& data);
|
AssetAtlas.cpp | 18 #include "Caches.h" 40 Caches& caches = Caches::getInstance(); local 41 mTexture = new Texture(caches); 44 createEntries(caches, map, count); 79 DelegateTexture(Caches& caches, Texture* delegate) 80 : Texture(caches), mDelegate(delegate) { } 96 void AssetAtlas::createEntries(Caches& caches, int64_t* map, int count) [all...] |
ResourceCache.cpp | 18 #include "Caches.h" 115 if (Caches::hasInstance()) { 116 Caches::getInstance().patchCache.removeDeferred(resource); 138 if (Caches::hasInstance()) { 139 Caches::getInstance().patchCache.removeDeferred((Res_png_9patch*) resource);
|
AssetAtlas.h | 34 class Caches; 160 void createEntries(Caches& caches, int64_t* map, int count);
|
DisplayList.cpp | 70 if (path->unique() && Caches::hasInstance()) { 71 Caches::getInstance().pathCache.removeDeferred(path);
|
Texture.h | 28 class Caches; 37 Texture(Caches& caches) 39 , mCaches(caches) 169 Caches& mCaches;
|
BakedOpRenderer.h | 26 class Caches; 57 BakedOpRenderer(Caches& caches, RenderState& renderState, bool opaque, 61 , mCaches(caches) 67 Caches& caches() { return mCaches; } function in class:android::uirenderer::BakedOpRenderer 119 Caches& mCaches;
|
SkiaShader.cpp | 19 #include "Caches.h" 59 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) { 60 caches->textureState().bindTexture(texture->id()); 120 bool tryStoreGradient(Caches& caches, const SkShader& shader, const Matrix4 modelViewMatrix, 169 outData->gradientTexture = caches.gradientCache.get( 184 void applyGradient(Caches& caches, const SkiaShaderData::GradientShaderData& data) { 186 caches.textureState().activateTexture(data.gradientSampler) [all...] |
GlopBuilder.h | 31 class Caches; 48 GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop); 129 Caches& mCaches;
|
PixelBuffer.cpp | 97 Caches& mCaches; 104 , mCaches(Caches::getInstance()){ 164 if (type == kBufferType_Auto && Caches::getInstance().gpuPixelBuffersEnabled) {
|
Readback.cpp | 19 #include "Caches.h" 39 Caches& caches = Caches::getInstance(); local 43 if (destWidth > caches.maxTextureSize 44 || destHeight > caches.maxTextureSize) { 46 destWidth, destHeight, caches.maxTextureSize); 89 caches.textureState().activateTexture(0); 90 caches.textureState().bindTexture(texture); 145 Caches::getInstance().textureState().bindTexture(GL_TEXTURE_EXTERNAL_OES, sourceTexId) [all...] |
LayerRenderer.cpp | 191 Caches& caches = Caches::getInstance(); local 198 caches.textureState().activateTexture(0); 199 Layer* layer = caches.layerCache.get(renderState, width, height); 208 const uint32_t maxTextureSize = caches.maxTextureSize; 283 Caches::getInstance().textureState().activateTexture(0); 315 if (!Caches::getInstance().layerCache.put(layer)) { 321 Caches::getInstance().layerCache.dump(); 337 if (Caches::getInstance().extensions().hasDiscardFramebuffer()) 355 Caches& caches = Caches::getInstance(); local [all...] |
TextDropShadowCache.h | 33 class Caches; 114 ShadowTexture(Caches& caches): Texture(caches) {
|
/frameworks/base/libs/hwui/renderstate/ |
PixelBufferState.h | 25 friend class Caches; // TODO: move to RenderState
|
TextureState.h | 32 friend class Caches; // TODO: move to RenderState 35 void constructTexture(Caches& caches); 90 // Caches texture bindings for the GL_TEXTURE_2D target
|
RenderState.h | 20 #include "Caches.h" 42 class Caches; 51 // wrapper of Caches for users to migrate to. 55 friend class Caches; 60 void flush(Caches::FlushMode flushMode); 114 Caches* mCaches = nullptr;
|
/frameworks/base/libs/hwui/tests/unit/ |
LeakCheckTests.cpp | 43 Caches& caches = Caches::getInstance(); local 46 sLightGeometery, Caches::getInstance()); 48 BakedOpRenderer renderer(caches, renderState, true, sLightInfo); 60 Caches& caches = Caches::getInstance(); local 63 sLightGeometery, Caches::getInstance()); 65 BakedOpRenderer renderer(caches, renderState, true, sLightInfo) [all...] |
BakedOpRendererTests.cpp | 27 BakedOpRenderer renderer(Caches::getInstance(), renderThread.renderState(), true, sLightInfo); 28 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 200u, 200u);
|
FrameBuilderTests.cpp | 137 sLightGeometry, Caches::getInstance()); 165 sLightGeometry, Caches::getInstance()); 182 sLightGeometry, Caches::getInstance()); 217 sLightGeometry, Caches::getInstance()); 243 sLightGeometry, Caches::getInstance()); 313 sLightGeometry, Caches::getInstance()); 334 FrameBuilder frameBuilder(emptyLayerUpdateQueue, sLightGeometry, Caches::getInstance()); 356 sLightGeometry, Caches::getInstance()); 384 sLightGeometry, Caches::getInstance()); 427 sLightGeometry, Caches::getInstance()) [all...] |
/external/doclava/src/com/google/doclava/ |
Doclava2.java | 41 ClassInfo cl = InfoBuilder.Caches.getClass("android.preference.VolumePreference"); 78 InfoBuilder.Caches.printResolutions(); 83 InfoBuilder.Caches.printResolutions();
|
/frameworks/base/libs/hwui/tests/microbench/ |
FrameBuilderBench.cpp | 66 sLightGeometry, Caches::getInstance()); 79 Caches& caches = Caches::getInstance(); 83 sLightGeometry, caches); 86 BakedOpRenderer renderer(caches, renderState, true, sLightInfo); 122 sLightGeometry, Caches::getInstance()); 137 Caches& caches = Caches::getInstance() [all...] |