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

Issue 1288303002: WebGL 2: add types into glReadPixels (Closed)

Created:
5 years, 4 months ago by yunchao
Modified:
5 years, 4 months ago
CC:
blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

WebGL 2: add types into glReadPixels UNSIGNED_SHORT and SHORT can be supported in glReadPixels in WebGL 2, see Table 4.5 in GLES 3.0 spec: https://www.khronos.org/registry/gles/specs/3.0/es_spec_3.0.3.pdf BUG=295792 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=200599

Patch Set 1 #

Total comments: 2

Patch Set 2 : To make the code snippet clearer, override the part of getting ArrayBuffer ViewType in readPixels f… #

Total comments: 2

Patch Set 3 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -34 lines) Patch
M Source/modules/webgl/WebGL2RenderingContextBase.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 2 2 chunks +25 lines, -0 lines 0 comments Download
M Source/modules/webgl/WebGLRenderingContextBase.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 2 chunks +20 lines, -34 lines 0 comments Download

Messages

Total messages: 16 (6 generated)
yunchao
A small change. PTAL. Thanks!
5 years, 4 months ago (2015-08-13 09:40:22 UTC) #2
Zhenyao Mo
https://codereview.chromium.org/1288303002/diff/1/Source/modules/webgl/WebGLRenderingContextBase.cpp File Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/1288303002/diff/1/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode3741 Source/modules/webgl/WebGLRenderingContextBase.cpp:3741: case GL_UNSIGNED_SHORT: This is incorrect. For OpenGL ES 2 ...
5 years, 4 months ago (2015-08-13 15:22:01 UTC) #3
yunchao
Thanks for your reviewing, zmo@. Please see the comments. https://codereview.chromium.org/1288303002/diff/1/Source/modules/webgl/WebGLRenderingContextBase.cpp File Source/modules/webgl/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/1288303002/diff/1/Source/modules/webgl/WebGLRenderingContextBase.cpp#newcode3741 Source/modules/webgl/WebGLRenderingContextBase.cpp:3741: ...
5 years, 4 months ago (2015-08-14 00:07:11 UTC) #4
yunchao
On 2015/08/14 00:07:11, yunchao wrote: > Thanks for your reviewing, zmo@. Please see the comments. ...
5 years, 4 months ago (2015-08-14 02:50:17 UTC) #5
Zhenyao Mo
LGTM with nits https://codereview.chromium.org/1288303002/diff/20001/Source/modules/webgl/WebGL2RenderingContextBase.cpp File Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1288303002/diff/20001/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode2139 Source/modules/webgl/WebGL2RenderingContextBase.cpp:2139: DOMArrayBufferView::ViewType expectedViewType; nit: you don't need ...
5 years, 4 months ago (2015-08-14 16:07:42 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288303002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288303002/40001
5 years, 4 months ago (2015-08-15 02:01:34 UTC) #9
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 4 months ago (2015-08-15 03:10:24 UTC) #11
yunchao
On 2015/08/15 03:10:24, commit-bot: I haz the power wrote: > Dry run: This issue passed ...
5 years, 4 months ago (2015-08-15 05:24:51 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1288303002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1288303002/40001
5 years, 4 months ago (2015-08-15 05:25:25 UTC) #15
commit-bot: I haz the power
5 years, 4 months ago (2015-08-15 05:29:38 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=200599

Powered by Google App Engine
This is Rietveld 408576698