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

Issue 185363009: ppapi: Send sync point whenever the pepper texture changes. (Closed)

Created:
6 years, 9 months ago by danakj
Modified:
6 years, 9 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam, brianderson, piman
Visibility:
Public.

Description

ppapi: Send sync point whenever the pepper texture changes. When giving a texture mailbox to the compositor, it's important to give a sync point along with it, so the browser compositor does not display the texture before it is ready. Currently pepper is giving the mailbox to the compositor once (without a sync point) and then just telling it that the texture changed, without specifying a sync point for those changes. Change it to always send a sync point with the mailbox, and when the texture changes, reset the mailbox with a new sync point for each frame. BUG=333024 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=254840

Patch Set 1 : pepper: #

Total comments: 2

Patch Set 2 : pepper: #

Patch Set 3 : pepper: #

Total comments: 2

Patch Set 4 : pepper: #

Total comments: 2

Patch Set 5 : pepper: negates #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -8 lines) Patch
M content/renderer/pepper/pepper_platform_context_3d.h View 1 2 2 chunks +6 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_platform_context_3d.cc View 1 2 2 chunks +9 lines, -1 line 0 comments Download
M content/renderer/pepper/pepper_plugin_instance_impl.cc View 1 2 3 4 3 chunks +18 lines, -6 lines 0 comments Download
M content/renderer/pepper/ppb_graphics_3d_impl.cc View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
danakj
I can't upload base files, so the side by side doesn't work right now.
6 years, 9 months ago (2014-03-03 22:33:00 UTC) #1
danakj
6 years, 9 months ago (2014-03-03 22:33:20 UTC) #2
brianderson
https://codereview.chromium.org/185363009/diff/60001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/185363009/diff/60001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode736 content/renderer/pepper/pepper_plugin_instance_impl.cc:736: It's kind of hard to follow how mailbox_ gets ...
6 years, 9 months ago (2014-03-03 22:49:19 UTC) #3
danakj
https://codereview.chromium.org/185363009/diff/60001/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/185363009/diff/60001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode736 content/renderer/pepper/pepper_plugin_instance_impl.cc:736: On 2014/03/03 22:49:19, brianderson wrote: > It's kind of ...
6 years, 9 months ago (2014-03-03 22:53:53 UTC) #4
jbauman
On 2014/03/03 22:53:53, danakj wrote: > https://codereview.chromium.org/185363009/diff/60001/content/renderer/pepper/pepper_plugin_instance_impl.cc > File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): > > https://codereview.chromium.org/185363009/diff/60001/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode736 > ...
6 years, 9 months ago (2014-03-03 23:01:16 UTC) #5
danakj
PTAL
6 years, 9 months ago (2014-03-03 23:30:42 UTC) #6
danakj
https://codereview.chromium.org/185363009/diff/180001/content/renderer/pepper/ppb_graphics_3d_impl.cc File content/renderer/pepper/ppb_graphics_3d_impl.cc (right): https://codereview.chromium.org/185363009/diff/180001/content/renderer/pepper/ppb_graphics_3d_impl.cc#newcode201 content/renderer/pepper/ppb_graphics_3d_impl.cc:201: InsertSyncPoint()); Oops, this gotta go.
6 years, 9 months ago (2014-03-03 23:31:41 UTC) #7
danakj
https://codereview.chromium.org/185363009/diff/180001/content/renderer/pepper/ppb_graphics_3d_impl.cc File content/renderer/pepper/ppb_graphics_3d_impl.cc (right): https://codereview.chromium.org/185363009/diff/180001/content/renderer/pepper/ppb_graphics_3d_impl.cc#newcode201 content/renderer/pepper/ppb_graphics_3d_impl.cc:201: InsertSyncPoint()); On 2014/03/03 23:31:42, danakj wrote: > Oops, this ...
6 years, 9 months ago (2014-03-03 23:33:15 UTC) #8
brianderson
This version is much easier for me to understand. Thanks John and Dana. I'm not ...
6 years, 9 months ago (2014-03-03 23:36:17 UTC) #9
jbauman
lgtm
6 years, 9 months ago (2014-03-03 23:38:34 UTC) #10
danakj
+dmichael: OWNERS review please
6 years, 9 months ago (2014-03-03 23:41:44 UTC) #11
dmichael (off chromium)
lgtm w/nit https://codereview.chromium.org/185363009/diff/150002/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/185363009/diff/150002/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1940 content/renderer/pepper/pepper_plugin_instance_impl.cc:1940: DCHECK_EQ(!mailbox.IsZero(), sync_point != 0); nit: So you're ...
6 years, 9 months ago (2014-03-04 16:49:07 UTC) #12
danakj
https://codereview.chromium.org/185363009/diff/150002/content/renderer/pepper/pepper_plugin_instance_impl.cc File content/renderer/pepper/pepper_plugin_instance_impl.cc (right): https://codereview.chromium.org/185363009/diff/150002/content/renderer/pepper/pepper_plugin_instance_impl.cc#newcode1940 content/renderer/pepper/pepper_plugin_instance_impl.cc:1940: DCHECK_EQ(!mailbox.IsZero(), sync_point != 0); On 2014/03/04 16:49:08, dmichael wrote: ...
6 years, 9 months ago (2014-03-04 16:55:09 UTC) #13
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-04 16:55:59 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/185363009/200001
6 years, 9 months ago (2014-03-04 16:56:44 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-03-04 18:05:17 UTC) #16
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) content_browsertests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=274039
6 years, 9 months ago (2014-03-04 18:05:18 UTC) #17
danakj
The CQ bit was checked by danakj@chromium.org
6 years, 9 months ago (2014-03-04 18:11:57 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/danakj@chromium.org/185363009/200001
6 years, 9 months ago (2014-03-04 18:13:58 UTC) #19
commit-bot: I haz the power
6 years, 9 months ago (2014-03-04 21:59:53 UTC) #20
Message was sent while issue was closed.
Change committed as 254840

Powered by Google App Engine
This is Rietveld 408576698