Lines Matching refs:glu
73 static bool isRequiredFormat (deUint32 format, glu::RenderContext& renderContext)
75 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2));
203 static std::vector<std::string> getEnablingExtensions (deUint32 format, glu::RenderContext& renderContext)
205 const bool isES32 = glu::contextSupports(renderContext.getType(), glu::ApiType::es(3, 2));
272 virtual glu::ProgramSources genShaderSources (void);
284 glu::ShaderProgram* m_program;
289 glu::TransferFormat m_transferFmt;
306 , m_texFmt (glu::mapGLInternalFormat(m_format))
307 , m_transferFmt (glu::getTransferFormat(m_texFmt))
308 , m_isFilterable (glu::isGLInternalColorFormatFilterable(m_format))
322 if (glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::core(4, 5)) && tcu::isSRGB(m_texFmt)) {
327 m_program = new glu::ShaderProgram(m_context.getRenderContext(), genShaderSources());
346 if (glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::core(4, 5))) {
379 glu::ProgramSources FramebufferFetchTestCase::genShaderSources (void)
415 return glu::makeVtxFragSources(genPassThroughVertSource(), fragShaderSource.str());
432 tcu::TextureLevel data (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType), VIEWPORT_WIDTH, VIEWPORT_HEIGHT, 1);
561 glu::Buffer coordinatesBuffer(m_context.getRenderContext());
562 glu::Buffer elementsBuffer(m_context.getRenderContext());
603 tcu::TextureLevel reference (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType), VIEWPORT_WIDTH, VIEWPORT_HEIGHT, 1);
652 glu::readPixels(m_context.getRenderContext(), 0, 0, result.getAccess());
677 glu::ProgramSources genShaderSources (void);
733 tcu::TextureLevel data (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType), VIEWPORT_WIDTH, VIEWPORT_HEIGHT, 1);
757 tcu::TextureLevel reference (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType), VIEWPORT_WIDTH, VIEWPORT_HEIGHT, 1);
763 glu::ProgramSources MultipleRenderTargetsTestCase::genShaderSources (void)
784 return glu::makeVtxFragSources(genPassThroughVertSource(), fragShaderSource.str());
807 glu::readPixels(m_context.getRenderContext(), 0, 0, result.getAccess());
826 glu::ProgramSources genShaderSources (void);
835 glu::ProgramSources LastFragDataTestCase::genShaderSources (void)
858 return glu::makeVtxFragSources(vertShaderSource.str(), fragShaderSource.str());
863 tcu::TextureLevel reference (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType), VIEWPORT_WIDTH, VIEWPORT_HEIGHT, 1);
881 glu::readPixels(m_context.getRenderContext(), 0, 0, result.getAccess());
903 glu::ProgramSources genShaderSources (void);
918 tcu::TextureLevel data (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType), VIEWPORT_WIDTH, VIEWPORT_HEIGHT, 1);
938 glu::ProgramSources TexelFetchTestCase::genShaderSources (void)
953 return glu::makeVtxFragSources(genPassThroughVertSource(), fragShaderSource.str());
958 tcu::TextureLevel reference (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType), VIEWPORT_WIDTH, VIEWPORT_HEIGHT, 1);
977 glu::readPixels(m_context.getRenderContext(), 0, 0, result.getAccess());
1003 glu::ProgramSources genShaderSources (void);
1012 glu::ProgramSources MultipleAssignmentTestCase::genShaderSources (void)
1042 return glu::makeVtxFragSources(vertShaderSource.str(), fragShaderSource.str());
1047 tcu::TextureLevel reference (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType), VIEWPORT_WIDTH, VIEWPORT_HEIGHT, 1);
1076 glu::readPixels(m_context.getRenderContext(), 0, 0, result.getAccess());
1096 glu::ProgramSources genShaderSources (void);
1106 glu::ProgramSources FragmentDiscardTestCase::genShaderSources (void)
1126 return glu::makeVtxFragSources(genPassThroughVertSource(), fragShaderSource.str());
1131 tcu::TextureLevel data (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType), VIEWPORT_WIDTH, VIEWPORT_HEIGHT, 1);
1150 tcu::TextureLevel reference (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType), VIEWPORT_WIDTH, VIEWPORT_HEIGHT, 1);
1168 glu::readPixels(m_context.getRenderContext(), 0, 0, result.getAccess());
1204 tcu::TextureLevel levelData (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType));
1229 tcu::TextureLevel reference (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType), VIEWPORT_WIDTH >> level, VIEWPORT_HEIGHT >> level, 1);
1279 glu::readPixels(m_context.getRenderContext(), 0, 0, result.getAccess());
1310 tcu::TextureLevel layerData (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType));
1331 tcu::TextureLevel reference (glu::mapGLTransferFormat(m_transferFmt.format, m_transferFmt.dataType), VIEWPORT_WIDTH, VIEWPORT_HEIGHT, 1);
1374 glu::readPixels(m_context.getRenderContext(), 0, 0, result.getAccess());