Lines Matching refs:mRenderTarget
33 LOG_ALWAYS_FATAL_IF(mRenderTarget.offscreenBuffer, "already has layer..."); in startTemporaryLayer()
46 LOG_ALWAYS_FATAL_IF(mRenderTarget.offscreenBuffer, "already has layer..."); in startRepaintLayer()
58 mRenderTarget.offscreenBuffer = offscreenBuffer; in startRepaintLayer()
59 mRenderTarget.offscreenBuffer->hasRenderedSinceRepaint = false; in startRepaintLayer()
62 mRenderTarget.frameBufferId = mRenderState.createFramebuffer(); in startRepaintLayer()
63 mRenderState.bindFramebuffer(mRenderTarget.frameBufferId); in startRepaintLayer()
83 if (mRenderTarget.stencil) { in endLayer()
87 mCaches.renderBufferCache.put(mRenderTarget.stencil); in endLayer()
88 mRenderTarget.stencil = nullptr; in endLayer()
90 mRenderTarget.lastStencilClip = nullptr; in endLayer()
92 mRenderTarget.offscreenBuffer->updateMeshFromRegion(); in endLayer()
93 mRenderTarget.offscreenBuffer = nullptr; // It's in drawLayerOp's hands now. in endLayer()
98 mRenderState.deleteFramebuffer(mRenderTarget.frameBufferId); in endLayer()
99 mRenderTarget.frameBufferId = 0; in endLayer()
112 mRenderTarget.viewportHeight - area.bottom, width, height); in copyToLayer()
118 LOG_ALWAYS_FATAL_IF(mRenderTarget.frameBufferId != 0, "primary framebufferId must be 0"); in startFrame()
132 Rect viewportRect(mRenderTarget.viewportWidth, mRenderTarget.viewportHeight); in endFrame()
162 mRenderTarget.viewportWidth = width; in setViewport()
163 mRenderTarget.viewportHeight = height; in setViewport()
164 mRenderTarget.orthoMatrix.loadOrtho(width, height); in setViewport()
171 if (rect.contains(Rect(mRenderTarget.viewportWidth, mRenderTarget.viewportHeight))) { in clearColorBuffer()
177 mRenderState.scissor().set(rect.left, mRenderTarget.viewportHeight - rect.bottom, in clearColorBuffer()
181 if (!mRenderTarget.frameBufferId) mHasDrawn = true; in clearColorBuffer()
205 LOG_ALWAYS_FATAL_IF(mRenderTarget.frameBufferId != 0, "decoration only supported for FBO 0"); in drawRects()
217 mRenderState.render(glop, mRenderTarget.orthoMatrix, false); in drawRects()
234 mRenderState.render(glop, mRenderTarget.orthoMatrix, false); in setupStencilQuads()
294 mRenderState.scissor().set(mRenderTarget.viewportHeight, clip->rect); in prepareRender()
303 if (mRenderTarget.lastStencilClip != clip) { in prepareRender()
305 mRenderTarget.lastStencilClip = clip; in prepareRender()
307 if (mRenderTarget.frameBufferId != 0 && !mRenderTarget.stencil) { in prepareRender()
308 OffscreenBuffer* layer = mRenderTarget.offscreenBuffer; in prepareRender()
309 mRenderTarget.stencil = mCaches.renderBufferCache.get( in prepareRender()
314 GL_RENDERBUFFER, mRenderTarget.stencil->getName()); in prepareRender()
351 bool overrideDisableBlending = !mHasDrawn && mOpaque && !mRenderTarget.frameBufferId && in renderGlopImpl()
354 mRenderState.render(glop, mRenderTarget.orthoMatrix, overrideDisableBlending); in renderGlopImpl()
355 if (!mRenderTarget.frameBufferId) mHasDrawn = true; in renderGlopImpl()
368 info.width = mRenderTarget.viewportWidth; in renderFunctor()
369 info.height = mRenderTarget.viewportHeight; in renderFunctor()
373 if (!mRenderTarget.frameBufferId) mHasDrawn = true; in renderFunctor()
377 if (mRenderTarget.offscreenBuffer) { in dirtyRenderTarget()
378 mRenderTarget.offscreenBuffer->dirty(uiDirty); in dirtyRenderTarget()