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

Issue 2496633005: Fix unsized internalformat color-renderable detection (Closed)

Created:
4 years, 1 month ago by qiankun
Modified:
4 years, 1 month ago
CC:
chromium-reviews, piman+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix unsized internalformat color-renderable detection GenerateMipmap requires an unsized internal format or color-renderable and texture-filterable sized internal format, es_spec_3.0.4 page 160. For unsized internal format, only RGBA and RGB are color-renderable, in section 4.4.4 Framebuffer Completeness, es_spec_3.0.4, page 212. BUG=612542 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/8c28970babf05637d242b861eb46efe690911cc2 Cr-Commit-Position: refs/heads/master@{#433100}

Patch Set 1 #

Patch Set 2 : add BGRA_EXT #

Patch Set 3 : add gpu_unittests #

Total comments: 2

Patch Set 4 : fix comments of zmo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -17 lines) Patch
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/texture_manager.cc View 1 2 3 3 chunks +14 lines, -16 lines 0 comments Download
M gpu/command_buffer/service/texture_manager_unittest.cc View 1 2 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
qiankun
PTAL
4 years, 1 month ago (2016-11-11 15:31:46 UTC) #3
Ken Russell (switch to Gerrit)
Are there tests to cover this code change?
4 years, 1 month ago (2016-11-11 21:18:45 UTC) #5
Ken Russell (switch to Gerrit)
On 2016/11/11 21:18:45, Ken Russell wrote: > Are there tests to cover this code change? ...
4 years, 1 month ago (2016-11-11 21:20:27 UTC) #6
Zhenyao Mo
The code looks fine to me, but I agree with kbr - can you add ...
4 years, 1 month ago (2016-11-11 21:30:06 UTC) #7
qiankun
On 2016/11/11 21:30:06, Zhenyao Mo wrote: > The code looks fine to me, but I ...
4 years, 1 month ago (2016-11-14 11:58:28 UTC) #8
Zhenyao Mo
LGTM with one thing fixed.
4 years, 1 month ago (2016-11-14 19:49:36 UTC) #9
Zhenyao Mo
https://codereview.chromium.org/2496633005/diff/40001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/2496633005/diff/40001/gpu/command_buffer/service/texture_manager.cc#newcode876 gpu/command_buffer/service/texture_manager.cc:876: return internal_format == GL_RGBA || internal_format == GL_RGB || ...
4 years, 1 month ago (2016-11-14 19:49:44 UTC) #10
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/2496633005/60001
4 years, 1 month ago (2016-11-18 02:11:25 UTC) #17
qiankun
Landing it now. https://codereview.chromium.org/2496633005/diff/40001/gpu/command_buffer/service/texture_manager.cc File gpu/command_buffer/service/texture_manager.cc (right): https://codereview.chromium.org/2496633005/diff/40001/gpu/command_buffer/service/texture_manager.cc#newcode876 gpu/command_buffer/service/texture_manager.cc:876: return internal_format == GL_RGBA || internal_format ...
4 years, 1 month ago (2016-11-18 03:20:38 UTC) #18
Zhenyao Mo
On 2016/11/18 03:20:38, qiankun wrote: > Landing it now. > > https://codereview.chromium.org/2496633005/diff/40001/gpu/command_buffer/service/texture_manager.cc > File gpu/command_buffer/service/texture_manager.cc ...
4 years, 1 month ago (2016-11-18 03:36:34 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/2496633005/60001
4 years, 1 month ago (2016-11-18 04:20:06 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-18 04:26:42 UTC) #24
commit-bot: I haz the power
4 years, 1 month ago (2016-11-18 04:33:03 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/8c28970babf05637d242b861eb46efe690911cc2
Cr-Commit-Position: refs/heads/master@{#433100}

Powered by Google App Engine
This is Rietveld 408576698