Lines Matching refs:m_context

159 	if (!m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader") ||
160 !m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader"))
163 if (m_context.getRenderTarget().getWidth() < RENDER_SIZE ||
164 m_context.getRenderTarget().getHeight() < RENDER_SIZE)
187 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
200 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_patchBuffer);
209 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
251 const glu::ShaderProgram program (m_context.getRenderContext(), sources);
252 const glu::VertexArray vao (m_context.getRenderContext());
289 glu::readPixels(m_context.getRenderContext(), 0, 0, renderTargets[renderNdx].surfaceAccess);
462 if (!m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader") ||
463 !m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader"))
466 if (m_context.getRenderTarget().getWidth() < RENDER_SIZE ||
467 m_context.getRenderTarget().getHeight() < RENDER_SIZE)
488 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
501 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_dataBuffer);
508 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
549 const glu::ShaderProgram program (m_context.getRenderContext(), sources);
550 const glu::VertexArray vao (m_context.getRenderContext());
586 glu::readPixels(m_context.getRenderContext(), 0, 0, renderTargets[renderNdx].surfaceAccess);
594 if (m_context.getRenderTarget().getNumSamples() > 1)
848 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
852 if (!m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader") ||
853 !m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader"))
856 if (m_context.getRenderTarget().getWidth() < RENDER_SIZE ||
857 m_context.getRenderTarget().getHeight() < RENDER_SIZE)
896 m_feedbackProgram = new glu::ShaderProgram(m_context.getRenderContext(),
909 m_nonFeedbackProgram = new glu::ShaderProgram(m_context.getRenderContext(),
929 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_patchBuffer);
935 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_feedbackBuffer);
941 m_context.getRenderContext().getFunctions().deleteTransformFeedbacks(1, &m_feedbackID);
975 if (m_context.getRenderTarget().getNumSamples() > 1)
1003 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1004 const glu::VertexArray vao (m_context.getRenderContext());
1005 const glu::Query primitivesGeneratedQuery (m_context.getRenderContext());
1050 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess());
1100 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1101 const glu::VertexArray vao (m_context.getRenderContext());
1131 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess());
1271 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1726 m_program = new glu::ShaderProgram(m_context.getRenderContext(), sources);
1772 if (!m_context.getContextInfo().isExtensionSupported(requiredExtensions[ndx].c_str()))
1792 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1804 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1807 const glu::VertexArray vao (m_context.getRenderContext());
1841 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.getAccess());
1846 const bool MSAATarget = (m_context.getRenderTarget().getNumSamples() > 1);
2142 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2146 if (!m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader") ||
2147 !m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader"))
2152 if (m_context.getRenderTarget().getWidth() < RENDER_SIZE ||
2153 m_context.getRenderTarget().getHeight() < RENDER_SIZE)
2346 m_program = new glu::ShaderProgram(m_context.getRenderContext(), sources);
2360 m_context.getRenderContext().getFunctions().deleteTextures(1, &m_texture);
2404 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2406 const glu::VertexArray vao (m_context.getRenderContext());
2431 glu::Framebuffer clearFbo(m_context.getRenderContext());
2445 fbo = de::MovePtr<glu::Framebuffer>(new glu::Framebuffer(m_context.getRenderContext()));
2474 glu::Framebuffer readFbo(m_context.getRenderContext());
2480 glu::readPixels(m_context.getRenderContext(), 0, 0, dst[layerNdx].getAccess());
2486 glu::readPixels(m_context.getRenderContext(), 0, 0, dst.front().getAccess());
2806 if (!m_context.getContextInfo().isExtensionSupported("GL_EXT_tessellation_shader") ||
2807 !m_context.getContextInfo().isExtensionSupported("GL_EXT_geometry_shader"))
2821 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2832 m_program = new glu::ShaderProgram(m_context.getRenderContext(), glu::ProgramSources()
2853 m_context.getRenderContext().getFunctions().deleteBuffers(1, &m_xfbBuf);
2860 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2862 const glu::VertexArray vao (m_context.getRenderContext());
3031 passthroughGroup->addChild(new IdentityGeometryShaderCase(m_context, "tessellate_tris_passthrough_geometry_no_change", "Passthrough geometry shader has no effect", IdentityGeometryShaderCase::CASE_TRIANGLES));
3032 passthroughGroup->addChild(new IdentityGeometryShaderCase(m_context, "tessellate_quads_passthrough_geometry_no_change", "Passthrough geometry shader has no effect", IdentityGeometryShaderCase::CASE_QUADS));
3033 passthroughGroup->addChild(new IdentityGeometryShaderCase(m_context, "tessellate_isolines_passthrough_geometry_no_change", "Passthrough geometry shader has no effect", IdentityGeometryShaderCase::CASE_ISOLINES));
3037 passthroughGroup->addChild(new IdentityTessellationShaderCase(m_context, "passthrough_tessellation_geometry_shade_triangles_no_change", "Passthrough tessellation shader has no effect", IdentityTessellationShaderCase::CASE_TRIANGLES));
3038 passthroughGroup->addChild(new IdentityTessellationShaderCase(m_context, "passthrough_tessellation_geometry_shade_lines_no_change", "Passthrough tessellation shader has no effect", IdentityTessellationShaderCase::CASE_ISOLINES));
3084 limitGroup->addChild(new GridRenderCase(m_context, cases[ndx].name, cases[ndx].desc, cases[ndx].flags));
3089 scatterGroup->addChild(new GridRenderCase(m_context,
3093 scatterGroup->addChild(new GridRenderCase(m_context,
3097 scatterGroup->addChild(new GridRenderCase(m_context,
3172 feedbackGroup->addChild(new FeedbackPrimitiveTypeCase(m_context,
3180 feedbackGroup->addChild(new FeedbackRecordVariableSelectionCase(m_context, "record_variable_selection", "Record a variable that has been declared as an output variable in multiple shader stages"));
3204 pointSizeGroup->addChild(new PointSizeCase(m_context, name.c_str(), desc.c_str(), caseFlags[ndx]));