HomeSort by relevance Sort by last modified time
    Searched refs:Caches (Results 26 - 50 of 73) sorted by null

12 3

  /frameworks/base/core/jni/
android_view_DisplayListCanvas.cpp 130 if (!Caches::hasInstance()) {
133 return Caches::getInstance().maxTextureSize;
137 if (!Caches::hasInstance()) {
140 return Caches::getInstance().maxTextureSize;
  /frameworks/base/libs/hwui/
GlLayer.cpp 19 #include "Caches.h"
38 , caches(Caches::getInstance())
39 , texture(caches) {
46 // There's a rare possibility that Caches could have been destroyed already
49 if (caches.isInitialized() && texture.mId) {
63 caches.textureState().bindTexture(texture.target(), texture.mId);
OpenGLReadback.cpp 19 #include "Caches.h"
119 inline CopyResult copyTextureInto(Caches& caches, RenderState& renderState,
124 if (destWidth > caches.maxTextureSize
125 || destHeight > caches.maxTextureSize) {
127 destWidth, destHeight, caches.maxTextureSize);
131 if (bitmap->colorType() == kRGBA_F16_SkColorType && !caches.extensions().hasFloatTextures()) {
184 caches.textureState().activateTexture(0);
185 caches.textureState().bindTexture(texture);
222 GlopBuilder(renderState, caches, &glop
258 Caches& caches = Caches::getInstance(); local
    [all...]
FrameBuilder.h 65 const LightGeometry& lightGeometry, Caches& caches);
68 const LightGeometry& lightGeometry, Caches& caches);
250 Caches& mCaches;
PatchCache.h 48 class Caches;
TextDropShadowCache.cpp 19 #include "Caches.h"
163 Caches& caches = Caches::getInstance(); local
165 texture = new ShadowTexture(caches);
PathCache.cpp 30 #include "Caches.h"
271 PathTexture* texture = new PathTexture(Caches::getInstance(), path->getGenerationID());
316 PathCache::PathProcessor::PathProcessor(Caches& caches):
317 TaskProcessor<sk_sp<Bitmap> >(&caches.tasks), mMaxTextureSize(caches.maxTextureSize) {
395 if (!Caches::getInstance().tasks.canRunTasks()) {
412 texture = new PathTexture(Caches::getInstance(), path->getGenerationID());
426 mProcessor = new PathProcessor(Caches::getInstance());
FontRenderer.cpp 22 #include "Caches.h"
66 GlopBuilder(renderer->renderState(), renderer->caches(), &glop)
279 Caches::getInstance().textureState().activateTexture(0);
395 Caches::getInstance().textureState().activateTexture(0);
434 void checkTextureUpdateForCache(Caches& caches, std::vector<CacheTexture*>& cacheTextures,
441 caches.textureState().activateTexture(0);
442 caches.textureState().bindTexture(lastTextureId);
457 Caches& caches = Caches::getInstance() local
    [all...]
Texture.cpp 17 #include "Caches.h"
159 && Caches::getInstance().extensions().hasUnpackRowLength();
199 void Texture::colorTypeToGlFormatAndType(const Caches& caches, SkColorType colorType,
212 *outInternalFormat = caches.rgbaInternalFormat();
224 *outInternalFormat = caches.rgbaInternalFormat(needSRGB);
233 if (caches.extensions().getMajorGlVersion() >= 3) {
240 *outInternalFormat = caches.rgbaInternalFormat(true);
276 && Caches::getInstance().extensions().getMajorGlVersion() < 3);
TessellationCache.cpp 20 #include "Caches.h"
138 explicit TessellationProcessor(Caches& caches)
139 : TaskProcessor<VertexBuffer*>(&caches.tasks) {}
272 explicit ShadowProcessor(Caches& caches)
273 : TaskProcessor<TessellationCache::vertexBuffer_pair_t>(&caches.tasks) {}
364 mShadowProcessor = new ShadowProcessor(Caches::getInstance());
400 mProcessor = new TessellationProcessor(Caches::getInstance());
TessellationCache.h 42 class Caches;
144 * Trimming is used for caches that support pre-caching from a worker
TextureCache.cpp 21 #include "Caches.h"
103 Texture* texture = new Texture(Caches::getInstance());
  /frameworks/base/libs/hwui/tests/unit/
BakedOpDispatcherTests.cpp 40 : BakedOpRenderer(Caches::getInstance(), renderState, true, false, sLightInfo)
189 sLightGeometry, Caches::getInstance());
211 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 100, 100);
219 sLightGeometry, Caches::getInstance());
261 uint32_t expectedColor = Caches::getInstance().getOverdrawColor(glopCount - 2);
OffscreenBufferPoolTests.cpp 34 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 49u, 149u);
45 OffscreenBuffer layer(renderThread.renderState(), Caches::getInstance(), 49u, 149u, true);
58 OffscreenBuffer layerAligned(renderThread.renderState(), Caches::getInstance(), 256u, 256u);
62 OffscreenBuffer layerUnaligned(renderThread.renderState(), Caches::getInstance(), 200u, 225u);
68 OffscreenBuffer buffer(renderThread.renderState(), Caches::getInstance(), 256u, 256u);
GlopBuilderTests.cpp 121 Caches& caches = Caches::getInstance(); local
127 GlopBuilder(renderState, caches, &glop)
  /frameworks/base/libs/hwui/font/
CacheTexture.h 33 class Caches;
196 Caches& mCaches;
CacheTexture.cpp 21 #include "../Caches.h"
116 : mTexture(Caches::getInstance())
121 , mCaches(Caches::getInstance()) {
  /frameworks/base/libs/hwui/renderstate/
TextureState.cpp 18 #include "Caches.h"
72 void TextureState::constructTexture(Caches& caches) {
74 mShadowLutTexture.reset(new Texture(caches));
RenderState.cpp 61 // This is delayed because the first access of Caches makes GL calls
63 mCaches = &Caches::createInstance(*this);
117 void RenderState::flush(Caches::FlushMode mode) {
119 case Caches::FlushMode::Full:
121 case Caches::FlushMode::Moderate:
123 case Caches::FlushMode::Layers:
OffscreenBufferPool.h 21 #include "Caches.h"
45 OffscreenBuffer(RenderState& renderState, Caches& caches,
OffscreenBufferPool.cpp 19 #include "Caches.h"
36 OffscreenBuffer::OffscreenBuffer(RenderState& renderState, Caches& caches,
42 , texture(caches)
47 caches.textureState().activateTexture(0);
49 wideColorGamut ? GL_RGBA16F : caches.rgbaInternalFormat(), GL_RGBA);
162 layer = new OffscreenBuffer(renderState, Caches::getInstance(),
  /libcore/ojluni/src/main/java/java/lang/
Thread.java     [all...]
  /external/doclava/src/com/google/doclava/
AnnotationValueInfo.java 120 ClassInfo annotation = InfoBuilder.Caches.obtainClass(qualifiedClassName.toString());
AnnotationInstanceInfo.java 117 setClass(InfoBuilder.Caches.obtainClass(qualifiedClassName.toString()));
  /libcore/ojluni/src/main/java/java/io/
ObjectStreamClass.java 84 private static class Caches {
310 processQueue(Caches.localDescsQueue, Caches.localDescs);
311 WeakClassKey key = new WeakClassKey(cl, Caches.localDescsQueue);
312 Reference<?> ref = Caches.localDescs.get(key);
323 Caches.localDescs.remove(key, ref);
325 ref = Caches.localDescs.putIfAbsent(key, newRef);
359 Caches.localDescs.put(key, new SoftReference<Object>(entry));
    [all...]

Completed in 320 milliseconds

12 3