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

Issue 1385883002: Leave CreateStreamTexture route id out of the GL interface. (Closed)

Created:
5 years, 2 months ago by sivag
Modified:
5 years, 1 month ago
CC:
avayvod+watch_chromium.org, chromium-reviews, creis+watch_chromium.org, danakj+watch_chromium.org, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, jbauman+watch_chromium.org, kalyank, mcasas+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-media_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, piman+watch_chromium.org, posciak+watch_chromium.org, sievers+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 CreateStreamTexture from GL interfaces. Remove CreateStreamTexture from gpu_control.h. Use CreateStreamTexture as a non virtual function in command_buffer_proxy and in_process_command_buffer (for STFSynchronous).Use CreateStreamTexture instead of gl->CreateStreamTextureCHROMIUM. BUG=516585, 339191 Committed: https://crrev.com/5d4feb054523b92862e6e4aca237ca44401fc404 Cr-Commit-Position: refs/heads/master@{#359778}

Patch Set 1 #

Patch Set 2 : Add glflush after gentextures. #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Total comments: 6

Patch Set 6 : Make CreateStreamTexture non virtual. #

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Total comments: 18

Patch Set 10 : Addressed review comments. #

Patch Set 11 : Implement shared stream_texture_factory in render_thread_impl #

Patch Set 12 : #

Patch Set 13 : #

Total comments: 12

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : #

Total comments: 2

Patch Set 18 : Return cached stream_texture_factory_ if exists. #

Patch Set 19 : Rebasing TOT! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+95 lines, -147 lines) Patch
M components/mus/gles2/command_buffer_local.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M components/mus/gles2/command_buffer_local.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -6 lines 0 comments Download
M content/browser/android/in_process/synchronous_compositor_factory_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +4 lines, -0 lines 0 comments Download
M content/common/gpu/client/command_buffer_proxy_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -1 line 0 comments Download
M content/renderer/media/android/stream_texture_factory.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/media/android/stream_texture_factory_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +7 lines, -9 lines 0 comments Download
M content/renderer/media/android/stream_texture_factory_impl.cc View 1 2 3 4 5 6 7 8 9 10 4 chunks +14 lines, -15 lines 0 comments Download
M content/renderer/media/android/stream_texture_factory_synchronous_impl.h View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -1 line 0 comments Download
M content/renderer/media/android/stream_texture_factory_synchronous_impl.cc View 1 2 3 4 5 6 7 8 9 10 2 chunks +4 lines, -3 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/media/android/webmediaplayer_android.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +3 lines, -1 line 0 comments Download
M content/renderer/render_frame_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +5 lines, -18 lines 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 3 chunks +5 lines, -2 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 3 chunks +26 lines, -0 lines 0 comments Download
M gpu/GLES2/gl2chromium_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -1 line 0 comments Download
M gpu/command_buffer/build_gles2_cmd_buffer.py View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -8 lines 0 comments Download
M gpu/command_buffer/client/gl_in_process_context.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M gpu/command_buffer/client/gl_in_process_context.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 2 chunks +5 lines, -0 lines 0 comments Download
M gpu/command_buffer/client/gles2_c_lib_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +0 lines, -7 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -9 lines 0 comments Download
M gpu/command_buffer/client/gles2_implementation_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -2 lines 0 comments Download
M gpu/command_buffer/client/gles2_interface_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_interface_stub_impl_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -3 lines 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -1 line 0 comments Download
M gpu/command_buffer/client/gles2_trace_implementation_impl_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -6 lines 0 comments Download
M gpu/command_buffer/client/gpu_control.h View 1 2 3 4 5 1 chunk +0 lines, -4 lines 0 comments Download
M gpu/command_buffer/cmd_buffer_functions.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -1 line 0 comments Download
M gpu/command_buffer/service/in_process_command_buffer.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +1 line, -1 line 0 comments Download
M gpu/command_buffer/service/in_process_command_buffer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 2 chunks +12 lines, -13 lines 0 comments Download
M gpu/command_buffer/tests/gl_manager.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +0 lines, -1 line 0 comments Download
M gpu/command_buffer/tests/gl_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -5 lines 0 comments Download
M gpu/gles2_conform_support/egl/display.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M gpu/gles2_conform_support/egl/display.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -5 lines 0 comments Download
M mojo/gles2/command_buffer_client_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -1 line 0 comments Download
M mojo/gles2/command_buffer_client_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -6 lines 0 comments Download
M mojo/gpu/mojo_gles2_impl_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -1 line 0 comments Download
M mojo/gpu/mojo_gles2_impl_autogen.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -4 lines 0 comments Download
M mojo/public/c/gles2/gles2_call_visitor_chromium_extension_autogen.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/proxy/ppapi_command_buffer_proxy.h View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -1 line 0 comments Download
M ppapi/proxy/ppapi_command_buffer_proxy.cc View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 86 (40 generated)
sivag
ptal.. I added a new signature CreateStreamTexureImage which is non-virtual to achieve this.
5 years, 2 months ago (2015-10-05 11:51:55 UTC) #2
sivag
hi sievers, Sorry, i was busy was some other schedule for some time and started ...
5 years, 2 months ago (2015-10-13 17:47:01 UTC) #3
sivag
hi sievers, Sorry, i was busy with some other schedule for some time and now ...
5 years, 2 months ago (2015-10-13 17:49:38 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/1385883002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/60001
5 years, 2 months ago (2015-10-20 12:14:37 UTC) #6
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_chromeos_rel/builds/96009)
5 years, 2 months ago (2015-10-20 12:23:54 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/1385883002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/80001
5 years, 2 months ago (2015-10-20 13:00:00 UTC) #10
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-20 13:59:18 UTC) #14
no sievers
https://codereview.chromium.org/1385883002/diff/80001/content/common/gpu/client/command_buffer_proxy_impl.h File content/common/gpu/client/command_buffer_proxy_impl.h (right): https://codereview.chromium.org/1385883002/diff/80001/content/common/gpu/client/command_buffer_proxy_impl.h#newcode121 content/common/gpu/client/command_buffer_proxy_impl.h:121: uint32 CreateStreamTexture(uint32 texture_id) final; It'd be nice to pull ...
5 years, 1 month ago (2015-10-26 21:35:33 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385883002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/120001
5 years, 1 month ago (2015-10-27 13:32:33 UTC) #17
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/21774)
5 years, 1 month ago (2015-10-27 13:46:08 UTC) #22
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385883002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/140001
5 years, 1 month ago (2015-10-27 14:05:28 UTC) #24
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/136650) linux_chromium_rel_ng on ...
5 years, 1 month ago (2015-10-27 14:19:09 UTC) #26
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385883002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/160001
5 years, 1 month ago (2015-10-27 14:25:48 UTC) #28
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/138364)
5 years, 1 month ago (2015-10-27 15:22:06 UTC) #31
sivag
ptal.. https://codereview.chromium.org/1385883002/diff/80001/content/common/gpu/client/command_buffer_proxy_impl.h File content/common/gpu/client/command_buffer_proxy_impl.h (right): https://codereview.chromium.org/1385883002/diff/80001/content/common/gpu/client/command_buffer_proxy_impl.h#newcode121 content/common/gpu/client/command_buffer_proxy_impl.h:121: uint32 CreateStreamTexture(uint32 texture_id) final; On 2015/10/26 21:35:33, sievers ...
5 years, 1 month ago (2015-10-27 15:42:44 UTC) #32
no sievers
Yes, this should be a good direction to clean up the id usage. It basically ...
5 years, 1 month ago (2015-10-27 16:58:57 UTC) #33
piman
https://codereview.chromium.org/1385883002/diff/160001/components/mus/gles2/command_buffer_local.h File components/mus/gles2/command_buffer_local.h (right): https://codereview.chromium.org/1385883002/diff/160001/components/mus/gles2/command_buffer_local.h#newcode71 components/mus/gles2/command_buffer_local.h:71: uint32 CreateStreamTexture(uint32 texture_id); Here and other places: if there ...
5 years, 1 month ago (2015-10-27 17:16:01 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385883002/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/200001
5 years, 1 month ago (2015-11-04 15:52:25 UTC) #36
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: mac_chromium_gn_rel on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_gn_rel/builds/25419)
5 years, 1 month ago (2015-11-04 16:08:53 UTC) #38
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385883002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/220001
5 years, 1 month ago (2015-11-05 04:47:03 UTC) #40
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385883002/240001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/240001
5 years, 1 month ago (2015-11-05 05:25:55 UTC) #44
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-05 07:48:56 UTC) #46
sivag
ptal.. https://codereview.chromium.org/1385883002/diff/160001/components/mus/gles2/command_buffer_local.h File components/mus/gles2/command_buffer_local.h (right): https://codereview.chromium.org/1385883002/diff/160001/components/mus/gles2/command_buffer_local.h#newcode71 components/mus/gles2/command_buffer_local.h:71: uint32 CreateStreamTexture(uint32 texture_id); On 2015/10/27 17:16:01, piman (slow ...
5 years, 1 month ago (2015-11-05 09:42:50 UTC) #47
no sievers
https://codereview.chromium.org/1385883002/diff/240001/content/renderer/media/android/webmediaplayer_android.cc File content/renderer/media/android/webmediaplayer_android.cc (right): https://codereview.chromium.org/1385883002/diff/240001/content/renderer/media/android/webmediaplayer_android.cc#newcode277 content/renderer/media/android/webmediaplayer_android.cc:277: frame_id_ = 0; nit: not needed https://codereview.chromium.org/1385883002/diff/240001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc ...
5 years, 1 month ago (2015-11-06 22:08:41 UTC) #48
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385883002/280001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/280001
5 years, 1 month ago (2015-11-09 12:02:47 UTC) #50
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385883002/300001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/300001
5 years, 1 month ago (2015-11-09 12:09:21 UTC) #52
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: chromeos_amd64-generic_chromium_compile_only_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromeos_amd64-generic_chromium_compile_only_ng/builds/54627) mac_chromium_gn_rel on ...
5 years, 1 month ago (2015-11-09 12:19:13 UTC) #54
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385883002/320001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/320001
5 years, 1 month ago (2015-11-09 13:08:46 UTC) #56
sivag
@sievers, ptal.. https://codereview.chromium.org/1385883002/diff/240001/content/renderer/media/android/webmediaplayer_android.cc File content/renderer/media/android/webmediaplayer_android.cc (right): https://codereview.chromium.org/1385883002/diff/240001/content/renderer/media/android/webmediaplayer_android.cc#newcode277 content/renderer/media/android/webmediaplayer_android.cc:277: frame_id_ = 0; On 2015/11/06 22:08:41, sievers ...
5 years, 1 month ago (2015-11-09 14:06:32 UTC) #57
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-09 14:33:05 UTC) #59
no sievers
https://codereview.chromium.org/1385883002/diff/320001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/1385883002/diff/320001/content/renderer/render_thread_impl.cc#newcode1484 content/renderer/render_thread_impl.cc:1484: stream_texture_factory_ = StreamTextureFactoryImpl::Create( If you are creating a new ...
5 years, 1 month ago (2015-11-09 21:27:34 UTC) #60
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385883002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/340001
5 years, 1 month ago (2015-11-10 06:05:07 UTC) #62
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-11-10 07:38:23 UTC) #64
sivag
sievers, ptal.. https://codereview.chromium.org/1385883002/diff/320001/content/renderer/render_thread_impl.cc File content/renderer/render_thread_impl.cc (right): https://codereview.chromium.org/1385883002/diff/320001/content/renderer/render_thread_impl.cc#newcode1484 content/renderer/render_thread_impl.cc:1484: stream_texture_factory_ = StreamTextureFactoryImpl::Create( On 2015/11/09 21:27:34, sievers ...
5 years, 1 month ago (2015-11-10 13:18:56 UTC) #65
no sievers
lgtm
5 years, 1 month ago (2015-11-10 18:31:22 UTC) #67
sivag
@ben, @blundell, @bbudge ptal below files ben@chromium.org -> mojo/, third_party/mojo blundell@chromium.org -> components/ bbudge@chromium.org -> ...
5 years, 1 month ago (2015-11-10 19:47:40 UTC) #69
bbudge
ppapi LGTM
5 years, 1 month ago (2015-11-10 22:39:04 UTC) #70
sivag
@Ben Goodger ptal, -> mojo/, third_party/mojo/ files @jochen ptal-> components/ files.
5 years, 1 month ago (2015-11-11 18:15:28 UTC) #72
jochen (gone - plz use gerrit)
components/ lgtm
5 years, 1 month ago (2015-11-11 20:42:11 UTC) #73
Ben Goodger (Google)
mojo lgtm
5 years, 1 month ago (2015-11-12 17:21:54 UTC) #74
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385883002/340001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/340001
5 years, 1 month ago (2015-11-13 02:44:08 UTC) #76
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/93942) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 1 month ago (2015-11-13 02:46:27 UTC) #78
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385883002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/360001
5 years, 1 month ago (2015-11-15 14:46:08 UTC) #80
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1385883002/360001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1385883002/360001
5 years, 1 month ago (2015-11-15 15:09:49 UTC) #84
commit-bot: I haz the power
Committed patchset #19 (id:360001)
5 years, 1 month ago (2015-11-15 16:15:42 UTC) #85
commit-bot: I haz the power
5 years, 1 month ago (2015-11-15 16:16:40 UTC) #86
Message was sent while issue was closed.
Patchset 19 (id:??) landed as
https://crrev.com/5d4feb054523b92862e6e4aca237ca44401fc404
Cr-Commit-Position: refs/heads/master@{#359778}

Powered by Google App Engine
This is Rietveld 408576698