Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Issue 2639293002: gpu: Add ARB_occlusion_query support. (Closed)

Created:
3 years, 11 months ago by reveman
Modified:
3 years, 11 months ago
Reviewers:
danakj, jbauman, dcheng
CC:
cc-bugs_chromium.org, chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Add ARB_occlusion_query support. This adds support for GL_ARB_occlusion_query and improves overdraw tracing by using this extension to collect exact amount of overdraw. BUG=678234 CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2639293002 Cr-Commit-Position: refs/heads/master@{#445151} Committed: https://chromium.googlesource.com/chromium/src/+/e2f29f0eda0cb38f57db34c7343ef4e6cce40263

Patch Set 1 #

Patch Set 2 : percentage #

Patch Set 3 : remove double #

Total comments: 2

Patch Set 4 : pass max_result to callback #

Total comments: 2

Patch Set 5 : add unit test #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -11 lines) Patch
M cc/output/gl_renderer.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M cc/output/gl_renderer.cc View 1 2 3 6 chunks +21 lines, -8 lines 0 comments Download
M gpu/GLES2/gl2extchromium.h View 1 chunk +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 chunk +9 lines, -1 line 0 comments Download
M gpu/command_buffer/common/capabilities.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/capabilities.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 2 chunks +10 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_validation_implementation_autogen.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/query_manager.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/query_manager_unittest.cc View 1 2 3 4 1 chunk +32 lines, -0 lines 0 comments Download
M gpu/ipc/common/gpu_command_buffer_traits_multi.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/gl/gl_bindings.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (17 generated)
reveman
+jbauman for gpu/ and ui/ +danakj for cc/
3 years, 11 months ago (2017-01-18 18:49:48 UTC) #5
danakj
https://codereview.chromium.org/2639293002/diff/40001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/2639293002/diff/40001/cc/output/gl_renderer.cc#newcode3616 cc/output/gl_renderer.cc:3616: current_surface_size_.GetArea()); I don't think you can/should use a member ...
3 years, 11 months ago (2017-01-18 19:34:07 UTC) #6
reveman
https://codereview.chromium.org/2639293002/diff/40001/cc/output/gl_renderer.cc File cc/output/gl_renderer.cc (right): https://codereview.chromium.org/2639293002/diff/40001/cc/output/gl_renderer.cc#newcode3616 cc/output/gl_renderer.cc:3616: current_surface_size_.GetArea()); On 2017/01/18 at 19:34:06, danakj (slow) wrote: > ...
3 years, 11 months ago (2017-01-18 20:05:28 UTC) #7
jbauman
Could you add a simple test to query_manager_unittest.cc? https://codereview.chromium.org/2639293002/diff/60001/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2639293002/diff/60001/gpu/command_buffer/service/feature_info.cc#newcode1183 gpu/command_buffer/service/feature_info.cc:1183: feature_flags_.occlusion_query ...
3 years, 11 months ago (2017-01-19 01:33:43 UTC) #8
reveman
On 2017/01/19 at 01:33:43, jbauman wrote: > Could you add a simple test to query_manager_unittest.cc? ...
3 years, 11 months ago (2017-01-19 04:44:34 UTC) #9
jbauman
lgtm
3 years, 11 months ago (2017-01-20 19:02:06 UTC) #14
danakj
cc LGTM
3 years, 11 months ago (2017-01-20 19:13:28 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2639293002/80001
3 years, 11 months ago (2017-01-20 19:21:47 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/346636)
3 years, 11 months ago (2017-01-20 19:30:03 UTC) #19
reveman
+dcheng for gpu/ipc/common/gpu_command_buffer_traits_multi.h
3 years, 11 months ago (2017-01-20 19:32:21 UTC) #21
dcheng
lgtm
3 years, 11 months ago (2017-01-20 19:59:48 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2639293002/80001
3 years, 11 months ago (2017-01-20 20:00:57 UTC) #27
commit-bot: I haz the power
3 years, 11 months ago (2017-01-20 20:41:09 UTC) #30
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/e2f29f0eda0cb38f57db34c7343e...

Powered by Google App Engine
This is Rietveld 408576698