Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/renderstate/
DRenderState.cpp57 if (!mCaches) { in onGLContextCreated()
58 mCaches = &Caches::createInstance(*this); in onGLContextCreated()
60 mCaches->init(); in onGLContextCreated()
75 mCaches->terminate(); in onGLContextDestroyed()
122 mCaches->flush(mode); in flush()
126 if (mCaches && mCaches->textureCache.destroyTexture(pixelRefId)) { in onBitmapDestroyed()
179 mCaches->setProgram(nullptr); in interruptForFunctorInvoke()
180 mCaches->textureState().resetActiveTexture(); in interruptForFunctorInvoke()
187 if (mCaches->extensions().hasLinearBlending() && in interruptForFunctorInvoke()
188 mCaches->extensions().hasSRGBWriteControl()) { in interruptForFunctorInvoke()
[all …]
DRenderState.h130 Caches* mCaches = nullptr; variable
/frameworks/base/libs/hwui/
DPixelBuffer.cpp89 Caches& mCaches; member in android::uirenderer::GpuPixelBuffer
96 , mCaches(Caches::getInstance()){ in GpuPixelBuffer()
99 mCaches.pixelBufferState().bind(mBuffer); in GpuPixelBuffer()
101 mCaches.pixelBufferState().unbind(); in GpuPixelBuffer()
110 mCaches.pixelBufferState().bind(mBuffer); in map()
117 mCaches.pixelBufferState().unbind(); in map()
126 mCaches.pixelBufferState().bind(mBuffer); in unmap()
139 mCaches.pixelBufferState().bind(mBuffer); in upload()
143 mCaches.pixelBufferState().unbind(); in upload()
DTexture.cpp60 mCaches.textureState().bindTexture(mTarget, mId); in setWrapST()
74 mCaches.textureState().bindTexture(mTarget, mId); in setFilterMinMag()
85 mCaches.textureState().deleteTexture(mId); in deleteTexture()
129 mCaches.textureState().bindTexture(GL_TEXTURE_2D, mId); in upload()
287 const bool canMipMap = mCaches.extensions().hasNPot(); in upload()
300 bool hasLinearBlending = mCaches.extensions().hasLinearBlending(); in upload()
304 colorTypeToGlFormatAndType(mCaches, bitmap.colorType(), in upload()
340 && mCaches.extensions().hasSRGB() && !bitmap.isHardware()) { in upload()
352 mCaches.textureState().bindTexture(mTarget, 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()
185 return mCaches.textureCache.get(bitmap); in getTexture()
211 GlopBuilder(mRenderState, mCaches, &glop) in drawRects()
228 GlopBuilder(mRenderState, mCaches, &glop) in setupStencilQuads()
309 mRenderTarget.stencil = mCaches.renderBufferCache.get( in prepareRender()
DBakedOpRenderer.h61 , mCaches(caches) in BakedOpRenderer()
67 Caches& caches() { return mCaches; } in caches()
119 Caches& mCaches; variable
DTexture.h59 , mCaches(caches) in Texture()
222 Caches& mCaches; variable
DFrameBuilder.cpp42 , mCaches(caches) in FrameBuilder()
61 , mCaches(caches) in FrameBuilder()
452 sp<TessellationCache::ShadowTask> task = mCaches.tessellationCache.getShadowTask( in deferShadow()
708 mCaches.pathCache.precache(op.path, op.paint); in deferPathOp()
725 mCaches.tessellationCache.precacheRoundRect(state->computedState.transform, *(op.paint), in deferRoundRectOp()
768 FontRenderer& fontRenderer = mCaches.fontRenderer.getFontRenderer(); in deferTextOp()
787 mCaches.fontRenderer.getFontRenderer().precache( in deferTextOnPathOp()
1001 mCaches.fontRenderer.endPrecaching(); in finishDefer()
DGlopBuilder.cpp66 , mCaches(caches) in GlopBuilder()
211 mCaches.patchCache.getMeshBuffer(), in setMeshPatchQuads()
260 if (CC_UNLIKELY(mCaches.extensions().hasFramebufferFetch())) { in setFill()
358 mCaches.textureState().getShadowLutTexture(), in setFillPaint()
641 SkiaShader::store(mCaches, *mShader, shaderMatrix, in build()
655 mOutGlop->fill.program = mCaches.programCache.get(mDescription); in build()
DGlopBuilder.h131 Caches& mCaches; variable
DFrameBuilder.h250 Caches& mCaches; variable
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp118 , mCaches(Caches::getInstance()) { in CacheTexture()
127 mHasUnpackRowLength = mCaches.extensions().hasUnpackRowLength(); in CacheTexture()
185 internalFormat = mCaches.rgbaInternalFormat(); in allocatePixelBuffer()
DCacheTexture.h196 Caches& mCaches; variable
/frameworks/base/libs/hwui/hwui/
DBitmap.cpp157 : mCaches(caches) { in AutoGlTexture()
163 mCaches.textureState().deleteTexture(mTexture); in ~AutoGlTexture()
167 uirenderer::Caches& mCaches; member in android::AutoGlTexture