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

Issue 200763011: Add explicit flush after copyTextureCHROMIUM to make the change visible accross contexts. (Closed)

Created:
6 years, 9 months ago by Jun Jiang
Modified:
6 years, 9 months ago
CC:
chromium-reviews, fischman+watch_chromium.org, jam, mcasas+watch_chromium.org, joi+watch-content_chromium.org, feature-media-reviews_chromium.org, darin-cc_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Add explicit flush after copyTextureCHROMIUM to make the change visible across contexts. This change ensures to copy *the current video frame* instead of to copy *a future video frame* at flush time. BUG=351956 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=258561

Patch Set 1 #

Total comments: 7

Patch Set 2 : remove the unnecessary flush() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -3 lines) Patch
M content/renderer/media/android/webmediaplayer_android.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/webmediaplayer_impl.cc View 1 chunk +0 lines, -3 lines 0 comments Download

Messages

Total messages: 30 (0 generated)
junj
This is a complementary patch with https://codereview.chromium.org/197213014/. Please help to take a look.
6 years, 9 months ago (2014-03-18 11:15:04 UTC) #1
no sievers
https://codereview.chromium.org/200763011/diff/1/content/renderer/media/renderer_gpu_video_accelerator_factories.cc File content/renderer/media/renderer_gpu_video_accelerator_factories.cc (right): https://codereview.chromium.org/200763011/diff/1/content/renderer/media/renderer_gpu_video_accelerator_factories.cc#newcode189 content/renderer/media/renderer_gpu_video_accelerator_factories.cc:189: context->flush(); Do we need this one? We are reading ...
6 years, 9 months ago (2014-03-18 22:47:32 UTC) #2
no sievers
https://codereview.chromium.org/200763011/diff/1/content/renderer/media/android/webmediaplayer_android.cc File content/renderer/media/android/webmediaplayer_android.cc (right): https://codereview.chromium.org/200763011/diff/1/content/renderer/media/android/webmediaplayer_android.cc#newcode466 content/renderer/media/android/webmediaplayer_android.cc:466: web_graphics_context->flush(); Actually, you don't need this flush either since ...
6 years, 9 months ago (2014-03-18 22:54:29 UTC) #3
junj
Hi, sievers. Thanks for your comments and suggestions. Please see my comments below. https://codereview.chromium.org/200763011/diff/1/content/renderer/media/android/webmediaplayer_android.cc File ...
6 years, 9 months ago (2014-03-19 07:47:37 UTC) #4
no sievers
https://codereview.chromium.org/200763011/diff/1/content/renderer/media/android/webmediaplayer_android.cc File content/renderer/media/android/webmediaplayer_android.cc (right): https://codereview.chromium.org/200763011/diff/1/content/renderer/media/android/webmediaplayer_android.cc#newcode466 content/renderer/media/android/webmediaplayer_android.cc:466: web_graphics_context->flush(); On 2014/03/19 07:47:37, junj wrote: > On 2014/03/18 ...
6 years, 9 months ago (2014-03-19 17:02:19 UTC) #5
junj
Hi, sievers. Thanks for your comments. https://codereview.chromium.org/200763011/diff/1/content/renderer/media/webmediaplayer_impl.cc File content/renderer/media/webmediaplayer_impl.cc (left): https://codereview.chromium.org/200763011/diff/1/content/renderer/media/webmediaplayer_impl.cc#oldcode685 content/renderer/media/webmediaplayer_impl.cc:685: // performance will ...
6 years, 9 months ago (2014-03-20 02:39:33 UTC) #6
junj
The description is changed and I have uploaded a new CL for review. Please help ...
6 years, 9 months ago (2014-03-20 02:53:07 UTC) #7
Ken Russell (switch to Gerrit)
I defer to sievers' review.
6 years, 9 months ago (2014-03-20 07:55:11 UTC) #8
no sievers
lgtm
6 years, 9 months ago (2014-03-20 16:24:59 UTC) #9
junj
On 2014/03/20 16:24:59, sievers wrote: > lgtm Hi, sievers. Thanks for reviewing the code. Add ...
6 years, 9 months ago (2014-03-21 02:29:46 UTC) #10
Ami GONE FROM CHROMIUM
LGTM but can this be tested somehow?
6 years, 9 months ago (2014-03-21 02:40:00 UTC) #11
junj
On 2014/03/21 02:40:00, Ami Fischman wrote: > LGTM but can this be tested somehow? Hi, ...
6 years, 9 months ago (2014-03-21 03:38:31 UTC) #12
junj
The CQ bit was checked by jun.a.jiang@chromium.org
6 years, 9 months ago (2014-03-21 03:38:55 UTC) #13
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/200763011/20001
6 years, 9 months ago (2014-03-21 03:39:32 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-21 03:42:01 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.chromium on linux_chromium_clang_dbg
6 years, 9 months ago (2014-03-21 03:42:01 UTC) #16
junj
The CQ bit was checked by jun.a.jiang@chromium.org
6 years, 9 months ago (2014-03-21 04:06:25 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/200763011/20001
6 years, 9 months ago (2014-03-21 04:06:45 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-21 05:04:06 UTC) #19
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) app_list_unittests, ash_unittests, aura_unittests, base_unittests, browser_tests, cacheinvalidation_unittests, ...
6 years, 9 months ago (2014-03-21 05:04:07 UTC) #20
Ami GONE FROM CHROMIUM
I meant can the bug being fixed be tested against to prevent regression? On Mar ...
6 years, 9 months ago (2014-03-21 05:16:33 UTC) #21
junj
On 2014/03/21 05:16:33, Ami Fischman wrote: > I meant can the bug being fixed be ...
6 years, 9 months ago (2014-03-21 05:24:55 UTC) #22
junj
On 2014/03/21 05:24:55, junj wrote: > On 2014/03/21 05:16:33, Ami Fischman wrote: > > I ...
6 years, 9 months ago (2014-03-21 05:30:22 UTC) #23
junj
The CQ bit was checked by jun.a.jiang@chromium.org
6 years, 9 months ago (2014-03-21 07:01:10 UTC) #24
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/200763011/20001
6 years, 9 months ago (2014-03-21 07:01:50 UTC) #25
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-21 09:06:11 UTC) #26
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=285848
6 years, 9 months ago (2014-03-21 09:06:11 UTC) #27
junj
The CQ bit was checked by jun.a.jiang@chromium.org
6 years, 9 months ago (2014-03-21 09:08:41 UTC) #28
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/200763011/20001
6 years, 9 months ago (2014-03-21 09:09:04 UTC) #29
commit-bot: I haz the power
6 years, 9 months ago (2014-03-21 13:57:42 UTC) #30
Message was sent while issue was closed.
Change committed as 258561

Powered by Google App Engine
This is Rietveld 408576698