Chromium Code Reviews
Help | Chromium Project | Gerrit Changes | Sign in
(34)

Issue 981913002: update getFramebufferAttachmentParameter for WebGL 2 (Closed)

Created:
5 years, 1 month ago by yunchao
Modified:
5 years ago
CC:
blink-reviews, dshwang, blink-reviews-html_chromium.org, Justin Novosad, dglazkov+blink, Rik, aandrey+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

update getFramebufferAttachmentParameter for WebGL 2 BUG=295792 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=194785

Patch Set 1 : #

Total comments: 11

Patch Set 2 : addressed zmo@'s feedback #

Total comments: 11

Patch Set 3 : addressed zmo@'s feedback: wrong assertion and some small changes #

Total comments: 2

Patch Set 4 : code rebase #

Total comments: 6

Patch Set 5 : addressed kbr@'s feedback: get the 'correct' framebuffer bound to the given target #

Total comments: 2

Patch Set 6 : addressed kbr@'s feedback + rebased code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+132 lines, -22 lines) Patch
M Source/core/html/canvas/WebGL2RenderingContextBase.h View 1 2 3 4 5 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/html/canvas/WebGL2RenderingContextBase.cpp View 1 2 3 4 5 1 chunk +108 lines, -0 lines 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.cpp View 1 2 3 4 5 5 chunks +15 lines, -18 lines 0 comments Download
M Source/platform/graphics/gpu/DrawingBuffer.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 27 (8 generated)
yunchao
PTAL. Thanks a lot!
5 years, 1 month ago (2015-03-05 09:55:19 UTC) #2
Zhenyao Mo
I didn't finish reviewing this whole CL, but I feel we should not do all ...
5 years, 1 month ago (2015-03-06 18:35:37 UTC) #6
yunchao
On 2015/03/06 18:35:37, Zhenyao Mo wrote: > I didn't finish reviewing this whole CL, but ...
5 years, 1 month ago (2015-03-09 07:16:57 UTC) #7
yunchao
Many thanks for your feedback, @zmo. https://codereview.chromium.org/981913002/diff/80001/Source/core/html/canvas/WebGLRenderingContextBase.cpp File Source/core/html/canvas/WebGLRenderingContextBase.cpp (right): https://codereview.chromium.org/981913002/diff/80001/Source/core/html/canvas/WebGLRenderingContextBase.cpp#newcode2265 Source/core/html/canvas/WebGLRenderingContextBase.cpp:2265: WebGLSharedObject* attachmentObject = ...
5 years, 1 month ago (2015-03-09 07:20:27 UTC) #8
yunchao
https://codereview.chromium.org/981913002/diff/60001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/981913002/diff/60001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode1201 Source/core/html/canvas/WebGL2RenderingContextBase.cpp:1201: if (target != GL_FRAMEBUFFER && target != GL_READ_FRAMEBUFFER) { ...
5 years, 1 month ago (2015-03-09 10:00:34 UTC) #9
Zhenyao Mo
Mostly looks good https://codereview.chromium.org/981913002/diff/80001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/981913002/diff/80001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode1205 Source/core/html/canvas/WebGL2RenderingContextBase.cpp:1205: ASSERT(!m_framebufferBinding && !drawingBuffer()); OK, let me ...
5 years, 1 month ago (2015-03-09 18:39:19 UTC) #10
yunchao
Thanks for your feedback, @zmo. The code has been updated accordingly. https://codereview.chromium.org/981913002/diff/80001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): ...
5 years, 1 month ago (2015-03-10 15:34:54 UTC) #11
Zhenyao Mo
https://codereview.chromium.org/981913002/diff/100001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/981913002/diff/100001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode1243 Source/core/html/canvas/WebGL2RenderingContextBase.cpp:1243: ASSERT(!m_framebufferBinding || m_framebufferBinding->object()); Now this ASSERTION is wrong. I ...
5 years, 1 month ago (2015-03-10 17:03:12 UTC) #12
Zhenyao Mo
LGTM https://codereview.chromium.org/981913002/diff/100001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/981913002/diff/100001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode1243 Source/core/html/canvas/WebGL2RenderingContextBase.cpp:1243: ASSERT(!m_framebufferBinding || m_framebufferBinding->object()); On 2015/03/10 17:03:12, Zhenyao Mo ...
5 years, 1 month ago (2015-03-10 17:05:58 UTC) #13
Ken Russell (switch to Gerrit)
Yunchao, thanks for this contribution and Mo, thanks for reviewing it so carefully. Yunchao, I ...
5 years, 1 month ago (2015-03-10 19:28:18 UTC) #14
yunchao
On 2015/03/10 19:28:18, Ken Russell wrote: > Yunchao, thanks for this contribution and Mo, thanks ...
5 years ago (2015-04-27 05:32:42 UTC) #15
yunchao
On 2015/04/27 05:32:42, yunchao wrote: > On 2015/03/10 19:28:18, Ken Russell wrote: > > Yunchao, ...
5 years ago (2015-04-27 10:09:20 UTC) #16
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/981913002/diff/120001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/981913002/diff/120001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode1466 Source/core/html/canvas/WebGL2RenderingContextBase.cpp:1466: if (target != GL_FRAMEBUFFER && target != GL_READ_FRAMEBUFFER && ...
5 years ago (2015-04-28 05:43:23 UTC) #17
yunchao
kbr@, Thanks for your reviewing. The code has been updated, PTAL when you have time. ...
5 years ago (2015-04-29 11:13:11 UTC) #19
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/981913002/diff/160001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/981913002/diff/160001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode1558 Source/core/html/canvas/WebGL2RenderingContextBase.cpp:1558: break; The scenario where different objects are bound to ...
5 years ago (2015-04-30 02:28:26 UTC) #20
yunchao
On 2015/04/30 02:28:26, Ken Russell wrote: > https://codereview.chromium.org/981913002/diff/160001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp > File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): > > https://codereview.chromium.org/981913002/diff/160001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode1558 ...
5 years ago (2015-04-30 02:32:01 UTC) #21
Ken Russell (switch to Gerrit)
On 2015/04/30 02:32:01, yunchao wrote: > On 2015/04/30 02:28:26, Ken Russell wrote: > > > ...
5 years ago (2015-04-30 02:56:41 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/981913002/200001
5 years ago (2015-05-01 04:07:09 UTC) #26
commit-bot: I haz the power
5 years ago (2015-05-01 04:51:06 UTC) #27
Message was sent while issue was closed.
Committed patchset #6 (id:200001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194785

Powered by Google App Engine
This is Rietveld 408576698