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

Issue 2040773002: Upload textures through GPU path to non-8-bit color formats won't work in WebGL2 (Closed)

Created:
4 years, 6 months ago by Zhenyao Mo
Modified:
4 years, 6 months ago
CC:
blink-reviews, chromium-reviews, darin-cc_chromium.org, haraken, jam, 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

Upload textures through GPU path to non-8-bit color formats won't work in WebGL2 This is because we use copyTexImage to do the GPU to GPU copying, but in ES3 it is limited that source/destination color format component sizes have to match. We can lift this limitation once we implement a different path where shaders are used to do the copying instead of copyTexImage. BUG=429053 TEST=gpu_bots R=kbr@chromium.org,cwallez@chromium.org 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/fbae9a940e3e1086437785e55fc5e773a0245692 Cr-Commit-Position: refs/heads/master@{#398230}

Patch Set 1 #

Total comments: 5

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -40 lines) Patch
M content/test/gpu/gpu_tests/webgl2_conformance_expectations.py View 1 1 chunk +0 lines, -39 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.h View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (7 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040773002/1
4 years, 6 months ago (2016-06-05 15:16:46 UTC) #4
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/82164)
4 years, 6 months ago (2016-06-05 16:18:03 UTC) #6
Zhenyao Mo
kbr,please review. cwallez: fyi (feel free to review) https://codereview.chromium.org/2040773002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/2040773002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode4151 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:4151: case ...
4 years, 6 months ago (2016-06-06 12:47:47 UTC) #7
Corentin Wallez
https://codereview.chromium.org/2040773002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/2040773002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode4151 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:4151: case GL_RGB5_A1: On 2016/06/06 at 12:47:47, Zhenyao Mo wrote: ...
4 years, 6 months ago (2016-06-06 15:25:47 UTC) #8
Zhenyao Mo
https://codereview.chromium.org/2040773002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/2040773002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode4151 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:4151: case GL_RGB5_A1: On 2016/06/06 15:25:46, Corentin Wallez wrote: > ...
4 years, 6 months ago (2016-06-06 16:09:21 UTC) #9
Ken Russell (switch to Gerrit)
lgtm https://codereview.chromium.org/2040773002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/2040773002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode4153 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:4153: // component sizes have to match the source ...
4 years, 6 months ago (2016-06-06 23:23:48 UTC) #10
Zhenyao Mo
https://codereview.chromium.org/2040773002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/2040773002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode4153 third_party/WebKit/Source/modules/webgl/WebGLRenderingContextBase.cpp:4153: // component sizes have to match the source color ...
4 years, 6 months ago (2016-06-07 00:36:50 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2040773002/20001
4 years, 6 months ago (2016-06-07 01:02:34 UTC) #14
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 6 months ago (2016-06-07 05:13:47 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-06-07 05:15:04 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fbae9a940e3e1086437785e55fc5e773a0245692
Cr-Commit-Position: refs/heads/master@{#398230}

Powered by Google App Engine
This is Rietveld 408576698