Lines Matching refs:mRenderState

72         , mRenderState(renderState)  in OpenGLRenderer()
135 mRenderState.setViewport(mState.getWidth(), mState.getHeight()); in startFrame()
153 mRenderState.blend().syncEnabled(); in prepareDirty()
176 mRenderState.scissor().setEnabled(true); in clear()
177 mRenderState.scissor().set(left, getViewportHeight() - bottom, right - left, bottom - top); in clear()
183 mRenderState.scissor().reset(); in clear()
216 mRenderState.setViewport(getViewportWidth(), getViewportHeight()); in resumeAfterLayer()
217 mRenderState.bindFramebuffer(currentSnapshot()->fbo); in resumeAfterLayer()
220 mRenderState.scissor().reset(); in resumeAfterLayer()
251 if (mRenderState.scissor().setEnabled(true) || prevDirtyClip) { in callDrawGLFunction()
255 mRenderState.invokeFunctor(functor, DrawGlInfo::kModeDraw, &info); in callDrawGLFunction()
294 mRenderState.debugOverdraw(enable, clear); in debugOverdraw()
301 mRenderState.scissor().setEnabled(true); in renderOverdraw()
302 mRenderState.scissor().set(clip->left, in renderOverdraw()
308 mRenderState.stencil().enableDebugTest(2); in renderOverdraw()
312 mRenderState.stencil().enableDebugTest(3); in renderOverdraw()
316 mRenderState.stencil().enableDebugTest(4); in renderOverdraw()
320 mRenderState.stencil().enableDebugTest(4, true); in renderOverdraw()
323 mRenderState.stencil().disable(); in renderOverdraw()
378 mRenderState.bindFramebuffer(getTargetFbo()); in updateLayers()
395 mRenderState.bindFramebuffer(getTargetFbo()); in flushLayers()
429 mRenderState.blend().syncEnabled(); in flushLayerUpdates()
452 mRenderState.setViewport(getViewportWidth(), getViewportHeight()); in onSnapshotRestored()
625 Layer* layer = mCaches.layerCache.get(mRenderState, bounds.getWidth(), bounds.getHeight()); in createLayer()
677 layer->setFbo(mRenderState.createFramebuffer()); in createFboLayer()
689 mRenderState.bindFramebuffer(layer->getFbo()); in createFboLayer()
702 mRenderState.scissor().setEnabled(true); in createFboLayer()
703 mRenderState.scissor().set(clip.left - 1.0f, bounds.getHeight() - clip.bottom - 1.0f, in createFboLayer()
710 mRenderState.setViewport(bounds.getWidth(), bounds.getHeight()); in createFboLayer()
730 mRenderState.scissor().setEnabled(mScissorOptimizationDisabled || clipRequired); in composeLayer()
739 mRenderState.bindFramebuffer(restored.fbo); in composeLayer()
754 mRenderState.meshState().unbindMeshBuffer(); in composeLayer()
789 GlopBuilder(mRenderState, mCaches, &glop) in drawTextureLayer()
801 GlopBuilder(mRenderState, mCaches, &glop) in composeLayerRectSwapped()
822 GlopBuilder(mRenderState, mCaches, &glop) in composeLayerRect()
963 GlopBuilder(mRenderState, mCaches, &glop) in composeLayerRegion()
1063 bool scissorChanged = mRenderState.scissor().setEnabled(false); in clearLayerRegions()
1083 GlopBuilder(mRenderState, mCaches, &glop) in clearLayerRegions()
1092 if (scissorChanged) mRenderState.scissor().setEnabled(true); in clearLayerRegions()
1187 mRenderState.scissor().setEnabled(enableScissor); in setupMergedMultiDraw()
1198 if (mRenderState.scissor().set(clip.left, getViewportHeight() - clip.bottom, in setScissorFromClip()
1265 mRenderState.scissor().set(scissorBox.left, getViewportHeight() - scissorBox.bottom, in drawRectangleList()
1270 GlopBuilder(mRenderState, mCaches, &glop) in drawRectangleList()
1301 mRenderState.stencil().enableWrite(incrementThreshold); in setStencilFromClip()
1305 bool resetScissor = mRenderState.scissor().setEnabled(true); in setStencilFromClip()
1311 mRenderState.stencil().clear(); in setStencilFromClip()
1332 if (resetScissor) mRenderState.scissor().setEnabled(false); in setStencilFromClip()
1335 mRenderState.stencil().enableTest(incrementThreshold); in setStencilFromClip()
1348 mRenderState.stencil().disable(); in setStencilFromClip()
1379 mRenderState.scissor().setEnabled(mScissorOptimizationDisabled || clipRequired); in quickRejectSetupScissor()
1406 if (mRenderState.scissor().isEnabled()) {
1412 mRenderState.render(glop, currentSnapshot()->getOrthoMatrix());
1413 if (type == GlopRenderType::Standard && !mRenderState.stencil().isWriteEnabled()) {
1478 GlopBuilder(mRenderState, mCaches, &glop)
1501 GlopBuilder(mRenderState, mCaches, &glop)
1535 Texture* texture = mRenderState.assetAtlas().getEntryTexture(bitmap->pixelRef());
1591 GlopBuilder(mRenderState, mCaches, &glop)
1620 GlopBuilder(mRenderState, mCaches, &glop)
1647 GlopBuilder(mRenderState, mCaches, &glop)
1677 GlopBuilder(mRenderState, mCaches, &glop)
1698 GlopBuilder(mRenderState, mCaches, &glop)
1984 GlopBuilder(mRenderState, mCaches, &glop)
2191 mRenderState.scissor().setEnabled(true);
2266 mRenderState.scissor().setEnabled(mScissorOptimizationDisabled || clipRequired);
2275 GlopBuilder(mRenderState, mCaches, &glop)
2319 Texture* texture = mRenderState.assetAtlas().getEntryTexture(bitmap->pixelRef());
2333 GlopBuilder(mRenderState, mCaches, &glop)
2356 mRenderState.scissor().setEnabled(true);
2421 GlopBuilder(mRenderState, mCaches, &glop)
2436 GlopBuilder(mRenderState, mCaches, &glop)