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

Issue 2639973002: Add target argument to Copy{Sub}TextureCHROMIUM entry point (Closed)

Created:
3 years, 11 months ago by qiankun
Modified:
3 years, 11 months ago
CC:
chromium-reviews, blink-reviews-platform-graphics_chromium.org, chfremer+watch_chromium.org, dshwang, kinuko+watch, Stephen Chennney, mlamouri+watch-media_chromium.org, rwlbuis, krit, drott+blinkwatch_chromium.org, jam, Justin Novosad, posciak+watch_chromium.org, Rik, darin-cc_chromium.org, blink-reviews, ajuma+watch_chromium.org, mlamouri+watch-content_chromium.org, jbroman, feature-media-reviews_chromium.org, pdr+graphicswatchlist_chromium.org, mcasas+watch+vc_chromium.org, piman+watch_chromium.org, cc-bugs_chromium.org, ajuma+watch-canvas_chromium.org, avayvod+watch_chromium.org, f(malita), danakj+watch_chromium.org, Yang Gu
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add target argument to Copy{Sub}TextureCHROMIUM entry point This CL just modify the entry point to support target argument which is preliminary work to allow CUBE_MAP target. It doesn't change chrome's behavior currently, while the real support for CUBE_MAP target will be implemented in a follow-up CL. This CL partly reverts https://codereview.chromium.org/1551143002. In that CL, target argument was removed. TBR=reveman@chromium.org BUG=612542 TEST=n/a; no behavior changes CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel Review-Url: https://codereview.chromium.org/2639973002 Cr-Commit-Position: refs/heads/master@{#445303} Committed: https://chromium.googlesource.com/chromium/src/+/728aa8652fcdef20b24213d96eeb7db6a2543748

Patch Set 1 #

Patch Set 2 : autogen code #

Total comments: 2

Patch Set 3 : use dest_target instead of target #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+393 lines, -271 lines) Patch
M cc/raster/one_copy_raster_buffer_provider.cc View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M cc/resources/video_resource_updater.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M components/exo/buffer.cc View 1 2 1 chunk +3 lines, -3 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt View 1 2 7 chunks +59 lines, -20 lines 1 comment Download
M gpu/GLES2/gl2extchromium.h View 1 2 4 chunks +4 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 3 chunks +7 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 1 2 3 chunks +7 lines, -5 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 1 2 4 chunks +12 lines, -7 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 1 2 chunks +7 lines, -5 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 2 3 chunks +6 lines, -4 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 1 2 11 chunks +61 lines, -49 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 1 2 2 chunks +30 lines, -27 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 15 chunks +24 lines, -11 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 1 2 4 chunks +8 lines, -5 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doer_prototypes.h View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_doers.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_passthrough_handlers_autogen.cc View 1 2 4 chunks +7 lines, -4 lines 0 comments Download
M gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc View 1 2 20 chunks +74 lines, -73 lines 0 comments Download
M media/renderers/skcanvas_video_renderer.cc View 1 2 3 chunks +8 lines, -6 lines 0 comments Download
M ppapi/lib/gl/include/GLES2/gl2ext.h View 1 2 2 chunks +32 lines, -20 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/AcceleratedStaticBitmapImage.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Canvas2DLayerBridge.cpp View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp View 1 2 2 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 31 (17 generated)
qiankun
Preliminary work to GL_TEXTURE_CUBE_MAP for CopyTextureCHROMIUM extension. This CL just adds target argument to glCopyTextureCHROMIUM ...
3 years, 11 months ago (2017-01-18 15:24:00 UTC) #4
liberato (no reviews please)
content/renderer/media/android, media/renderers lgtm -fl
3 years, 11 months ago (2017-01-18 17:36:58 UTC) #5
Zhenyao Mo
https://codereview.chromium.org/2639973002/diff/20001/gpu/command_buffer/cmd_buffer_functions.txt File gpu/command_buffer/cmd_buffer_functions.txt (right): https://codereview.chromium.org/2639973002/diff/20001/gpu/command_buffer/cmd_buffer_functions.txt#newcode283 gpu/command_buffer/cmd_buffer_functions.txt:283: GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM (GLenum target, GLenum source_id, GLint ...
3 years, 11 months ago (2017-01-18 22:44:07 UTC) #6
bbudge
ppapi stamp lgtm
3 years, 11 months ago (2017-01-18 23:29:38 UTC) #7
Ken Russell (switch to Gerrit)
I defer to zmo@'s review. I see his point about calling this "dest_target" and putting ...
3 years, 11 months ago (2017-01-18 23:46:27 UTC) #8
Ken Russell (switch to Gerrit)
On 2017/01/18 23:46:27, Ken Russell wrote: > I defer to zmo@'s review. I see his ...
3 years, 11 months ago (2017-01-18 23:48:21 UTC) #9
qiankun
I updated the CL according your comments. Thanks for reviewing. kbr: I also updated the ...
3 years, 11 months ago (2017-01-19 15:01:11 UTC) #11
Zhenyao Mo
lgtm https://codereview.chromium.org/2639973002/diff/60001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt (right): https://codereview.chromium.org/2639973002/diff/60001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt#newcode137 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt:137: GLint xoffset, GLint yoffset, We should also consider ...
3 years, 11 months ago (2017-01-19 18:58:31 UTC) #12
qinmin
content/renderer/media/android lgtm
3 years, 11 months ago (2017-01-20 00:50:55 UTC) #13
Ken Russell (switch to Gerrit)
Thanks Qiankun for updating the spec. It and third_party/WebKit/Source/platform/graphics/ LGTM.
3 years, 11 months ago (2017-01-20 03:34:39 UTC) #14
qiankun
reveman, could you do owner review for cc/ and components/exo/? Thanks.
3 years, 11 months ago (2017-01-20 23:48:11 UTC) #15
Zhenyao Mo
On 2017/01/20 23:48:11, qiankun wrote: > reveman, could you do owner review for cc/ and ...
3 years, 11 months ago (2017-01-20 23:50:15 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2639973002/60001
3 years, 11 months ago (2017-01-22 14:58:30 UTC) #28
commit-bot: I haz the power
3 years, 11 months ago (2017-01-22 15:04:08 UTC) #31
Message was sent while issue was closed.
Committed patchset #3 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/728aa8652fcdef20b24213d96eeb...

Powered by Google App Engine
This is Rietveld 408576698