/third_party/mesa3d/src/mesa/main/ |
H A D | extensions.c | 258 extensions->dummy_true = GL_TRUE; in _mesa_init_extensions() 265 extensions->MESA_pack_invert = GL_TRUE; in _mesa_init_extensions() 266 extensions->MESA_window_pos = GL_TRUE; in _mesa_init_extensions() 268 extensions->ARB_ES2_compatibility = GL_TRUE; in _mesa_init_extensions() 269 extensions->ARB_draw_elements_base_vertex = GL_TRUE; in _mesa_init_extensions() 270 extensions->ARB_explicit_attrib_location = GL_TRUE; in _mesa_init_extensions() 271 extensions->ARB_explicit_uniform_location = GL_TRUE; in _mesa_init_extensions() 272 extensions->ARB_fragment_coord_conventions = GL_TRUE; in _mesa_init_extensions() 273 extensions->ARB_fragment_program = GL_TRUE; in _mesa_init_extensions() 274 extensions->ARB_fragment_shader = GL_TRUE; in _mesa_init_extensions() [all...] |
H A D | state.h | 73 return GL_TRUE; in _mesa_need_secondary_color() 76 return GL_TRUE; in _mesa_need_secondary_color() 81 return GL_TRUE; in _mesa_need_secondary_color() 86 return GL_TRUE; in _mesa_need_secondary_color() 89 return GL_TRUE; in _mesa_need_secondary_color()
|
H A D | texstorage.c | 172 return GL_TRUE; in initialize_texture_fields() 268 * \return GL_TRUE if any error, GL_FALSE otherwise. 290 return GL_TRUE; in tex_storage_error_check() 299 return GL_TRUE; in tex_storage_error_check() 307 return GL_TRUE; in tex_storage_error_check() 315 return GL_TRUE; in tex_storage_error_check() 324 return GL_TRUE; in tex_storage_error_check() 332 return GL_TRUE; in tex_storage_error_check() 339 return GL_TRUE; in tex_storage_error_check() 346 return GL_TRUE; in tex_storage_error_check() [all...] |
H A D | teximage.c | 234 * \return GL_TRUE if the target is a proxy target, GL_FALSE otherwise. 260 return GL_TRUE; in _mesa_is_proxy_texture() 626 return GL_TRUE; in _mesa_tex_target_is_layered() 803 img->FixedSampleLocations = GL_TRUE; in clear_teximage_fields() 939 internalFormat, format, 0, GL_TRUE); in _mesa_init_teximage_fields() 966 * \return GL_TRUE if size is OK, GL_FALSE otherwise. 985 return GL_TRUE; in _mesa_legal_texture_dimensions() 1002 return GL_TRUE; in _mesa_legal_texture_dimensions() 1022 return GL_TRUE; in _mesa_legal_texture_dimensions() 1033 return GL_TRUE; in _mesa_legal_texture_dimensions() [all...] |
H A D | errors.c | 135 output_if_debug("Mesa", s, GL_TRUE); in flush_delayed_errors() 161 output_if_debug("Mesa warning", str, GL_TRUE); in _mesa_warning() 208 debug = GL_TRUE; in should_output() 211 debug = GL_TRUE; in should_output() 223 return GL_TRUE; in should_output() 361 output_if_debug("Mesa: User error", s2, GL_TRUE); in _mesa_error() 420 output_if_debug(NULL, string, GL_TRUE); in _mesa_log_direct()
|
H A D | debug.c | 342 write_ppm(s, buffer, rb->Width, rb->Height, 4, 0, 1, 2, GL_TRUE); in _mesa_write_renderbuffer_image() 376 written = GL_TRUE; in dump_texture() 465 _mesa_PixelStorei(GL_PACK_INVERT_MESA, GL_TRUE); in _mesa_dump_color_buffer() 475 write_ppm(filename, buf, w, h, 4, 0, 1, 2, GL_TRUE); in _mesa_dump_color_buffer() 498 _mesa_PixelStorei(GL_PACK_INVERT_MESA, GL_TRUE); in _mesa_dump_depth_buffer() 510 write_ppm(filename, buf2, w, h, 3, 0, 1, 2, GL_TRUE); in _mesa_dump_depth_buffer() 534 _mesa_PixelStorei(GL_PACK_INVERT_MESA, GL_TRUE); in _mesa_dump_stencil_buffer() 545 write_ppm(filename, buf2, w, h, 3, 0, 1, 2, GL_TRUE); in _mesa_dump_stencil_buffer() 558 GLboolean invert = GL_TRUE; in _mesa_dump_image()
|
H A D | texparam.c | 61 * \return GL_TRUE if legal, GL_FALSE otherwise 246 return GL_TRUE; in _mesa_target_allows_setting_sampler_parameters() 253 * \return GL_TRUE if legal AND the value changed, GL_FALSE otherwise 290 return GL_TRUE; in set_tex_parameteri() 302 return GL_TRUE; in set_tex_parameteri() 323 return GL_TRUE; in set_tex_parameteri() 341 return GL_TRUE; in set_tex_parameteri() 357 return GL_TRUE; in set_tex_parameteri() 373 return GL_TRUE; in set_tex_parameteri() 419 return GL_TRUE; in set_tex_parameteri() [all...] |
H A D | texstore.c | 179 return GL_TRUE; in _mesa_texstore_z32() 209 return GL_TRUE; in _mesa_texstore_x8_z24() 243 return GL_TRUE; in _mesa_texstore_z24_x8() 274 return GL_TRUE; in _mesa_texstore_z16() 317 return GL_TRUE; in _mesa_texstore_ycbcr() 361 keepstencil = GL_TRUE; in _mesa_texstore_z24_s8() 364 keepdepth = GL_TRUE; in _mesa_texstore_z24_s8() 396 return GL_TRUE; in _mesa_texstore_z24_s8() 442 keepstencil = GL_TRUE; in _mesa_texstore_s8_z24() 445 keepdepth = GL_TRUE; in _mesa_texstore_s8_z24() [all...] |
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fBooleanStateQueryTests.cpp | 97 const GLboolean expectedGLState = reference ? (GLboolean)GL_TRUE : (GLboolean)GL_FALSE; in verifyBoolean() 101 testCtx.getLog() << TestLog::Message << "// ERROR: expected " << (reference ? "GL_TRUE" : "GL_FALSE") << TestLog::EndMessage; in verifyBoolean() 150 const GLboolean expectedGLState = reference ? GL_TRUE : GL_FALSE; in verifyBoolean() 154 testCtx.getLog() << TestLog::Message << "// ERROR: expected " << (reference ? "GL_TRUE" : "GL_FALSE") << TestLog::EndMessage; in verifyBoolean() 172 reference0 ? GLboolean(GL_TRUE) : GLboolean(GL_FALSE), in verifyBoolean4() 173 reference1 ? GLboolean(GL_TRUE) : GLboolean(GL_FALSE), in verifyBoolean4() 174 reference2 ? GLboolean(GL_TRUE) : GLboolean(GL_FALSE), in verifyBoolean4() 175 reference3 ? GLboolean(GL_TRUE) : GLboolean(GL_FALSE), in verifyBoolean4() 184 << (referenceAsGLBoolean[0] ? "GL_TRUE" : "GL_FALSE") << " " in verifyBoolean4() 185 << (referenceAsGLBoolean[1] ? "GL_TRUE" in verifyBoolean4() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fBooleanStateQueryTests.cpp | 95 const GLboolean expectedGLState = reference ? (GLboolean)GL_TRUE : (GLboolean)GL_FALSE; in verifyBoolean() 99 testCtx.getLog() << TestLog::Message << "// ERROR: expected " << (reference ? "GL_TRUE" : "GL_FALSE") << TestLog::EndMessage; in verifyBoolean() 141 const GLboolean expectedGLState = reference ? GL_TRUE : GL_FALSE; in verifyBoolean() 145 testCtx.getLog() << TestLog::Message << "// ERROR: expected " << (reference ? "GL_TRUE" : "GL_FALSE") << TestLog::EndMessage; in verifyBoolean() 163 reference0 ? GLboolean(GL_TRUE) : GLboolean(GL_FALSE), in verifyBoolean4() 164 reference1 ? GLboolean(GL_TRUE) : GLboolean(GL_FALSE), in verifyBoolean4() 165 reference2 ? GLboolean(GL_TRUE) : GLboolean(GL_FALSE), in verifyBoolean4() 166 reference3 ? GLboolean(GL_TRUE) : GLboolean(GL_FALSE), in verifyBoolean4() 175 << (referenceAsGLBoolean[0] ? "GL_TRUE" : "GL_FALSE") << " " in verifyBoolean4() 176 << (referenceAsGLBoolean[1] ? "GL_TRUE" in verifyBoolean4() [all...] |
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_extensions.c | 475 extensions->ARB_uniform_buffer_object = GL_TRUE; in st_init_limits() 525 extensions->ARB_shader_atomic_counters = GL_TRUE; in st_init_limits() 526 extensions->ARB_shader_atomic_counter_ops = GL_TRUE; in st_init_limits() 553 extensions->ARB_shader_storage_buffer_object = GL_TRUE; in st_init_limits() 567 extensions->ARB_shader_image_load_store = GL_TRUE; in st_init_limits() 568 extensions->ARB_shader_image_size = GL_TRUE; in st_init_limits() 696 extension_table[mapping[i].extension_offset[j]] = GL_TRUE; in init_format_extensions() 893 GL_TRUE }, /* at least one format must be supported */ in st_init_extensions() 899 GL_TRUE }, /* at least one format must be supported */ in st_init_extensions() 1031 GL_TRUE }, /* a in st_init_extensions() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/draw_buffers_indexed/ |
H A D | esextcDrawBuffersIndexedCoverage.cpp | 79 gl.colorMaski(i, GL_FALSE, GL_TRUE, GL_FALSE, GL_TRUE); in iterate() 91 gl.colorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in iterate()
|
H A D | esextcDrawBuffersIndexedBase.hpp | 78 , mask_r(GL_TRUE) in BlendMaskState() 79 , mask_g(GL_TRUE) in BlendMaskState() 80 , mask_b(GL_TRUE) in BlendMaskState() 81 , mask_a(GL_TRUE) in BlendMaskState()
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | OcclusionQueriesTest.cpp | 49 glDepthMask(GL_TRUE); in TEST_P() 77 GLuint result = GL_TRUE; in TEST_P() 94 glDepthMask(GL_TRUE); in TEST_P() 108 GLuint result = GL_TRUE; in TEST_P() 129 glDepthMask(GL_TRUE); in TEST_P() 178 GLuint result[2] = {GL_TRUE, GL_TRUE}; in TEST_P() 202 glColorMask(GL_TRUE, GL_FALSE, GL_TRUE, GL_TRUE); in TEST_P() [all...] |
H A D | ClearTest.cpp | 323 glColorMask(GL_TRUE, GL_FALSE, GL_TRUE, GL_TRUE); in TEST_P() 326 glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in TEST_P() 472 glColorMask(GL_TRUE, GL_FALSE, GL_TRUE, GL_TRUE); in TEST_P() [all...] |
H A D | ColorMaskTest.cpp | 65 glColorMask(GL_TRUE, GL_TRUE, GL_TRUE, GL_TRUE); in TEST_P()
|
H A D | ProgramParameterTest.cpp | 42 glProgramParameteri(program, GL_PROGRAM_BINARY_RETRIEVABLE_HINT, GL_TRUE); in TEST_P() 45 glProgramParameteri(program, GL_PROGRAM_SEPARABLE, GL_TRUE); in TEST_P() 64 glProgramParameteri(0, GL_PROGRAM_SEPARABLE, GL_TRUE); in TEST_P()
|
H A D | TextureMultisampleTest.cpp | 395 texStorageMultisample(GL_TEXTURE_2D_MULTISAMPLE, 4, GL_RGBA8, 1, 1, GL_TRUE); in TEST_P() 427 texStorageMultisample(GL_TEXTURE_2D_MULTISAMPLE, sampleCount, GL_RGBA8, 1, 1, GL_TRUE); in TEST_P() 465 GL_TRUE); in TEST_P() 514 getWindowHeight(), GL_TRUE); in TEST_P() 692 glTexStorage3DMultisampleOES(GL_TEXTURE_2D_MULTISAMPLE, 2, GL_RGBA8, 1, 1, 1, GL_TRUE); in TEST_P() 697 GL_TRUE); in TEST_P() 701 glTexStorage3DMultisampleOES(GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES, 2, GL_RGBA, 1, 1, 1, GL_TRUE); in TEST_P() 706 GL_TRUE); in TEST_P() 711 GL_TRUE); in TEST_P() 716 GL_TRUE); in TEST_P() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/gles31/ |
H A D | es31cTextureStorageMultisampleGLCoverageTests.cpp | 118 glw::GLboolean bool_value = GL_TRUE; in iterate() 151 glw::GLboolean bool_value = GL_TRUE; in iterate() 170 bool_value = GL_TRUE; in iterate() 224 if (bool_value != GL_TRUE || de::abs(float_value - expected_float_value) > epsilon || in iterate() 246 if (bool_value != GL_TRUE || de::abs(float_value - expected_float_value) > epsilon || in iterate() 332 GL_TRUE); /* fixedsamplelocations */ in iterate() 340 GL_TRUE); /* fixedsamplelocations */ in iterate() 417 expected_int_value = GL_TRUE; in iterate() 522 glw::GLboolean bool_value = GL_TRUE; in iterate() 559 if (enabled != GL_TRUE) in iterate() [all...] |
H A D | es31cTextureStorageMultisampleTexStorage2DMultisampleTests.cpp | 262 1 /* height */, GL_TRUE /* fixedsamplelocations */); in iterate() 280 gl_max_texture_size_value, GL_TRUE /* fixedsamplelocations */); in iterate() 302 GL_TRUE); /* fixedsamplelocations */ in iterate() 314 GL_TRUE); /* fixedsamplelocations */ in iterate() 326 GL_TRUE); /* fixedsamplelocations */ in iterate() 339 GL_TRUE); /* fixedsamplelocations */ in iterate() 363 GL_TRUE /* fixedsamplelocations */); in iterate() 375 GL_TRUE); /* fixedsamplelocations */ in iterate() 387 GL_TRUE); /* fixedsamplelocations */ in iterate() 477 const glw::GLboolean fixedsamplelocations = GL_TRUE; in iterate() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/ |
H A D | Query.cpp | 141 if(mQuery != nullptr && mStatus != GL_TRUE) in testQuery() 146 mStatus = GL_TRUE; in testQuery() 152 mResult = (resultSum > 0) ? GL_TRUE : GL_FALSE; in testQuery() 165 return GL_TRUE; // Prevent blocking when query is nullptr in testQuery()
|
/third_party/mesa3d/src/gallium/targets/osmesa/ |
H A D | test-render.cpp | 74 ASSERT_EQ(ret, GL_TRUE); in TEST_P() 175 ASSERT_EQ(ret, GL_TRUE); in TEST() 227 ASSERT_EQ(ret, GL_TRUE); in TEST() 257 ASSERT_EQ(OSMesaMakeCurrent(ctx1.get(), &pixel1, GL_UNSIGNED_BYTE, 1, 1), GL_TRUE); in TEST() local 263 ASSERT_EQ(OSMesaMakeCurrent(ctx2.get(), &pixel2, GL_UNSIGNED_BYTE, 1, 1), GL_TRUE); in TEST() local 275 ASSERT_EQ(OSMesaMakeCurrent(ctx1.get(), &pixel1, GL_UNSIGNED_BYTE, 1, 1), GL_TRUE); in TEST() local 297 ASSERT_EQ(OSMesaMakeCurrent(ctx.get(), draw1, GL_UNSIGNED_BYTE, 1, 1), GL_TRUE); in TEST() local 303 ASSERT_EQ(OSMesaMakeCurrent(ctx.get(), draw2, GL_UNSIGNED_BYTE, 2, 2), GL_TRUE); in TEST() local
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/tessellation_shader/ |
H A D | esextcTessellationShaderProperties.cpp | 98 (expected_value != 0) ? (glw::GLboolean)GL_TRUE : (glw::GLboolean)GL_FALSE, in iterate() 99 (expected_value != 0) ? (glw::GLboolean)GL_TRUE : (glw::GLboolean)GL_FALSE, in iterate() 100 (expected_value != 0) ? (glw::GLboolean)GL_TRUE : (glw::GLboolean)GL_FALSE, in iterate() 101 (expected_value != 0) ? (glw::GLboolean)GL_TRUE : (glw::GLboolean)GL_FALSE in iterate() 257 if (fs_compile_status != GL_TRUE) in initTest() 262 if (vs_compile_status != GL_TRUE) in initTest() 348 test_3.expected_gen_point_mode_value = GL_TRUE; in iterate() 375 test_4.expected_gen_point_mode_value = GL_TRUE; in iterate() 431 if (tc_compile_status != GL_TRUE) in iterate() 436 if (te_compile_status != GL_TRUE) in iterate() [all...] |
/third_party/vk-gl-cts/external/openglcts/modules/glesext/texture_buffer/ |
H A D | esextcTextureBufferPrecision.cpp | 294 glw::GLint expected_fail = glu::glslVersionIsES(m_glslVersion) ? GL_FALSE : GL_TRUE; in iterate() 317 verifyShaderCompilationStatus(GL_COMPUTE_SHADER, cs_code_with_precision, 3, GL_TRUE) && test_passed; in iterate() 318 test_passed = verifyShaderCompilationStatus(GL_COMPUTE_SHADER, cs_code_with_global_precision, 4, GL_TRUE) && in iterate() 338 verifyShaderCompilationStatus(GL_FRAGMENT_SHADER, fs_code_with_precision, 3, GL_TRUE) && test_passed; in iterate() 340 verifyShaderCompilationStatus(GL_FRAGMENT_SHADER, fs_code_with_global_precision, 4, GL_TRUE) && test_passed; in iterate()
|
/third_party/vk-gl-cts/modules/gles2/performance/ |
H A D | es2pStateChangeCallTests.cpp | 239 GL_TRUE, in init() 248 GL_TRUE, in init() 410 GL_TRUE, in init() 479 GL_TRUE, in init() 814 GL_TRUE, in init() 819 GL_TRUE, in init() 824 GL_TRUE, in init() 829 GL_TRUE, in init() 897 GL_TRUE in init()
|