Lines Matching refs:glw

70 		void bindRange(glw::GLuint index, glw::GLintptr offset, glw::GLsizeiptr size);
72 void generate(glw::GLenum target);
73 void* map(glw::GLenum access) const;
76 void update(glw::GLsizeiptr size, glw::GLvoid* data, glw::GLenum usage);
78 glw::GLuint m_id;
82 glw::GLenum m_target;
90 void attachTexture(glw::GLenum attachment, glw::GLuint texture_id, glw::GLuint width, glw::GLuint height);
93 void clear(glw::GLenum mask);
95 void clearColor(glw::GLfloat red, glw::GLfloat green, glw::GLfloat blue, glw::GLfloat alpha);
99 glw::GLuint m_id;
108 shaderCompilationException(const glw::GLchar* source, const glw::GLchar* message);
123 programLinkageException(const glw::GLchar* error_message);
142 void build(const glw::GLchar* compute_shader_code, const glw::GLchar* fragment_shader_code,
143 const glw::GLchar* geometry_shader_code, const glw::GLchar* tesselation_control_shader_code,
144 const glw::GLchar* tesselation_evaluation_shader_code, const glw::GLchar* vertex_shader_code,
145 const glw::GLchar* const* varying_names, glw::GLuint n_varying_names, bool is_separable = false);
147 void compile(glw::GLuint shader_id, const glw::GLchar* source) const;
149 glw::GLint getAttribLocation(const glw::GLchar* name) const;
151 glw::GLuint getSubroutineIndex(const glw::GLchar* subroutine_name, glw::GLenum shader_stage) const;
153 glw::GLint getSubroutineUniformLocation(const glw::GLchar* uniform_name, glw::GLenum shader_stage) const;
155 glw::GLint getUniformLocation(const glw::GLchar* uniform_name) const;
162 static void printShaderSource(const glw::GLchar* source, tcu::MessageBuilder& log);
164 static const glw::GLenum ARB_COMPUTE_SHADER;
166 glw::GLuint m_compute_shader_id;
167 glw::GLuint m_fragment_shader_id;
168 glw::GLuint m_geometry_shader_id;
169 glw::GLuint m_program_object_id;
170 glw::GLuint m_tesselation_control_shader_id;
171 glw::GLuint m_tesselation_evaluation_shader_id;
172 glw::GLuint m_vertex_shader_id;
185 void create(glw::GLuint width, glw::GLuint height, glw::GLenum internal_format);
187 void create(glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum internal_format);
189 void get(glw::GLenum format, glw::GLenum type, glw::GLvoid* out_data) const;
193 void update(glw::GLuint width, glw::GLuint height, glw::GLuint depth, glw::GLenum format, glw::GLenum type,
194 glw::GLvoid* data);
196 glw::GLuint m_id;
197 glw::GLuint m_width;
198 glw::GLuint m_height;
199 glw::GLuint m_depth;
214 glw::GLuint m_id;
226 void depthRangeArray(glw::GLuint first, glw::GLsizei count, const glw::GLfloat* v)
231 void depthRangeArray(glw::GLuint first, glw::GLsizei count, const glw::GLdouble* v)
236 void depthRangeIndexed(glw::GLuint index, glw::GLfloat n, glw::GLfloat f)
241 void depthRangeIndexed(glw::GLuint index, glw::GLdouble n, glw::GLdouble f)
246 void depthRange(glw::GLfloat near, glw::GLfloat far)
251 void depthRange(glw::GLdouble near, glw::GLdouble far)
256 void getDepthi_v(glw::GLenum target, glw::GLuint index, glw::GLfloat* data)
261 void getDepthi_v(glw::GLenum target, glw::GLuint index, glw::GLdouble* data)
266 const glw::Functions& getFunctions()
272 const glw::Functions& m_gl;
320 void depthRangeArrayHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, bool& test_result,
324 void depthRangeIndexedHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, bool& test_result,
328 void getDepthHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, bool& test_result,
331 void checkGLError(glw::GLenum expected_error, const glw::GLchar* description, bool& out_result);
369 void depthRangeInitialValuesHelper(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, bool& test_result,
407 void compareViewports(std::vector<glw::GLfloat>& left, std::vector<glw::GLfloat>& right,
408 const glw::GLchar* description, bool& out_result);
410 void getViewports(glw::GLint max_viewports, std::vector<glw::GLfloat>& out_data);
413 static const glw::GLuint m_n_elements;
450 void compareScissorBoxes(std::vector<glw::GLint>& left, std::vector<glw::GLint>& right,
451 const glw::GLchar* description, bool& out_result);
453 void getScissorBoxes(glw::GLint max_viewports, std::vector<glw::GLint>& out_data);
456 static const glw::GLuint m_n_elements;
491 void compareDepthRanges(std::vector<T>& left, std::vector<T>& right, const glw::GLchar* description,
495 void getDepthRanges(Utils::DepthFuncWrapper& depthFunc, glw::GLint max_viewports, std::vector<T>& out_data);
501 static const glw::GLuint m_n_elements;
537 void compareScissorTestStates(std::vector<glw::GLboolean>& left, std::vector<glw::GLboolean>& right,
538 const glw::GLchar* description, bool& out_result);
540 void getScissorTestStates(glw::GLint max_viewports, std::vector<glw::GLboolean>& out_data);
547 DrawTestBase(deqp::Context& context, const glcts::ExtParameters& extParams, const glw::GLchar* test_name,
548 const glw::GLchar* test_description);
590 virtual bool checkResults(Utils::texture& texture_0, Utils::texture& texture_1, glw::GLuint draw_call_index);
592 virtual void getClearSettings(bool& clear_depth_before_draw, glw::GLuint iteration_index,
593 glw::GLfloat& depth_value);
595 virtual glw::GLuint getDrawCallsNumber();
603 virtual void prepareUniforms(Utils::program& program, glw::GLuint draw_call_index);
608 virtual void setupViewports(TEST_TYPE type, glw::GLuint iteration_index);
611 bool checkRegionR32I(glw::GLuint x, glw::GLuint y, glw::GLint expected_value, glw::GLint* data);
613 bool checkRegionR32I(glw::GLuint x, glw::GLuint y, glw::GLuint width, glw::GLuint height, glw::GLint expected_value,
614 glw::GLint* data);
627 static const glw::GLuint m_depth;
628 static const glw::GLuint m_height;
629 static const glw::GLuint m_width;
630 static const glw::GLuint m_r32f_height;
631 static const glw::GLuint m_r32f_width;
632 static const glw::GLuint m_r32ix4_depth;
721 virtual bool checkResults(Utils::texture& texture_0, Utils::texture& texture_1, glw::GLuint draw_call_index);
725 virtual glw::GLuint getDrawCallsNumber();
727 virtual void prepareUniforms(Utils::program& program, glw::GLuint draw_call_index);
788 virtual bool checkResults(Utils::texture& texture_0, Utils::texture& texture_1, glw::GLuint draw_call_index);
792 virtual glw::GLuint getDrawCallsNumber();
794 virtual void prepareUniforms(Utils::program& program, glw::GLuint draw_call_index);
796 virtual void setupViewports(TEST_TYPE type, glw::GLuint iteration_index);
814 DrawMultipleLayers(deqp::Context& context, const glcts::ExtParameters& extParams, const glw::GLchar* test_name,
815 const glw::GLchar* test_description);
823 virtual bool checkResults(Utils::texture& texture_0, Utils::texture& texture_1, glw::GLuint draw_call_index);
886 virtual bool checkResults(Utils::texture& texture_0, Utils::texture& texture_1, glw::GLuint draw_call_index);
890 virtual void setupViewports(TEST_TYPE type, glw::GLuint iteration_index);
919 virtual bool checkResults(Utils::texture& texture_0, Utils::texture& texture_1, glw::GLuint draw_call_index);
971 virtual bool checkResults(Utils::texture& texture_0, Utils::texture& texture_1, glw::GLuint draw_call_index);
1007 virtual bool checkResults(Utils::texture& texture_0, Utils::texture& texture_1, glw::GLuint draw_call_index);
1009 virtual void getClearSettings(bool& clear_depth_before_draw, glw::GLuint iteration_index,
1010 glw::GLfloat& depth_value);
1012 virtual glw::GLuint getDrawCallsNumber();
1022 virtual void setupViewports(TEST_TYPE type, glw::GLuint iteration_index);
1064 virtual bool checkResults(Utils::texture& texture_0, Utils::texture& texture_1, glw::GLuint draw_call_index);