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

Issue 1468883002: Fix the crash of compressedTexImage3D for the WebGL2 conformance test page. (Closed)

Created:
5 years, 1 month ago by cyzero.kim
Modified:
5 years ago
CC:
chromium-reviews, blink-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix the crash setLevelInfo for the WebGL2 conformance test page. We observe crashes in WebView when blink::WebGLTexture::setLevelInfo is called. It need to check validation of level in the WebGL2RenderingContextBase::compressedTexImage3D. And fix the fail for the compressedteximage3d_neg_level test. BUG=560119 Committed: https://crrev.com/12c53bfc00537988a571e285914849daec9bfc77 Cr-Commit-Position: refs/heads/master@{#361473}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Move to WebGL2RenderingContextBase::compressedTexImage3D for the valid check. #

Total comments: 1

Patch Set 3 : Add the check validation of level. #

Total comments: 1

Patch Set 4 : Use the validateTexFuncLevel instead of use new-api. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -0 lines) Patch
M third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp View 1 2 3 1 chunk +3 lines, -0 lines 1 comment Download

Messages

Total messages: 39 (14 generated)
cyzero.kim
Please review this one.
5 years, 1 month ago (2015-11-23 05:28:28 UTC) #2
qiankun
https://codereview.chromium.org/1468883002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLTexture.cpp File third_party/WebKit/Source/modules/webgl/WebGLTexture.cpp (right): https://codereview.chromium.org/1468883002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLTexture.cpp#newcode178 third_party/WebKit/Source/modules/webgl/WebGLTexture.cpp:178: return; See the above comments. level should be validated ...
5 years, 1 month ago (2015-11-23 06:19:00 UTC) #4
cyzero.kim
On 2015/11/23 06:19:00, qiankun wrote: > https://codereview.chromium.org/1468883002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLTexture.cpp > File third_party/WebKit/Source/modules/webgl/WebGLTexture.cpp (right): > > https://codereview.chromium.org/1468883002/diff/1/third_party/WebKit/Source/modules/webgl/WebGLTexture.cpp#newcode178 > ...
5 years, 1 month ago (2015-11-23 08:53:31 UTC) #5
qiankun
https://codereview.chromium.org/1468883002/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1468883002/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode932 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:932: if (internalformat != tex->getInternalFormat(target, level)) { CompressedTexImage3D is used ...
5 years, 1 month ago (2015-11-23 09:44:27 UTC) #6
cyzero.kim
On 2015/11/23 09:44:27, qiankun wrote: > https://codereview.chromium.org/1468883002/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp > File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp > (right): > > https://codereview.chromium.org/1468883002/diff/20001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode932 ...
5 years, 1 month ago (2015-11-23 12:00:58 UTC) #7
qiankun
https://codereview.chromium.org/1468883002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1468883002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode932 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:932: if (!tex->isValidLevel(target, level)) { Please use validateTexFuncLevel(). You can ...
5 years, 1 month ago (2015-11-23 12:06:54 UTC) #8
cyzero.kim
On 2015/11/23 12:06:54, qiankun wrote: > https://codereview.chromium.org/1468883002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp > File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp > (right): > > https://codereview.chromium.org/1468883002/diff/40001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode932 ...
5 years, 1 month ago (2015-11-23 13:26:44 UTC) #9
zmo
https://codereview.chromium.org/1468883002/diff/60001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp (right): https://codereview.chromium.org/1468883002/diff/60001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode932 third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp:932: if (!validateTexFuncLevel("compressedTexImage3D", target, level)) I agree with Qiankun this ...
5 years ago (2015-11-23 19:07:14 UTC) #11
cyzero.kim
On 2015/11/23 19:07:14, zmo wrote: > https://codereview.chromium.org/1468883002/diff/60001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp > File third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp > (right): > > https://codereview.chromium.org/1468883002/diff/60001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp#newcode932 ...
5 years ago (2015-11-24 00:57:49 UTC) #12
zmo
On 2015/11/24 00:57:49, cyzero.kim wrote: > On 2015/11/23 19:07:14, zmo wrote: > > > https://codereview.chromium.org/1468883002/diff/60001/third_party/WebKit/Source/modules/webgl/WebGL2RenderingContextBase.cpp ...
5 years ago (2015-11-24 01:09:04 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1468883002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1468883002/60001
5 years ago (2015-11-24 02:00:06 UTC) #16
commit-bot: I haz the power
Dry run: No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even ...
5 years ago (2015-11-24 02:00:07 UTC) #18
cyzero.kim
On 2015/11/24 01:09:04, zmo wrote: > On 2015/11/24 00:57:49, cyzero.kim wrote: > > On 2015/11/23 ...
5 years ago (2015-11-24 02:04:43 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1468883002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1468883002/60001
5 years ago (2015-11-24 02:13:26 UTC) #21
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. Only full committers are accepted. Even if an ...
5 years ago (2015-11-24 02:13:27 UTC) #23
Ken Russell (switch to Gerrit)
On 2015/11/24 02:13:27, commit-bot: I haz the power wrote: > No L-G-T-M from a valid ...
5 years ago (2015-11-24 02:43:35 UTC) #24
qiankun
Could you update the tile and description of this CL? The origin description is a ...
5 years ago (2015-11-24 03:13:39 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1468883002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1468883002/60001
5 years ago (2015-11-24 04:28:14 UTC) #27
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/139384)
5 years ago (2015-11-24 07:21:54 UTC) #29
cyzero.kim
On 2015/11/24 07:21:54, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years ago (2015-11-24 08:57:01 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1468883002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1468883002/60001
5 years ago (2015-11-24 17:21:30 UTC) #33
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/139609)
5 years ago (2015-11-24 20:02:00 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1468883002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1468883002/60001
5 years ago (2015-11-24 21:20:18 UTC) #37
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years ago (2015-11-24 22:37:11 UTC) #38
commit-bot: I haz the power
5 years ago (2015-11-24 22:38:00 UTC) #39
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/12c53bfc00537988a571e285914849daec9bfc77
Cr-Commit-Position: refs/heads/master@{#361473}

Powered by Google App Engine
This is Rietveld 408576698