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

Issue 2689203002: Check for some extensions before calling potentially NULL GL entry points. (Closed)

Created:
3 years, 10 months ago by Geoff Lang
Modified:
3 years, 10 months ago
Reviewers:
Zhenyao Mo
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Check for some extensions before calling potentially NULL GL entry points. Some extensions are exposed by the command buffer unconditionally, add some tracking of which extensions are natively supported and call the correct entry point. BUG=602737 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel Review-Url: https://codereview.chromium.org/2689203002 Cr-Commit-Position: refs/heads/master@{#450816} Committed: https://chromium.googlesource.com/chromium/src/+/0526716fe414eef61b0c151affd57b6f3bb6c96f

Patch Set 1 #

Total comments: 2

Patch Set 2 : refactor feature_info a bit #

Patch Set 3 : Fix compile #

Patch Set 4 : Revert discard_framebuffer functional change #

Unified diffs Side-by-side diffs Delta from patch set Stats (+57 lines, -8 lines) Patch
M gpu/command_buffer/service/feature_info.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 3 3 chunks +9 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc View 1 2 2 chunks +4 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc View 1 2 3 5 chunks +40 lines, -5 lines 0 comments Download

Messages

Total messages: 31 (22 generated)
Geoff Lang
PTAL
3 years, 10 months ago (2017-02-13 15:58:45 UTC) #5
Zhenyao Mo
https://codereview.chromium.org/2689203002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h File gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h (right): https://codereview.chromium.org/2689203002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h#newcode388 gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h:388: bool has_chromium_copy_compressed_texture_; Can we consolidate these to FeatureInfo? It ...
3 years, 10 months ago (2017-02-13 18:12:08 UTC) #8
Geoff Lang
https://codereview.chromium.org/2689203002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h File gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h (right): https://codereview.chromium.org/2689203002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h#newcode388 gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h:388: bool has_chromium_copy_compressed_texture_; On 2017/02/13 18:12:08, Zhenyao Mo wrote: > ...
3 years, 10 months ago (2017-02-13 19:53:06 UTC) #9
Zhenyao Mo
On 2017/02/13 19:53:06, Geoff Lang wrote: > https://codereview.chromium.org/2689203002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h > File gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h (right): > > https://codereview.chromium.org/2689203002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h#newcode388 ...
3 years, 10 months ago (2017-02-13 19:58:15 UTC) #10
Geoff Lang
On 2017/02/13 19:58:15, Zhenyao Mo wrote: > On 2017/02/13 19:53:06, Geoff Lang wrote: > > ...
3 years, 10 months ago (2017-02-15 18:05:34 UTC) #13
Geoff Lang
On 2017/02/15 18:05:34, Geoff Lang wrote: > On 2017/02/13 19:58:15, Zhenyao Mo wrote: > > ...
3 years, 10 months ago (2017-02-15 19:06:00 UTC) #21
Zhenyao Mo
lgtm
3 years, 10 months ago (2017-02-15 19:46:35 UTC) #23
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/2689203002/60001
3 years, 10 months ago (2017-02-15 21:24:53 UTC) #27
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 22:28:11 UTC) #31
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/0526716fe414eef61b0c151affd5...

Powered by Google App Engine
This is Rietveld 408576698