Lines Matching refs:m_context
113 return specializeShader(source, m_context.getRenderContext().getType());
126 return specializeShader(source, m_context.getRenderContext().getType());
175 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2));
178 (!m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader") ||
179 !m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader")))
182 if (m_context.getRenderTarget().getWidth() < RENDER_SIZE ||
183 m_context.getRenderTarget().getHeight() < RENDER_SIZE)
206 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
219 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_patchBuffer);
228 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
270 const glu::ShaderProgram program (m_context.getRenderContext(), sources);
271 const glu::VertexArray vao (m_context.getRenderContext());
308 glu::readPixels(m_context.getRenderContext(), 0, 0, renderTargets[renderNdx].surfaceAccess);
367 return specializeShader(buf.str(), m_context.getRenderContext().getType());
405 return specializeShader(buf.str(), m_context.getRenderContext().getType());
433 return specializeShader(buf.str(), m_context.getRenderContext().getType());
481 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2));
484 (!m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader") ||
485 !m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader")))
488 if (m_context.getRenderTarget().getWidth() < RENDER_SIZE ||
489 m_context.getRenderTarget().getHeight() < RENDER_SIZE)
510 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
523 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_dataBuffer);
530 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
571 const glu::ShaderProgram program (m_context.getRenderContext(), sources);
572 const glu::VertexArray vao (m_context.getRenderContext());
608 glu::readPixels(m_context.getRenderContext(), 0, 0, renderTargets[renderNdx].surfaceAccess);
616 if (m_context.getRenderTarget().getNumSamples() > 1)
674 return specializeShader(buf.str(), m_context.getRenderContext().getType());
705 return specializeShader(buf.str(), m_context.getRenderContext().getType());
760 return specializeShader(buf.str(), m_context.getRenderContext().getType());
871 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
874 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2));
877 (!m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader") ||
878 !m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader")))
881 if (m_context.getRenderTarget().getWidth() < RENDER_SIZE ||
882 m_context.getRenderTarget().getHeight() < RENDER_SIZE)
921 m_feedbackProgram = new glu::ShaderProgram(m_context.getRenderContext(),
934 m_nonFeedbackProgram = new glu::ShaderProgram(m_context.getRenderContext(),
954 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_patchBuffer);
960 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_feedbackBuffer);
966 m_context.getRenderContext().getFunctions().deleteTransformFeedbacks(1, &m_feedbackID);
1000 if (m_context.getRenderTarget().getNumSamples() > 1)
1028 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1029 const glu::VertexArray vao (m_context.getRenderContext());
1030 const glu::Query primitivesGeneratedQuery (m_context.getRenderContext());
1075 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess());
1125 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1126 const glu::VertexArray vao (m_context.getRenderContext());
1156 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess());
1296 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1407 return specializeShader(s_positionVertexShader, m_context.getRenderContext().getType());
1412 return specializeShader(s_whiteOutputFragmentShader, m_context.getRenderContext().getType());
1461 return specializeShader(buf.str(), m_context.getRenderContext().getType());
1503 return specializeShader(buf.str(), m_context.getRenderContext().getType());
1578 return specializeShader(buf.str(), m_context.getRenderContext().getType());
1752 m_program = new glu::ShaderProgram(m_context.getRenderContext(), sources);
1783 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2));
1799 if (!m_context.getContextInfo().isExtensionSupported(requiredExtensions[ndx].c_str()))
1819 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1831 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1834 const glu::VertexArray vao (m_context.getRenderContext());
1868 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess());
1873 const bool MSAATarget = (m_context.getRenderTarget().getNumSamples() > 1);
2000 return specializeShader(buf.str(), m_context.getRenderContext().getType());
2005 return specializeShader(s_whiteOutputFragmentShader, m_context.getRenderContext().getType());
2033 return specializeShader(buf.str(), m_context.getRenderContext().getType());
2063 return specializeShader(buf.str(), m_context.getRenderContext().getType());
2091 return specializeShader(buf.str(), m_context.getRenderContext().getType());
2169 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2170 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2));
2175 (!m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader") ||
2176 !m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader")))
2181 if (m_context.getRenderTarget().getWidth() < RENDER_SIZE ||
2182 m_context.getRenderTarget().getHeight() < RENDER_SIZE)
2375 m_program = new glu::ShaderProgram(m_context.getRenderContext(), sources);
2389 m_context.getRenderContext().getFunctions().deleteTextures(1, &m_texture);
2433 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2435 const glu::VertexArray vao (m_context.getRenderContext());
2460 glu::Framebuffer clearFbo(m_context.getRenderContext());
2474 fbo = de::MovePtr<glu::Framebuffer>(new glu::Framebuffer(m_context.getRenderContext()));
2503 glu::Framebuffer readFbo(m_context.getRenderContext());
2509 glu::readPixels(m_context.getRenderContext(), 0, 0, dst[layerNdx].getAccess());
2515 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.front().getAccess());
2566 return specializeShader(s_positionVertexShader, m_context.getRenderContext().getType());
2579 return specializeShader(source, m_context.getRenderContext().getType());
2601 return specializeShader(buf.str(), m_context.getRenderContext().getType());
2629 return specializeShader(buf.str(), m_context.getRenderContext().getType());
2800 return specializeShader(buf.str(), m_context.getRenderContext().getType());
2838 const bool supportsES32 = glu::contextSupports(m_context.getRenderContext().getType(), glu::ApiType::es(3, 2));
2841 (!m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader") ||
2842 !m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader")))
2856 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2867 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources()
2888 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_xfbBuf);
2895 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2897 const glu::VertexArray vao (m_context.getRenderContext());
2977 return specializeShader(source, m_context.getRenderContext().getType());
2982 return specializeShader(s_whiteOutputFragmentShader, m_context.getRenderContext().getType());
2999 return specializeShader(source, m_context.getRenderContext().getType());
3014 return specializeShader(source, m_context.getRenderContext().getType());
3035 return specializeShader(source, m_context.getRenderContext().getType());
3074 passthroughGroup->addChild(new IdentityGeometryShaderCase(m_context, "tessellate_tris_passthrough_geometry_no_change", "Passthrough geometry shader has no effect", IdentityGeometryShaderCase::CASE_TRIANGLES));
3075 passthroughGroup->addChild(new IdentityGeometryShaderCase(m_context, "tessellate_quads_passthrough_geometry_no_change", "Passthrough geometry shader has no effect", IdentityGeometryShaderCase::CASE_QUADS));
3076 passthroughGroup->addChild(new IdentityGeometryShaderCase(m_context, "tessellate_isolines_passthrough_geometry_no_change", "Passthrough geometry shader has no effect", IdentityGeometryShaderCase::CASE_ISOLINES));
3080 passthroughGroup->addChild(new IdentityTessellationShaderCase(m_context, "passthrough_tessellation_geometry_shade_triangles_no_change", "Passthrough tessellation shader has no effect", IdentityTessellationShaderCase::CASE_TRIANGLES));
3081 passthroughGroup->addChild(new IdentityTessellationShaderCase(m_context
3127 limitGroup->addChild(new GridRenderCase(m_context, cases[ndx].name, cases[ndx].desc, cases[ndx].flags));
3132 scatterGroup->addChild(new GridRenderCase(m_context,
3136 scatterGroup->addChild(new GridRenderCase(m_context,
3140 scatterGroup->addChild(new GridRenderCase(m_context,
3215 feedbackGroup->addChild(new FeedbackPrimitiveTypeCase(m_context,
3223 feedbackGroup->addChild(new FeedbackRecordVariableSelectionCase(m_context, "record_variable_selection", "Record a variable that has been declared as an output variable in multiple shader stages"));
3247 pointSizeGroup->addChild(new PointSizeCase(m_context, name.c_str(), desc.c_str(), caseFlags[ndx]));