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

Issue 13613006: Add a new parameter dest_type to the GL_CHROMIUM_copy_texture extension. (Closed)

Created:
7 years, 8 months ago by Jun Jiang
Modified:
7 years, 8 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, jam, apatrick_chromium, joi+watch-content_chromium.org, Aaron Boodman, darin-cc_chromium.org, chromium-apps-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add a new parameter dest_type to the GL_CHROMIUM_copy_texture extension. It is used to define the destination texture if needed, which is possible for texImage2D(..., canvas) and texImage2D(..., video) in WebGL. BUG= Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=195269

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add description in revision history #

Total comments: 1

Patch Set 3 : Add a new overload of copyTextureCHROMIUM() for subclasses of WebGraphicsContext3D and delegate theā€¦ #

Patch Set 4 : Fix the compilation issue for Mac and Win #

Total comments: 4

Patch Set 5 : use script to generate files and add TODO comments #

Patch Set 6 : rebase the patch and solve the merge conflict issue #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -52 lines) Patch
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc View 1 2 3 4 5 1 chunk +15 lines, -2 lines 0 comments Download
M gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt View 1 2 3 4 2 chunks +7 lines, -3 lines 0 comments Download
M gpu/GLES2/gl2extchromium.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 1 2 3 4 5 1 chunk +3 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 2 3 4 1 chunk +3 lines, -2 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 2 3 4 3 chunks +11 lines, -5 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 4 chunks +7 lines, -9 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 2 3 4 5 1 chunk +8 lines, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc View 10 chunks +17 lines, -10 lines 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.h View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_command_buffer_impl.cc View 1 2 3 4 1 chunk +15 lines, -2 lines 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_impl.h View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M webkit/gpu/webgraphicscontext3d_in_process_impl.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
Jun Jiang
Add the parameter dest_type for GL_CHROMIUM_copy_texture extension which is used when the destination texture is ...
7 years, 8 months ago (2013-04-04 12:49:29 UTC) #1
Zhenyao Mo
On 2013/04/04 12:49:29, Jun Jiang wrote: > Add the parameter dest_type for GL_CHROMIUM_copy_texture extension which ...
7 years, 8 months ago (2013-04-04 19:26:54 UTC) #2
Ken Russell (switch to Gerrit)
This looks good overall to me, but Gregg should do the final review. In order ...
7 years, 8 months ago (2013-04-04 19:58:28 UTC) #3
Jun Jiang
On 2013/04/04 19:58:28, kbr wrote: > This looks good overall to me, but Gregg should ...
7 years, 8 months ago (2013-04-07 12:17:36 UTC) #4
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/13613006/diff/6001/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h File content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h (right): https://codereview.chromium.org/13613006/diff/6001/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h#newcode576 content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h:576: WGC3Denum dest_type); Please see my earlier comments. In order ...
7 years, 8 months ago (2013-04-08 18:28:52 UTC) #5
Jun Jiang
On 2013/04/08 18:28:52, kbr wrote: > https://codereview.chromium.org/13613006/diff/6001/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h > File content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h > (right): > > https://codereview.chromium.org/13613006/diff/6001/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h#newcode576 ...
7 years, 8 months ago (2013-04-09 08:05:00 UTC) #6
Ken Russell (switch to Gerrit)
On 2013/04/09 08:05:00, Jun Jiang wrote: > A little strange thing is that the patch ...
7 years, 8 months ago (2013-04-10 01:22:38 UTC) #7
Jun Jiang
On 2013/04/10 01:22:38, kbr wrote: > On 2013/04/09 08:05:00, Jun Jiang wrote: > > A ...
7 years, 8 months ago (2013-04-10 11:40:22 UTC) #8
Jun Jiang
For patch set 4, there are six platforms failed. But it seems none of them ...
7 years, 8 months ago (2013-04-11 13:00:12 UTC) #9
Ken Russell (switch to Gerrit)
This LGTM with a couple of nits, and assuming the try bots' failures are unrelated. ...
7 years, 8 months ago (2013-04-12 01:55:29 UTC) #10
Ken Russell (switch to Gerrit)
7 years, 8 months ago (2013-04-12 19:19:15 UTC) #11
apatrick_chromium
dest_type should have type GLenum throughout. I think I found all the instances in non-auto-generated ...
7 years, 8 months ago (2013-04-12 19:34:56 UTC) #12
Jun Jiang
On 2013/04/12 01:55:29, kbr wrote: > This LGTM with a couple of nits, and assuming ...
7 years, 8 months ago (2013-04-15 10:58:08 UTC) #13
Jun Jiang
On 2013/04/12 19:34:56, apatrick_chromium wrote: > dest_type should have type GLenum throughout. I think I ...
7 years, 8 months ago (2013-04-15 11:12:40 UTC) #14
apatrick_chromium
lgtm
7 years, 8 months ago (2013-04-15 17:13:38 UTC) #15
Ken Russell (switch to Gerrit)
Thanks. I verified by hand that the autogeneration script creates the results in this patch. ...
7 years, 8 months ago (2013-04-15 22:49:56 UTC) #16
greggman
lgtm
7 years, 8 months ago (2013-04-15 22:54:53 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jun.a.jiang@intel.com/13613006/42001
7 years, 8 months ago (2013-04-19 00:17:52 UTC) #18
commit-bot: I haz the power
Failed to apply patch for gpu/command_buffer/common/gles2_cmd_utils_implementation_autogen.h: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-19 00:18:09 UTC) #19
Ken Russell (switch to Gerrit)
Jun: sorry, can you please rebase this patch?
7 years, 8 months ago (2013-04-19 00:59:16 UTC) #20
Jun Jiang
On 2013/04/19 00:59:16, kbr wrote: > Jun: sorry, can you please rebase this patch? There ...
7 years, 8 months ago (2013-04-19 01:14:43 UTC) #21
apatrick_chromium
lgtm
7 years, 8 months ago (2013-04-19 17:52:50 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jun.a.jiang@intel.com/13613006/53001
7 years, 8 months ago (2013-04-19 17:53:21 UTC) #23
commit-bot: I haz the power
7 years, 8 months ago (2013-04-19 20:46:55 UTC) #24
Message was sent while issue was closed.
Change committed as 195269

Powered by Google App Engine
This is Rietveld 408576698