Title: [164200] trunk/Source/WebCore
Revision
164200
Author
jae.p...@company100.net
Date
2014-02-16 17:48:54 -0800 (Sun, 16 Feb 2014)

Log Message

[Coordinated Graphics] Make AreaAllocator fast allocated
https://bugs.webkit.org/show_bug.cgi?id=124995

Reviewed by Anders Carlsson.

AreaAllocator can be created and destroyed frequently (at least once per
frame) in case of animation with changing width or height. So, it's
better to make AreaAllocator fast allocated.

* platform/graphics/texmap/coordinated/AreaAllocator.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (164199 => 164200)


--- trunk/Source/WebCore/ChangeLog	2014-02-17 00:50:37 UTC (rev 164199)
+++ trunk/Source/WebCore/ChangeLog	2014-02-17 01:48:54 UTC (rev 164200)
@@ -1,3 +1,16 @@
+2014-02-16  Jae Hyun Park  <jae.p...@company100.net>
+
+        [Coordinated Graphics] Make AreaAllocator fast allocated
+        https://bugs.webkit.org/show_bug.cgi?id=124995
+
+        Reviewed by Anders Carlsson.
+
+        AreaAllocator can be created and destroyed frequently (at least once per
+        frame) in case of animation with changing width or height. So, it's
+        better to make AreaAllocator fast allocated.
+
+        * platform/graphics/texmap/coordinated/AreaAllocator.h:
+
 2014-02-16  Pratik Solanki  <psola...@apple.com>
 
         [iOS] WebKit crashes if text is copied to pasteboard with style containing text-shadow

Modified: trunk/Source/WebCore/platform/graphics/texmap/coordinated/AreaAllocator.h (164199 => 164200)


--- trunk/Source/WebCore/platform/graphics/texmap/coordinated/AreaAllocator.h	2014-02-17 00:50:37 UTC (rev 164199)
+++ trunk/Source/WebCore/platform/graphics/texmap/coordinated/AreaAllocator.h	2014-02-17 01:48:54 UTC (rev 164200)
@@ -47,6 +47,7 @@
 }
 
 class AreaAllocator {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     explicit AreaAllocator(const IntSize&);
     virtual ~AreaAllocator();
@@ -76,6 +77,7 @@
 };
 
 class GeneralAreaAllocator : public AreaAllocator {
+    WTF_MAKE_FAST_ALLOCATED;
 public:
     explicit GeneralAreaAllocator(const IntSize&);
     virtual ~GeneralAreaAllocator();
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to