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

Issue 2120343002: command_buffer: correctly use glGetFramebufferAttachmentParameter (Closed)

Created:
4 years, 5 months ago by Corentin Wallez
Modified:
4 years, 5 months ago
Reviewers:
Zhenyao Mo
CC:
chromium-reviews, piman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

command_buffer: correctly use glGetFramebufferAttachmentParameter It is used instead of some glGet on a core OpenGL profile and the Intel Mesa driveri (correctly) produces and error when the attachment queried doesn't exist. BUG=598902 CQ_INCLUDE_TRYBOTS=tryserver.chromium.linux:linux_optional_gpu_tests_rel;tryserver.chromium.mac:mac_optional_gpu_tests_rel;tryserver.chromium.win:win_optional_gpu_tests_rel Committed: https://crrev.com/aafbfa02af91e1b2f9f49b0ae2333b6f2c3517e1 Cr-Commit-Position: refs/heads/master@{#403924}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Total comments: 1

Patch Set 3 : Address last comment? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+44 lines, -22 lines) Patch
M gpu/command_buffer/service/framebuffer_manager.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/framebuffer_manager.cc View 1 chunk +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 4 chunks +39 lines, -22 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
Corentin Wallez
PTAL, thanks!
4 years, 5 months ago (2016-07-04 19:57:48 UTC) #3
Zhenyao Mo
https://codereview.chromium.org/2120343002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2120343002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode6070 gpu/command_buffer/service/gles2_cmd_decoder.cc:6070: if (framebuffer->HasColorAttachment(0)) { Here we have a pre-existing issue: ...
4 years, 5 months ago (2016-07-04 23:16:06 UTC) #4
Corentin Wallez
On 2016/07/04 at 23:16:06, zmo wrote: > https://codereview.chromium.org/2120343002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc > File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): > > https://codereview.chromium.org/2120343002/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode6070 ...
4 years, 5 months ago (2016-07-05 18:53:23 UTC) #5
Zhenyao Mo
lgtm with one left over fixed. https://codereview.chromium.org/2120343002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/2120343002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode6095 gpu/command_buffer/service/gles2_cmd_decoder.cc:6095: if (framebuffer && ...
4 years, 5 months ago (2016-07-05 21:14:16 UTC) #6
Corentin Wallez
On 2016/07/05 at 21:14:16, zmo wrote: > lgtm with one left over fixed. > > ...
4 years, 5 months ago (2016-07-06 13:55:42 UTC) #7
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/2120343002/40001
4 years, 5 months ago (2016-07-06 13:55:56 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_rel_ng/builds/240492)
4 years, 5 months ago (2016-07-06 15:41:35 UTC) #12
Corentin Wallez
On 2016/07/06 at 15:41:35, commit-bot wrote: > Try jobs failed on following builders: > win_chromium_x64_rel_ng ...
4 years, 5 months ago (2016-07-06 16:40:20 UTC) #13
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/2120343002/40001
4 years, 5 months ago (2016-07-06 16:40:43 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 5 months ago (2016-07-06 17:14:22 UTC) #16
commit-bot: I haz the power
CQ bit was unchecked.
4 years, 5 months ago (2016-07-06 17:14:39 UTC) #17
commit-bot: I haz the power
4 years, 5 months ago (2016-07-06 17:16:44 UTC) #19
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/aafbfa02af91e1b2f9f49b0ae2333b6f2c3517e1
Cr-Commit-Position: refs/heads/master@{#403924}

Powered by Google App Engine
This is Rietveld 408576698