Lines Matching refs:glw
138 typedef void(GLW_APIENTRY* GetTransformFeedbackiv_ProcAddress)(glw::GLuint xfb, glw::GLenum pname,
139 glw::GLint* param);
140 typedef void(GLW_APIENTRY* GetTransformFeedbacki_v_ProcAddress)(glw::GLuint xfb, glw::GLenum pname,
141 glw::GLuint index, glw::GLint* param);
142 …typedef void(GLW_APIENTRY* GetTransformFeedbacki64_v_ProcAddress)(glw::GLuint xfb, glw::GLenum pna…
143 glw::GLuint index, glw::GLint64* param);
150 glw::GLuint m_xfb_dsa;
151 glw::GLint m_xfb_indexed_binding_points_count;
207 typedef void(GLW_APIENTRY* GetTransformFeedbacki_v_ProcAddress)(glw::GLuint xfb, glw::GLenum pname,
208 glw::GLuint index, glw::GLint* param);
209 …typedef void(GLW_APIENTRY* GetTransformFeedbacki64_v_ProcAddress)(glw::GLuint xfb, glw::GLenum pna…
210 glw::GLuint index, glw::GLint64* param);
211 …typedef void(GLW_APIENTRY* TransformFeedbackBufferBase_ProcAddress)(glw::GLuint xfb, glw::GLuint i…
212 glw::GLuint buffer);
213 …typedef void(GLW_APIENTRY* TransformFeedbackBufferRange_ProcAddress)(glw::GLuint xfb, glw::GLuint …
214 glw::GLuint buffer, glw::GLintptr offset,
215 glw::GLsizeiptr size);
223 glw::GLuint m_xfb_dsa;
224 glw::GLuint m_bo_a;
225 glw::GLuint m_bo_b;
228 static const glw::GLuint s_bo_size;
233 bool testBindingPoint(glw::GLuint const index, glw::GLint const expected_value,
234 glw::GLchar const* const tested_function_name);
235 bool testStart(glw::GLuint const index, glw::GLint const expected_value,
236 glw::GLchar const* const tested_function_name);
237 bool testSize(glw::GLuint const index, glw::GLint const expected_value,
238 glw::GLchar const* const tested_function_name);
285 typedef void(GLW_APIENTRY* GetTransformFeedbackiv_ProcAddress)(glw::GLuint xfb, glw::GLenum pname,
286 glw::GLint* param);
287 typedef void(GLW_APIENTRY* GetTransformFeedbacki_v_ProcAddress)(glw::GLuint xfb, glw::GLenum pname,
288 glw::GLuint index, glw::GLint* param);
289 …typedef void(GLW_APIENTRY* GetTransformFeedbacki64_v_ProcAddress)(glw::GLuint xfb, glw::GLenum pna…
290 glw::GLuint index, glw::GLint64* param);
367 typedef void(GLW_APIENTRY* GetTransformFeedbackiv_ProcAddress)(glw::GLuint xfb, glw::GLenum pname,
368 glw::GLint* param);
369 …typedef void(GLW_APIENTRY* TransformFeedbackBufferBase_ProcAddress)(glw::GLuint xfb, glw::GLuint i…
370 glw::GLuint buffer);
376 glw::GLuint m_xfb_dsa;
377 glw::GLuint m_bo;
378 glw::GLuint m_po;
379 glw::GLuint m_vao;
389 bool testTransformFeedbackStatus(glw::GLenum parameter_name, glw::GLint expected_value);
395 static const glw::GLuint s_bo_size;
396 static const glw::GLchar s_vertex_shader[];
397 static const glw::GLchar s_fragment_shader[];
398 static const glw::GLchar* const s_xfb_varying;
491 glw::GLuint m_sampler_dsa;
495 bool testSamplerIntegerParameter(glw::GLenum pname, glw::GLint expected_value);
496 bool testSamplerFloatParameter(glw::GLenum pname, glw::GLfloat expected_value);
497 bool testSamplerFloatVectorParameter(glw::GLenum pname, glw::GLfloat expected_value[4]);
583 glw::GLuint m_fbo;
584 glw::GLuint m_rbo;
585 glw::GLuint m_vao;
586 glw::GLuint m_to;
587 glw::GLuint m_so;
588 glw::GLuint m_po;
591 static const glw::GLchar s_vertex_shader[];
592 static const glw::GLchar s_fragment_shader[];
593 static const glw::GLchar s_uniform_sampler[];
594 static const glw::GLubyte s_texture_data[];
686 glw::GLuint m_program_pipeline_dsa;
690 bool testProgramPipelineParameter(glw::GLenum pname, glw::GLint expected_value);
691 bool testProgramPipelineInfoLog(glw::GLchar* expected_value);
771 glw::GLuint m_fbo;
772 glw::GLuint m_rbo;
773 glw::GLuint m_vao;
774 glw::GLuint m_spo_v;
775 glw::GLuint m_spo_f;
776 glw::GLuint m_ppo;
779 static const glw::GLchar* s_vertex_shader;
780 static const glw::GLchar* s_fragment_shader;
868 glw::GLuint m_query_dsa;
871 void prepare(const glw::GLenum target);
872 …bool testQueryParameter(const glw::GLenum pname, const glw::GLuint expected_value, const glw::GLch…
945 bool isTarget(glw::GLenum maybe_target);
946 bool isParameterName(glw::GLenum maybe_pname);
949 …typedef void(GLW_APIENTRY* PFNGLGETQUERYBUFFEROBJECT)(glw::GLuint id, glw::GLuint buffer, glw::GLe…
950 glw::GLintptr offset);
958 static const glw::GLenum s_targets[];
959 static const glw::GLchar* s_target_names[];
960 static const glw::GLuint s_targets_count;
1037 …typedef void(GLW_APIENTRY* PFNGLGETQUERYBUFFEROBJECT)(glw::GLuint id, glw::GLuint buffer, glw::GLe…
1038 glw::GLintptr offset);
1053 …void GetQueryBufferObject(glw::GLuint id, glw::GLuint buffer, glw::GLenum pname, glw::GLintptr off…
1056 …bool checkQueryBufferObject(glw::GLuint query, glw::GLenum pname, T expected_value, bool (*compari…
1070 glw::GLuint m_fbo;
1071 glw::GLuint m_rbo;
1072 glw::GLuint m_vao;
1073 glw::GLuint m_bo_query;
1074 glw::GLuint m_bo_xfb;
1075 glw::GLuint* m_qo;
1076 glw::GLuint m_po;
1079 static const glw::GLenum s_targets[];
1080 static const glw::GLuint s_targets_count;
1082 static const glw::GLint s_results[];
1084 static const glw::GLchar s_vertex_shader[];
1085 static const glw::GLchar s_fragment_shader[];
1086 static const glw::GLchar* s_xfb_varying_name;
1207 …typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const g…
1208 glw::GLenum usage);
1209 …typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLintptr offset, glw:…
1210 const glw::GLvoid* data);
1211 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSTORAGE)(glw::GLuint buffer, glw::GLsizeiptr size,
1212 const glw::GLvoid* data, glw::GLbitfield flags);
1213 …typedef void(GLW_APIENTRY* PFNGLCOPYNAMEDBUFFERSUBDATA)(glw::GLuint readBuffer, glw::GLuint writeB…
1214 glw::GLintptr readOffset, glw::GLintptr writeOffset,
1215 glw::GLsizeiptr size);
1222 …bool TestCase(void (DataTest::*UploadDataFunction)(glw::GLuint, glw::GLenum), glw::GLenum paramete…
1224 void UploadUsingNamedBufferData(glw::GLuint id, glw::GLenum parameter);
1225 void UploadUsingNamedBufferSubData(glw::GLuint id, glw::GLenum parameter);
1226 void UploadUsingNamedBufferStorage(glw::GLuint id, glw::GLenum parameter);
1227 void UploadUsingCopyNamedBufferSubData(glw::GLuint id, glw::GLenum parameter);
1229 bool compare(const glw::GLuint* data, const glw::GLuint* reference, const glw::GLsizei count);
1230 void LogFail(void (DataTest::*UploadDataFunction)(glw::GLuint, glw::GLenum), glw::GLenum parameter,
1231 const glw::GLuint* data, const glw::GLuint* reference, const glw::GLsizei count);
1232 …void LogError(void (DataTest::*UploadDataFunction)(glw::GLuint, glw::GLenum), glw::GLenum paramete…
1234 static const glw::GLuint s_reference[];
1235 static const glw::GLsizei s_reference_size;
1236 static const glw::GLsizei s_reference_count;
1313 …typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const g…
1314 glw::GLenum usage);
1315 …typedef void(GLW_APIENTRY* PFNGLCLEARNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLenum internalform…
1316 glw::GLenum format, glw::GLenum type,
1317 const glw::GLvoid* data);
1318 …typedef void(GLW_APIENTRY* PFNGLCLEARNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLenum internalf…
1319 glw::GLintptr offset, glw::GLsizeiptr size,
1320 glw::GLenum format, glw::GLenum type,
1321 const glw::GLvoid* data);
1328 …bool TestClearNamedBufferData(glw::GLenum internalformat, glw::GLsizei count, glw::GLenum format, …
1332 …void ClearNamedBuffer(glw::GLuint buffer, glw::GLenum internalformat, glw::GLsizei size, glw::GLen…
1333 glw::GLenum type, glw::GLvoid* data);
1336 bool Compare(const T* data, const T* reference, const glw::GLsizei count);
1339 void LogFail(bool use_sub_data, glw::GLenum internalformat, const T* data, const T* reference,
1340 const glw::GLsizei count);
1342 void LogError(bool use_sub_data, glw::GLenum internalformat);
1380 …typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const g…
1381 glw::GLenum usage);
1382 typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFER)(glw::GLuint buffer, glw::GLenum access);
1383 typedef glw::GLboolean(GLW_APIENTRY* PFNGLUNMAPNAMEDBUFFER)(glw::GLuint buffer);
1389 static const glw::GLuint s_reference[]; //<! Reference data.
1390 static const glw::GLsizei s_reference_size; //<! Reference data size.
1391 static const glw::GLsizei s_reference_count; //<! Reference data count (number of GLuint elements).
1436 …typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const g…
1437 glw::GLenum usage);
1438 typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFER)(glw::GLuint buffer, glw::GLenum access);
1439 typedef glw::GLboolean(GLW_APIENTRY* PFNGLUNMAPNAMEDBUFFER)(glw::GLuint buffer);
1445 static const glw::GLuint s_reference[]; //<! Reference data.
1446 static const glw::GLsizei s_reference_size; //<! Reference data size.
1447 static const glw::GLsizei s_reference_count; //<! Reference data count (number of GLuint elements).
1491 …typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const g…
1492 glw::GLenum usage);
1493 typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFER)(glw::GLuint buffer, glw::GLenum access);
1494 typedef glw::GLboolean(GLW_APIENTRY* PFNGLUNMAPNAMEDBUFFER)(glw::GLuint buffer);
1500 static const glw::GLuint s_reference[]; //<! Reference data.
1501 static const glw::GLsizei s_reference_size; //<! Reference data size.
1502 static const glw::GLsizei s_reference_count; //<! Reference data count (number of GLuint elements).
1552 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSTORAGE)(glw::GLuint buffer, glw::GLsizeiptr size,
1553 const glw::GLvoid* data, glw::GLbitfield flags);
1554 …typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFERRANGE)(glw::GLuint buffer, glw::GLintptr offset, gl…
1555 glw::GLbitfield access);
1556 typedef glw::GLboolean(GLW_APIENTRY* PFNGLUNMAPNAMEDBUFFER)(glw::GLuint buffer);
1562 bool CompareWithReference(glw::GLuint* data, glw::GLintptr offset, glw::GLsizei length);
1564 static const glw::GLuint s_reference[]; //<! Reference data.
1565 static const glw::GLsizei s_reference_size; //<! Reference data size.
1566 static const glw::GLsizei s_reference_count; //<! Reference data count (number of GLuint elements).
1631 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSTORAGE)(glw::GLuint buffer, glw::GLsizeiptr size,
1632 const glw::GLvoid* data, glw::GLbitfield flags);
1633 …typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFERRANGE)(glw::GLuint buffer, glw::GLintptr offset, gl…
1634 glw::GLbitfield access);
1635 typedef glw::GLboolean(GLW_APIENTRY* PFNGLUNMAPNAMEDBUFFER)(glw::GLuint buffer);
1636 …typedef void(GLW_APIENTRY* PFNGLFLUSHMAPPEDNAMEDBUFFERRANGE)(glw::GLuint buffer, glw::GLintptr off…
1637 glw::GLsizeiptr length);
1644 bool CompareWithReference(glw::GLuint buffer, glw::GLbitfield access_flag);
1646 static const glw::GLuint s_reference[]; //<! Reference data.
1647 static const glw::GLsizei s_reference_size; //<! Reference data size.
1648 static const glw::GLsizei s_reference_count; //<! Reference data count (number of GLuint elements).
1684 …typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const g…
1685 glw::GLenum usage);
1686 …ypedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLintptr offset, gl…
1687 glw::GLvoid* data);
1692 static const glw::GLuint s_reference[]; //<! Reference data.
1693 static const glw::GLsizei s_reference_size; //<! Reference data size.
1694 static const glw::GLsizei s_reference_count; //<! Reference data count (number of GLuint elements).
1734 bool CheckParameterError(const glw::GLchar* pname_string, const glw::GLchar* function_string);
1737 bool CheckValue(const T value, const T reference_value, const glw::GLchar* pname_string,
1738 const glw::GLchar* function_string);
1741 …typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const g…
1742 glw::GLenum usage);
1743 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPARAMETERI64V)(glw::GLuint buffer, glw::GLenum pname,
1744 glw::GLint64* data);
1745 …def void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPARAMETERIV)(glw::GLuint buffer, glw::GLenum pname, glw:…
1746 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPOINTERV)(glw::GLuint buffer, glw::GLenum pname,
1747 glw::GLvoid** params);
1976 …typedef void(GLW_APIENTRY* PFNGLCLEARNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLenum internalform…
1977 glw::GLenum format, glw::GLenum type,
1978 const glw::GLvoid* data);
1979 …typedef void(GLW_APIENTRY* PFNGLCLEARNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLenum internalf…
1980 glw::GLintptr offset, glw::GLsizeiptr size,
1981 glw::GLenum format, glw::GLenum type,
1982 const glw::GLvoid* data);
1983 …typedef void(GLW_APIENTRY* PFNGLCOPYNAMEDBUFFERSUBDATA)(glw::GLuint readBuffer, glw::GLuint writeB…
1984 glw::GLintptr readOffset, glw::GLintptr writeOffset,
1985 glw::GLsizeiptr size);
1986 …typedef void(GLW_APIENTRY* PFNGLFLUSHMAPPEDNAMEDBUFFERRANGE)(glw::GLuint buffer, glw::GLintptr off…
1987 glw::GLsizeiptr length);
1988 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPARAMETERI64V)(glw::GLuint buffer, glw::GLenum pname,
1989 glw::GLint64* data);
1990 …def void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPARAMETERIV)(glw::GLuint buffer, glw::GLenum pname, glw:…
1991 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPOINTERV)(glw::GLuint buffer, glw::GLenum pname,
1992 glw::GLvoid** params);
1993 …ypedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLintptr offset, gl…
1994 glw::GLvoid* data);
1995 typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFER)(glw::GLuint buffer, glw::GLenum access);
1996 …typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFERRANGE)(glw::GLuint buffer, glw::GLintptr offset, gl…
1997 glw::GLbitfield access);
1998 …typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const g…
1999 glw::GLenum usage);
2000 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSTORAGE)(glw::GLuint buffer, glw::GLsizeiptr size,
2001 const glw::GLvoid* data, glw::GLbitfield flags);
2002 …typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLintptr offset, glw:…
2003 const glw::GLvoid* data);
2004 typedef glw::GLboolean(GLW_APIENTRY* PFNGLUNMAPNAMEDBUFFER)(glw::GLuint buffer);
2037 bool ErrorCheckAndLog(const glw::GLchar* function_name, const glw::GLenum expected_error,
2038 const glw::GLchar* when_shall_be_generated);
2126 …typedef void(GLW_APIENTRY* PFNGLCLEARNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLenum internalform…
2127 glw::GLenum format, glw::GLenum type,
2128 const glw::GLvoid* data);
2129 …typedef void(GLW_APIENTRY* PFNGLCLEARNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLenum internalf…
2130 glw::GLintptr offset, glw::GLsizeiptr size,
2131 glw::GLenum format, glw::GLenum type,
2132 const glw::GLvoid* data);
2133 …typedef void(GLW_APIENTRY* PFNGLCOPYNAMEDBUFFERSUBDATA)(glw::GLuint readBuffer, glw::GLuint writeB…
2134 glw::GLintptr readOffset, glw::GLintptr writeOffset,
2135 glw::GLsizeiptr size);
2136 …typedef void(GLW_APIENTRY* PFNGLFLUSHMAPPEDNAMEDBUFFERRANGE)(glw::GLuint buffer, glw::GLintptr off…
2137 glw::GLsizeiptr length);
2138 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPARAMETERI64V)(glw::GLuint buffer, glw::GLenum pname,
2139 glw::GLint64* data);
2140 …def void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPARAMETERIV)(glw::GLuint buffer, glw::GLenum pname, glw:…
2141 typedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERPOINTERV)(glw::GLuint buffer, glw::GLenum pname,
2142 glw::GLvoid** params);
2143 …ypedef void(GLW_APIENTRY* PFNGLGETNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLintptr offset, gl…
2144 glw::GLvoid* data);
2145 typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFER)(glw::GLuint buffer, glw::GLenum access);
2146 …typedef void*(GLW_APIENTRY* PFNGLMAPNAMEDBUFFERRANGE)(glw::GLuint buffer, glw::GLintptr offset, gl…
2147 glw::GLbitfield access);
2148 …typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERDATA)(glw::GLuint buffer, glw::GLsizeiptr size, const g…
2149 glw::GLenum usage);
2150 typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSTORAGE)(glw::GLuint buffer, glw::GLsizeiptr size,
2151 const glw::GLvoid* data, glw::GLbitfield flags);
2152 …typedef void(GLW_APIENTRY* PFNGLNAMEDBUFFERSUBDATA)(glw::GLuint buffer, glw::GLintptr offset, glw:…
2153 const glw::GLvoid* data);
2154 typedef glw::GLboolean(GLW_APIENTRY* PFNGLUNMAPNAMEDBUFFER)(glw::GLuint buffer);
2172 glw::GLuint m_po;
2173 glw::GLuint m_vao;
2174 glw::GLuint m_bo_in;
2175 glw::GLuint m_bo_out;
2176 glw::GLint m_attrib_location;
2179 static const glw::GLchar s_vertex_shader[];
2180 static const glw::GLchar s_fragment_shader[];
2181 static const glw::GLchar s_vertex_shader_input_name[];
2182 static const glw::GLchar* s_vertex_shader_output_name;
2184 static const glw::GLint s_initial_data_a[];
2185 static const glw::GLint s_initial_data_b[];
2186 static const glw::GLint s_expected_data[];
2266 bool Test(glw::GLenum attachment, glw::GLenum internalformat);
2270 glw::GLuint m_fbo;
2271 glw::GLuint m_rbo;
2324 …bool Test(glw::GLenum attachment, bool is_color_attachment, glw::GLenum texture_target, glw::GLenu…
2325 glw::GLuint levels);
2326 bool SubTestAttachmentError(glw::GLenum attachment, glw::GLenum texture_target, glw::GLuint level,
2327 glw::GLuint levels);
2328 …bool SubTestStatus(glw::GLenum attachment, glw::GLenum texture_target, glw::GLuint level, glw::GLu…
2329 bool SubTestContent(glw::GLenum attachment, glw::GLenum texture_target, glw::GLenum internalformat,
2330 glw::GLuint level, glw::GLuint levels);
2331 glw::GLuint MaxTextureLevels(glw::GLenum texture_target);
2336 glw::GLuint m_fbo;
2337 glw::GLuint m_to;
2340 static const glw::GLenum s_targets[];
2341 static const glw::GLuint s_targets_count;
2343 static const glw::GLfloat s_reference_color[4];
2344 static const glw::GLint s_reference_color_integer[4];
2345 static const glw::GLfloat s_reference_depth;
2346 static const glw::GLint s_reference_stencil;
2402 …bool Test(glw::GLenum attachment, bool is_color_attachment, glw::GLenum texture_target, glw::GLenu…
2403 glw::GLuint levels, glw::GLint layers);
2404 …bool SubTestAttachmentError(glw::GLenum attachment, glw::GLenum texture_target, glw::GLuint level,…
2405 glw::GLuint levels, glw::GLint layers);
2406 …bool SubTestStatus(glw::GLenum attachment, glw::GLenum texture_target, glw::GLuint level, glw::GLi…
2407 glw::GLuint levels, glw::GLint layers);
2408 bool SubTestContent(glw::GLenum attachment, glw::GLenum texture_target, glw::GLenum internalformat,
2409 glw::GLuint level, glw::GLint layer, glw::GLuint levels, glw::GLint layers);
2411 glw::GLuint MaxTextureLevels(glw::GLenum texture_target);
2412 glw::GLuint MaxTextureLayers(glw::GLenum texture_target);
2416 glw::GLuint m_fbo;
2417 glw::GLuint m_to;
2420 static const glw::GLenum s_targets[];
2421 static const glw::GLuint s_targets_count;
2423 static const glw::GLfloat s_reference_color[4];
2424 static const glw::GLint s_reference_color_integer[4];
2425 static const glw::GLfloat s_reference_depth;
2426 static const glw::GLint s_reference_stencil;
2489 static const glw::GLfloat s_rgba[4];
2527 bool CheckErrorAndLog(const glw::GLenum attachment);
2528 bool CheckErrorAndLog(const glw::GLenum attachments[], const glw::GLuint count);
2566 bool CheckErrorAndLog(const glw::GLenum attachment);
2567 bool CheckErrorAndLog(const glw::GLenum attachments[], const glw::GLuint count);
2613 void PrepareFramebuffer(glw::GLenum buffer, glw::GLenum internalformat);
2616 bool TestClearColor(glw::GLenum buffer, glw::GLenum attachment, T value);
2619 bool ClearColor(glw::GLenum buffer, glw::GLint drawbuffer, T value);
2621 bool TestClearDepthAndStencil(glw::GLfloat depth, glw::GLint stencil);
2624 glw::GLenum Format();
2627 glw::GLenum Type();
2635 glw::GLuint m_fbo;
2636 glw::GLuint* m_renderbuffers;
2637 glw::GLuint m_renderbuffers_count;
2708 void ClearFramebuffer(glw::GLfloat red, glw::GLfloat green, glw::GLfloat blue, glw::GLfloat depth,
2709 glw::GLint stencil);
2717 glw::GLuint m_fbo_src;
2718 glw::GLuint m_rbo_color_src;
2719 glw::GLuint m_rbo_depth_stencil_src;
2720 glw::GLuint m_fbo_dst;
2721 glw::GLuint m_rbo_color_dst;
2722 glw::GLuint m_rbo_depth_stencil_dst;
2893 glw::GLuint m_fbo;
2894 glw::GLuint m_rbo;
3017 glw::GLuint m_fbo;
3018 glw::GLuint m_rbo[2];
3019 glw::GLuint m_to[2];
3079 …bool ExpectError(glw::GLenum expected_error, bool framebuffer, bool attachment, bool color_attachm…
3084 glw::GLuint m_fbo_valid;
3085 glw::GLuint m_rbo_valid;
3086 glw::GLuint m_fbo_invalid;
3087 glw::GLuint m_rbo_invalid;
3088 glw::GLenum m_color_attachment_invalid;
3089 glw::GLenum m_attachment_invalid;
3090 glw::GLenum m_renderbuffer_target_invalid;
3150 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function_name, bool framebuffer, b…
3151 bool color_attachment, bool texture, bool level, const glw::GLchar* texture_type, bool layer);
3155 glw::GLuint m_fbo_valid;
3156 glw::GLuint m_to_valid;
3157 glw::GLuint m_to_3d_valid;
3158 glw::GLuint m_to_array_valid;
3159 glw::GLuint m_to_cubearray_valid;
3160 glw::GLuint m_tbo_valid;
3161 glw::GLuint m_fbo_invalid;
3162 glw::GLuint m_to_invalid;
3163 …glw::GLuint m_to_layer_invalid; /* it is valid rectangle texture, but invalid for NamedFramebuffer…
3164 glw::GLenum m_color_attachment_invalid;
3165 glw::GLenum m_attachment_invalid;
3166 glw::GLint m_level_invalid;
3167 glw::GLint m_max_3d_texture_size;
3168 glw::GLint m_max_3d_texture_depth;
3169 glw::GLint m_max_array_texture_layers;
3170 glw::GLint m_max_cube_map_texture_size;
3254 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3258 glw::GLuint m_fbo_valid;
3259 glw::GLuint m_fbo_invalid;
3260 glw::GLenum m_attachment_color;
3261 glw::GLenum m_attachment_back_left;
3262 glw::GLenum m_attachment_right;
3263 glw::GLenum m_attachment_left;
3264 glw::GLenum m_attachment_front;
3265 glw::GLenum m_attachment_front_and_back;
3266 glw::GLenum m_attachment_back;
3267 glw::GLenum m_attachment_invalid;
3268 glw::GLenum m_attachments_invalid[2];
3269 glw::GLenum m_attachments_back_invalid[2];
3270 glw::GLint m_attachments_too_many_count;
3271 glw::GLenum* m_attachments_too_many;
3272 glw::GLint m_max_color_attachments;
3343 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3347 glw::GLuint m_fbo_valid;
3348 glw::GLuint m_rbo;
3349 glw::GLuint m_fbo_invalid;
3350 glw::GLenum m_fbo_attachment_valid;
3351 glw::GLenum m_fbo_attachment_invalid;
3352 glw::GLenum m_color_attachment_invalid;
3353 glw::GLenum m_default_attachment_invalid;
3394 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3398 glw::GLuint m_fbo_valid;
3399 glw::GLuint m_rbo_color;
3400 glw::GLuint m_rbo_depth_stencil;
3401 glw::GLuint m_fbo_invalid;
3428 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3432 glw::GLuint m_fbo_valid;
3433 glw::GLuint m_fbo_invalid;
3434 glw::GLuint m_target_invalid;
3466 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3470 glw::GLuint m_fbo_valid;
3471 glw::GLuint m_fbo_invalid;
3472 glw::GLuint m_parameter_invalid;
3527 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3531 glw::GLuint m_fbo_valid;
3532 glw::GLuint m_rbo_color;
3533 glw::GLuint m_rbo_depth_stencil;
3534 glw::GLuint m_fbo_invalid;
3535 glw::GLuint m_parameter_invalid;
3536 glw::GLenum m_attachment_invalid;
3537 glw::GLenum m_default_attachment_invalid;
3538 glw::GLint m_max_color_attachments;
3605 glw::GLuint m_fbo_1st;
3606 glw::GLuint m_fbo_2nd;
3607 glw::GLuint m_rbo_color;
3608 glw::GLuint m_rbo_depth_stencil;
3609 glw::GLuint m_to_color;
3610 glw::GLuint m_po;
3611 glw::GLuint m_vao_stencil_pass_quad;
3612 glw::GLuint m_vao_depth_pass_quad;
3613 glw::GLuint m_vao_color_pass_quad;
3614 glw::GLuint m_bo_stencil_pass_quad;
3615 glw::GLuint m_bo_depth_pass_quad;
3616 glw::GLuint m_bo_color_pass_quad;
3619 static const glw::GLchar s_vertex_shader[];
3620 static const glw::GLchar s_fragment_shader[];
3621 static const glw::GLchar s_attribute[];
3622 static const glw::GLfloat s_stencil_pass_quad[];
3623 static const glw::GLfloat s_depth_pass_quad[];
3624 static const glw::GLfloat s_color_pass_quad[];
3625 static const glw::GLuint s_stencil_pass_quad_size;
3626 static const glw::GLuint s_depth_pass_quad_size;
3627 static const glw::GLuint s_color_pass_quad_size;
3704 glw::GLenum internalformat;
3705 const glw::GLchar* internalformat_name;
3715 static const glw::GLuint s_renderbuffer_internalformat_configuration_count;
3717 static const glw::GLfloat s_reference_color[4];
3718 static const glw::GLint s_reference_color_integer[4];
3719 static const glw::GLfloat s_reference_depth;
3720 static const glw::GLint s_reference_stencil;
3726 …bool PrepareRenderbuffer(StorageTest::RenderbufferInternalFormatConfiguration format, glw::GLuint …
3727 glw::GLuint height);
3729 …bool Check(StorageTest::RenderbufferInternalFormatConfiguration format, glw::GLuint width, glw::GL…
3733 glw::GLuint m_fbo;
3734 glw::GLuint m_rbo;
3786 glw::GLenum internalformat;
3787 const glw::GLchar* internalformat_name;
3797 static const glw::GLuint s_renderbuffer_internalformat_configuration_count;
3799 static const glw::GLfloat s_reference_color[4];
3800 static const glw::GLint s_reference_color_integer[4];
3801 static const glw::GLfloat s_reference_depth;
3802 static const glw::GLint s_reference_stencil;
3808 …erbuffer(StorageMultisampleTest::RenderbufferInternalFormatConfiguration format, glw::GLuint width,
3809 glw::GLuint height, glw::GLsizei samples);
3810 void Bind(glw::GLenum target, glw::GLuint selector);
3811 void Blit(glw::GLuint width, glw::GLuint height);
3813 …bool Check(StorageMultisampleTest::RenderbufferInternalFormatConfiguration format, glw::GLuint wid…
3814 glw::GLuint height);
3816 glw::GLint GetMaxConformantSampleCount(glw::GLenum target, glw::GLenum internalFormat);
3819 glw::GLuint m_fbo[2];
3820 glw::GLuint m_rbo[2];
3865 glw::GLuint m_fbo;
3866 glw::GLuint m_rbo;
3913 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3917 glw::GLuint m_rbo_valid;
3918 glw::GLuint m_rbo_invalid;
3919 glw::GLenum m_internalformat_invalid;
3960 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
3964 glw::GLuint m_rbo_valid;
3965 glw::GLuint m_rbo_invalid;
3966 glw::GLenum m_internalformat_invalid;
3967 glw::GLint m_max_samples;
3968 glw::GLint m_max_integer_samples;
3996 …bool ExpectError(glw::GLenum expected_error, const glw::GLchar* function, const glw::GLchar* condi…
4000 glw::GLuint m_rbo_valid;
4001 glw::GLuint m_rbo_invalid;
4002 glw::GLenum m_parameter_invalid;
4089 glw::GLuint PrepareProgram(const bool bind_even_or_odd);
4090 glw::GLuint BuildProgram(const char* vertex_shader, const bool bind_even_or_odd);
4098 glw::GLuint m_po_even;
4099 glw::GLuint m_po_odd;
4100 glw::GLuint m_vao;
4101 glw::GLuint m_bo;
4102 glw::GLuint m_bo_xfb;
4103 glw::GLint m_max_attributes;
4106 static const glw::GLchar s_vertex_shader_template[];
4107 static const glw::GLchar s_fragment_shader[];
4153 glw::GLuint m_po;
4154 glw::GLuint m_vao;
4155 glw::GLuint m_bo_array;
4156 glw::GLuint m_bo_elements;
4157 glw::GLuint m_bo_xfb;
4160 static const glw::GLchar s_vertex_shader[];
4161 static const glw::GLchar s_fragment_shader[];
4207 glw::GLuint m_po;
4208 glw::GLuint m_vao;
4209 glw::GLuint m_bo_array_0;
4210 glw::GLuint m_bo_array_1;
4211 glw::GLuint m_bo_xfb;
4214 static const glw::GLchar s_vertex_shader[];
4215 static const glw::GLchar s_fragment_shader[];
4272 void PrepareProgram(glw::GLint size, AtributeFormatFunctionType function_selector);
4275 glw::GLdouble NormalizationScaleFactor();
4278 bool PrepareVAO(glw::GLint size, glw::GLenum type_gl_name, bool normalized,
4284 bool DrawAndCheck(glw::GLint size, bool normalized);
4291 glw::GLuint m_po;
4292 glw::GLuint m_vao;
4293 glw::GLuint m_bo_array;
4294 glw::GLuint m_bo_xfb;
4297 static const glw::GLchar* s_vertex_shader_head;
4298 static const glw::GLchar* s_vertex_shader_body;
4299 …static const glw::GLchar* s_vertex_shader_declaration[ATTRIBUTE_FORMAT_FUNCTION_COUNT][4 /* sizes …
4300 static const glw::GLchar* s_fragment_shader;
4343 glw::GLuint m_po;
4344 glw::GLuint m_vao;
4345 glw::GLuint m_bo_array;
4346 glw::GLuint m_bo_xfb;
4349 static const glw::GLchar s_vertex_shader[];
4350 static const glw::GLchar s_fragment_shader[];
4370 void Draw(glw::GLuint number_of_points, glw::GLuint number_of_instances);
4371 bool SetDivisor(glw::GLuint divisor);
4372 …bool CheckXFB(const glw::GLuint count, const glw::GLint expected[], const glw::GLchar* log_message…
4376 glw::GLuint m_po;
4377 glw::GLuint m_vao;
4378 glw::GLuint m_bo_array;
4379 glw::GLuint m_bo_xfb;
4382 static const glw::GLchar s_vertex_shader[];
4383 static const glw::GLchar s_fragment_shader[];
4477 bool Check(const glw::GLenum pname, const glw::GLuint index, const glw::GLint expected);
4478 bool Check64(const glw::GLenum pname, const glw::GLuint index, const glw::GLint64 expected);
4481 glw::GLuint m_vao;
4482 glw::GLuint m_bo[4];
4538 bool Check(const glw::GLenum pname, const glw::GLint expected);
4539 bool CheckIndexed(const glw::GLenum pname, const glw::GLuint index, const glw::GLint expected);
4540 bool CheckIndexed64(const glw::GLenum pname, const glw::GLuint index, const glw::GLint64 expected);
4543 glw::GLuint m_vao;
4564 bool CheckError(const glw::GLenum expected, const glw::GLchar* log_message);
4590 bool CheckError(const glw::GLenum expected, const glw::GLchar* log_message);
4615 bool CheckError(const glw::GLenum expected, const glw::GLchar* log_message);
4661 bool CheckError(const glw::GLenum expected, const glw::GLchar* log_message);
4708 bool CheckError(const glw::GLenum expected, const glw::GLchar* log_message);
4737 bool CheckError(const glw::GLenum expected, const glw::GLchar* log_message);
4763 bool CheckError(const glw::GLenum expected, const glw::GLchar* log_message);
4788 bool CheckError(const glw::GLenum expected, const glw::GLchar* log_message);
4830 bool CheckError(const glw::GLenum expected, const glw::GLchar* log_message);
4836 std::string itoa(glw::GLuint i);
4888 template <typename T, glw::GLint S, bool N>
4889 static glw::GLenum InternalFormat();
4891 template <glw::GLint S, bool N>
4892 static glw::GLenum Format();
4895 static glw::GLenum Type();
4900 static glw::GLuint ReferenceDataCount();
4903 static glw::GLuint ReferenceDataSize();
4909 …static const glw::GLuint s_reference_count = 2 /* 1D */ * 3 /* 2D */ * 4 /* 3D */ * 4 /* component…
4977 template <typename T, glw::GLint S, bool N>
4992 static glw::GLuint TestReferenceDataCount();
4994 static glw::GLuint TestReferenceDataSize();
4996 static const glw::GLchar* FragmentShaderDeclaration();
5004 bool PrepareFramebuffer(const glw::GLenum internal_format);
5005 void PrepareProgram(const glw::GLchar* variable_declaration);
5015 glw::GLuint m_fbo;
5016 glw::GLuint m_rbo;
5017 glw::GLuint m_po;
5018 glw::GLuint m_to;
5019 glw::GLuint m_bo;
5020 glw::GLuint m_vao;
5023 static const glw::GLuint s_fbo_size_x = 6;
5024 static const glw::GLuint s_fbo_size_y = 1;
5025 static const glw::GLchar* s_vertex_shader;
5026 static const glw::GLchar* s_fragment_shader_head;
5027 static const glw::GLchar* s_fragment_shader_fdecl_lowp;
5028 static const glw::GLchar* s_fragment_shader_idecl_lowp;
5029 static const glw::GLchar* s_fragment_shader_udecl_lowp;
5030 static const glw::GLchar* s_fragment_shader_fdecl_mediump;
5031 static const glw::GLchar* s_fragment_shader_idecl_mediump;
5032 static const glw::GLchar* s_fragment_shader_udecl_mediump;
5033 static const glw::GLchar* s_fragment_shader_fdecl_highp;
5034 static const glw::GLchar* s_fragment_shader_idecl_highp;
5035 static const glw::GLchar* s_fragment_shader_udecl_highp;
5036 static const glw::GLchar* s_fragment_shader_tail;
5043 template <typename T, glw::GLint S, bool N>
5044 const glw::GLchar* BufferTest<T, S, N>::FragmentShaderDeclaration() in FragmentShaderDeclaration()
5046 if (typeid(T) == typeid(glw::GLbyte)) in FragmentShaderDeclaration()
5051 if (typeid(T) == typeid(glw::GLubyte)) in FragmentShaderDeclaration()
5056 if (typeid(T) == typeid(glw::GLshort)) in FragmentShaderDeclaration()
5061 if (typeid(T) == typeid(glw::GLushort)) in FragmentShaderDeclaration()
5066 if (typeid(T) == typeid(glw::GLint)) in FragmentShaderDeclaration()
5071 if (typeid(T) == typeid(glw::GLuint)) in FragmentShaderDeclaration()
5147 template <typename T, glw::GLint S, bool N, glw::GLuint D, bool I>
5162 static glw::GLuint TestReferenceDataCount();
5164 static glw::GLuint TestReferenceDataWidth();
5166 static glw::GLuint TestReferenceDataHeight();
5168 static glw::GLuint TestReferenceDataDepth();
5170 static glw::GLuint TestReferenceDataSize();
5172 static const glw::GLchar* FragmentShaderDeclaration();
5174 static const glw::GLchar* FragmentShaderTail();
5176 static glw::GLenum TextureTarget();
5178 bool TextureSubImage(glw::GLenum target, glw::GLuint texture, glw::GLint level,
5179 glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth, glw::GLenum format,
5180 glw::GLenum type, const glw::GLvoid* data);
5182 …bool TextureStorage(glw::GLenum target, glw::GLuint texture, glw::GLsizei levels, glw::GLenum inte…
5183 glw::GLsizei width, glw::GLsizei height, glw::GLsizei depth);
5191 void PrepareFramebuffer(const glw::GLenum internal_format);
5192 void PrepareProgram(const glw::GLchar* variable_declaration, const glw::GLchar* tail);
5202 glw::GLuint m_fbo;
5203 glw::GLuint m_rbo;
5204 glw::GLuint m_po;
5205 glw::GLuint m_to;
5206 glw::GLuint m_vao;
5209 static const glw::GLchar* s_vertex_shader;
5210 static const glw::GLchar* s_fragment_shader_head;
5211 static const glw::GLchar* s_fragment_shader_1D_fdecl_lowp;
5212 static const glw::GLchar* s_fragment_shader_1D_idecl_lowp;
5213 static const glw::GLchar* s_fragment_shader_1D_udecl_lowp;
5214 static const glw::GLchar* s_fragment_shader_1D_fdecl_mediump;
5215 static const glw::GLchar* s_fragment_shader_1D_idecl_mediump;
5216 static const glw::GLchar* s_fragment_shader_1D_udecl_mediump;
5217 static const glw::GLchar* s_fragment_shader_1D_fdecl_highp;
5218 static const glw::GLchar* s_fragment_shader_1D_idecl_highp;
5219 static const glw::GLchar* s_fragment_shader_1D_udecl_highp;
5220 static const glw::GLchar* s_fragment_shader_2D_fdecl_lowp;
5221 static const glw::GLchar* s_fragment_shader_2D_idecl_lowp;
5222 static const glw::GLchar* s_fragment_shader_2D_udecl_lowp;
5223 static const glw::GLchar* s_fragment_shader_2D_fdecl_mediump;
5224 static const glw::GLchar* s_fragment_shader_2D_idecl_mediump;
5225 static const glw::GLchar* s_fragment_shader_2D_udecl_mediump;
5226 static const glw::GLchar* s_fragment_shader_2D_fdecl_highp;
5227 static const glw::GLchar* s_fragment_shader_2D_idecl_highp;
5228 static const glw::GLchar* s_fragment_shader_2D_udecl_highp;
5229 static const glw::GLchar* s_fragment_shader_3D_fdecl_lowp;
5230 static const glw::GLchar* s_fragment_shader_3D_idecl_lowp;
5231 static const glw::GLchar* s_fragment_shader_3D_udecl_lowp;
5232 static const glw::GLchar* s_fragment_shader_3D_fdecl_mediump;
5233 static const glw::GLchar* s_fragment_shader_3D_idecl_mediump;
5234 static const glw::GLchar* s_fragment_shader_3D_udecl_mediump;
5235 static const glw::GLchar* s_fragment_shader_3D_fdecl_highp;
5236 static const glw::GLchar* s_fragment_shader_3D_idecl_highp;
5237 static const glw::GLchar* s_fragment_shader_3D_udecl_highp;
5238 static const glw::GLchar* s_fragment_shader_1D_tail;
5239 static const glw::GLchar* s_fragment_shader_2D_tail;
5240 static const glw::GLchar* s_fragment_shader_3D_tail;
5315 template <typename T, glw::GLint S, bool N, glw::GLuint D>
5330 static glw::GLuint TestReferenceDataCount();
5332 static glw::GLuint TestReferenceDataWidth();
5334 static glw::GLuint TestReferenceDataHeight();
5336 static glw::GLuint TestReferenceDataDepth();
5338 static glw::GLuint TestReferenceDataSize();
5340 static const glw::GLchar* FragmentShaderDeclarationMultisample();
5342 static const glw::GLchar* FragmentShaderDeclarationAuxiliary();
5344 static const glw::GLchar* FragmentShaderTail();
5346 static glw::GLenum InputTextureTarget();
5348 static glw::GLenum MultisampleTextureTarget();
5350 …void InputTextureImage(const glw::GLenum internal_format, const glw::GLuint width, const glw::GLui…
5351 const glw::GLuint depth, const glw::GLenum format, const glw::GLenum type,
5352 const glw::GLvoid* data);
5360 bool PrepareFramebufferMultisample(const glw::GLenum internal_format);
5362 void PrepareFramebufferAuxiliary(const glw::GLenum internal_format);
5364 glw::GLuint PrepareProgram(const glw::GLchar* variable_declaration, const glw::GLchar* tail);
5377 glw::GLuint m_fbo_ms;
5378 glw::GLuint m_fbo_aux;
5379 glw::GLuint m_to_ms;
5380 glw::GLuint m_po_ms;
5381 glw::GLuint m_po_aux;
5382 glw::GLuint m_to;
5383 glw::GLuint m_to_aux;
5384 glw::GLuint m_vao;
5387 static const glw::GLchar* s_vertex_shader;
5388 static const glw::GLchar* s_fragment_shader_head;
5389 static const glw::GLchar* s_fragment_shader_ms_2D_fdecl_lowp;
5390 static const glw::GLchar* s_fragment_shader_ms_2D_idecl_lowp;
5391 static const glw::GLchar* s_fragment_shader_ms_2D_udecl_lowp;
5392 static const glw::GLchar* s_fragment_shader_ms_2D_fdecl_mediump;
5393 static const glw::GLchar* s_fragment_shader_ms_2D_idecl_mediump;
5394 static const glw::GLchar* s_fragment_shader_ms_2D_udecl_mediump;
5395 static const glw::GLchar* s_fragment_shader_ms_2D_fdecl_highp;
5396 static const glw::GLchar* s_fragment_shader_ms_2D_idecl_highp;
5397 static const glw::GLchar* s_fragment_shader_ms_2D_udecl_highp;
5399 static const glw::GLchar* s_fragment_shader_ms_3D_fdecl_lowp;
5400 static const glw::GLchar* s_fragment_shader_ms_3D_idecl_lowp;
5401 static const glw::GLchar* s_fragment_shader_ms_3D_udecl_lowp;
5402 static const glw::GLchar* s_fragment_shader_ms_3D_fdecl_mediump;
5403 static const glw::GLchar* s_fragment_shader_ms_3D_idecl_mediump;
5404 static const glw::GLchar* s_fragment_shader_ms_3D_udecl_mediump;
5405 static const glw::GLchar* s_fragment_shader_ms_3D_fdecl_highp;
5406 static const glw::GLchar* s_fragment_shader_ms_3D_idecl_highp;
5407 static const glw::GLchar* s_fragment_shader_ms_3D_udecl_highp;
5409 static const glw::GLchar* s_fragment_shader_aux_2D_fdecl_lowp;
5410 static const glw::GLchar* s_fragment_shader_aux_2D_idecl_lowp;
5411 static const glw::GLchar* s_fragment_shader_aux_2D_udecl_lowp;
5412 static const glw::GLchar* s_fragment_shader_aux_2D_fdecl_mediump;
5413 static const glw::GLchar* s_fragment_shader_aux_2D_idecl_mediump;
5414 static const glw::GLchar* s_fragment_shader_aux_2D_udecl_mediump;
5415 static const glw::GLchar* s_fragment_shader_aux_2D_fdecl_highp;
5416 static const glw::GLchar* s_fragment_shader_aux_2D_idecl_highp;
5417 static const glw::GLchar* s_fragment_shader_aux_2D_udecl_highp;
5419 static const glw::GLchar* s_fragment_shader_aux_3D_fdecl_lowp;
5420 static const glw::GLchar* s_fragment_shader_aux_3D_idecl_lowp;
5421 static const glw::GLchar* s_fragment_shader_aux_3D_udecl_lowp;
5422 static const glw::GLchar* s_fragment_shader_aux_3D_fdecl_mediump;
5423 static const glw::GLchar* s_fragment_shader_aux_3D_idecl_mediump;
5424 static const glw::GLchar* s_fragment_shader_aux_3D_udecl_mediump;
5425 static const glw::GLchar* s_fragment_shader_aux_3D_fdecl_highp;
5426 static const glw::GLchar* s_fragment_shader_aux_3D_idecl_highp;
5427 static const glw::GLchar* s_fragment_shader_aux_3D_udecl_highp;
5428 static const glw::GLchar* s_fragment_shader_tail_2D;
5429 static const glw::GLchar* s_fragment_shader_tail_3D;
5534 void CreateTextures(glw::GLenum target);
5536 template <glw::GLuint D>
5537 glw::GLenum TextureTarget();
5539 template <glw::GLuint D>
5540 bool TextureImage(glw::GLint internalformat);
5542 template <glw::GLuint D>
5543 void CompressedTexImage(glw::GLint internalformat);
5545 template <glw::GLuint D>
5546 bool CompressedTextureSubImage(glw::GLint internalformat);
5548 template <glw::GLuint D>
5549 bool PrepareReferenceData(glw::GLenum internalformat);
5551 template <glw::GLuint D>
5552 void PrepareStorage(glw::GLenum internalformat);
5554 template <glw::GLuint D>
5555 void PrepareCompressedStorage(glw::GLenum internalformat);
5557 template <glw::GLuint D>
5558 bool CheckData(glw::GLenum internalformat);
5560 std::string DataToString(glw::GLuint count, const glw::GLubyte data[]);
5562 template <glw::GLuint D>
5563 bool Test(glw::GLenum internalformat, bool can_be_unsupported);
5566 glw::GLuint m_to;
5567 glw::GLuint m_to_aux;
5568 glw::GLubyte* m_compressed_texture_data;
5569 glw::GLubyte* m_reference;
5570 glw::GLubyte* m_result;
5571 glw::GLuint m_reference_size;
5572 glw::GLuint m_reference_internalformat;
5575 static const glw::GLubyte s_texture_data[];
5576 static const glw::GLuint s_texture_width;
5577 static const glw::GLuint s_texture_height;
5578 static const glw::GLuint s_texture_depth;
5579 static const glw::GLuint s_block_count;
5580 static const glw::GLuint s_block_2d_size_x;
5581 static const glw::GLuint s_block_2d_size_y;
5582 static const glw::GLuint s_block_3d_size;
5623 template <glw::GLuint D>
5624 glw::GLenum TextureTarget();
5626 …bool CopyTextureSubImage1DAndCheckErrors(glw::GLuint texture, glw::GLint level, glw::GLint xoffset…
5627 glw::GLint y, glw::GLsizei width);
5628 bool CopyTextureSubImage2DAndCheckErrors(glw::GLuint texture, glw::GLint level, glw::GLint xoffset,
5629 glw::GLint yoffset, glw::GLint x, glw::GLint y, glw::GLsizei width,
5630 glw::GLsizei height);
5631 bool CopyTextureSubImage3DAndCheckErrors(glw::GLuint texture, glw::GLint level, glw::GLint xoffset,
5632 glw::GLint yoffset, glw::GLint zoffset, glw::GLint x, glw::GLint y,
5633 glw::GLsizei width, glw::GLsizei height);
5635 template <glw::GLuint D>
5638 template <glw::GLuint D>
5641 template <glw::GLuint D>
5644 template <glw::GLuint D>
5647 template <glw::GLuint D>
5650 bool CheckData(glw::GLenum target, glw::GLuint size);
5651 std::string DataToString(glw::GLuint count, const glw::GLubyte data[]);
5655 glw::GLuint m_fbo;
5656 glw::GLuint m_to_src;
5657 glw::GLuint m_to_dst;
5658 glw::GLubyte* m_result;
5661 static const glw::GLubyte s_texture_data[];
5662 static const glw::GLuint s_texture_width;
5663 static const glw::GLuint s_texture_height;
5664 static const glw::GLuint s_texture_depth;
5728 bool CheckErrorAndLog(const glw::GLchar* fname, glw::GLenum pname);
5729 bool CompareAndLog(glw::GLint value_src, glw::GLint value_dst, glw::GLenum pname);
5730 bool CompareAndLog(glw::GLuint value_src, glw::GLuint value_dst, glw::GLenum pname);
5731 bool CompareAndLog(glw::GLfloat value_src, glw::GLfloat value_dst, glw::GLenum pname);
5732 bool CompareAndLog(glw::GLfloat value_src[4], glw::GLfloat value_dst[4], glw::GLenum pname);
5733 bool CompareAndLog(glw::GLint value_src[4], glw::GLint value_dst[4], glw::GLenum pname);
5734 bool CompareAndLog(glw::GLuint value_src[4], glw::GLuint value_dst[4], glw::GLenum pname);
5784 bool CompareAndLog(glw::GLint value_ref, glw::GLint value_dst, glw::GLenum pname);
5785 bool CompareAndLog(glw::GLuint value_ref, glw::GLuint value_dst, glw::GLenum pname);
5786 bool CompareAndLog(glw::GLfloat value_ref, glw::GLfloat value_dst, glw::GLenum pname);
5787 bool CompareAndLog(glw::GLfloat value_ref[4], glw::GLfloat value_dst[4], glw::GLenum pname);
5788 bool CompareAndLog(glw::GLint value_ref[4], glw::GLint value_dst[4], glw::GLenum pname);
5789 bool CompareAndLog(glw::GLuint value_ref[4], glw::GLuint value_dst[4], glw::GLenum pname);
5819 static const glw::GLubyte s_texture_data[];
5820 static const glw::GLuint s_texture_width;
5821 static const glw::GLuint s_texture_width_log;
5865 std::string DataToString(glw::GLuint count, const glw::GLubyte data[]);
5868 glw::GLuint m_po;
5869 glw::GLuint m_to[4];
5870 glw::GLuint m_fbo;
5871 glw::GLuint m_rbo;
5872 glw::GLuint m_vao;
5873 glw::GLubyte* m_result;
5876 static const glw::GLubyte s_texture_data_r[];
5877 static const glw::GLubyte s_texture_data_g[];
5878 static const glw::GLubyte s_texture_data_b[];
5879 static const glw::GLubyte s_texture_data_a[];
5880 static const glw::GLubyte s_texture_data_rgba[];
5881 static const glw::GLuint s_texture_width;
5882 static const glw::GLuint s_texture_height;
5883 static const glw::GLuint s_texture_count_rgba;
5884 static const glw::GLchar* s_vertex_shader;
5885 static const glw::GLchar* s_fragment_shader;
5886 static const glw::GLchar* s_fragment_shader_samplers[4];
5917 std::string DataToString(glw::GLuint count, const glw::GLubyte data[]);
5920 static const glw::GLubyte s_texture_data[];
5921 static const glw::GLubyte s_texture_data_compressed[];
5922 static const glw::GLuint s_texture_width;
5923 static const glw::GLuint s_texture_height;
5924 static const glw::GLuint s_texture_size;
5925 static const glw::GLuint s_texture_size_compressed;
5926 static const glw::GLuint s_texture_count;
5927 static const glw::GLuint s_texture_count_compressed;
5973 static const glw::GLubyte s_texture_data[];
5974 static const glw::GLuint s_texture_width;
5975 static const glw::GLuint s_texture_height;
5976 static const glw::GLuint s_texture_depth;
5987 …bool CheckErrorAndLog(deqp::Context& context, glw::GLuint expected_error, const glw::GLchar* funct…
5988 const glw::GLchar* log);
6012 glw::GLenum NotATarget();
6208 glw::GLuint m_to_1D;
6209 glw::GLuint m_to_1D_array;
6210 glw::GLuint m_to_2D;
6211 glw::GLuint m_to_2D_array;
6212 glw::GLuint m_to_3D;
6213 glw::GLuint m_to_2D_ms;
6214 glw::GLuint m_to_2D_ms_immutable;
6215 glw::GLuint m_to_3D_ms;
6216 glw::GLuint m_to_3D_ms_immutable;
6217 glw::GLuint m_to_invalid;
6218 glw::GLuint m_internalformat_invalid;
6219 glw::GLint m_max_texture_size;
6220 glw::GLint m_max_samples;
6221 glw::GLint m_max_array_texture_layers;
6478 glw::GLuint m_to_1D_empty;
6479 glw::GLuint m_to_2D_empty;
6480 glw::GLuint m_to_3D_empty;
6481 glw::GLuint m_to_1D;
6482 glw::GLuint m_to_2D;
6483 glw::GLuint m_to_3D;
6484 glw::GLuint m_to_1D_compressed;
6485 glw::GLuint m_to_2D_compressed;
6486 glw::GLuint m_to_3D_compressed;
6487 glw::GLuint m_to_rectangle_compressed;
6488 glw::GLuint m_to_invalid;
6489 glw::GLuint m_bo;
6490 glw::GLuint m_format_invalid;
6491 glw::GLuint m_type_invalid;
6492 glw::GLint m_max_texture_size;
6493 glw::GLubyte* m_reference_compressed_1D;
6494 glw::GLubyte* m_reference_compressed_2D;
6495 glw::GLubyte* m_reference_compressed_3D;
6496 glw::GLubyte* m_reference_compressed_rectangle;
6497 glw::GLint m_reference_compressed_1D_size;
6498 glw::GLint m_reference_compressed_2D_size;
6499 glw::GLint m_reference_compressed_3D_size;
6500 glw::GLint m_reference_compressed_rectangle_size;
6501 glw::GLint m_reference_compressed_1D_format;
6502 glw::GLint m_reference_compressed_2D_format;
6503 glw::GLint m_reference_compressed_3D_format;
6504 glw::GLint m_reference_compressed_rectangle_format;
6505 glw::GLint m_not_matching_compressed_1D_format;
6506 glw::GLint m_not_matching_compressed_1D_size;
6507 glw::GLint m_not_matching_compressed_2D_format;
6508 glw::GLint m_not_matching_compressed_2D_size;
6509 glw::GLint m_not_matching_compressed_3D_format;
6510 glw::GLint m_not_matching_compressed_3D_size;
6521 static const glw::GLushort s_reference[];
6522 static const glw::GLuint s_reference_width;
6523 static const glw::GLuint s_reference_height;
6524 static const glw::GLuint s_reference_depth;
6525 static const glw::GLuint s_reference_size;
6526 static const glw::GLenum s_reference_internalformat;
6527 static const glw::GLenum s_reference_internalformat_compressed;
6528 static const glw::GLenum s_reference_format;
6529 static const glw::GLenum s_reference_type;
6622 glw::GLuint m_fbo;
6623 glw::GLuint m_fbo_ms;
6624 glw::GLuint m_fbo_incomplete;
6625 glw::GLuint m_to_src;
6626 glw::GLuint m_to_src_ms;
6627 glw::GLuint m_to_1D_dst;
6628 glw::GLuint m_to_2D_dst;
6629 glw::GLuint m_to_3D_dst;
6630 glw::GLuint m_to_invalid;
6638 static const glw::GLuint s_width;
6639 static const glw::GLuint s_height;
6640 static const glw::GLuint s_depth;
6641 static const glw::GLuint s_internalformat;
6701 glw::GLuint m_to_2D;
6702 glw::GLuint m_to_2D_ms;
6703 glw::GLuint m_to_rectangle;
6704 glw::GLuint m_to_invalid;
6705 glw::GLenum m_pname_invalid;
6706 glw::GLenum m_depth_stencil_mode_invalid;
6717 static const glw::GLuint s_width;
6718 static const glw::GLuint s_height;
6719 static const glw::GLuint s_depth;
6720 static const glw::GLuint s_internalformat;
6747 static const glw::GLubyte s_reference_data[];
6748 static const glw::GLuint s_reference_width;
6749 static const glw::GLuint s_reference_height;
6750 static const glw::GLenum s_reference_internalformat;
6751 static const glw::GLenum s_reference_format;
6752 static const glw::GLenum s_reference_type;
6862 static const glw::GLuint s_reference_data[];
6863 static const glw::GLuint s_reference_width;
6864 static const glw::GLuint s_reference_height;
6865 static const glw::GLuint s_reference_size;
6866 static const glw::GLenum s_reference_internalformat;
6867 static const glw::GLenum s_reference_internalformat_int;
6868 static const glw::GLenum s_reference_internalformat_compressed;
6869 static const glw::GLenum s_reference_format;
6870 static const glw::GLenum s_reference_type;