/frameworks/base/libs/hwui/renderstate/ |
D | RenderState.cpp | 51 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 …]
|
D | RenderState.h | 114 Caches* mCaches = nullptr; variable
|
/frameworks/base/libs/hwui/ |
D | PixelBuffer.cpp | 97 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()
|
D | Dither.cpp | 28 : 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()
|
D | OpenGLRenderer.cpp | 71 , 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 …]
|
D | Texture.cpp | 55 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()
|
D | BakedOpRenderer.cpp | 88 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()
|
D | BakedOpRenderer.h | 61 , mCaches(caches) in BakedOpRenderer() 67 Caches& caches() { return mCaches; } in caches() 119 Caches& mCaches; variable
|
D | OpenGLRenderer.h | 222 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
|
D | Texture.h | 39 , mCaches(caches) in Texture() 169 Caches& mCaches; variable
|
D | Dither.h | 48 Caches& mCaches; variable
|
D | FrameBuilder.cpp | 41 , 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()
|
D | GlopBuilder.cpp | 63 , 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()
|
D | DeferredLayerUpdater.h | 110 Caches& mCaches; variable
|
D | DeferredLayerUpdater.cpp | 33 , mCaches(Caches::getInstance()) { in DeferredLayerUpdater()
|
D | GlopBuilder.h | 129 Caches& mCaches; variable
|
D | FrameBuilder.h | 249 Caches& mCaches; variable
|
D | FontRenderer.cpp | 81 GlopBuilder(renderer->mRenderState, renderer->mCaches, &glop) in draw()
|
/frameworks/base/libs/hwui/font/ |
D | CacheTexture.cpp | 118 , mCaches(Caches::getInstance()) { in CacheTexture() 127 mHasUnpackRowLength = mCaches.extensions().hasUnpackRowLength(); in CacheTexture()
|
D | CacheTexture.h | 194 Caches& mCaches; variable
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.cpp | 380 mCaches.dumpMemoryUsage(); in draw()
|