Changeset 106399 in webkit


Ignore:
Timestamp:
Jan 31, 2012 2:57:20 PM (12 years ago)
Author:
nduca@chromium.org
Message:

[chromium] Import PaintAggregator
https://bugs.webkit.org/show_bug.cgi?id=53715

Reviewed by Darin Fisher.

  • WebKit.gyp:
  • WebKit.gypi:
  • src/painting/PaintAggregator.cpp: Added.

(WebKit::calculateArea):
(WebKit::subtractIntersection):
(WebKit::sharesEdge):
(WebKit::PaintAggregator::PendingUpdate::PendingUpdate):
(WebKit::PaintAggregator::PendingUpdate::~PendingUpdate):
(WebKit::PaintAggregator::PendingUpdate::calculateScrollDamage):
(WebKit::PaintAggregator::PendingUpdate::calculatePaintBounds):
(WebKit::PaintAggregator::hasPendingUpdate):
(WebKit::PaintAggregator::clearPendingUpdate):
(WebKit::PaintAggregator::popPendingUpdate):
(WebKit::PaintAggregator::invalidateRect):
(WebKit::PaintAggregator::scrollRect):
(WebKit::PaintAggregator::scrollPaintRect):
(WebKit::PaintAggregator::shouldInvalidateScrollRect):
(WebKit::PaintAggregator::invalidateScrollRect):
(WebKit::PaintAggregator::combinePaintRects):

  • src/painting/PaintAggregator.h: Added.
  • tests/PaintAggregatorTest.cpp: Added.

(WebKit::TEST):

Location:
trunk/Source/WebKit/chromium
Files:
3 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/chromium/ChangeLog

    r106395 r106399  
     12012-01-31  Nat Duca  <nduca@chromium.org>
     2
     3        [chromium] Import PaintAggregator
     4        https://bugs.webkit.org/show_bug.cgi?id=53715
     5
     6        Reviewed by Darin Fisher.
     7
     8        * WebKit.gyp:
     9        * WebKit.gypi:
     10        * src/painting/PaintAggregator.cpp: Added.
     11        (WebKit::calculateArea):
     12        (WebKit::subtractIntersection):
     13        (WebKit::sharesEdge):
     14        (WebKit::PaintAggregator::PendingUpdate::PendingUpdate):
     15        (WebKit::PaintAggregator::PendingUpdate::~PendingUpdate):
     16        (WebKit::PaintAggregator::PendingUpdate::calculateScrollDamage):
     17        (WebKit::PaintAggregator::PendingUpdate::calculatePaintBounds):
     18        (WebKit::PaintAggregator::hasPendingUpdate):
     19        (WebKit::PaintAggregator::clearPendingUpdate):
     20        (WebKit::PaintAggregator::popPendingUpdate):
     21        (WebKit::PaintAggregator::invalidateRect):
     22        (WebKit::PaintAggregator::scrollRect):
     23        (WebKit::PaintAggregator::scrollPaintRect):
     24        (WebKit::PaintAggregator::shouldInvalidateScrollRect):
     25        (WebKit::PaintAggregator::invalidateScrollRect):
     26        (WebKit::PaintAggregator::combinePaintRects):
     27        * src/painting/PaintAggregator.h: Added.
     28        * tests/PaintAggregatorTest.cpp: Added.
     29        (WebKit::TEST):
     30
    1312012-01-31  Fady Samuel  <fsamuel@chromium.org>
    232
  • trunk/Source/WebKit/chromium/WebKit.gyp

    r106353 r106399  
    446446                'src/NotificationPresenterImpl.cpp',
    447447                'src/painting/GraphicsContextBuilder.h',
     448                'src/painting/PaintAggregator.h',
     449                'src/painting/PaintAggregator.cpp',
    448450                'src/PageOverlay.cpp',
    449451                'src/PageOverlay.h',
  • trunk/Source/WebKit/chromium/WebKit.gypi

    r105962 r106399  
    102102            'tests/LayerChromiumTest.cpp',
    103103            'tests/LayerTextureUpdaterTest.cpp',
     104            'tests/PaintAggregatorTest.cpp',
    104105            'tests/PODArenaTest.cpp',
    105106            'tests/PODIntervalTreeTest.cpp',
Note: See TracChangeset for help on using the changeset viewer.