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

Issue 1412613004: Set attachment for bound framebuffer in FramebufferTextureLayer (Closed)

Created:
5 years, 1 month ago by qiankun
Modified:
5 years, 1 month ago
CC:
chromium-reviews, blink-reviews, 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

Set attachment for bound framebuffer in FramebufferTextureLayer BUG=546411 Committed: https://crrev.com/3071b5391379d2abe2f6890989b2c1dfebbc0d2b Cr-Commit-Position: refs/heads/master@{#357068}

Patch Set 1 #

Total comments: 10

Patch Set 2 : more validations and fix gpu_unittests #

Total comments: 15

Patch Set 3 : fix comments#11 #

Patch Set 4 : Add zero texure support and fix conformance test #

Total comments: 2

Patch Set 5 : fix WebGLTextureAttachment::attach #

Messages

Total messages: 33 (3 generated)
qiankun
PTAL. I uploaded this CL to fix the bug. I think more validations should be ...
5 years, 1 month ago (2015-10-26 10:21:24 UTC) #2
qiankun
On 2015/10/26 10:21:24, qiankun wrote: > PTAL. I uploaded this CL to fix the bug. ...
5 years, 1 month ago (2015-10-26 15:08:50 UTC) #3
bajones
On 2015/10/26 15:08:50, qiankun wrote: > I will fix gpu_unittests first, and a conformance test ...
5 years, 1 month ago (2015-10-26 17:54:36 UTC) #4
Ken Russell (switch to Gerrit)
Thanks for fixing this. Let's get this in ASAP. LGTM once all the tests are ...
5 years, 1 month ago (2015-10-26 21:23:09 UTC) #5
Zhenyao Mo
https://codereview.chromium.org/1412613004/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1412613004/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode6448 gpu/command_buffer/service/gles2_cmd_decoder.cc:6448: // TODO(zmo): Unsafe ES3 API, missing states update. Now ...
5 years, 1 month ago (2015-10-26 21:50:33 UTC) #6
qiankun
I uploaded a new CL to fix gpu_unittests and some review comments. Conformance test isn't ...
5 years, 1 month ago (2015-10-27 14:26:31 UTC) #7
Ken Russell (switch to Gerrit)
Still looks good; thanks for improving the correctness, but zmo@ should review. One general concern ...
5 years, 1 month ago (2015-10-27 16:47:59 UTC) #8
Zhenyao Mo
https://codereview.chromium.org/1412613004/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1412613004/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode249 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:249: bool WebGL2RenderingContextBase::validateTextureLayer(const char* functionName, GLenum target, GLint layer) Function ...
5 years, 1 month ago (2015-10-27 21:21:31 UTC) #9
qiankun
Thanks for review. https://codereview.chromium.org/1412613004/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1412613004/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode249 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:249: bool WebGL2RenderingContextBase::validateTextureLayer(const char* functionName, GLenum target, ...
5 years, 1 month ago (2015-10-27 23:25:27 UTC) #10
Zhenyao Mo
https://codereview.chromium.org/1412613004/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1412613004/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode291 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:291: if (!validateTexFuncLevel("framebufferTextureLayer", textarget, level)) On 2015/10/27 23:25:27, qiankun wrote: ...
5 years, 1 month ago (2015-10-27 23:40:28 UTC) #11
qiankun
https://codereview.chromium.org/1412613004/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1412613004/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode249 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:249: bool WebGL2RenderingContextBase::validateTextureLayer(const char* functionName, GLenum target, GLint layer) On ...
5 years, 1 month ago (2015-10-27 23:55:59 UTC) #12
Zhenyao Mo
LGTM
5 years, 1 month ago (2015-10-28 00:00:46 UTC) #13
Ken Russell (switch to Gerrit)
LGTM again too. Thanks Qiankun for this contribution and Mo for carefully reviewing this.
5 years, 1 month ago (2015-10-28 00:23:50 UTC) #14
qiankun
Thanks all for review. I updated the CL to support zero texture and fix conformance ...
5 years, 1 month ago (2015-10-28 11:28:00 UTC) #15
Zhenyao Mo
LGTM again Thanks for the test. Great that it caught a bug we failed to ...
5 years, 1 month ago (2015-10-28 19:15:30 UTC) #16
Ken Russell (switch to Gerrit)
Still LGTM if this makes more tests pass, but a comment / concern. https://codereview.chromium.org/1412613004/diff/60001/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp File ...
5 years, 1 month ago (2015-10-28 23:48:32 UTC) #17
qiankun
https://codereview.chromium.org/1412613004/diff/60001/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp File third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp (right): https://codereview.chromium.org/1412613004/diff/60001/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp#newcode241 third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp:241: if (m_target == GL_TEXTURE_3D || m_target == GL_TEXTURE_2D_ARRAY) { ...
5 years, 1 month ago (2015-10-29 01:03:26 UTC) #18
qiankun
On 2015/10/28 23:48:32, Ken Russell wrote: > Still LGTM if this makes more tests pass, ...
5 years, 1 month ago (2015-10-29 16:24:39 UTC) #19
Zhenyao Mo
In ES2, we don't have DEPTH_STENCIL_ATTACHMENT, so we emulate using DEPTH_ATTACHMENT and STENCIL_ATTACHMENT. In ES3, ...
5 years, 1 month ago (2015-10-29 20:30:34 UTC) #20
qiankun
On 2015/10/29 20:30:34, Zhenyao Mo wrote: > In ES2, we don't have DEPTH_STENCIL_ATTACHMENT, so we ...
5 years, 1 month ago (2015-10-29 23:51:35 UTC) #21
Zhenyao Mo
On 2015/10/29 23:51:35, qiankun wrote: > On 2015/10/29 20:30:34, Zhenyao Mo wrote: > > In ...
5 years, 1 month ago (2015-10-29 23:54:28 UTC) #22
qiankun
On 2015/10/29 23:54:28, Zhenyao Mo wrote: > On 2015/10/29 23:51:35, qiankun wrote: > > On ...
5 years, 1 month ago (2015-10-30 00:04:52 UTC) #23
Zhenyao Mo
On 2015/10/30 00:04:52, qiankun wrote: > On 2015/10/29 23:54:28, Zhenyao Mo wrote: > > On ...
5 years, 1 month ago (2015-10-30 00:14:19 UTC) #24
qiankun
On 2015/10/30 00:14:19, Zhenyao Mo wrote: > On 2015/10/30 00:04:52, qiankun wrote: > > On ...
5 years, 1 month ago (2015-10-30 00:27:18 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1412613004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1412613004/80001
5 years, 1 month ago (2015-10-30 06:54:45 UTC) #28
qiankun
On 2015/10/30 00:27:18, qiankun wrote: > On 2015/10/30 00:14:19, Zhenyao Mo wrote: > > On ...
5 years, 1 month ago (2015-10-30 08:04:17 UTC) #29
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-10-30 09:30:40 UTC) #30
commit-bot: I haz the power
Patchset 5 (id:??) landed as https://crrev.com/3071b5391379d2abe2f6890989b2c1dfebbc0d2b Cr-Commit-Position: refs/heads/master@{#357068}
5 years, 1 month ago (2015-10-30 09:31:30 UTC) #31
Jamie Madill
On 2015/10/30 09:31:30, commit-bot: I haz the power wrote: > Patchset 5 (id:??) landed as ...
5 years, 1 month ago (2015-10-30 12:29:38 UTC) #32
Jamie Madill
5 years, 1 month ago (2015-10-30 13:48:04 UTC) #33
Message was sent while issue was closed.
On 2015/10/30 12:29:38, Jamie Madill wrote:
> On 2015/10/30 09:31:30, commit-bot: I haz the power wrote:
> > Patchset 5 (id:??) landed as
> > https://crrev.com/3071b5391379d2abe2f6890989b2c1dfebbc0d2b
> > Cr-Commit-Position: refs/heads/master@{#357068}
> 
> This CL seems to be causing the WebGL 2 CTS on AMD to fail:
> 
>
http://build.chromium.org/p/chromium.gpu.fyi/builders/Win7%20Release%20%28ATI...
> 
> WebglConformance.deqp_functional_gles3_fbostencilbuffer
> 
> Unsure if it'll fail on other configurations yet, so not sure if it's a bug
with
> AMD or with this CL.

The next build passed, probably the gpu sherrif should watch for flakiness but
doesn't seem to be a trackable failure.

Powered by Google App Engine
This is Rietveld 408576698