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

Issue 1272153004: Add glCompressedCopySubTextureCHROMIUM (Closed)

Created:
5 years, 4 months ago by christiank
Modified:
5 years, 4 months ago
Reviewers:
reveman, piman
CC:
Aaron Boodman, abarth-chromium, ben+mojo_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, darin (slow to review), extensions-reviews_chromium.org, piman+watch_chromium.org, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add glCompressedCopySubTextureCHROMIUM This CL adds a GPU command for copying sub regions of compressed textures. The implementation is based on glCopySubTextureCHROMIUM. BUG=434699 Committed: https://crrev.com/00b21807f5c050f8766685c20e1cfc2ed9db636e Cr-Commit-Position: refs/heads/master@{#344220}

Patch Set 1 #

Total comments: 8

Patch Set 2 : Preserve original destination texture contents and fix asserts #

Patch Set 3 : Validate x,y, xoffset and yoffset parameters #

Patch Set 4 : xoffset and yoffset should be validated against destination texture #

Total comments: 1

Patch Set 5 : s/specify specify/specify/ #

Patch Set 6 : Rebase #

Patch Set 7 : glCompressedTexSubImage2D does not support ATC and ETC formats #

Patch Set 8 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1019 lines, -68 lines) Patch
M gpu/GLES2/extensions/CHROMIUM/CHROMIUM_compressed_copy_texture.txt View 1 2 3 4 3 chunks +44 lines, -1 line 0 comments Download
M gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/GLES2/gl2chromium_autogen.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M gpu/GLES2/gl2extchromium.h View 1 chunk +22 lines, -0 lines 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 3 4 5 6 7 2 chunks +17 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 2 3 4 5 6 7 1 chunk +16 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 1 2 3 4 5 1 chunk +32 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 1 2 3 4 5 1 chunk +11 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 2 3 4 5 6 7 1 chunk +10 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 2 3 4 5 6 7 1 chunk +16 lines, -0 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 2 3 4 5 6 7 1 chunk +87 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 2 3 4 5 6 7 1 chunk +24 lines, -0 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_ids_autogen.h View 1 2 3 4 5 6 7 1 chunk +50 lines, -49 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_copy_texture_chromium.cc View 1 2 3 4 5 6 7 1 chunk +4 lines, -2 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 7 2 chunks +227 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 2 3 4 5 6 7 1 chunk +31 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/tests/gl_compressed_copy_texture_CHROMIUM_unittest.cc View 1 2 3 4 5 6 17 chunks +359 lines, -14 lines 0 comments Download
M mojo/gpu/mojo_gles2_impl_autogen.h View 1 2 3 4 5 6 7 1 chunk +9 lines, -0 lines 0 comments Download
M mojo/gpu/mojo_gles2_impl_autogen.cc View 1 2 3 4 5 6 7 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (11 generated)
christiank
Hi, This CL adds a glCompressedCopySubTextureCHROMIUM as a follow up to the glCompressedCopyTextureCHROMIUM command I ...
5 years, 4 months ago (2015-08-05 14:36:26 UTC) #2
reveman
On 2015/08/05 at 14:36:26, christiank wrote: > Hi, > > This CL adds a glCompressedCopySubTextureCHROMIUM ...
5 years, 4 months ago (2015-08-05 16:07:40 UTC) #3
christiank
Another question... the CopySubTexture commands requires the destination texture to be allocated beforehand. For non-compressed ...
5 years, 4 months ago (2015-08-06 13:48:21 UTC) #4
reveman
On 2015/08/06 at 13:48:21, christiank wrote: > Another question... the CopySubTexture commands requires the destination ...
5 years, 4 months ago (2015-08-06 18:38:29 UTC) #5
christiank
Sounds good, let's use zero memory here and the special case for the one-copy case ...
5 years, 4 months ago (2015-08-10 10:55:46 UTC) #6
reveman
lgtm https://codereview.chromium.org/1272153004/diff/60001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_compressed_copy_texture.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_compressed_copy_texture.txt (right): https://codereview.chromium.org/1272153004/diff/60001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_compressed_copy_texture.txt#newcode91 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_compressed_copy_texture.txt:91: <x> and <y> specify specify a texel offset ...
5 years, 4 months ago (2015-08-10 16:00:46 UTC) #7
piman
lgtm
5 years, 4 months ago (2015-08-17 23:04:25 UTC) #8
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272153004/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272153004/80001
5 years, 4 months ago (2015-08-18 07:41:01 UTC) #10
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/57772)
5 years, 4 months ago (2015-08-18 07:42:22 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272153004/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272153004/100001
5 years, 4 months ago (2015-08-18 14:34:53 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/56987)
5 years, 4 months ago (2015-08-18 16:52:47 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272153004/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272153004/120001
5 years, 4 months ago (2015-08-19 09:34:38 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/58401) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 4 months ago (2015-08-19 09:36:10 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1272153004/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1272153004/140001
5 years, 4 months ago (2015-08-19 11:27:02 UTC) #25
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 4 months ago (2015-08-19 14:30:45 UTC) #26
commit-bot: I haz the power
5 years, 4 months ago (2015-08-19 14:31:27 UTC) #27
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/00b21807f5c050f8766685c20e1cfc2ed9db636e
Cr-Commit-Position: refs/heads/master@{#344220}

Powered by Google App Engine
This is Rietveld 408576698