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

Issue 1123763003: Draw the offscreen texture to reflector's surface without extra copy (Closed)

Created:
5 years, 7 months ago by oshima
Modified:
5 years, 7 months ago
Reviewers:
piman
CC:
chromium-reviews, jam, sievers+watch_chromium.org, jbauman+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Draw the offscreen texture to reflector's surface without extra copy This CL also refactor Reflector/BrowserCompositorOutputSurface as follows. * BrowserCompositorOutputSurface ('s subclass) is responsible for creating Texture mailbox for mirroring - when reflector is set - or texture size is changed * OutputSurface notifies reflector when mailbox is updated. BUG=365662 Committed: https://crrev.com/592eb864e7c5d1c89d56756e98161f4f809b2669 Cr-Commit-Position: refs/heads/master@{#330042}

Patch Set 1 : #

Total comments: 1

Patch Set 2 : update comment #

Patch Set 3 : #

Total comments: 11

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : moved texture code to ReflectorTexture #

Unified diffs Side-by-side diffs Delta from patch set Stats (+269 lines, -82 lines) Patch
M content/browser/compositor/browser_compositor_output_surface.h View 1 2 3 1 chunk +7 lines, -0 lines 0 comments Download
M content/browser/compositor/browser_compositor_output_surface.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M content/browser/compositor/gpu_browser_compositor_output_surface.h View 1 2 3 4 5 3 chunks +6 lines, -0 lines 0 comments Download
M content/browser/compositor/gpu_browser_compositor_output_surface.cc View 1 2 3 4 5 6 3 chunks +17 lines, -5 lines 0 comments Download
M content/browser/compositor/offscreen_browser_compositor_output_surface.h View 1 2 3 4 5 6 4 chunks +6 lines, -1 line 0 comments Download
M content/browser/compositor/offscreen_browser_compositor_output_surface.cc View 1 2 3 4 5 6 7 chunks +34 lines, -25 lines 0 comments Download
M content/browser/compositor/reflector_impl.h View 1 2 3 6 chunks +21 lines, -4 lines 0 comments Download
M content/browser/compositor/reflector_impl.cc View 1 2 3 4 6 chunks +52 lines, -47 lines 0 comments Download
M content/browser/compositor/reflector_impl_unittest.cc View 1 2 3 4 5 6 chunks +19 lines, -0 lines 0 comments Download
A content/browser/compositor/reflector_texture.h View 1 2 3 4 5 6 1 chunk +47 lines, -0 lines 0 comments Download
A content/browser/compositor/reflector_texture.cc View 1 2 3 4 5 6 1 chunk +48 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 35 (17 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/1123763003/160001
5 years, 7 months ago (2015-05-06 00:53:23 UTC) #11
oshima
https://codereview.chromium.org/1123763003/diff/160001/content/browser/compositor/offscreen_browser_compositor_output_surface.cc File content/browser/compositor/offscreen_browser_compositor_output_surface.cc (right): https://codereview.chromium.org/1123763003/diff/160001/content/browser/compositor/offscreen_browser_compositor_output_surface.cc#newcode131 content/browser/compositor/offscreen_browser_compositor_output_surface.cc:131: offline_compositor_gl_helper_->InsertOrderingBarrier(); I'm not sure if this is necessary. It ...
5 years, 7 months ago (2015-05-06 01:03:35 UTC) #12
piman
https://codereview.chromium.org/1123763003/diff/200001/content/browser/compositor/offscreen_browser_compositor_output_surface.cc File content/browser/compositor/offscreen_browser_compositor_output_surface.cc (right): https://codereview.chromium.org/1123763003/diff/200001/content/browser/compositor/offscreen_browser_compositor_output_surface.cc#newcode60 content/browser/compositor/offscreen_browser_compositor_output_surface.cc:60: mailbox_ = new OwnedMailbox(shared_helper); Why not creating mailbox_ with ...
5 years, 7 months ago (2015-05-07 01:56:45 UTC) #13
oshima
https://codereview.chromium.org/1123763003/diff/200001/content/browser/compositor/offscreen_browser_compositor_output_surface.cc File content/browser/compositor/offscreen_browser_compositor_output_surface.cc (right): https://codereview.chromium.org/1123763003/diff/200001/content/browser/compositor/offscreen_browser_compositor_output_surface.cc#newcode60 content/browser/compositor/offscreen_browser_compositor_output_surface.cc:60: mailbox_ = new OwnedMailbox(shared_helper); On 2015/05/07 01:56:45, piman (Very ...
5 years, 7 months ago (2015-05-07 16:43:25 UTC) #14
piman
On Thu, May 7, 2015 at 9:43 AM, <oshima@chromium.org> wrote: > > > https://codereview.chromium.org/1123763003/diff/200001/content/browser/compositor/offscreen_browser_compositor_output_surface.cc > ...
5 years, 7 months ago (2015-05-07 22:43:21 UTC) #15
oshima
On 2015/05/07 22:43:21, piman (Very slow to review) wrote: > On Thu, May 7, 2015 ...
5 years, 7 months ago (2015-05-07 23:25:53 UTC) #16
oshima
Uploaded new patch, and updated the description. PTAL. https://codereview.chromium.org/1123763003/diff/200001/content/browser/compositor/offscreen_browser_compositor_output_surface.cc File content/browser/compositor/offscreen_browser_compositor_output_surface.cc (right): https://codereview.chromium.org/1123763003/diff/200001/content/browser/compositor/offscreen_browser_compositor_output_surface.cc#newcode60 content/browser/compositor/offscreen_browser_compositor_output_surface.cc:60: mailbox_ ...
5 years, 7 months ago (2015-05-13 07:47:04 UTC) #17
piman
I like this, LGTM https://codereview.chromium.org/1123763003/diff/220001/content/browser/compositor/gpu_browser_compositor_output_surface.cc File content/browser/compositor/gpu_browser_compositor_output_surface.cc (right): https://codereview.chromium.org/1123763003/diff/220001/content/browser/compositor/gpu_browser_compositor_output_surface.cc#newcode92 content/browser/compositor/gpu_browser_compositor_output_surface.cc:92: // mailbox being held by ...
5 years, 7 months ago (2015-05-13 19:46:23 UTC) #18
oshima
https://codereview.chromium.org/1123763003/diff/220001/content/browser/compositor/gpu_browser_compositor_output_surface.cc File content/browser/compositor/gpu_browser_compositor_output_surface.cc (right): https://codereview.chromium.org/1123763003/diff/220001/content/browser/compositor/gpu_browser_compositor_output_surface.cc#newcode92 content/browser/compositor/gpu_browser_compositor_output_surface.cc:92: // mailbox being held by the |mirroring_layer_|. On 2015/05/13 ...
5 years, 7 months ago (2015-05-14 14:44:58 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1123763003/240001
5 years, 7 months ago (2015-05-14 14:45:38 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_ozone_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_ozone_rel_ng/builds/17895)
5 years, 7 months ago (2015-05-14 15:29:38 UTC) #24
oshima
Created separate class to handle texture creation/deletion (not sure if ReflectorTexture is a good name. ...
5 years, 7 months ago (2015-05-15 01:05:40 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1123763003/280001
5 years, 7 months ago (2015-05-15 01:07:50 UTC) #28
piman
lgtm
5 years, 7 months ago (2015-05-15 01:13:57 UTC) #29
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 7 months ago (2015-05-15 01:53:47 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1123763003/280001
5 years, 7 months ago (2015-05-15 04:45:23 UTC) #33
commit-bot: I haz the power
Committed patchset #7 (id:280001)
5 years, 7 months ago (2015-05-15 04:48:56 UTC) #34
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 04:49:43 UTC) #35
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/592eb864e7c5d1c89d56756e98161f4f809b2669
Cr-Commit-Position: refs/heads/master@{#330042}

Powered by Google App Engine
This is Rietveld 408576698