Changeset 194576 in webkit


Ignore:
Timestamp:
Jan 4, 2016 11:37:52 PM (8 years ago)
Author:
zandobersek@gmail.com
Message:

Shave off a TransformationMatrix copy if RenderLayer's transparencyClipBox()
https://bugs.webkit.org/show_bug.cgi?id=152119

Reviewed by Simon Fraser.

  • rendering/RenderLayer.cpp:

(WebCore::transparencyClipBox): Multiply the transformation matrix returned by
layer.transform() directly into the transform object, instead of first
multiplying them and then copying the result back into the transform object.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r194566 r194576  
     12016-01-04  Zan Dobersek  <zdobersek@igalia.com>
     2
     3        Shave off a TransformationMatrix copy if RenderLayer's transparencyClipBox()
     4        https://bugs.webkit.org/show_bug.cgi?id=152119
     5
     6        Reviewed by Simon Fraser.
     7
     8        * rendering/RenderLayer.cpp:
     9        (WebCore::transparencyClipBox): Multiply the transformation matrix returned by
     10        layer.transform() directly into the transform object, instead of first
     11        multiplying them and then copying the result back into the transform object.
     12
    1132016-01-04  Myles C. Maxfield  <mmaxfield@apple.com>
    214
  • trunk/Source/WebCore/rendering/RenderLayer.cpp

    r194515 r194576  
    17551755        TransformationMatrix transform;
    17561756        transform.translate(delta.width(), delta.height());
    1757         transform = transform * *layer.transform();
     1757        transform.multiply(*layer.transform());
    17581758
    17591759        // We don't use fragment boxes when collecting a transformed layer's bounding box, since it always
Note: See TracChangeset for help on using the changeset viewer.