Changeset 112024 in webkit
- Timestamp:
- Mar 24, 2012 10:03:09 PM (12 years ago)
- Location:
- trunk/Source
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r112023 r112024 1 2012-03-24 Nat Duca <nduca@chromium.org> 2 3 [chromium] Instrument gesture animations with async traces 4 https://bugs.webkit.org/show_bug.cgi?id=82076 5 6 Reviewed by Adrienne Walker. 7 8 * platform/ActivePlatformGestureAnimation.cpp: 9 (WebCore::ActivePlatformGestureAnimation::~ActivePlatformGestureAnimation): 10 (WebCore::ActivePlatformGestureAnimation::ActivePlatformGestureAnimation): 11 * platform/PlatformGestureCurve.h: 12 (PlatformGestureCurve): 13 * platform/TouchpadFlingPlatformGestureCurve.h: 14 (WebCore::TouchpadFlingPlatformGestureCurve::debugName): 15 * platform/WheelFlingPlatformGestureCurve.h: 16 (WebCore::WheelFlingPlatformGestureCurve::debugName): 17 * platform/graphics/chromium/cc/CCActiveGestureAnimation.cpp: 18 (WebCore::CCActiveGestureAnimation::CCActiveGestureAnimation): 19 (WebCore::CCActiveGestureAnimation::~CCActiveGestureAnimation): 20 * platform/graphics/chromium/cc/CCGestureCurve.h: 21 (CCGestureCurve): 22 1 23 2012-03-24 Jeffrey Pfau <jpfau@apple.com> 2 24 -
trunk/Source/WebCore/platform/ActivePlatformGestureAnimation.cpp
r110898 r112024 31 31 #include "PlatformGestureCurveTarget.h" 32 32 33 #if PLATFORM(CHROMIUM) 34 #include "TraceEvent.h" 35 #endif 36 33 37 namespace WebCore { 34 38 … … 40 44 ActivePlatformGestureAnimation::~ActivePlatformGestureAnimation() 41 45 { 46 #if PLATFORM(CHROMIUM) 47 TRACE_EVENT_FINISH0("input", "GestureAnimation", this); 48 #endif 42 49 } 43 50 … … 48 55 , m_target(target) 49 56 { 57 #if PLATFORM(CHROMIUM) 58 TRACE_EVENT_START1("input", "GestureAnimation", this, "curve", curve->debugName()); 59 #endif 50 60 } 51 61 -
trunk/Source/WebCore/platform/PlatformGestureCurve.h
r110344 r112024 38 38 virtual ~PlatformGestureCurve() { } 39 39 40 // Returns a name of the curve for use in debugging. 41 virtual const char* debugName() const = 0; 42 40 43 // Returns false if curve has finished and can no longer be applied. 41 44 virtual bool apply(double time, PlatformGestureCurveTarget*) = 0; -
trunk/Source/WebCore/platform/TouchpadFlingPlatformGestureCurve.h
r111686 r112024 46 46 virtual ~TouchpadFlingPlatformGestureCurve(); 47 47 48 virtual const char* debugName() const { return "TouchpadFling"; } 48 49 virtual bool apply(double monotonicTime, PlatformGestureCurveTarget*); 49 50 -
trunk/Source/WebCore/platform/WheelFlingPlatformGestureCurve.h
r110344 r112024 44 44 virtual ~WheelFlingPlatformGestureCurve(); 45 45 46 virtual const char* debugName() const { return "WheelFling"; } 46 47 virtual bool apply(double time, PlatformGestureCurveTarget*); 47 48 -
trunk/Source/WebCore/platform/graphics/chromium/cc/CCActiveGestureAnimation.cpp
r111308 r112024 27 27 #include "cc/CCActiveGestureAnimation.h" 28 28 29 #include "TraceEvent.h" 29 30 #include "cc/CCGestureCurve.h" 30 31 … … 42 43 , m_gestureCurveTarget(target) 43 44 { 45 TRACE_EVENT_START1("input", "GestureAnimation", this, "curve", curve->debugName()); 44 46 } 45 47 46 48 CCActiveGestureAnimation::~CCActiveGestureAnimation() 47 49 { 50 TRACE_EVENT_FINISH0("input", "GestureAnimation", this); 48 51 } 49 52 -
trunk/Source/WebCore/platform/graphics/chromium/cc/CCGestureCurve.h
r111308 r112024 42 42 virtual ~CCGestureCurve() { } 43 43 44 virtual const char* debugName() const = 0; 45 44 46 virtual bool apply(double monotonicTime, CCGestureCurveTarget*) = 0; 45 47 }; -
trunk/Source/WebKit/chromium/ChangeLog
r111982 r112024 1 2012-03-24 Nat Duca <nduca@chromium.org> 2 3 [chromium] Instrument gesture animations with async traces 4 https://bugs.webkit.org/show_bug.cgi?id=82076 5 6 Reviewed by Adrienne Walker. 7 8 * src/WebCompositorInputHandlerImpl.cpp: 9 (WebCore::PlatformGestureToCCGestureAdapter::debugName): 10 (PlatformGestureToCCGestureAdapter): 11 1 12 2012-03-23 Shawn Singh <shawnsingh@chromium.org> 2 13 -
trunk/Source/WebKit/chromium/src/WebCompositorInputHandlerImpl.cpp
r111806 r112024 56 56 } 57 57 58 virtual const char* debugName() const 59 { 60 return m_curve->debugName(); 61 } 62 58 63 virtual bool apply(double time, CCGestureCurveTarget* target) 59 64 {
Note: See TracChangeset
for help on using the changeset viewer.