Replace VSyncMonitor with compositor's VSyncPulseMonitor.

Differences:
- Constructor doesn't require View.
- The listener callback is called at most MAX_VSYNC_COUNT times.
- VSYNC_TIMEOUT is not used and Terminator is not created.
- Minimal timer-based ICS support is added, but see http://crbug.com/156397.

BUG=160017

Review URL: https://chromiumcodereview.appspot.com/11362177

git-svn-id: http://src.chromium.org/svn/trunk/src/build@167095 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
aruslan@chromium.org 2012-11-10 19:07:10 +00:00
Родитель 3882c91845
Коммит df84b527b1
1 изменённых файлов: 0 добавлений и 6 удалений

Просмотреть файл

@ -172,11 +172,8 @@ M M IS: Inconsistent synchronization of org.chromium.content.browser.SandboxedPr
M M LI: Incorrect lazy initialization and update of static field org.chromium.content.browser.ContentVideoView.sContentVideoView in org.chromium.content.browser.ContentVideoView.createContentVideoView(int) At ContentVideoView.java
M M LI: Incorrect lazy initialization and update of static field org.chromium.net.test.util.TestWebServer.sReasons in org.chromium.net.test.util.TestWebServer.createResponse(int) At TestWebServer.java
M M LI: Incorrect lazy initialization of static field org.chromium.net.NetworkChangeNotifier.sInstance in org.chromium.net.NetworkChangeNotifier.createInstance(Context, int) At NetworkChangeNotifier.java
M M NN: Naked notify in org.chromium.content.browser.VSyncMonitorTest$VSyncDataCollector.onVSync(VSyncMonitor, long) At VSyncMonitorTest.java
M M UG: org.chromium.content.browser.JavaBridgeReturnValuesTest$TestObject.getBooleanValue() is unsynchronized, org.chromium.content.browser.JavaBridgeReturnValuesTest$TestObject.setBooleanValue(boolean) is synchronized At JavaBridgeReturnValuesTest.java
M M UG: org.chromium.content.browser.JavaBridgeReturnValuesTest$TestObject.getStringValue() is unsynchronized, org.chromium.content.browser.JavaBridgeReturnValuesTest$TestObject.setStringValue(String) is synchronized At JavaBridgeReturnValuesTest.java
M M UW: Unconditional wait in org.chromium.content.browser.VSyncMonitorTest.testVSyncPeriod() At VSyncMonitorTest.java
M M Wa: Wait not in loop in org.chromium.content.browser.VSyncMonitorTest.testVSyncPeriod() At VSyncMonitorTest.java
M P SIC: Should org.chromium.android_webview.test.AwSettingsTest$ViewPair be a _static_ inner class? At AwSettingsTest.java
M P SIC: Should org.chromium.android_webview.test.TestAwContentsClient$AddMessageToConsoleHelper be a _static_ inner class? At TestAwContentsClient.java
M P SIC: Should org.chromium.android_webview.test.TestContentProvider$ProviderStateCursor be a _static_ inner class? At TestContentProvider.java
@ -185,9 +182,6 @@ M P SIC: Should org.chromium.content.browser.JavaBridgeArrayCoercionTest$CustomT
M P SIC: Should org.chromium.content.browser.JavaBridgeFieldsTest$CustomType be a _static_ inner class? At JavaBridgeFieldsTest.java
M P SIC: Should org.chromium.content.browser.JavaBridgeReturnValuesTest$CustomType be a _static_ inner class? At JavaBridgeReturnValuesTest.java
M P SIC: Should org.chromium.content.browser.PopupZoomerTest$CustomCanvasPopupZoomer be a _static_ inner class? At PopupZoomerTest.java
M P SIC: Should org.chromium.content.browser.VSyncMonitorTest$TestTimeSource be a _static_ inner class? At VSyncMonitorTest.java
M P SIC: Should org.chromium.content.browser.VSyncMonitorTest$TestView be a _static_ inner class? At VSyncMonitorTest.java
M P SIC: Should org.chromium.content.browser.VSyncMonitorTest$VSyncDataCollector be a _static_ inner class? At VSyncMonitorTest.java
M P SS: Unread field: org.chromium.android_webview.test.AwSettingsTest$AwSettingsTextZoomTestHelper.mInitialTextZoom; should this field be static? At AwSettingsTest.java
M P SS: Unread field: org.chromium.android_webview.test.util.ImagePageGenerator.IMAGE_PREFIX; should this field be static? At ImagePageGenerator.java
M P SS: Unread field: org.chromium.android_webview.test.util.ImagePageGenerator.IMAGE_SUFFIX; should this field be static? At ImagePageGenerator.java