| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import os | 5 import os |
| 6 | 6 |
| 7 from gpu_tests import gpu_integration_test | 7 from gpu_tests import gpu_integration_test |
| 8 from gpu_tests import path_util | 8 from gpu_tests import path_util |
| 9 from gpu_tests import webgl_conformance_expectations | 9 from gpu_tests import webgl_conformance_expectations |
| 10 from gpu_tests import webgl2_conformance_expectations | 10 from gpu_tests import webgl2_conformance_expectations |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 'WEBGL_compressed_texture_s3tc_srgb', | 167 'WEBGL_compressed_texture_s3tc_srgb', |
| 168 'WEBGL_debug_renderer_info', | 168 'WEBGL_debug_renderer_info', |
| 169 'WEBGL_debug_shaders', | 169 'WEBGL_debug_shaders', |
| 170 'WEBGL_depth_texture', | 170 'WEBGL_depth_texture', |
| 171 'WEBGL_draw_buffers', | 171 'WEBGL_draw_buffers', |
| 172 'WEBGL_lose_context', | 172 'WEBGL_lose_context', |
| 173 ] | 173 ] |
| 174 else: | 174 else: |
| 175 return [ | 175 return [ |
| 176 'EXT_color_buffer_float', | 176 'EXT_color_buffer_float', |
| 177 'EXT_disjoint_timer_query', | 177 'EXT_disjoint_timer_query_webgl2', |
| 178 'EXT_texture_filter_anisotropic', | 178 'EXT_texture_filter_anisotropic', |
| 179 'OES_texture_float_linear', | 179 'OES_texture_float_linear', |
| 180 'WEBGL_compressed_texture_astc', | 180 'WEBGL_compressed_texture_astc', |
| 181 'WEBGL_compressed_texture_atc', | 181 'WEBGL_compressed_texture_atc', |
| 182 'WEBGL_compressed_texture_etc', | 182 'WEBGL_compressed_texture_etc', |
| 183 'WEBGL_compressed_texture_etc1', | 183 'WEBGL_compressed_texture_etc1', |
| 184 'WEBGL_compressed_texture_pvrtc', | 184 'WEBGL_compressed_texture_pvrtc', |
| 185 'WEBGL_compressed_texture_s3tc', | 185 'WEBGL_compressed_texture_s3tc', |
| 186 'WEBGL_compressed_texture_s3tc_srgb', | 186 'WEBGL_compressed_texture_s3tc_srgb', |
| 187 'WEBGL_debug_renderer_info', | 187 'WEBGL_debug_renderer_info', |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 # We only check min-version >= 2.0.0 for the top level list. | 361 # We only check min-version >= 2.0.0 for the top level list. |
| 362 test_paths += cls._ParseTests( | 362 test_paths += cls._ParseTests( |
| 363 include_path, version, webgl2_only, min_version_to_compare) | 363 include_path, version, webgl2_only, min_version_to_compare) |
| 364 else: | 364 else: |
| 365 test = os.path.join(current_dir, test_name) | 365 test = os.path.join(current_dir, test_name) |
| 366 if webgl_version > 1: | 366 if webgl_version > 1: |
| 367 test += '?webglVersion=' + str(webgl_version) | 367 test += '?webglVersion=' + str(webgl_version) |
| 368 test_paths.append(test) | 368 test_paths.append(test) |
| 369 | 369 |
| 370 return test_paths | 370 return test_paths |
| OLD | NEW |