Searched refs:Caches (Results 1 - 25 of 71) sorted by relevance

123

/frameworks/base/libs/hwui/
H A DDither.h25 class Caches;
40 Dither(Caches& caches);
48 Caches& mCaches;
H A DCaches.cpp17 #include "Caches.h"
33 Caches* Caches::sInstance = nullptr;
49 Caches::Caches(RenderState& renderState) function in class:android::uirenderer::Caches
63 bool Caches::init() {
66 ATRACE_NAME("Caches::init");
82 void Caches::initExtensions() {
95 void Caches::initConstraints() {
99 void Caches
[all...]
H A DCaches.h57 // Caches
63 class ANDROID_API Caches { class in namespace:android::uirenderer
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;
204 }; // class Caches
H A DImage.cpp19 #include "Caches.h"
40 Caches::getInstance().textureState().bindTexture(mTexture);
55 Caches::getInstance().textureState().deleteTexture(mTexture);
H A DSkiaShader.h31 class Caches;
90 static void store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix,
93 static void apply(Caches& caches, const SkiaShaderData& data);
H A DAssetAtlas.cpp18 #include "Caches.h"
40 Caches& caches = Caches::getInstance();
79 DelegateTexture(Caches& caches, Texture* delegate)
96 void AssetAtlas::createEntries(Caches& caches, int64_t* map, int count) {
H A DResourceCache.cpp18 #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);
H A DDisplayList.cpp70 if (path->unique() && Caches::hasInstance()) {
71 Caches::getInstance().pathCache.removeDeferred(path);
H A DTexture.h28 class Caches;
37 Texture(Caches& caches)
169 Caches& mCaches;
H A DBakedOpRenderer.h26 class Caches;
57 BakedOpRenderer(Caches& caches, RenderState& renderState, bool opaque,
67 Caches& caches() { return mCaches; }
119 Caches& mCaches;
H A DSkiaShader.cpp19 #include "Caches.h"
59 static inline void bindTexture(Caches* caches, Texture* texture, GLenum wrapS, GLenum wrapT) {
120 bool tryStoreGradient(Caches& caches, const SkShader& shader, const Matrix4 modelViewMatrix,
184 void applyGradient(Caches& caches, const SkiaShaderData::GradientShaderData& data) {
202 bool tryStoreBitmap(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix,
248 void applyBitmap(Caches& caches, const SkiaShaderData::BitmapShaderData& data) {
281 void storeCompose(Caches& caches, const SkShader& bitmapShader, const SkShader& gradientShader,
292 bool tryStoreCompose(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix,
324 bool tryStoreLayer(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix,
347 void applyLayer(Caches
[all...]
H A DAssetAtlas.h34 class Caches;
160 void createEntries(Caches& caches, int64_t* map, int count);
H A DGlopBuilder.h31 class Caches;
48 GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop);
129 Caches& mCaches;
H A DPixelBuffer.cpp97 Caches& mCaches;
104 , mCaches(Caches::getInstance()){
164 if (type == kBufferType_Auto && Caches::getInstance().gpuPixelBuffersEnabled) {
H A DReadback.cpp19 #include "Caches.h"
39 Caches& caches = Caches::getInstance();
145 Caches::getInstance().textureState().bindTexture(GL_TEXTURE_EXTERNAL_OES, sourceTexId);
H A DLayerRenderer.cpp191 Caches& caches = Caches::getInstance();
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();
H A DTextDropShadowCache.h33 class Caches;
114 ShadowTexture(Caches& caches): Texture(caches) {
/frameworks/base/libs/hwui/tests/unit/
H A DLeakCheckTests.cpp43 Caches& caches = Caches::getInstance();
46 sLightGeometery, Caches::getInstance());
60 Caches& caches = Caches::getInstance();
63 sLightGeometery, Caches::getInstance());
H A DBakedOpRendererTests.cpp27 BakedOpRenderer renderer(Caches::getInstance(), renderThread.renderState(), true, sLightInfo);
28 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 200u, 200u);
H A DFrameBuilderTests.cpp137 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
[all...]
H A Dmain.cpp19 #include "Caches.h"
99 if (Caches::hasInstance()) {
100 Caches::getInstance().tasks.stop();
/frameworks/base/libs/hwui/renderstate/
H A DPixelBufferState.h25 friend class Caches; // TODO: move to RenderState
H A DTextureState.h32 friend class Caches; // TODO: move to RenderState
35 void constructTexture(Caches& caches);
90 // Caches texture bindings for the GL_TEXTURE_2D target
H A DRenderState.h20 #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/microbench/
H A DFrameBuilderBench.cpp66 sLightGeometry, Caches::getInstance());
79 Caches& caches = Caches::getInstance();
122 sLightGeometry, Caches::getInstance());
137 Caches& caches = Caches::getInstance();
142 sLightGeometry, Caches::getInstance());

Completed in 237 milliseconds

123