Title: [185443] trunk/Source/WebCore
- Revision
- 185443
- Author
- [email protected]
- Date
- 2015-06-10 18:57:49 -0700 (Wed, 10 Jun 2015)
Log Message
[Mobile Safari, WKWebView] increase DeviceOrientationEvent events emission frequency
https://bugs.webkit.org/attachment.cgi?bugid=145814
Patch by Boris Smus <[email protected]> on 2015-06-10
Reviewed by Benjamin Poulain.
Increased the sampling rate of DeviceOrientationEvent from 20 Hz to 60
Hz to make good head tracking possible.
* platform/ios/WebCoreMotionManager.h:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (185442 => 185443)
--- trunk/Source/WebCore/ChangeLog 2015-06-11 00:52:22 UTC (rev 185442)
+++ trunk/Source/WebCore/ChangeLog 2015-06-11 01:57:49 UTC (rev 185443)
@@ -1,3 +1,15 @@
+2015-06-10 Boris Smus <[email protected]>
+
+ [Mobile Safari, WKWebView] increase DeviceOrientationEvent events emission frequency
+ https://bugs.webkit.org/attachment.cgi?bugid=145814
+
+ Reviewed by Benjamin Poulain.
+
+ Increased the sampling rate of DeviceOrientationEvent from 20 Hz to 60
+ Hz to make good head tracking possible.
+
+ * platform/ios/WebCoreMotionManager.h:
+
2015-06-10 Alex Christensen <[email protected]>
[Content Extensions] Limit number of rules.
Modified: trunk/Source/WebCore/platform/ios/WebCoreMotionManager.h (185442 => 185443)
--- trunk/Source/WebCore/platform/ios/WebCoreMotionManager.h 2015-06-11 00:52:22 UTC (rev 185442)
+++ trunk/Source/WebCore/platform/ios/WebCoreMotionManager.h 2015-06-11 01:57:49 UTC (rev 185443)
@@ -35,7 +35,7 @@
#import <CoreMotion/CoreMotion.h>
-const float kMotionUpdateInterval = 0.05f;
+const float kMotionUpdateInterval = 1.0f / 60.0f;
@interface WebCoreMotionManager : NSObject {
CMMotionManager* m_motionManager;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes