Lines Matching refs:currentRasterState
3320 const gl::RasterizerState ¤tRasterState = apiState.getRasterizerState(); in CaptureMidExecutionSetup() local
3321 if (currentRasterState.cullFace != defaultRasterState.cullFace) in CaptureMidExecutionSetup()
3323 capCap(GL_CULL_FACE, currentRasterState.cullFace); in CaptureMidExecutionSetup()
3326 if (currentRasterState.cullMode != defaultRasterState.cullMode) in CaptureMidExecutionSetup()
3328 cap(CaptureCullFace(replayState, true, currentRasterState.cullMode)); in CaptureMidExecutionSetup()
3331 if (currentRasterState.frontFace != defaultRasterState.frontFace) in CaptureMidExecutionSetup()
3333 cap(CaptureFrontFace(replayState, true, currentRasterState.frontFace)); in CaptureMidExecutionSetup()
3336 if (currentRasterState.polygonOffsetFill != defaultRasterState.polygonOffsetFill) in CaptureMidExecutionSetup()
3338 capCap(GL_POLYGON_OFFSET_FILL, currentRasterState.polygonOffsetFill); in CaptureMidExecutionSetup()
3341 if (currentRasterState.polygonOffsetFactor != defaultRasterState.polygonOffsetFactor || in CaptureMidExecutionSetup()
3342 currentRasterState.polygonOffsetUnits != defaultRasterState.polygonOffsetUnits) in CaptureMidExecutionSetup()
3344 cap(CapturePolygonOffset(replayState, true, currentRasterState.polygonOffsetFactor, in CaptureMidExecutionSetup()
3345 currentRasterState.polygonOffsetUnits)); in CaptureMidExecutionSetup()
3350 if (currentRasterState.rasterizerDiscard != defaultRasterState.rasterizerDiscard) in CaptureMidExecutionSetup()
3352 capCap(GL_RASTERIZER_DISCARD, currentRasterState.rasterizerDiscard); in CaptureMidExecutionSetup()
3355 if (currentRasterState.dither != defaultRasterState.dither) in CaptureMidExecutionSetup()
3357 capCap(GL_DITHER, currentRasterState.dither); in CaptureMidExecutionSetup()