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

Issue 1551143002: Remove the "target" argument from CopyTextureChromium. (Closed)

Created:
4 years, 11 months ago by erikchen
Modified:
4 years, 11 months ago
CC:
Aaron Boodman, abarth-chromium, avayvod+watch_chromium.org, ben+mojo_chromium.org, blink-reviews, blink-reviews-api_chromium.org, blink-reviews-platform-graphics_chromium.org, Rik, chromium-apps-reviews_chromium.org, chromium-reviews, danakj, darin (slow to review), darin-cc_chromium.org, dglazkov+blink, dshwang, drott+blinkwatch_chromium.org, krit, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, f(malita), jam, jbroman, Justin Novosad, kinuko+watch, mcasas+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-media_chromium.org, mlamouri+watch-content_chromium.org, pdr+graphicswatchlist_chromium.org, piman+watch_chromium.org, posciak+watch_chromium.org, qsr+mojo_chromium.org, rjkroege, rwlbuis, Stephen Chennney, viettrungluu+watch_chromium.org, vmpstr+blinkwatch_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

Remove the "target" argument from CopyTextureChromium. The argument is meaningless, since the function also takes a source_id and dest_id, each of which is already bound to a target. This is a refactor and has no intended behavior change. BUG=533617 CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel NOPRESUBMIT=true Committed: https://crrev.com/50b7660fa4b9aeb05d7e9b8919febeea5ccc1374 Cr-Commit-Position: refs/heads/master@{#367878}

Patch Set 1 #

Patch Set 2 : #

Total comments: 4

Patch Set 3 : Format cc. #

Total comments: 2

Patch Set 4 : Updated revision history. #

Total comments: 4

Patch Set 5 : Comments from piman. #

Patch Set 6 : Minor cleanup. #

Patch Set 7 : Fix compile error. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+258 lines, -325 lines) Patch
M cc/raster/one_copy_tile_task_worker_pool.cc View 1 2 1 chunk +3 lines, -4 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 chunk +3 lines, -3 lines 0 comments Download
M gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt View 1 2 3 7 chunks +4 lines, -9 lines 0 comments Download
M gpu/GLES2/gl2extchromium.h View 4 chunks +0 lines, -4 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.h View 2 chunks +0 lines, -2 lines 0 comments Download
M gpu/blink/webgraphicscontext3d_impl.cc View 2 chunks +2 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 3 chunks +5 lines, -7 lines 0 comments Download
M gpu/command_buffer/client/gles2_cmd_helper_autogen.h View 3 chunks +5 lines, -7 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 2 chunks +2 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_impl_autogen.h View 4 chunks +5 lines, -9 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_unittest_autogen.h View 2 chunks +4 lines, -5 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 chunk +2 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 chunk +2 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 2 chunks +0 lines, -2 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 chunk +2 lines, -4 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 3 chunks +5 lines, -7 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 chunk +2 lines, -2 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_autogen.h View 10 chunks +51 lines, -64 lines 0 comments Download
M gpu/command_buffer/common/gles2_cmd_format_test_autogen.h View 2 chunks +25 lines, -27 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder.cc View 1 2 3 4 5 6 25 chunks +76 lines, -78 lines 0 comments Download
M gpu/command_buffer/service/gles2_cmd_decoder_autogen.h View 4 chunks +4 lines, -6 lines 0 comments Download
M gpu/command_buffer/tests/gl_copy_texture_CHROMIUM_unittest.cc View 16 chunks +35 lines, -35 lines 0 comments Download
M media/renderers/skcanvas_video_renderer.cc View 2 chunks +4 lines, -5 lines 0 comments Download
M mojo/gpu/mojo_gles2_impl_autogen.h View 1 chunk +2 lines, -4 lines 0 comments Download
M mojo/gpu/mojo_gles2_impl_autogen.cc View 3 chunks +6 lines, -8 lines 0 comments Download
M mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h View 3 chunks +4 lines, -8 lines 0 comments Download
M ppapi/lib/gl/include/GLES2/gl2ext.h View 4 chunks +0 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/ImageBuffer.cpp View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/public/platform/WebGraphicsContext3D.h View 1 chunk +2 lines, -2 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 35 (11 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1551143002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1551143002/1
4 years, 11 months ago (2015-12-31 00:33:38 UTC) #2
commit-bot: I haz the power
Dry run: 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/132055)
4 years, 11 months ago (2015-12-31 00:41:52 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1551143002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1551143002/20001
4 years, 11 months ago (2015-12-31 00:56:21 UTC) #7
commit-bot: I haz the power
Dry run: 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/132061)
4 years, 11 months ago (2015-12-31 01:06:10 UTC) #9
erikchen
zmo: Please review. What's up with the presubmit error?
4 years, 11 months ago (2015-12-31 01:37:18 UTC) #11
Zhenyao Mo
On 2015/12/31 01:37:18, erikchen wrote: > zmo: Please review. > > What's up with the ...
4 years, 11 months ago (2016-01-04 18:12:33 UTC) #12
Zhenyao Mo
https://codereview.chromium.org/1551143002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1551143002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13500 gpu/command_buffer/service/gles2_cmd_decoder.cc:13500: void GLES2DecoderImpl::DoCompressedCopyTextureCHROMIUM(GLenum target, We probably should get rid of ...
4 years, 11 months ago (2016-01-04 18:12:44 UTC) #13
erikchen
On 2016/01/04 18:12:33, Zhenyao Mo wrote: > On 2015/12/31 01:37:18, erikchen wrote: > > zmo: ...
4 years, 11 months ago (2016-01-04 18:52:04 UTC) #15
erikchen
https://codereview.chromium.org/1551143002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1551143002/diff/20001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13500 gpu/command_buffer/service/gles2_cmd_decoder.cc:13500: void GLES2DecoderImpl::DoCompressedCopyTextureCHROMIUM(GLenum target, On 2016/01/04 18:12:43, Zhenyao Mo wrote: ...
4 years, 11 months ago (2016-01-04 18:52:10 UTC) #16
erikchen
qinmin: Please review content/renderer/media/android/webmediaplayer_android.cc danakj: Please review cc/ piman: Please review gpu/blink/ xhwang: Please review ...
4 years, 11 months ago (2016-01-04 19:02:37 UTC) #18
xhwang
media/ rs lgtm
4 years, 11 months ago (2016-01-04 19:08:51 UTC) #19
qinmin
lgtm
4 years, 11 months ago (2016-01-04 19:12:00 UTC) #20
bbudge
ppapi LGTM
4 years, 11 months ago (2016-01-04 20:00:31 UTC) #21
yzshen1
mojo/public LGTM
4 years, 11 months ago (2016-01-04 20:54:11 UTC) #22
esprehn
lgtm
4 years, 11 months ago (2016-01-04 21:01:37 UTC) #23
Zhenyao Mo
still lgtm, but could you add the revision history? https://codereview.chromium.org/1551143002/diff/40001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt (right): https://codereview.chromium.org/1551143002/diff/40001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt#newcode166 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt:166: ...
4 years, 11 months ago (2016-01-04 22:47:59 UTC) #24
erikchen
https://codereview.chromium.org/1551143002/diff/40001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt File gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt (right): https://codereview.chromium.org/1551143002/diff/40001/gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt#newcode166 gpu/GLES2/extensions/CHROMIUM/CHROMIUM_copy_texture.txt:166: unpack_unmultiply_alpha to both commands. On 2016/01/04 22:47:59, Zhenyao Mo ...
4 years, 11 months ago (2016-01-04 23:13:52 UTC) #25
piman
https://codereview.chromium.org/1551143002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1551143002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13196 gpu/command_buffer/service/gles2_cmd_decoder.cc:13196: GLenum dest_target = dest_texture->target(); These can be 0 if ...
4 years, 11 months ago (2016-01-05 00:21:10 UTC) #26
erikchen
piman: PTAL https://codereview.chromium.org/1551143002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc File gpu/command_buffer/service/gles2_cmd_decoder.cc (right): https://codereview.chromium.org/1551143002/diff/60001/gpu/command_buffer/service/gles2_cmd_decoder.cc#newcode13196 gpu/command_buffer/service/gles2_cmd_decoder.cc:13196: GLenum dest_target = dest_texture->target(); On 2016/01/05 00:21:09, ...
4 years, 11 months ago (2016-01-05 00:34:15 UTC) #27
danakj
cc LGTM
4 years, 11 months ago (2016-01-06 00:00:14 UTC) #28
piman
lgtm
4 years, 11 months ago (2016-01-06 07:28:27 UTC) #29
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1551143002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1551143002/120001
4 years, 11 months ago (2016-01-06 18:05:34 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 11 months ago (2016-01-06 19:35:45 UTC) #33
commit-bot: I haz the power
4 years, 11 months ago (2016-01-06 19:36:32 UTC) #35
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/50b7660fa4b9aeb05d7e9b8919febeea5ccc1374
Cr-Commit-Position: refs/heads/master@{#367878}

Powered by Google App Engine
This is Rietveld 408576698