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

Issue 974203002: update getTexParameter for WebGL 2 (Closed)

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

Description

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

Patch Set 1 : #

Total comments: 11

Patch Set 2 : addressed zmo@'s feedback #

Total comments: 3

Patch Set 3 : addressed zmo@'s feedback: fix a bug caused by GLES spec error #

Total comments: 8

Patch Set 4 : addressed zmo@'s feedback #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -2 lines) Patch
M Source/core/html/canvas/WebGL2RenderingContextBase.h View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/html/canvas/WebGL2RenderingContextBase.cpp View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download
M Source/core/html/canvas/WebGLRenderingContextBase.h View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 24 (6 generated)
yunchao
Please take a look. Thanks a lot! https://codereview.chromium.org/974203002/diff/40001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/974203002/diff/40001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode1208 Source/core/html/canvas/WebGL2RenderingContextBase.cpp:1208: // return ...
5 years, 9 months ago (2015-03-04 07:11:31 UTC) #4
Zhenyao Mo
https://codereview.chromium.org/974203002/diff/40001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/974203002/diff/40001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode1208 Source/core/html/canvas/WebGL2RenderingContextBase.cpp:1208: // return m_textureUnits[m_activeTextureUnit].m_texture2DArrayBinding.get(); On 2015/03/04 07:11:31, yunchao wrote: > ...
5 years, 9 months ago (2015-03-04 17:55:10 UTC) #5
yunchao
zmo@, Thank you very much. I have updated the code. Please help to have a ...
5 years, 9 months ago (2015-03-05 07:40:53 UTC) #8
Zhenyao Mo
https://codereview.chromium.org/974203002/diff/100001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/974203002/diff/100001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode1247 Source/core/html/canvas/WebGL2RenderingContextBase.cpp:1247: GLfloat value = 0.f; This should be GLint, the ...
5 years, 9 months ago (2015-03-06 18:39:46 UTC) #9
yunchao
https://codereview.chromium.org/974203002/diff/100001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/974203002/diff/100001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode1247 Source/core/html/canvas/WebGL2RenderingContextBase.cpp:1247: GLfloat value = 0.f; On 2015/03/06 18:39:46, Zhenyao Mo ...
5 years, 9 months ago (2015-03-09 02:25:26 UTC) #10
Zhenyao Mo
https://codereview.chromium.org/974203002/diff/100001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/974203002/diff/100001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode1247 Source/core/html/canvas/WebGL2RenderingContextBase.cpp:1247: GLfloat value = 0.f; On 2015/03/09 02:25:25, yunchao wrote: ...
5 years, 9 months ago (2015-03-09 17:18:45 UTC) #11
yunchao
On 2015/03/09 17:18:45, Zhenyao Mo wrote: > https://codereview.chromium.org/974203002/diff/100001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp > File Source/core/html/canvas/WebGL2RenderingContextBase.cpp (right): > > https://codereview.chromium.org/974203002/diff/100001/Source/core/html/canvas/WebGL2RenderingContextBase.cpp#newcode1247 ...
5 years, 9 months ago (2015-03-10 14:21:15 UTC) #12
Zhenyao Mo
I asked around and people agree this looks like a spec bug in Table 6.9. ...
5 years, 9 months ago (2015-03-10 16:56:32 UTC) #13
yunchao
On 2015/03/10 16:56:32, Zhenyao Mo wrote: > I asked around and people agree this looks ...
5 years, 9 months ago (2015-03-11 14:03:40 UTC) #14
Zhenyao Mo
Mostly looks good, but as kbr pointed out in other CLs, you should get a ...
5 years, 9 months ago (2015-03-11 17:31:40 UTC) #15
yunchao
Code has been updated accordingly. And the corresponding conformance test is submitted too: https://github.com/KhronosGroup/WebGL/pull/946. PTAL ...
5 years, 8 months ago (2015-04-21 11:14:46 UTC) #16
Zhenyao Mo
LGTM
5 years, 8 months ago (2015-04-22 22:51:46 UTC) #17
Zhenyao Mo
By the way, just confirmed with bajones, that we don't implicitly carry over the WebGL ...
5 years, 8 months ago (2015-04-22 22:54:17 UTC) #18
yunchao
On 2015/04/22 22:54:17, Zhenyao Mo wrote: > By the way, just confirmed with bajones, that ...
5 years, 8 months ago (2015-04-23 07:21:59 UTC) #19
Zhenyao Mo
Although I still think this mechanism has the potential of leaking tex params enabled by ...
5 years, 8 months ago (2015-04-23 17:37:23 UTC) #20
Ken Russell (switch to Gerrit)
zmo@: thanks for carefully reviewing this. I would have missed the interaction with the anisotropy ...
5 years, 8 months ago (2015-04-23 17:58:32 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/974203002/140001
5 years, 8 months ago (2015-04-24 03:18:58 UTC) #23
commit-bot: I haz the power
5 years, 8 months ago (2015-04-24 04:47:49 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:140001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=194345

Powered by Google App Engine
This is Rietveld 408576698