Searched refs:Caches (Results 26 - 50 of 71) sorted by relevance

123

/frameworks/base/core/jni/android/graphics/
H A DColorFilter.cpp26 #include <Caches.h>
/frameworks/base/core/jni/
H A Dandroid_view_DisplayListCanvas.cpp120 if (!Caches::hasInstance()) {
123 return Caches::getInstance().maxTextureSize;
127 if (!Caches::hasInstance()) {
130 return Caches::getInstance().maxTextureSize;
/frameworks/base/libs/hwui/
H A DDeferredLayerUpdater.h110 Caches& mCaches;
H A DDither.cpp17 #include "Caches.h"
27 Dither::Dither(Caches& caches)
H A DPathCache.h43 class Caches;
64 PathTexture(Caches& caches, float left, float top,
72 PathTexture(Caches& caches, int generation)
291 PathProcessor(Caches& caches);
H A DFrameBuilder.h65 const LightGeometry& lightGeometry, Caches& caches);
68 const LightGeometry& lightGeometry, Caches& caches);
249 Caches& mCaches;
H A DDeferredLayerUpdater.cpp33 , mCaches(Caches::getInstance()) {
H A DPatchCache.h50 class Caches;
H A DFontRenderer.cpp19 #include "Caches.h"
125 uint32_t maxTextureSize = (uint32_t) Caches::getInstance().maxTextureSize;
282 Caches::getInstance().textureState().activateTexture(0);
395 Caches::getInstance().textureState().activateTexture(0);
434 void checkTextureUpdateForCache(Caches& caches, std::vector<CacheTexture*>& cacheTextures,
457 Caches& caches = Caches::getInstance();
586 uint32_t maxSize = Caches::getInstance().maxTextureSize;
616 Caches::getInstance().pixelBufferState().unbind();
H A DLayer.h48 class Caches;
348 Caches& caches;
H A DTextDropShadowCache.cpp19 #include "Caches.h"
163 Caches& caches = Caches::getInstance();
H A DTextureCache.cpp22 #include "Caches.h"
139 texture = new Texture(Caches::getInstance());
179 texture = new Texture(Caches::getInstance());
H A DPathCache.cpp28 #include "Caches.h"
285 PathTexture* texture = new PathTexture(Caches::getInstance(),
325 PathCache::PathProcessor::PathProcessor(Caches& caches):
420 if (!Caches::getInstance().tasks.canRunTasks()) {
437 texture = new PathTexture(Caches::getInstance(), path->getGenerationID());
451 mProcessor = new PathProcessor(Caches::getInstance());
/frameworks/base/libs/hwui/tests/unit/
H A DOffscreenBufferPoolTests.cpp34 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 49u, 149u);
45 OffscreenBuffer layerAligned(renderThread.renderState(), Caches::getInstance(), 256u, 256u);
49 OffscreenBuffer layerUnaligned(renderThread.renderState(), Caches::getInstance(), 200u, 225u);
55 OffscreenBuffer buffer(renderThread.renderState(), Caches::getInstance(), 256u, 256u);
H A DBakedOpDispatcherTests.cpp39 : BakedOpRenderer(Caches::getInstance(), renderState, true, sLightInfo)
190 sLightGeometry, Caches::getInstance());
212 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 100, 100);
220 sLightGeometry, Caches::getInstance());
262 uint32_t expectedColor = Caches::getInstance().getOverdrawColor(glopCount - 2);
H A DGlopBuilderTests.cpp120 Caches& caches = Caches::getInstance();
/frameworks/base/libs/hwui/renderstate/
H A DRenderState.cpp50 // This is delayed because the first access of Caches makes GL calls
52 mCaches = &Caches::createInstance(*this);
115 void RenderState::flush(Caches::FlushMode mode) {
117 case Caches::FlushMode::Full:
119 case Caches::FlushMode::Moderate:
121 case Caches::FlushMode::Layers:
H A DStencil.cpp19 #include "Caches.h"
50 const Extensions& extensions = Caches::getInstance().extensions();
H A DTextureState.cpp18 #include "Caches.h"
72 void TextureState::constructTexture(Caches& caches) {
H A DOffscreenBufferPool.h21 #include "Caches.h"
45 OffscreenBuffer(RenderState& renderState, Caches& caches,
H A DOffscreenBufferPool.cpp19 #include "Caches.h"
36 OffscreenBuffer::OffscreenBuffer(RenderState& renderState, Caches& caches,
156 layer = new OffscreenBuffer(renderState, Caches::getInstance(), width, height);
/frameworks/base/libs/hwui/font/
H A DCacheTexture.h33 class Caches;
194 Caches& mCaches;
H A DCacheTexture.cpp21 #include "../Caches.h"
113 : mTexture(Caches::getInstance())
118 , mCaches(Caches::getInstance()) {
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp21 #include "Caches.h"
360 auto& caches = Caches::getInstance();
633 auto& caches = Caches::getInstance();
661 Caches& caches = Caches::getInstance();
665 mRenderThread.renderState().flush(Caches::FlushMode::Layers);
675 thread.renderState().flush(Caches::FlushMode::Full);
678 thread.renderState().flush(Caches::FlushMode::Moderate);
770 FuncTaskProcessor(Caches& caches)
782 mFrameWorkProcessor = new FuncTaskProcessor(Caches
[all...]
H A DDrawFrameTask.cpp119 Caches::getInstance().textureCache.resetMarkInUse(mContext);

Completed in 224 milliseconds

123