• ccameron@chromium.org's avatar
    Make --enable-delegated-renderer show stuff on Mac · 4232b250
    ccameron@chromium.org authored
    With this patch, pixels appear on screen and tab capture works.
    
    Add a OnNativeSurfaceBuffersSwapped mechanism to display
    an IOSurface to an NSView. This is wired up to the existing
    CompositingIOSurfaceMac. In a future refactoring, something
    much more light-weight than CompositingIOSurfaceMac will
    be used (CompositingIOSurfaceMac has capture code, etc, in
    it).
    
    Add a DelegatedFrameHost to RenderWidgetHostViewMac, and
    hookup the DelegatedFrameHostClient implementation. Create
    the DelegatedFrameHost when a delegated frame is received, and
    use its existence to determine which mode is active.
    
    BUG=314190
    
    Review URL: https://codereview.chromium.org/267073003
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/src@269946 0039d316-1c4b-4281-b951-d872f2087c98
    4232b250
content_browser.gypi 82.5 KB