Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/
DOpenGLRenderer.cpp123 mCaches(Caches::getInstance()), mExtensions(Extensions::getInstance()) { in OpenGLRenderer()
194 mCaches.clearGarbage(); in setupFrameState()
219 mSuppressTiling = mCaches.hasRegisteredFunctors(); in startFrame()
268 mCaches.enableScissor(); in clear()
269 mCaches.setScissor(left, mSnapshot->height - bottom, right - left, bottom - top); in clear()
274 mCaches.resetScissor(); in clear()
279 if (mCaches.blend) { in syncState()
299 mCaches.startTiling(clip.left, windowHeight - clip.bottom, in startTiling()
305 if (!mSuppressTiling) mCaches.endTiling(); in endTiling()
315 mCaches.pathCache.trim(); in finish()
[all …]
DDither.cpp27 Dither::Dither(): mCaches(NULL), mInitialized(false), mDitherTexture(0) { in Dither()
35 mCaches->bindTexture(mDitherTexture); in bindDitherTexture()
74 mCaches->bindTexture(mDitherTexture); in bindDitherTexture()
80 mCaches->deleteTexture(mDitherTexture); in clear()
90 if (!mCaches) mCaches = &Caches::getInstance(); in setupProgram()
93 mCaches->activeTexture(textureSlot); in setupProgram()
DTexture.cpp31 mFirstFilter(true), mFirstWrap(true), mCaches(Caches::getInstance()) { in Texture()
38 mFirstFilter(true), mFirstWrap(true), mCaches(caches) { in Texture()
51 mCaches.bindTexture(renderTarget, id); in setWrapST()
69 mCaches.bindTexture(renderTarget, id); in setFilterMinMag()
80 mCaches.deleteTexture(id); in deleteTexture()
DPixelBuffer.cpp98 Caches& mCaches; member in android::uirenderer::GpuPixelBuffer
102 PixelBuffer(format, width, height), mMappedPointer(0), mCaches(Caches::getInstance()) { in GpuPixelBuffer()
104 mCaches.bindPixelBuffer(mBuffer); in GpuPixelBuffer()
106 mCaches.unbindPixelBuffer(); in GpuPixelBuffer()
115 mCaches.bindPixelBuffer(mBuffer); in map()
134 mCaches.bindPixelBuffer(mBuffer); in unmap()
151 mCaches.bindPixelBuffer(mBuffer); in upload()
DDisplayListRenderer.h232 mCaches.resourceCache.incrementRefcount(path); in refPath()
284 mCaches.resourceCache.incrementRefcount(layer); in refLayer()
294 mCaches.resourceCache.incrementRefcount(bitmap); in refBitmap()
300 mCaches.resourceCache.incrementRefcount(bitmap); in refBitmapData()
314 mCaches.resourceCache.incrementRefcount(shaderCopy); in refShader()
321 mCaches.resourceCache.incrementRefcount(colorFilter); in refColorFilter()
327 mCaches.resourceCache.incrementRefcount(patch); in refPatch()
356 Caches& mCaches; variable
DDisplayListRenderer.cpp35 mCaches(Caches::getInstance()), mDisplayListData(new DisplayListData), in DisplayListRenderer()
46 mCaches.resourceCache.lock(); in reset()
49 mCaches.resourceCache.decrementRefcountLocked(mBitmapResources.itemAt(i)); in reset()
53 mCaches.resourceCache.decrementRefcountLocked(mOwnedBitmapResources.itemAt(i)); in reset()
57 mCaches.resourceCache.decrementRefcountLocked(mFilterResources.itemAt(i)); in reset()
61 mCaches.resourceCache.decrementRefcountLocked(mPatchResources.itemAt(i)); in reset()
65 mCaches.resourceCache.decrementRefcountLocked(mShaders.itemAt(i)); in reset()
69 mCaches.resourceCache.decrementRefcountLocked(mSourcePaths.itemAt(i)); in reset()
73 mCaches.resourceCache.decrementRefcountLocked(mLayers.itemAt(i)); in reset()
76 mCaches.resourceCache.unlock(); in reset()
DSkiaShader.cpp72 SkiaShader::SkiaShader(): mCaches(NULL) { in SkiaShader()
78 mCaches(NULL) { in SkiaShader()
94 mCaches->bindTexture(texture->id); in bindTexture()
121 Texture* texture = mCaches->textureCache.get(mBitmap); in describe()
236 Texture* texture = mCaches->gradientCache.get(mColors, mPositions, mCount); in setupProgram()
356 Texture* texture = mCaches->gradientCache.get(mColors, mPositions, mCount); in setupProgram()
366 mCaches->dither.setupProgram(program, textureUnit); in setupProgram()
DOpenGLRenderer.h357 return mCaches; in getCaches()
426 mCaches.setScissorEnabled(false); in drawScreenSpaceColorRect()
429 bool stencilWasEnabled = mCaches.stencil.isTestEnabled(); in drawScreenSpaceColorRect()
430 mCaches.stencil.disable(); in drawScreenSpaceColorRect()
434 if (stencilWasEnabled) mCaches.stencil.enableTest(); in drawScreenSpaceColorRect()
926 mCaches.bindTexture(texture); in bindTexture()
934 mCaches.bindTexture(GL_TEXTURE_EXTERNAL_OES, texture); in bindExternalTexture()
1085 Caches& mCaches; variable
DDither.h48 Caches* mCaches; variable
DSkiaShader.h83 mCaches = &caches; in setCaches()
121 Caches* mCaches; member
DTexture.h113 Caches& mCaches; variable
/frameworks/base/libs/hwui/font/
DCacheTexture.cpp115 mCaches(Caches::getInstance()) { in CacheTexture()
159 mCaches.deleteTexture(mTextureId); in releaseTexture()
171 if (bind) mCaches.bindTexture(getTextureId()); in setLinearFiltering()
191 mCaches.bindTexture(mTextureId); in allocateTexture()
DCacheTexture.h191 Caches& mCaches; variable