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

Issue 2291753002: Prevent crash when using getExtension while a PBO is bound. (Closed)

Created:
4 years, 3 months ago by Kai Ninomiya
Modified:
4 years, 3 months ago
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Prevent crash when using getExtension while a PBO is bound. BUG=641643 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 Committed: https://crrev.com/803bcd7befd6a191578a8752ff82cd2bcddd7e1f Cr-Commit-Position: refs/heads/master@{#415547}

Patch Set 1 #

Total comments: 7

Patch Set 2 : work around the fact that a bunch of mocking tests pretend to test ES3 but don't #

Total comments: 7

Patch Set 3 : small corrections #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -15 lines) Patch
M gpu/command_buffer/service/context_group_unittest.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 chunks +33 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info_unittest.cc View 1 4 chunks +4 lines, -4 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager_unittest.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/program_manager_unittest.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/renderbuffer_manager_unittest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M gpu/command_buffer/service/test_helper.h View 1 3 chunks +3 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/test_helper.cc View 1 2 5 chunks +18 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 29 (13 generated)
Kai Ninomiya
PTAL
4 years, 3 months ago (2016-08-29 18:33:18 UTC) #4
Zhenyao Mo
On 2016/08/29 18:33:18, Kai Ninomiya wrote: > PTAL The code looks fine, but you will ...
4 years, 3 months ago (2016-08-29 19:15:25 UTC) #6
Zhenyao Mo
https://codereview.chromium.org/2291753002/diff/1/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2291753002/diff/1/gpu/command_buffer/service/feature_info.cc#newcode92 gpu/command_buffer/service/feature_info.cc:92: glBindBuffer(GL_PIXEL_UNPACK_BUFFER, binding_override); A minor optimization: if original_bindings_ == binding_override, ...
4 years, 3 months ago (2016-08-29 19:18:48 UTC) #7
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/2291753002/diff/1/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2291753002/diff/1/gpu/command_buffer/service/feature_info.cc#newcode92 gpu/command_buffer/service/feature_info.cc:92: glBindBuffer(GL_PIXEL_UNPACK_BUFFER, binding_override); On 2016/08/29 19:18:48, Zhenyao Mo wrote: > ...
4 years, 3 months ago (2016-08-29 19:36:17 UTC) #8
Kai Ninomiya
Updated; PTAL. On 2016/08/29 19:36:17, Ken Russell wrote: > https://codereview.chromium.org/2291753002/diff/1/gpu/command_buffer/service/feature_info.cc > File gpu/command_buffer/service/feature_info.cc (right): > ...
4 years, 3 months ago (2016-08-30 23:49:25 UTC) #14
Kai Ninomiya
https://codereview.chromium.org/2291753002/diff/1/gpu/command_buffer/service/feature_info.cc File gpu/command_buffer/service/feature_info.cc (right): https://codereview.chromium.org/2291753002/diff/1/gpu/command_buffer/service/feature_info.cc#newcode92 gpu/command_buffer/service/feature_info.cc:92: glBindBuffer(GL_PIXEL_UNPACK_BUFFER, binding_override); On 2016/08/29 19:18:48, Zhenyao Mo wrote: > ...
4 years, 3 months ago (2016-08-30 23:51:02 UTC) #15
Zhenyao Mo
Great job! Mostly looks good with two minor suggestions. https://codereview.chromium.org/2291753002/diff/40001/gpu/command_buffer/service/program_manager_unittest.cc File gpu/command_buffer/service/program_manager_unittest.cc (right): https://codereview.chromium.org/2291753002/diff/40001/gpu/command_buffer/service/program_manager_unittest.cc#newcode74 gpu/command_buffer/service/program_manager_unittest.cc:74: ...
4 years, 3 months ago (2016-08-31 00:15:20 UTC) #16
Kai Ninomiya
https://codereview.chromium.org/2291753002/diff/40001/gpu/command_buffer/service/program_manager_unittest.cc File gpu/command_buffer/service/program_manager_unittest.cc (right): https://codereview.chromium.org/2291753002/diff/40001/gpu/command_buffer/service/program_manager_unittest.cc#newcode74 gpu/command_buffer/service/program_manager_unittest.cc:74: if (feature_info) { On 2016/08/31 00:15:19, Zhenyao Mo wrote: ...
4 years, 3 months ago (2016-08-31 00:47:59 UTC) #17
Zhenyao Mo
https://codereview.chromium.org/2291753002/diff/40001/gpu/command_buffer/service/test_helper.cc File gpu/command_buffer/service/test_helper.cc (right): https://codereview.chromium.org/2291753002/diff/40001/gpu/command_buffer/service/test_helper.cc#newcode342 gpu/command_buffer/service/test_helper.cc:342: context_type, gl_info.is_es3); On 2016/08/31 00:47:59, Kai Ninomiya wrote: > ...
4 years, 3 months ago (2016-08-31 00:51:41 UTC) #18
Kai Ninomiya
https://codereview.chromium.org/2291753002/diff/40001/gpu/command_buffer/service/test_helper.cc File gpu/command_buffer/service/test_helper.cc (right): https://codereview.chromium.org/2291753002/diff/40001/gpu/command_buffer/service/test_helper.cc#newcode342 gpu/command_buffer/service/test_helper.cc:342: context_type, gl_info.is_es3); On 2016/08/31 00:51:40, Zhenyao Mo wrote: > ...
4 years, 3 months ago (2016-08-31 01:11:17 UTC) #19
Zhenyao Mo
lgtm https://codereview.chromium.org/2291753002/diff/40001/gpu/command_buffer/service/test_helper.cc File gpu/command_buffer/service/test_helper.cc (right): https://codereview.chromium.org/2291753002/diff/40001/gpu/command_buffer/service/test_helper.cc#newcode342 gpu/command_buffer/service/test_helper.cc:342: context_type, gl_info.is_es3); On 2016/08/31 01:11:17, Kai Ninomiya wrote: ...
4 years, 3 months ago (2016-08-31 01:18:30 UTC) #20
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/2291753002/60001
4 years, 3 months ago (2016-08-31 01:24:28 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/133450)
4 years, 3 months ago (2016-08-31 02:09:22 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/2291753002/60001
4 years, 3 months ago (2016-08-31 02:12:03 UTC) #26
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 3 months ago (2016-08-31 02:52:54 UTC) #27
commit-bot: I haz the power
4 years, 3 months ago (2016-08-31 02:54:11 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/803bcd7befd6a191578a8752ff82cd2bcddd7e1f
Cr-Commit-Position: refs/heads/master@{#415547}

Powered by Google App Engine
This is Rietveld 408576698