Home
last modified time | relevance | path

Searched refs:mCaches (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp51 if (!mCaches) { in onGLContextCreated()
52 mCaches = &Caches::createInstance(*this); in onGLContextCreated()
54 mCaches->init(); in onGLContextCreated()
55 mCaches->textureCache.setAssetAtlas(&mAssetAtlas); in onGLContextCreated()
101 mCaches->terminate(); in onGLContextDestroyed()
125 mCaches->flush(mode); in flush()
175 mCaches->setProgram(nullptr); in interruptForFunctorInvoke()
176 mCaches->textureState().resetActiveTexture(); in interruptForFunctorInvoke()
194 mCaches->textureState().activateTexture(0); in resumeFromFunctorInvoke()
195 mCaches->textureState().resetBoundTextures(); in resumeFromFunctorInvoke()
[all …]
DRenderState.h114 Caches* mCaches = nullptr; variable
/frameworks/base/libs/hwui/
DPixelBuffer.cpp97 Caches& mCaches; member in android::uirenderer::GpuPixelBuffer
104 , mCaches(Caches::getInstance()){ in GpuPixelBuffer()
107 mCaches.pixelBufferState().bind(mBuffer); in GpuPixelBuffer()
109 mCaches.pixelBufferState().unbind(); in GpuPixelBuffer()
118 mCaches.pixelBufferState().bind(mBuffer); in map()
125 mCaches.pixelBufferState().unbind(); in map()
134 mCaches.pixelBufferState().bind(mBuffer); in unmap()
151 mCaches.pixelBufferState().bind(mBuffer); in upload()
155 mCaches.pixelBufferState().unbind(); in upload()
DDither.cpp28 : mCaches(caches) in Dither()
36 mCaches.textureState().bindTexture(mDitherTexture); in bindDitherTexture()
44 if (mCaches.extensions().hasFloatTextures()) { in bindDitherTexture()
73 mCaches.textureState().bindTexture(mDitherTexture); in bindDitherTexture()
79 mCaches.textureState().deleteTexture(mDitherTexture); in clear()
90 mCaches.textureState().activateTexture(textureSlot); in setupProgram()
DOpenGLRenderer.cpp71 , mCaches(Caches::getInstance()) in OpenGLRenderer()
120 mCaches.clearGarbage(); in setupFrameState()
164 if (mCaches.extensions().hasDiscardFramebuffer() && in discardFramebuffer()
193 mCaches.pathCache.trim(); in finish()
194 mCaches.tessellationCache.trim(); in finish()
201 mCaches.dumpMemoryUsage(); in finish()
205 mCaches.dumpMemoryUsage(); in finish()
282 mCaches.eventMark(0, name); in eventMark()
286 mCaches.startMark(0, name); in startMark()
290 mCaches.endMark(); in endMark()
[all …]
DTexture.cpp55 mCaches.textureState().bindTexture(renderTarget, mId); in setWrapST()
71 mCaches.textureState().bindTexture(renderTarget, mId); in setFilterMinMag()
82 mCaches.textureState().deleteTexture(mId); in deleteTexture()
113 mCaches.textureState().bindTexture(GL_TEXTURE_2D, mId); in upload()
214 const bool canMipMap = mCaches.extensions().hasNPot(); in upload()
235 mCaches.textureState().bindTexture(mId); in upload()
DBakedOpRenderer.cpp88 mCaches.renderBufferCache.put(mRenderTarget.stencil); in endLayer()
108 mCaches.textureState().activateTexture(0); in copyToLayer()
109 mCaches.textureState().bindTexture(buffer->texture.id()); in copyToLayer()
144 paint.setColor(mCaches.getOverdrawColor(i)); in endFrame()
146 GlopBuilder(mRenderState, mCaches, &glop) in endFrame()
187 return mCaches.textureCache.get(bitmap); in getTexture()
215 GlopBuilder(mRenderState, mCaches, &glop) in drawRects()
232 GlopBuilder(mRenderState, mCaches, &glop) in setupStencilQuads()
313 mRenderTarget.stencil = mCaches.renderBufferCache.get( in prepareRender()
DBakedOpRenderer.h61 , mCaches(caches) in BakedOpRenderer()
67 Caches& caches() { return mCaches; } in caches()
119 Caches& mCaches; variable
DOpenGLRenderer.h222 return mCaches; in getCaches()
270 mCaches.setScissorEnabled(false); in drawScreenSpaceColorRect()
273 bool stencilWasEnabled = mCaches.stencil.isTestEnabled(); in drawScreenSpaceColorRect()
274 mCaches.stencil.disable(); in drawScreenSpaceColorRect()
278 if (stencilWasEnabled) mCaches.stencil.enableTest(); in drawScreenSpaceColorRect()
457 Caches& mCaches; variable
DTexture.h39 , mCaches(caches) in Texture()
169 Caches& mCaches; variable
DDither.h48 Caches& mCaches; variable
DFrameBuilder.cpp41 , mCaches(caches) in FrameBuilder()
60 , mCaches(caches) in FrameBuilder()
449 sp<TessellationCache::ShadowTask> task = mCaches.tessellationCache.getShadowTask( in deferShadow()
703 mCaches.pathCache.precache(op.path, op.paint); in deferPathOp()
720 mCaches.tessellationCache.precacheRoundRect(state->computedState.transform, *(op.paint), in deferRoundRectOp()
763 FontRenderer& fontRenderer = mCaches.fontRenderer.getFontRenderer(); in deferTextOp()
782 mCaches.fontRenderer.getFontRenderer().precache( in deferTextOnPathOp()
995 mCaches.fontRenderer.endPrecaching(); in finishDefer()
DGlopBuilder.cpp63 , mCaches(caches) in GlopBuilder()
222 mCaches.patchCache.getMeshBuffer(), in setMeshPatchQuads()
271 if (CC_UNLIKELY(mCaches.extensions().hasFramebufferFetch())) { in setFill()
378 mCaches.textureState().getShadowLutTexture(), GL_TEXTURE_2D, in setFillPaint()
664 SkiaShader::store(mCaches, *mShader, shaderMatrix, in build()
678 mOutGlop->fill.program = mCaches.programCache.get(mDescription); in build()
DDeferredLayerUpdater.h110 Caches& mCaches; variable
DDeferredLayerUpdater.cpp33 , mCaches(Caches::getInstance()) { in DeferredLayerUpdater()
DGlopBuilder.h129 Caches& mCaches; variable
DFrameBuilder.h249 Caches& mCaches; variable
DFontRenderer.cpp81 GlopBuilder(renderer->mRenderState, renderer->mCaches, &glop) in draw()
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp118 , mCaches(Caches::getInstance()) { in CacheTexture()
127 mHasUnpackRowLength = mCaches.extensions().hasUnpackRowLength(); in CacheTexture()
DCacheTexture.h194 Caches& mCaches; variable
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp380 mCaches.dumpMemoryUsage(); in draw()