diff options
author | dyen <dyen@chromium.org> | 2015-06-17 14:25:39 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-17 21:26:21 +0000 |
commit | 1fa4219648d62b18de8729b53abefa2ab0c6dd94 (patch) | |
tree | ad8229b4795bcaed5152c1accd3ab765150bcdd2 /gpu/config/gpu_driver_bug_list_json.cc | |
parent | 01836a8926364e73f92719180d934434382c5f9c (diff) | |
download | chromium_src-1fa4219648d62b18de8729b53abefa2ab0c6dd94.zip chromium_src-1fa4219648d62b18de8729b53abefa2ab0c6dd94.tar.gz chromium_src-1fa4219648d62b18de8729b53abefa2ab0c6dd94.tar.bz2 |
Elapsed timer queries are virtual and support multiple queries.
GPUTiming now handles the virtualization of elapsed timer queries
which allow us to support multiple queries across different uses. For
example we can now do internal timings for performance reasons, as
well as using the GPUTracer, as well as supporting WebGL related
query calls.
Along with the virtualization of timer queries, using the elapsed
timer mode in GPUTiming also estimates the time stamp that
GL_ARB_timer_query and GL_EXT_disjoint_timer_query would normally
return using GL_TIME_ELAPSED_EXT. This allows us to workaround issues
when the drivers are not working properly with reasonable values.
Most of the code here is due to the fact that GL_TIME_ELAPSED_EXT has a
limitation where only 1 query can only be allowed in a GL Context. What
I have basically done is split up queries into multiple query chunks
and adding them up at the end. Since queries are correct relative to
one another when they are stacking on top of each other, the GPU timer
can utilize the end and start time to figure out the delta.
R=sievers@chromium.org, vmiura@chromium.org
BUG=453965, 345227
Review URL: https://codereview.chromium.org/1152153006
Cr-Commit-Position: refs/heads/master@{#334922}
Diffstat (limited to 'gpu/config/gpu_driver_bug_list_json.cc')
-rw-r--r-- | gpu/config/gpu_driver_bug_list_json.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gpu/config/gpu_driver_bug_list_json.cc b/gpu/config/gpu_driver_bug_list_json.cc index 987138e..8001895 100644 --- a/gpu/config/gpu_driver_bug_list_json.cc +++ b/gpu/config/gpu_driver_bug_list_json.cc @@ -1311,7 +1311,7 @@ LONG_STRING_CONST( { "id": 112, "cr_bugs": [477514], - "description": "EXT_disjoint_timer_query fails after 2 queries on adreno 330 in lollypop", + "description": "EXT_disjoint_timer_query fails after 2 queries on adreno 3xx in lollypop", "os": { "type": "android", "version": { @@ -1320,15 +1320,15 @@ LONG_STRING_CONST( } }, "gl_vendor": "Qualcomm.*", - "gl_renderer": ".*330", - "disabled_extensions": [ - "GL_EXT_disjoint_timer_query" + "gl_renderer": "Adreno \\(TM\\) 3.*", + "features": [ + "disable_timestamp_queries" ] }, { "id": 113, "cr_bugs": [477514], - "description": "EXT_disjoint_timer_query fails after 256 queries on adreno 420", + "description": "EXT_disjoint_timer_query fails after 256 queries on adreno 4xx", "os": { "type": "android" }, |