Lines Matching defs:const
69 static const tcu::Vec4 CLEAR_COLOR (0.25f, 0.5f, 0.75f, 1.0f);
70 static const float CLEAR_DEPTH = 1.0f;
71 static const int CLEAR_STENCIL = 0;
72 static const bool ENABLE_CALL_LOG = true;
77 void translateStencilState (const StencilState& src, rr::StencilState& dst)
88 void translateBlendState (const BlendState& src, rr::BlendState& dst)
95 void translateState (const RenderState& src, rr::FragmentOperationState& dst, const tcu::RenderTarget& renderTarget)
129 static void renderQuad (const glw::Functions& gl, gls::FragmentOpUtil::QuadRenderer& renderer, const gls::FragmentOpUtil::IntegerQuad& quad, int baseX, int baseY)
153 static void setGLState (glu::CallLogWrapper& wrapper, const RenderState& state, int viewportX, int viewportY)
171 const StencilState& sParams = state.stencil[face];
214 RandomFragmentOpCase (Context& context, const char* name, const char* desc, deUint32 seed);
222 tcu::UVec4 getCompareThreshold (void) const;
237 RandomFragmentOpCase::RandomFragmentOpCase (Context& context, const char* name, const char* desc, deUint32 seed)
295 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
296 const bool isMSAA = m_context.getRenderTarget().getNumSamples() > 1;
297 const deUint32 iterSeed = deUint32Hash(m_seed) ^ deInt32Hash(m_iterNdx) ^ deInt32Hash(m_testCtx.getCommandLine().getBaseSeed());
300 const int width = m_refColorBuffer->getWidth();
301 const int height = m_refColorBuffer->getHeight();
302 const int viewportX = rnd.getInt(0, m_context.getRenderTarget().getWidth()-width);
303 const int viewportY = rnd.getInt(0, m_context.getRenderTarget().getHeight()-height);
308 const Vec4 clearColor = CLEAR_COLOR;
309 const float clearDepth = CLEAR_DEPTH;
310 const int clearStencil = CLEAR_STENCIL;
314 const tcu::ScopedLogSection iterSection (m_testCtx.getLog(), std::string("Iteration") + de::toString(m_iterNdx), std::string("Iteration ") + de::toString(m_iterNdx));
376 const bool isLastIter = m_iterNdx >= NUM_ITERATIONS_PER_CASE;
377 const tcu::UVec4 threshold = getCompareThreshold();
415 tcu::UVec4 RandomFragmentOpCase::getCompareThreshold (void) const