HomeSort by relevance Sort by last modified time
    Searched refs:Caches (Results 1 - 25 of 75) sorted by null

1 2 3

  /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
34 void constructTexture(Caches& caches);
89 // Caches texture bindings for the GL_TEXTURE_2D target
RenderState.h 19 #include "Caches.h"
43 class Caches;
54 // wrapper of Caches for users to migrate to.
58 friend class Caches;
68 void flush(Caches::FlushMode flushMode);
128 Caches* mCaches = nullptr;
  /frameworks/base/libs/hwui/tests/unit/
LeakCheckTests.cpp 42 Caches& caches = Caches::getInstance(); local
45 Caches::getInstance());
47 BakedOpRenderer renderer(caches, renderState, true, false, sLightInfo);
58 Caches& caches = Caches::getInstance(); local
61 Caches::getInstance());
63 BakedOpRenderer renderer(caches, renderState, true, false, sLightInfo)
    [all...]
BakedOpRendererTests.cpp 28 BakedOpRenderer renderer(Caches::getInstance(), renderThread.renderState(), true, false,
30 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 200u, 200u);
59 BakedOpRenderer renderer(Caches::getInstance(), renderState, true, false, sLightInfo);
68 GlopBuilder(renderState, Caches::getInstance(), &glop)
FrameBuilderTests.cpp 134 Caches::getInstance());
162 Caches::getInstance());
190 Caches::getInstance());
207 Caches::getInstance());
244 Caches::getInstance());
269 Caches::getInstance());
341 Caches::getInstance());
363 Caches::getInstance());
384 FrameBuilder frameBuilder(emptyLayerUpdateQueue, sLightGeometry, Caches::getInstance());
404 Caches::getInstance())
    [all...]
  /frameworks/base/libs/hwui/
SkiaShader.h 30 class Caches;
76 static void store(Caches& caches, const SkShader& shader, const Matrix4& modelViewMatrix,
79 static void apply(Caches& caches, const SkiaShaderData& data, const GLsizei width,
Caches.h 54 // Caches
60 class ANDROID_API Caches {
62 static Caches& createInstance(RenderState& renderState) {
63 LOG_ALWAYS_FATAL_IF(sInstance, "double create of Caches attempted");
64 sInstance = new Caches(renderState);
68 static Caches& getInstance() {
76 explicit Caches(RenderState& renderState);
77 static Caches* sInstance;
83 * Initialize caches.
198 }; // class Caches
    [all...]
Caches.cpp 17 #include "Caches.h"
36 Caches* Caches::sInstance = nullptr;
52 Caches::Caches(RenderState& renderState)
58 INIT_LOGD("Creating OpenGL renderer caches");
65 bool Caches::init() {
68 ATRACE_NAME("Caches::init");
82 void Caches::initExtensions() {
95 void Caches::initConstraints()
    [all...]
GlLayer.h 27 class Caches;
70 Caches& caches; member in class:android::uirenderer::GlLayer
Image.cpp 19 #include "Caches.h"
40 Caches::getInstance().textureState().bindTexture(mTexture);
55 Caches::getInstance().textureState().deleteTexture(mTexture);
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);
BakedOpRenderer.h 26 class Caches;
55 BakedOpRenderer(Caches& caches, RenderState& renderState, bool opaque, bool wideColorGamut,
59 , mCaches(caches)
65 Caches& caches() { return mCaches; } function in class:android::uirenderer::BakedOpRenderer
117 Caches& mCaches;
Texture.h 42 class Caches;
54 static void colorTypeToGlFormatAndType(const Caches& caches, SkColorType colorType,
58 explicit Texture(Caches& caches) : GpuMemoryTracker(GpuObjectType::Texture), mCaches(caches) {}
207 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->target(), texture->id());
120 bool tryStoreGradient(Caches& caches, const SkShader& shader, const Matrix4 modelViewMatrix,
169 outData->gradientTexture = caches.gradientCache.get(
183 void applyGradient(Caches& caches, const SkiaShaderData::GradientShaderData& data,
186 caches.textureState().activateTexture(data.gradientSampler)
    [all...]
GlopBuilder.h 30 class Caches;
53 GlopBuilder(RenderState& renderState, Caches& caches, Glop* outGlop);
136 Caches& mCaches;
PathCache.h 43 class Caches;
77 PathTexture(Caches& caches, int generation) : Texture(caches) { this->generation = generation; }
205 * Trimming is used for caches that support pre-caching from a worker
242 explicit PathProcessor(Caches& caches);
PixelBuffer.cpp 88 Caches& mCaches;
94 , mCaches(Caches::getInstance()) {
149 if (type == kBufferType_Auto && Caches::getInstance().gpuPixelBuffersEnabled) {
DisplayList.cpp 67 if (path->unique() && Caches::hasInstance()) {
68 Caches::getInstance().pathCache.removeDeferred(path);
TextDropShadowCache.h 33 class Caches;
115 explicit ShadowTexture(Caches& caches) : Texture(caches) {}
  /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 Caches::getInstance());
79 Caches& caches = Caches::getInstance();
82 FrameBuilder frameBuilder(SkRect::MakeWH(100, 200), 100, 200, sLightGeometry, caches);
85 BakedOpRenderer renderer(caches, renderState, true, false, sLightInfo);
121 gDisplay.h, sLightGeometry, Caches::getInstance());
136 Caches& caches = Caches::getInstance()
    [all...]
  /frameworks/base/libs/hwui/renderthread/
OpenGLPipeline.cpp 44 Caches::getInstance().textureCache.resetMarkInUse(this);
68 auto& caches = Caches::getInstance(); local
69 FrameBuilder frameBuilder(dirty, frame.width(), frame.height(), lightGeometry, caches);
76 BakedOpRenderer renderer(caches, mRenderThread.renderState(), opaque, wideColorGamut,
84 caches.clearGarbage();
85 caches.pathCache.trim();
86 caches.tessellationCache.trim();
89 caches.dumpMemoryUsage();
92 caches.dumpMemoryUsage()
175 Caches& caches = Caches::getInstance(); local
187 auto& caches = Caches::getInstance(); local
407 uirenderer::Caches& caches = uirenderer::Caches::getInstance(); local
    [all...]
  /frameworks/base/libs/hwui/tests/common/
LeakChecker.cpp 19 #include "Caches.h"
71 // thread-local caches so some leaks will not be properly tagged as leaks
74 if (Caches::hasInstance()) {
75 Caches::getInstance().tasks.stop();
  /external/google-benchmark/test/
reporter_output_test.cc 28 {"\"caches\": \\[$", MR_Next}});
29 auto const& Caches = benchmark::CPUInfo::Get().caches;
30 if (!Caches.empty()) {
31 AddCases(TC_ConsoleErr, {{"CPU Caches:$", MR_Next}});
33 for (size_t I = 0; I < Caches.size(); ++I) {
35 Caches[I].num_sharing != 0 ? " \\(x%int\\)$" : "$";

Completed in 712 milliseconds

1 2 3