Changeset 76257 in webkit


Ignore:
Timestamp:
Jan 20, 2011 9:12:24 AM (13 years ago)
Author:
Adam Roben
Message:

Only flush our own context when we get resized

Fixes <http://webkit.org/b/52751> All WKCACFContexts with uncommitted
changes get flushed whenever any composited page is resized

Reviewed by Simon Fraser.

  • platform/graphics/win/WKCACFLayerRenderer.cpp:

(WebCore::WKCACFLayerRenderer::resize): Just flush our own context, not all contexts
WKCACFContextFlusher knows about. After all, ours is the only one that just got resized!

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r76256 r76257  
     12011-01-19  Adam Roben  <aroben@apple.com>
     2
     3        Only flush our own context when we get resized
     4
     5        Fixes <http://webkit.org/b/52751> All WKCACFContexts with uncommitted
     6        changes get flushed whenever any composited page is resized
     7
     8        Reviewed by Simon Fraser.
     9
     10        * platform/graphics/win/WKCACFLayerRenderer.cpp:
     11        (WebCore::WKCACFLayerRenderer::resize): Just flush our own context, not all contexts
     12        WKCACFContextFlusher knows about. After all, ours is the only one that just got resized!
     13
    1142011-01-19  Adam Roben  <aroben@apple.com>
    215
  • trunk/Source/WebCore/platform/graphics/win/WKCACFLayerRenderer.cpp

    r76256 r76257  
    366366    if (m_rootLayer) {
    367367        m_rootLayer->setBounds(bounds());
    368         WKCACFContextFlusher::shared().flushAllContexts();
     368        wkCACFContextFlush(m_context);
    369369    }
    370370}
Note: See TracChangeset for help on using the changeset viewer.