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

Issue 25942002: Make software compositing work on Mac. (Closed)

Created:
7 years, 2 months ago by ccameron
Modified:
7 years, 1 month ago
CC:
chromium-reviews, joi+watch-content_chromium.org, yusukes+watch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, miu+watch_chromium.org
Visibility:
Public.

Description

Make software compositing work on Mac. Rename the FramebufferMemoryManager class to SoftwareFrameMemoryManager. Pull out common members to Aura and Mac and move them to SoftwareFramebufferManager. Rename the FramebufferHolder to SoftwareFrame. This is still disabled unless --enable-software-compositing is passed in and has not been thoroughly tested. BUG=286038 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=230900

Patch Set 1 #

Patch Set 2 : Touch-ups #

Total comments: 13

Patch Set 3 : Reduce scope to software frame manager separation #

Patch Set 4 : Add Mac patch #

Patch Set 5 : Update include order #

Patch Set 6 : Fix includes #

Total comments: 16

Patch Set 7 : Tests and review feedbac #

Patch Set 8 : Use callback for ref bump in test #

Patch Set 9 : Upload got a 500, trying again #

Patch Set 10 : Add missed static #

Patch Set 11 : Add missed statics #

Total comments: 8

Patch Set 12 : Incorporate review feedbac #

Patch Set 13 : Whitespace and ordering #

Patch Set 14 : Fix windows resolve #

Unified diffs Side-by-side diffs Delta from patch set Stats (+765 lines, -231 lines) Patch
D content/browser/renderer_host/frame_memory_manager.h View 1 2 1 chunk +0 lines, -44 lines 0 comments Download
D content/browser/renderer_host/frame_memory_manager.cc View 1 2 1 chunk +0 lines, -66 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 4 5 6 6 chunks +9 lines, -7 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 6 7 8 9 10 11 14 chunks +35 lines, -97 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 4 5 6 6 chunks +15 lines, -1 line 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 6 7 8 9 10 11 8 chunks +100 lines, -14 lines 0 comments Download
A content/browser/renderer_host/software_frame_manager.h View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +105 lines, -0 lines 0 comments Download
A content/browser/renderer_host/software_frame_manager.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +243 lines, -0 lines 0 comments Download
A content/browser/renderer_host/software_frame_manager_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +255 lines, -0 lines 0 comments Download
M content/content_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +2 lines, -2 lines 0 comments Download
M content/content_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
ccameron
This more-or-less works. We don't successfully switch to software compositor when the GPU process is ...
7 years, 2 months ago (2013-10-03 21:46:00 UTC) #1
slavi
lgtm
7 years, 2 months ago (2013-10-04 22:12:04 UTC) #2
ccameron
Adding sail for the Mac specific parts, piman for content OWNER.
7 years, 2 months ago (2013-10-07 17:53:32 UTC) #3
ccameron
Switching to kbr for RWHVMac parts.
7 years, 2 months ago (2013-10-07 18:16:21 UTC) #4
Ken Russell (switch to Gerrit)
Looks like good progress. LGTM
7 years, 2 months ago (2013-10-07 18:33:07 UTC) #5
piman
Can we have unit tests or browser tests for the code that you're changing? Other ...
7 years, 2 months ago (2013-10-08 02:58:38 UTC) #6
ccameron
I've updated the patch to cut along the boundary suggested in the review feedback. The ...
7 years, 2 months ago (2013-10-22 07:15:54 UTC) #7
ccameron
Oh, and... On 2013/10/08 02:58:38, piman wrote: > Can we have unit tests or browser ...
7 years, 2 months ago (2013-10-22 09:38:03 UTC) #8
piman
Mostly nits, but one thing - I don't see SoftwareFrameWasFreed being called - should it ...
7 years, 2 months ago (2013-10-22 22:32:47 UTC) #9
ccameron
Thanks!! I cleared up the "evict" versus "free" behavior (see comments below). And I finished ...
7 years, 2 months ago (2013-10-23 01:05:57 UTC) #10
piman
https://codereview.chromium.org/25942002/diff/84001/content/browser/renderer_host/render_widget_host_view_mac.mm File content/browser/renderer_host/render_widget_host_view_mac.mm (right): https://codereview.chromium.org/25942002/diff/84001/content/browser/renderer_host/render_widget_host_view_mac.mm#newcode1680 content/browser/renderer_host/render_widget_host_view_mac.mm:1680: render_widget_host_->GetProcess()->ReceivedBadMessage(); On 2013/10/23 01:05:58, ccameron1 wrote: > On 2013/10/22 ...
7 years, 1 month ago (2013-10-23 23:41:39 UTC) #11
piman
On Wed, Oct 23, 2013 at 4:41 PM, <piman@chromium.org> wrote: > > https://codereview.chromium.**org/25942002/diff/84001/** > content/browser/renderer_host/**render_widget_host_view_mac.mm<https://codereview.chromium.org/25942002/diff/84001/content/browser/renderer_host/render_widget_host_view_mac.mm> ...
7 years, 1 month ago (2013-10-24 01:00:33 UTC) #12
ccameron
Thanks!! I added the UMA message and kept the ReceivedBadMessage. https://codereview.chromium.org/25942002/diff/394001/content/browser/renderer_host/software_frame_manager_unittest.cc File content/browser/renderer_host/software_frame_manager_unittest.cc (right): https://codereview.chromium.org/25942002/diff/394001/content/browser/renderer_host/software_frame_manager_unittest.cc#newcode18 ...
7 years, 1 month ago (2013-10-24 17:56:41 UTC) #13
piman
lgtm
7 years, 1 month ago (2013-10-24 20:33:16 UTC) #14
ccameron
Thanks!!
7 years, 1 month ago (2013-10-24 21:16:47 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/25942002/654001
7 years, 1 month ago (2013-10-24 22:53:26 UTC) #16
commit-bot: I haz the power
7 years, 1 month ago (2013-10-25 01:48:53 UTC) #17
Message was sent while issue was closed.
Change committed as 230900

Powered by Google App Engine
This is Rietveld 408576698