Changes between Version 37 and Version 38 of CoordinatedGraphicsSystem


Ignore:
Timestamp:
Mar 8, 2017 2:34:52 AM (7 years ago)
Author:
Konstantin Tokarev
Comment:

ShareableSurface was renamed to WebCoordinatedSurface

Legend:

Unmodified
Added
Removed
Modified
  • CoordinatedGraphicsSystem

    v37 v38  
    179179GraphicsSurfaces are currently supported only on Qt-Mac and GLX, and are currently enabled only for WebGL and not for fast texture uploads. This is work in progress.
    180180
    181 '''[/browser/trunk/Source/WebKit2/Shared/ShareableSurface.cpp ShareableSurface]''' is a glue class that abstracts away the differences between GraphicsSurface and ShareableBitmap for the purposes of serialization. This is a convenience, to allow us to avoid adding #ifdefs or special code-paths for GraphicsSurface in too many places in WebKit2.
    182 
    183 '''[/browser/trunk/Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedBackingStore.cpp CoordinatedBackingStore]''' synchronizes remote tiles (created by the TiledBackingStore) and ShareableSurfaces with TextureMapper in the UI process. It is responsible for copying or swapping the data in the BitmapTexture with new data or updates from ShareableSurface. It also knows how to paint the different tiles with relation to the parameters received from TextureMapperLayer.
     181'''[/browser/trunk/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedSurface.cpp CoordinatedSurface]''' TODO: Needs description
     182
     183'''[/browser/trunk/Source/WebKit2/Shared/CoordinatedGraphics/WebCoordinatedSurface.cpp WebCoordinatedSurface]''' is a glue class that abstracts away the differences between GraphicsSurface and ShareableBitmap for the purposes of serialization. This is a convenience, to allow us to avoid adding #ifdefs or special code-paths for GraphicsSurface in too many places in WebKit2.
     184
     185'''[/browser/trunk/Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedBackingStore.cpp CoordinatedBackingStore]''' synchronizes remote tiles (created by the TiledBackingStore) and CoordinatedSurfaces with TextureMapper in the UI process. It is responsible for copying or swapping the data in the BitmapTexture with new data or updates from CoordinatedSurface. It also knows how to paint the different tiles with relation to the parameters received from TextureMapperLayer.
    184186
    185187'''[/browser/trunk/Source/WebKit2/WebProcess/WebPage/CoordinatedGraphics/UpdateAtlas.cpp UpdateAtlas]''' is a graphics-memory optimization, designed to avoid fragmented allocations of small update buffers. Instead of allocating small buffers as it goes along, UpdateAtlas allocates large graphics buffers, and manages the update-patch allocations by itself, using square shapes inside the large buffers as sub-images to store temporary pixel data.