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

Issue 2900403003: Set the texture base level before generating sRGB mipmaps. (Closed)

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

Description

Set the texture base level before generating sRGB mipmaps. GL ES 3.0 considers the framebuffer incomplete if the texture is not mip complete and the bound mip level is not the base level. Set the base level to the attached texture level before rendering each level to avoid this validation. BUG=722684 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/2900403003 Cr-Commit-Position: refs/heads/master@{#475349} Committed: https://chromium.googlesource.com/chromium/src/+/54841760a98142fac982f3ec12064093b8c3a7da

Patch Set 1 #

Patch Set 2 : Make sure texture is mip complete first instead of setting base level #

Patch Set 3 : Fix sizes for mips #

Unified diffs Side-by-side diffs Delta from patch set Stats (+21 lines, -10 lines) Patch
M gpu/command_buffer/service/gles2_cmd_srgb_converter.cc View 1 2 1 chunk +21 lines, -10 lines 0 comments Download

Messages

Total messages: 33 (24 generated)
Geoff Lang
PTAL, noticed this issue when updating ANGLE's framebuffer validation in https://chromium-review.googlesource.com/c/506928/
3 years, 7 months ago (2017-05-25 14:54:39 UTC) #6
Geoff Lang
nvm on the review, looks like some Mac drivers can't handle this.
3 years, 7 months ago (2017-05-25 17:03:25 UTC) #9
Zhenyao Mo
On 2017/05/25 17:03:25, Geoff Lang wrote: > nvm on the review, looks like some Mac ...
3 years, 7 months ago (2017-05-25 17:07:46 UTC) #11
Zhenyao Mo
On 2017/05/25 17:07:46, Zhenyao Mo wrote: > On 2017/05/25 17:03:25, Geoff Lang wrote: > > ...
3 years, 7 months ago (2017-05-25 17:09:00 UTC) #12
Geoff Lang
On 2017/05/25 17:09:00, Zhenyao Mo wrote: > On 2017/05/25 17:07:46, Zhenyao Mo wrote: > > ...
3 years, 7 months ago (2017-05-25 17:10:25 UTC) #13
Geoff Lang
On 2017/05/25 17:10:25, Geoff Lang wrote: > On 2017/05/25 17:09:00, Zhenyao Mo wrote: > > ...
3 years, 7 months ago (2017-05-25 17:32:47 UTC) #14
Geoff Lang
On 2017/05/25 17:32:47, Geoff Lang wrote: > On 2017/05/25 17:10:25, Geoff Lang wrote: > > ...
3 years, 7 months ago (2017-05-26 17:24:58 UTC) #25
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/2900403003/40001
3 years, 6 months ago (2017-05-29 13:46:56 UTC) #30
commit-bot: I haz the power
3 years, 6 months ago (2017-05-29 14:50:57 UTC) #33
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/54841760a98142fac982f3ec1206...

Powered by Google App Engine
This is Rietveld 408576698