Title: [136383] trunk/Source/WebKit/chromium
- Revision
- 136383
- Author
- [email protected]
- Date
- 2012-12-03 04:39:46 -0800 (Mon, 03 Dec 2012)
Log Message
[chromium] Mark last input event for current vsync interval
https://bugs.webkit.org/show_bug.cgi?id=103647
Patch by Sami Kyostila <[email protected]> on 2012-12-03
Reviewed by James Robinson.
On Android all input events are triggered at the start of a vsync to maximize
the amount of time an application has for painting. Add a field to
WebInputEvent to indicate when the input event is the final one for the
current vsync interval. This information will be used for more efficient
render scheduling.
* public/WebInputEvent.h:
(WebKit::WebInputEvent::WebInputEvent):
Modified Paths
Diff
Modified: trunk/Source/WebKit/chromium/ChangeLog (136382 => 136383)
--- trunk/Source/WebKit/chromium/ChangeLog 2012-12-03 12:37:44 UTC (rev 136382)
+++ trunk/Source/WebKit/chromium/ChangeLog 2012-12-03 12:39:46 UTC (rev 136383)
@@ -1,3 +1,19 @@
+2012-12-03 Sami Kyostila <[email protected]>
+
+ [chromium] Mark last input event for current vsync interval
+ https://bugs.webkit.org/show_bug.cgi?id=103647
+
+ Reviewed by James Robinson.
+
+ On Android all input events are triggered at the start of a vsync to maximize
+ the amount of time an application has for painting. Add a field to
+ WebInputEvent to indicate when the input event is the final one for the
+ current vsync interval. This information will be used for more efficient
+ render scheduling.
+
+ * public/WebInputEvent.h:
+ (WebKit::WebInputEvent::WebInputEvent):
+
2012-12-02 Sadrul Habib Chowdhury <[email protected]>
[chromium] Correct the location of synthetic mouse events when page is zoomed
Modified: trunk/Source/WebKit/chromium/public/WebInputEvent.h (136382 => 136383)
--- trunk/Source/WebKit/chromium/public/WebInputEvent.h 2012-12-03 12:37:44 UTC (rev 136382)
+++ trunk/Source/WebKit/chromium/public/WebInputEvent.h 2012-12-03 12:39:46 UTC (rev 136383)
@@ -157,6 +157,14 @@
// Left/right modifiers for keyboard events.
IsLeft = 1 << 11,
IsRight = 1 << 12,
+
+ // Last input event to be sent for the current vsync interval. If this
+ // flag is set, the sender guarantees that no more input events will be
+ // delivered until the next vsync and the receiver can schedule
+ // rendering accordingly. If it isn't set, the receiver should not make
+ // any assumptions about the delivery times of future input events
+ // w.r.t. vsync.
+ IsLastInputEventForCurrentVSync = 1 << 13,
};
static const int InputModifiers = ShiftKey | ControlKey | AltKey | MetaKey;
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes