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

Issue 1265703005: Implement the texture uploading of ASTC compression for WebGL(part II) (Closed)

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

Description

Implement the texture uploading of ASTC compression for WebGL(part II) This is part II. (the Blink src repo.) This feature is for ARM and mobile devices. It's focused the power efficiency benefits of texture compression, most of which come from reducing the bandwidth needed for data transfers on the mobile device. The ASTC compression is involved including reducing memory footprint and loading time and even increase performance. This implementation has been verified on the Galaxy S6. I also plan to apply this feature on the Smart TV. BUG=516672 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=201425

Patch Set 1 #

Total comments: 2

Patch Set 2 : Clean and Remove unnecessary enum. #

Total comments: 10

Patch Set 3 : Remove unnecerssary code and cleanup. #

Total comments: 1

Patch Set 4 : Compute the gap between GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR and GL_COMPRESSED_RGBA_ASTC_4x4_KHR. #

Patch Set 5 : Add braces. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+236 lines, -0 lines) Patch
M Source/modules/modules.gypi View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M Source/modules/webgl/WebGL2RenderingContext.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/webgl/WebGL2RenderingContext.cpp View 3 chunks +3 lines, -0 lines 0 comments Download
A Source/modules/webgl/WebGLCompressedTextureASTC.h View 1 2 1 chunk +35 lines, -0 lines 0 comments Download
A Source/modules/webgl/WebGLCompressedTextureASTC.cpp View 1 2 3 4 1 chunk +72 lines, -0 lines 0 comments Download
A Source/modules/webgl/WebGLCompressedTextureASTC.idl View 1 2 1 chunk +40 lines, -0 lines 0 comments Download
M Source/modules/webgl/WebGLExtensionName.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/webgl/WebGLRenderingContext.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M Source/modules/webgl/WebGLRenderingContext.cpp View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M Source/modules/webgl/WebGLRenderingContextBase.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M Source/modules/webgl/WebGLRenderingContextBase.cpp View 1 2 3 chunks +75 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (8 generated)
cyzero.kim
It should be possible to upload texture of the ASTC compression on the Mali GPU. ...
5 years, 4 months ago (2015-08-07 06:57:30 UTC) #2
bajones
https://codereview.chromium.org/1265703005/diff/1/Source/modules/webgl/WebGLCompressedTextureASTC.cpp File Source/modules/webgl/WebGLCompressedTextureASTC.cpp (right): https://codereview.chromium.org/1265703005/diff/1/Source/modules/webgl/WebGLCompressedTextureASTC.cpp#newcode81 Source/modules/webgl/WebGLCompressedTextureASTC.cpp:81: return "WEBGL_compressed_texture_astc"; The intermixing of "compressed_texture_astc" and "compressed_texture_astc_ldr" in ...
5 years, 4 months ago (2015-08-07 22:01:09 UTC) #3
cyzero.kim
Please take another look.
5 years, 4 months ago (2015-08-10 13:23:46 UTC) #4
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1265703005/diff/20001/Source/modules/webgl/WebGLCompressedTextureASTC.cpp File Source/modules/webgl/WebGLCompressedTextureASTC.cpp (right): https://codereview.chromium.org/1265703005/diff/20001/Source/modules/webgl/WebGLCompressedTextureASTC.cpp#newcode32 Source/modules/webgl/WebGLCompressedTextureASTC.cpp:32: const int WebGLCompressedTextureASTC::kSizeOfBlockSizeCompressASTC = Please use arraysize(WebGLCompressedTextureASTC::BlockSizeCompressASTC) instead, as ...
5 years, 4 months ago (2015-08-18 00:05:03 UTC) #5
cyzero.kim
On 2015/08/18 00:05:03, Ken Russell wrote: > https://codereview.chromium.org/1265703005/diff/20001/Source/modules/webgl/WebGLCompressedTextureASTC.cpp > File Source/modules/webgl/WebGLCompressedTextureASTC.cpp (right): > > https://codereview.chromium.org/1265703005/diff/20001/Source/modules/webgl/WebGLCompressedTextureASTC.cpp#newcode32 ...
5 years, 4 months ago (2015-08-19 07:19:12 UTC) #6
cyzero.kim
On 2015/08/19 07:19:12, cyzero.kim wrote: > On 2015/08/18 00:05:03, Ken Russell wrote: > > > ...
5 years, 4 months ago (2015-08-25 06:39:01 UTC) #7
Ken Russell (switch to Gerrit)
Thanks, the compressed size computation looks better. LGTM. You can CQ this yourself once the ...
5 years, 3 months ago (2015-08-27 03:19:02 UTC) #8
cyzero.kim
On 2015/08/27 03:19:02, Ken Russell wrote: > Thanks, the compressed size computation looks better. LGTM. ...
5 years, 3 months ago (2015-08-28 15:29:47 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265703005/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265703005/60001
5 years, 3 months ago (2015-08-28 15:33:27 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/75261) mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 3 months ago (2015-08-28 15:48:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265703005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265703005/80001
5 years, 3 months ago (2015-08-28 17:25:31 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_asan_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_asan_rel_ng/builds/46214)
5 years, 3 months ago (2015-08-28 19:16:39 UTC) #19
Ken Russell (switch to Gerrit)
On 2015/08/28 19:16:39, commit-bot: I haz the power wrote: > Try jobs failed on following ...
5 years, 3 months ago (2015-08-28 20:05:25 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1265703005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1265703005/80001
5 years, 3 months ago (2015-08-28 20:05:41 UTC) #22
commit-bot: I haz the power
5 years, 3 months ago (2015-08-28 21:05:43 UTC) #23
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://src.chromium.org/viewvc/blink?view=rev&revision=201425

Powered by Google App Engine
This is Rietveld 408576698