Lines Matching refs:glState
47 bool RendererD3D::skipDraw(const gl::State &glState, gl::PrimitiveMode drawMode) in skipDraw() argument
51 bool usesPointSize = GetImplAs<ProgramD3D>(glState.getProgram())->usesPointSize(); in skipDraw()
56 if (!usesPointSize && !glState.isTransformFeedbackActiveUnpaused()) in skipDraw()
65 if (glState.getRasterizerState().cullFace && in skipDraw()
66 glState.getRasterizerState().cullMode == gl::CullFaceMode::FrontAndBack) in skipDraw()
183 unsigned int GetBlendSampleMask(const gl::State &glState, int samples) in GetBlendSampleMask() argument
186 if (glState.isSampleCoverageEnabled()) in GetBlendSampleMask()
188 GLfloat coverageValue = glState.getSampleCoverageValue(); in GetBlendSampleMask()
205 bool coverageInvert = glState.getSampleCoverageInvert(); in GetBlendSampleMask()
216 if (glState.isSampleMaskEnabled()) in GetBlendSampleMask()
218 mask &= glState.getSampleMaskWord(0); in GetBlendSampleMask()