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

Issue 1263043006: Implement the texture uploading of ASTC compression for WebGL (Closed)

Created:
5 years, 4 months ago by cyzero.kim
Modified:
5 years, 3 months ago
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement the texture uploading of ASTC compression for WebGL This is part I (the Chromium 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://crrev.com/0a85bd6751240fba49cd7e1d30279dc888096aeb Cr-Commit-Position: refs/heads/master@{#346198}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Cleanup and Remove unnecessary enum/OES extensions. #

Total comments: 6

Patch Set 3 : Remove unnecerssary code and cleanup. #

Total comments: 2

Patch Set 4 : Change coding style. #

Patch Set 5 : Add braces and cleanup. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -2 lines) Patch
M gpu/command_buffer/common/capabilities.h View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/capabilities.cc View 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/service/feature_info.cc View 1 2 2 chunks +19 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 6 chunks +95 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_textures.cc View 1 2 1 chunk +33 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (9 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:56:44 UTC) #2
bajones
Minor issue in gles2_cmd_decoder, but generally looking good! Thanks!
5 years, 4 months ago (2015-08-07 21:35:46 UTC) #3
bajones
https://codereview.chromium.org/1263043006/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1263043006/diff/1/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode9111 gpu/command_buffer/service/gles2_cmd_decoder.cc:9111: 4, 4, /* GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR */ These values are not ...
5 years, 4 months ago (2015-08-07 21:35:59 UTC) #4
Ken Russell (switch to Gerrit)
Thanks for this contribution. The overall direction looks good. One comment, and I echo Brandon's ...
5 years, 4 months ago (2015-08-07 22:32:33 UTC) #6
cyzero.kim
Please take another look.
5 years, 4 months ago (2015-08-10 13:23:17 UTC) #7
piman
Can you also add unit tests for the validation of the new formats? https://codereview.chromium.org/1263043006/diff/20001/content/common/gpu/client/gpu_memory_buffer_impl.cc File ...
5 years, 4 months ago (2015-08-17 23:00:21 UTC) #8
cyzero.kim
On 2015/08/17 23:00:21, piman (slow to review) wrote: > Can you also add unit tests ...
5 years, 4 months ago (2015-08-19 07:18:30 UTC) #9
cyzero.kim
On 2015/08/19 07:18:30, cyzero.kim wrote: > On 2015/08/17 23:00:21, piman (slow to review) wrote: > ...
5 years, 3 months ago (2015-08-25 06:16:34 UTC) #12
Zhenyao Mo
LGTM with style nits https://codereview.chromium.org/1263043006/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1263043006/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode9231 gpu/command_buffer/service/gles2_cmd_decoder.cc:9231: { nit: this is against ...
5 years, 3 months ago (2015-08-25 14:15:16 UTC) #13
cyzero.kim
On 2015/08/25 14:15:16, Zhenyao Mo wrote: > LGTM with style nits > > https://codereview.chromium.org/1263043006/diff/40001/gpu/command_buffer/service/gles2_cmd_decoder.cc > ...
5 years, 3 months ago (2015-08-26 05:47:47 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1263043006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1263043006/60001
5 years, 3 months ago (2015-08-28 15:34:26 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/94206)
5 years, 3 months ago (2015-08-28 15:43:34 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1263043006/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1263043006/80001
5 years, 3 months ago (2015-08-28 17:23:45 UTC) #22
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 3 months ago (2015-08-28 18:48:15 UTC) #23
commit-bot: I haz the power
5 years, 3 months ago (2015-08-28 18:49:45 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0a85bd6751240fba49cd7e1d30279dc888096aeb
Cr-Commit-Position: refs/heads/master@{#346198}

Powered by Google App Engine
This is Rietveld 408576698