Lines Matching defs:const
66 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
76 void Utils::buffer::bind() const
78 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
92 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
104 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
118 void* Utils::buffer::map(GLenum access) const
120 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
134 void Utils::buffer::unmap() const
136 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
153 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
178 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
195 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
211 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
223 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
238 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
249 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
255 Utils::shaderCompilationException::shaderCompilationException(const glw::GLchar* source, const glw::GLchar* message)
261 const char* Utils::shaderCompilationException::what() const throw()
266 Utils::programLinkageException::programLinkageException(const glw::GLchar* message) : m_error_message(message)
271 const char* Utils::programLinkageException::what() const throw()
276 const glw::GLenum Utils::program::ARB_COMPUTE_SHADER = 0x91B9;
315 void Utils::program::build(const glw::GLchar* compute_shader_code, const glw::GLchar* fragment_shader_code,
316 const glw::GLchar* geometry_shader_code, const glw::GLchar* tesselation_control_shader_code,
317 const glw::GLchar* tesselation_evaluation_shader_code, const glw::GLchar* vertex_shader_code,
318 const glw::GLchar* const* varying_names, glw::GLuint n_varying_names, bool is_separable)
321 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
394 void Utils::program::compile(GLuint shader_id, const GLchar* source) const
397 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
435 glw::GLint Utils::program::getAttribLocation(const glw::GLchar* name) const
438 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
452 GLuint Utils::program::getSubroutineIndex(const glw::GLchar* subroutine_name, glw::GLenum shader_stage) const
454 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
477 GLint Utils::program::getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum shader_stage) const
479 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
502 GLint Utils::program::getUniformLocation(const glw::GLchar* uniform_name) const
504 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
524 void Utils::program::link() const
527 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
603 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
656 void Utils::program::use() const
658 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
664 void Utils::program::printShaderSource(const GLchar* source, tcu::MessageBuilder& log)
675 const GLchar* next_line = strchr(source, '\n');
718 void Utils::texture::bind() const
720 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
742 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
769 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
793 void Utils::texture::get(glw::GLenum format, glw::GLenum type, glw::GLvoid* out_data) const
795 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
796 const glu::ContextType& context_type = m_context.getRenderContext().getType();
842 const GLuint layer_size = m_width * m_height * 4;
877 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
896 static const GLuint level = 0;
898 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
930 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
943 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
954 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
964 APIErrors::APIErrors(deqp::Context& context, const glcts::ExtParameters& extParams)
1035 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1036 const glu::ContextType& context_type = m_context.getRenderContext().getType();
1395 void APIErrors::checkGLError(GLenum expected_error, const GLchar* description, bool& out_result)
1397 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1416 Queries::Queries(deqp::Context& context, const glcts::ExtParameters& extParams)
1463 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1464 const glu::ContextType& context_type = m_context.getRenderContext().getType();
1499 const GLint window_width = m_context.getRenderContext().getRenderTarget().getWidth();
1500 const GLint window_height = m_context.getRenderContext().getRenderTarget().getHeight();
1707 const GLuint ViewportAPI::m_n_elements = 4;
1713 ViewportAPI::ViewportAPI(deqp::Context& context, const glcts::ExtParameters& extParams)
1731 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1814 const GLfloat value = (0 == i % 2) ? 1.0f : 0.25f;
1878 void ViewportAPI::compareViewports(std::vector<GLfloat>& left, std::vector<GLfloat>& right, const GLchar* description,
1901 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
1911 const GLuint ScissorAPI::m_n_elements = 4;
1917 ScissorAPI::ScissorAPI(deqp::Context& context, const glcts::ExtParameters& extParams)
1935 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2018 const GLint value = (0 == i % 2) ? 1 : 4;
2082 void ScissorAPI::compareScissorBoxes(std::vector<GLint>& left, std::vector<GLint>& right, const GLchar* description,
2105 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2115 const GLuint DepthRangeAPI::m_n_elements = 2 /* near + far */;
2121 DepthRangeAPI::DepthRangeAPI(deqp::Context& context, const glcts::ExtParameters& extParams)
2139 const glu::ContextType& context_type = m_context.getRenderContext().getType();
2169 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2228 const T value = (0 == i % 2) ? T(1.0) : T(0.25);
2276 void DepthRangeAPI::compareDepthRanges(std::vector<T>& left, std::vector<T>& right, const GLchar* description,
2310 ScissorTestStateAPI::ScissorTestStateAPI(deqp::Context& context, const glcts::ExtParameters& extParams)
2329 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2465 const GLchar* description, bool& out_result)
2487 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2497 const GLuint DrawTestBase::m_depth = 16;
2498 const GLuint DrawTestBase::m_height = 128;
2499 const GLuint DrawTestBase::m_width = 128;
2500 const GLuint DrawTestBase::m_r32f_height = 2;
2501 const GLuint DrawTestBase::m_r32f_width = 16;
2502 const GLuint DrawTestBase::m_r32ix4_depth = 4;
2510 DrawTestBase::DrawTestBase(deqp::Context& context, const glcts::ExtParameters& extParams, const GLchar* test_name,
2511 const GLchar* test_description)
2528 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
2529 const glu::ContextType& context_type = m_context.getRenderContext().getType();
2535 const TEST_TYPE test_type = getTestType();
2554 const std::string& frag = getFragmentShader();
2555 const std::string& geom = getGeometryShader();
2556 const std::string& vert = getVertexShader();
2558 const GLchar* frag_template = frag.c_str();
2559 const GLchar* geom_template = geom.c_str();
2560 const GLchar* vert_template = vert.c_str();
2836 const GLuint offset = (y * height * m_width) + (x * width);
2840 const GLuint line_offset = offset + line * m_width;
2844 const GLuint texel_offset = line_offset + texel;
2846 const GLint value = data[texel_offset];
2870 static const GLchar* source = "${VERSION}\n"
2965 static const GLuint size = m_width * m_height;
2983 static const GLuint size = m_width * m_height * m_r32ix4_depth;
3003 static const GLuint size = m_width * m_height * m_depth;
3023 static const GLuint size = m_r32f_width * m_r32f_height;
3041 static const GLuint size = m_width * m_height;
3059 const glu::ContextType& context_type = m_context.getRenderContext().getType();
3075 static const T step = 1.0 / 16.0;
3077 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
3085 const T near = step * (T)i;
3126 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
3170 const GLint x = data[i * 4 + 0];
3171 const GLint y = data[i * 4 + 1];
3172 const GLint w = data[i * 4 + 2];
3173 const GLint h = data[i * 4 + 3];
3197 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
3227 const GLfloat x = data[i * 4 + 0];
3228 const GLfloat y = data[i * 4 + 1];
3229 const GLfloat w = data[i * 4 + 2];
3230 const GLfloat h = data[i * 4 + 3];
3254 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
3255 const glu::ContextType& context_type = m_context.getRenderContext().getType();
3310 const glcts::ExtParameters& extParams)
3323 static const GLchar* source = "${VERSION}\n"
3345 static const GLchar* source = "${VERSION}\n"
3385 DynamicViewportIndex::DynamicViewportIndex(deqp::Context& context, const glcts::ExtParameters& extParams)
3398 static const GLchar* source = "${VERSION}\n"
3420 static const GLchar* source = "${VERSION}\n"
3518 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
3531 deqp::Context& context, const glcts::ExtParameters& extParams)
3544 static const GLchar* source = "${VERSION}\n"
3566 static const GLchar* source = "${VERSION}\n"
3615 ViewportIndexSubroutine::ViewportIndexSubroutine(deqp::Context& context, const glcts::ExtParameters& extParams)
3630 const glu::ContextType& context_type = m_context.getRenderContext().getType();
3645 static const GLchar* source = "${VERSION}\n"
3667 static const GLchar* source = "${VERSION}\n"
3784 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
3786 const GLchar* subroutine_name = (0 == draw_call_index) ? "four" : "five";
3807 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
3852 DrawMultipleLayers::DrawMultipleLayers(deqp::Context& context, const glcts::ExtParameters& extParams)
3865 DrawMultipleLayers::DrawMultipleLayers(deqp::Context& context, const glcts::ExtParameters& extParams,
3866 const GLchar* test_name, const GLchar* test_description)
3878 static const GLchar* source = "${VERSION}\n"
3900 static const GLchar* source = "${VERSION}\n"
3951 static const GLuint layer_size = m_width * m_height;
4009 Scissor::Scissor(deqp::Context& context, const glcts::ExtParameters& extParams)
4030 ScissorZeroDimension::ScissorZeroDimension(deqp::Context& context, const glcts::ExtParameters& extParams)
4048 static const GLuint layer_size = m_width * m_height;
4119 ScissorClear::ScissorClear(deqp::Context& context, const glcts::ExtParameters& extParams)
4136 static const GLuint layer_size = m_width * m_height;
4198 DepthRange::DepthRange(deqp::Context& context, const glcts::ExtParameters& extParams)
4214 static const GLfloat step = 1.0f / 16.0f;
4226 const GLfloat near = step * (GLfloat)i;
4234 const GLfloat expected_near = depth_data[i * 2 + 0];
4235 const GLfloat expected_far = depth_data[i * 2 + 1];
4238 const GLfloat near = texture_data[i];
4239 const GLfloat far = texture_data[i + 16];
4261 static const GLchar* source = "${VERSION}\n"
4285 static const GLchar* source = "${VERSION}\n"
4295 " const float top_z = 1.0;\n"
4296 " const float bottom_z = -1.0;\n"
4360 DepthRangeDepthTest::DepthRangeDepthTest(deqp::Context& context, const glcts::ExtParameters& extParams)
4378 static const GLfloat step = 1.0f / 16.0f;
4380 const GLfloat depth_value = step * (GLfloat)draw_call_index;
4391 const GLfloat near = texture_data[i];
4392 const GLfloat far = texture_data[i + 16];
4416 static const GLfloat step = 1.0 / 16.0;
4438 static const GLchar* source = "${VERSION}\n"
4462 static const GLchar* source = "${VERSION}\n"
4472 " const float top_z = 1.0;\n"
4473 " const float bottom_z = -1.0;\n"
4551 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
4575 ProvokingVertex::ProvokingVertex(deqp::Context& context, const glcts::ExtParameters& extParams)
4592 static const GLuint layer_size = m_width * m_height;
4594 const glw::Functions& gl = m_context.getRenderContext().getFunctions();
4595 const glu::ContextType& context_type = m_context.getRenderContext().getType();
4663 const GLint expected_value = ((expected_viewport == viewport) && (expected_layer == layer)) ? 1 : -1;
4688 static const GLchar* source = "${VERSION}\n"
4710 static const GLchar* source = "${VERSION}\n"
4790 ViewportArrayTests::ViewportArrayTests(deqp::Context& context, const glcts::ExtParameters& extParams)