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

Issue 2788793003: gpu: Support other buffer targets for ScopedBufferBinder (Closed)

Created:
3 years, 8 months ago by Chandan
Modified:
3 years, 8 months ago
Reviewers:
a.suchit2, piman
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

gpu: Support other buffer targets for ScopedBufferBinder As a result of [1], ScopedBufferBinder supports decoder state restoration only for GL_ARRAY_BUFFER. This CL now extends its support for other buffer targets which are supported at the context level. [1] https://codereview.chromium.org/2762833003/ BUG=None CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.android:android_optional_gpu_tests_rel;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/2788793003 Cr-Commit-Position: refs/heads/master@{#462376} Committed: https://chromium.googlesource.com/chromium/src/+/b0a7f41f21e310fb708a01ea0cdf81816d4df386

Patch Set 1 #

Total comments: 2

Patch Set 2 : Added support for other buffer targets #

Total comments: 4

Patch Set 3 : Update{Pack,Unpack}Parameters() made public #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -31 lines) Patch
M gpu/command_buffer/service/context_state.h View 1 2 3 chunks +7 lines, -8 lines 0 comments Download
M gpu/command_buffer/service/context_state.cc View 1 2 chunks +0 lines, -15 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.h View 1 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 chunks +12 lines, -3 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_mock.h View 1 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough.h View 1 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough.cc View 1 1 chunk +1 line, -2 lines 0 comments Download

Messages

Total messages: 25 (11 generated)
Chandan
PTAL. Thank you.
3 years, 8 months ago (2017-03-31 09:08:17 UTC) #4
piman
https://codereview.chromium.org/2788793003/diff/1/gpu/command_buffer/service/context_state.cc File gpu/command_buffer/service/context_state.cc (right): https://codereview.chromium.org/2788793003/diff/1/gpu/command_buffer/service/context_state.cc#newcode309 gpu/command_buffer/service/context_state.cc:309: void ContextState::RestoreBufferBinding(unsigned int target) const { If we are ...
3 years, 8 months ago (2017-04-04 00:27:25 UTC) #5
Chandan
Please review patch set 2. Thank you. https://codereview.chromium.org/2788793003/diff/1/gpu/command_buffer/service/context_state.cc File gpu/command_buffer/service/context_state.cc (right): https://codereview.chromium.org/2788793003/diff/1/gpu/command_buffer/service/context_state.cc#newcode309 gpu/command_buffer/service/context_state.cc:309: void ContextState::RestoreBufferBinding(unsigned ...
3 years, 8 months ago (2017-04-04 12:14:00 UTC) #8
piman
https://codereview.chromium.org/2788793003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2788793003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode5605 gpu/command_buffer/service/gles2_cmd_decoder.cc:5605: glPixelStorei(GL_PACK_ROW_LENGTH, We should only do these if we're on ...
3 years, 8 months ago (2017-04-04 17:48:43 UTC) #9
Chandan
https://codereview.chromium.org/2788793003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2788793003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode5605 gpu/command_buffer/service/gles2_cmd_decoder.cc:5605: glPixelStorei(GL_PACK_ROW_LENGTH, On 2017/04/04 17:48:43, piman wrote: > We should ...
3 years, 8 months ago (2017-04-04 18:18:46 UTC) #10
piman
https://codereview.chromium.org/2788793003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2788793003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode5605 gpu/command_buffer/service/gles2_cmd_decoder.cc:5605: glPixelStorei(GL_PACK_ROW_LENGTH, On 2017/04/04 18:18:45, Chandan wrote: > On 2017/04/04 ...
3 years, 8 months ago (2017-04-04 19:59:15 UTC) #11
Chandan
https://codereview.chromium.org/2788793003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2788793003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode5605 gpu/command_buffer/service/gles2_cmd_decoder.cc:5605: glPixelStorei(GL_PACK_ROW_LENGTH, On 2017/04/04 19:59:14, piman wrote: > On 2017/04/04 ...
3 years, 8 months ago (2017-04-05 11:23:52 UTC) #12
Chandan
On 2017/04/05 11:23:52, Chandan wrote: > https://codereview.chromium.org/2788793003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc > File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): > > https://codereview.chromium.org/2788793003/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode5605 > ...
3 years, 8 months ago (2017-04-05 11:24:15 UTC) #13
piman
lgtm
3 years, 8 months ago (2017-04-05 20:54:22 UTC) #14
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/2788793003/40001
3 years, 8 months ago (2017-04-06 02:03:26 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/423370)
3 years, 8 months ago (2017-04-06 02:07:54 UTC) #18
Chandan
3 years, 8 months ago (2017-04-06 05:41:46 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/2788793003/40001
3 years, 8 months ago (2017-04-06 06:28:56 UTC) #22
commit-bot: I haz the power
3 years, 8 months ago (2017-04-06 06:57:39 UTC) #25
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/b0a7f41f21e310fb708a01ea0cdf...

Powered by Google App Engine
This is Rietveld 408576698