Lines Matching defs:ObjectData
91 struct ObjectData
96 ObjectData (const ProgramSources& shader_, const Geometry& geometry_) : shader(shader_), geometry(geometry_) {}
102 RenderData (const ObjectData& object, const glu::RenderContext& renderCtx, TestLog& log);
112 RenderData::RenderData (const ObjectData& object, const glu::RenderContext& renderCtx, TestLog& log)
471 inline ObjectData quadWith (const glu::ProgramSources& shader, float depth)
473 return ObjectData(shader, getFullscreenQuad(depth));
476 inline ObjectData quadWith (const string& fragShader, float depth)
478 return ObjectData(glu::makeVtxFragSources(getBaseVertexShader(), fragShader), getFullscreenQuad(depth));
481 inline ObjectData variableQuad (float depth)
483 return ObjectData(glu::makeVtxFragSources(getInstanceNoiseVertexShader(), getDepthAsRedFragmentShader()), getFullscreenQuad(depth));
486 inline ObjectData fastQuad (float depth)
488 return ObjectData(getBaseShader(), getFullscreenQuad(depth));
491 inline ObjectData slowQuad (float depth)
493 return ObjectData(getArithmeticWorkloadShader(), getFullscreenQuad(depth));
496 inline ObjectData fastQuadWithGradient (float depth0, float depth1)
498 return ObjectData(getBaseShader(), getFullscreenQuadWithGradient(depth0, depth1));
519 virtual ObjectData genOccluderGeometry (void) const = 0;
520 virtual ObjectData genOccludedGeometry (void) const = 0;
1137 virtual ObjectData genOccluderGeometry (void) const { return Utils::fastQuad(0.2f); }
1138 virtual ObjectData genOccludedGeometry (void) const { return Utils::variableQuad(0.8f); }
1166 virtual ObjectData genOccluderGeometry (void) const { return Utils::fastQuadWithGradient(0.0f, 1.0f - m_gradientDistance); }
1167 virtual ObjectData genOccludedGeometry (void) const
1169 return ObjectData(glu::makeVtxFragSources(Utils::getInstanceNoiseVertexShader(), Utils::getDepthAsRedFragmentShader()), Utils::getFullscreenQuadWithGradient(m_gradientDistance, 1.0f));
1201 virtual ObjectData genOccluderGeometry (void) const { return Utils::quadWith(Utils::getStaticFragDepthFragmentShader(), 0.2f); }
1202 virtual ObjectData genOccludedGeometry (void) const { return Utils::fastQuad(0.8f); }
1230 virtual ObjectData genOccluderGeometry (void) const { return Utils::quadWith(Utils::getDynamicFragDepthFragmentShader(), 0.2f); }
1231 virtual ObjectData genOccludedGeometry (void) const { return Utils::fastQuad(0.8f); }
1259 virtual ObjectData genOccluderGeometry (void) const { return Utils::fastQuad(0.2f); }
1260 virtual ObjectData genOccludedGeometry (void) const { return Utils::quadWith(Utils::getStaticFragDepthFragmentShader(), 0.2f); }
1288 virtual ObjectData genOccluderGeometry (void) const { return Utils::fastQuad(0.2f); }
1289 virtual ObjectData genOccludedGeometry (void) const { return Utils::quadWith(Utils::getDynamicFragDepthFragmentShader(), 0.2f); }
1326 virtual ObjectData genOccluderGeometry (void) const
1328 return ObjectData(Utils::getBaseShader(),
1336 virtual ObjectData genOccludedGeometry (void) const { return Utils::variableQuad(0.8f); }
1364 virtual ObjectData genOccluderGeometry (void) const { return Utils::fastQuad(0.2f); }
1401 virtual ObjectData genOccludedGeometry (void) const
1403 return ObjectData(Utils::getTextureWorkloadShader(), Utils::getFullscreenQuad(0.8f));
1444 virtual ObjectData genOccludedGeometry (void) const
1446 return ObjectData(Utils::getArithmeticWorkloadShader(), Utils::getFullscreenQuad(0.8f));
1462 virtual ObjectData genOccludedGeometry (void) const
1464 return ObjectData(Utils::getArithmeticWorkloadDiscardShader(), Utils::getFullscreenQuad(0.8f));
1494 virtual ObjectData genOccluderGeometry (void) const { return Utils::quadWith(Utils::getGridDiscardShader(m_gridsize), 0.2f); }
1495 virtual ObjectData genOccludedGeometry (void) const { return Utils::slowQuad(0.8f); }
1526 virtual ObjectData genOccluderGeometry (void) const { return ObjectData(Utils::getBaseShader(), Utils::getPartScreenQuad(m_coverage, 0.2f)); }
1527 virtual ObjectData genOccludedGeometry (void) const {return Utils::slowQuad(0.8f); }
1558 virtual ObjectData genOccluderGeometry (void) const { return Utils::quadWith(Utils::getStaticFragDepthFragmentShader(), 0.2f); }
1559 virtual ObjectData genOccludedGeometry (void) const { return Utils::slowQuad(0.8f); }
1588 virtual ObjectData genOccluderGeometry (void) const { return Utils::quadWith(Utils::getDynamicFragDepthFragmentShader(), 0.2f); }
1589 virtual ObjectData genOccludedGeometry (void) const { return Utils::slowQuad(0.8f); }
1618 virtual ObjectData genOccluderGeometry (void) const { return Utils::fastQuad(0.2f); }
1619 virtual ObjectData genOccludedGeometry (void) const { return Utils::quadWith(Utils::getStaticFragDepthArithmeticWorkloadFragmentShader(), 0.2f); }
1648 virtual ObjectData genOccluderGeometry (void) const { return Utils::fastQuad(0.2f); }
1649 virtual ObjectData genOccludedGeometry (void) const { return Utils::quadWith(Utils::getDynamicFragDepthArithmeticWorkloadFragmentShader(), 0.2f); }
1678 virtual ObjectData genOccluderGeometry (void) const { return Utils::fastQuad(0.2f); }
1679 virtual ObjectData genOccludedGeometry (void) const { return Utils::slowQuad(0.8f); }