/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
VSyncManager.java | 9 * Interface for requesting notification of the display vsync signal. The provider will call 10 * Listener.onVSync() to notify about vsync. The number of registrations and unregistrations of 19 * Interface for receiving vsync notifications and information about the display refresh 24 * Notification of a vsync event. 25 * @param frameTimeMicros The latest vsync frame time in microseconds. 30 * Update with the latest vsync parameters. 31 * @param tickTimeMicros The latest vsync tick time in microseconds. 32 * @param intervalMicros The vsync interval in microseconds.
|
VSyncMonitor.java | 46 // Choreographer is used to detect vsync on >= JB. 55 // If the monitor is activated after having been idle, we synthesize the first vsync to reduce 74 // Use Choreographer on JB+ to get notified of vsync. 79 TraceEvent.begin("VSync"); 82 TraceEvent.end("VSync"); 114 * Returns the time interval between two consecutive vsync pulses in microseconds. 121 * Determine whether a true vsync signal is available on this platform. 128 * Stop reporting vsync events. Note that at most one pending vsync event can still be delivered 137 * No vsync events will be reported afterwards [all...] |
/frameworks/native/services/surfaceflinger/tests/vsync/ |
Android.mk | 5 vsync.cpp 14 LOCAL_MODULE:= test-vsync-events
|
vsync.cpp | 34 printf("event vsync: count=%d\t", buffer[i].vsync.count);
|
/frameworks/native/services/surfaceflinger/ |
DispSync.h | 32 // DispSync maintains a model of the periodic hardware-based vsync events of a 34 // offsets from the hardware vsync events. The model is constructed by 40 // timestamps should correspond to a hardware vsync event, but they need not 41 // be consecutive hardware vsync times. If this method determines that the 60 // addPresentFence adds a fence for use in validating the current vsync 63 // should correspond to a hardware vsync event. Unlike the 65 // correspond to consecutive hardware vsync events. 72 // synchronize the DispSync's model to the hardware vsync events. The re- 74 // calling addResyncSample with a sequence of consecutive hardware vsync 81 // from the hardware vsync events [all...] |
EventThread.cpp | 49 mVSyncEvent[i].vsync.count = 0; 99 // disable reliance on h/w vsync 108 // resume use of h/w vsync 119 mVSyncEvent[0].vsync.count++; 168 // This will return when (1) a vsync event has been received, and (2) there was 185 // we have a vsync event to dispatch 188 vsyncCount = mVSyncEvent[i].vsync.count; 194 // no vsync event, see if there are some other event 210 // we need vsync events because at least 215 // (ie: we received a vsync event [all...] |
SurfaceFlingerConsumer.cpp | 122 // based on choreographer time stamps, which (coming from vsync events) 125 // vsync, we'll hold the frame when we really want to display it. We 132 // 1.3ms past the vsync event time. 148 // A little extra padding to compensate for slack between actual vsync 149 // time and vsync event receipt. Currently not needed since we're 150 // using "now" instead of a vsync time.
|
DispSync.cpp | 39 // vsync event model or phase issues. 42 // This is the threshold used to determine when hardware vsync events are 43 // needed to re-synchronize the software vsync model with the hardware. The 45 // present time and the nearest software-predicted vsync. 57 // vsync event. 308 // would prevent HW vsync event from ever being turned off. 310 // there is an event registered we will turn on the HW vsync events. 380 // that the HW vsync events be turned on whenever we need to generate 381 // SW vsync events.
|
/hardware/qcom/display/msm8974/libhwcomposer/ |
hwc_vsync.cpp | 44 ALOGE("%s: vsync control failed. Dpy=%d, enable=%d : %s", 91 ALOGI("%s: Reading vsync for dpy=%d from %s", __FUNCTION__, dpy, 98 ALOGE ("%s:not able to open vsync node for dpy=%d, %s", 123 ALOGE ("%s: Unable to read vsync for dpy=%d : %s", 128 if (!strncmp(vdata, "VSYNC=", strlen("VSYNC="))) { 129 timestamp[dpy] = strtoull(vdata + strlen("VSYNC="), 136 ctx->proc->vsync(ctx->proc, dpy, timestamp[dpy]); 141 ALOGE("%s: vsync poll failed errno: %s", __FUNCTION__, 149 //Fake vsync is used only when set explicitly through a property or whe [all...] |
/build/target/board/generic/ |
BoardConfig.mk | 48 # Set the phase offset of the system's vsync event relative to the hardware 49 # vsync. The system's vsync event drives Choreographer and SurfaceFlinger's 50 # rendering. This value is the number of nanoseconds after the hardware vsync 51 # that the system vsync event will occur. 55 # image is displayed. This value may be either positive (after the HW vsync) 56 # or negative (before the HW vsync). Setting it to 0 will result in a 57 # minimum latency of two vsync periods because the app and SurfaceFlinger 58 # will run just after the HW vsync. Setting it to a positive number will 65 # the latency will end up being an additional vsync period, and animation [all...] |
/external/chromium-trace/trace-viewer/src/tracing/importer/linux_perf/ |
bus_parser_test.js | 13 's3c-fb-vsync-85 [001] d..2 8116.730115: memory_bus_usage: ' + 16 's3c-fb-vsync-85 [001] d..2 8116.730118: memory_bus_usage: ' + 20 's3c-fb-vsync-85 [001] d..2 8116.746788: memory_bus_usage: ' + 24 's3c-fb-vsync-85 [001] d..2 8116.746790: memory_bus_usage: ' + 28 's3c-fb-vsync-85 [001] d..2 8116.746792: memory_bus_usage: ' + 32 's3c-fb-vsync-85 [001] d..2 8116.746793: memory_bus_usage: ' + 35 's3c-fb-vsync-85 [001] d..2 8116.746798: memory_bus_usage: ' + 39 's3c-fb-vsync-85 [001] d..2 8116.763521: memory_bus_usage: ' + 43 's3c-fb-vsync-85 [001] d..2 8116.763523: memory_bus_usage: ' + 47 's3c-fb-vsync-85 [001] d..2 8116.763525: memory_bus_usage: ' [all...] |
/hardware/qcom/display/msm8960/libhwcomposer/ |
hwc_vsync.cpp | 42 ALOGE("%s: vsync control failed. Dpy=%d, enable=%d : %s", 83 /* Currently read vsync timestamp from drivers 84 e.g. VSYNC=41800875994 113 if (!strncmp(str, "VSYNC=", strlen("VSYNC="))) { 114 cur_timestamp = strtoull(str + strlen("VSYNC="), NULL, 0); 124 ctx->proc->vsync(ctx->proc, dpy, cur_timestamp); 138 ALOGI("Initializing VSYNC Thread");
|
/hardware/qcom/display/msm8x26/libhwcomposer/ |
hwc_vsync.cpp | 42 ALOGE("%s: vsync control failed. Dpy=%d, enable=%d : %s", 83 /* Currently read vsync timestamp from drivers 84 e.g. VSYNC=41800875994 113 if (!strncmp(str, "VSYNC=", strlen("VSYNC="))) { 114 cur_timestamp = strtoull(str + strlen("VSYNC="), NULL, 0); 124 ctx->proc->vsync(ctx->proc, dpy, cur_timestamp); 138 ALOGI("Initializing VSYNC Thread");
|
/external/chromium_org/content/browser/renderer_host/media/ |
video_capture_oracle_unittest.cc | 14 void SteadyStateSampleAndAdvance(base::TimeDelta vsync, 21 *t += vsync; 25 void SteadyStateNoSampleAndAdvance(base::TimeDelta vsync, 30 *t += vsync; 68 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) / 60; local 77 // Steady state, we should capture every other vsync, indefinitely. 80 SteadyStateSampleAndAdvance(vsync, &sampler, &t); 81 SteadyStateNoSampleAndAdvance(vsync, &sampler, &t); 91 t += vsync; 99 SteadyStateSampleAndAdvance(vsync, &sampler, &t) 108 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) \/ 50; local 154 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) \/ 75; local 204 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) \/ 30; local 240 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) \/ 24; local [all...] |
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/ |
VSyncMonitorTest.java | 66 // The vsync monitor must be created on the UI thread to avoid associating the underlying 79 // Check that the vsync period roughly matches the timestamps that the monitor generates. 113 // Check that the vsync period roughly matches the timestamps that the monitor generates. 119 // Check that the vsync period roughly matches the timestamps that the monitor generates. 125 // Check that the vsync period roughly matches the timestamps that the monitor generates. 138 // The VSync should have activated immediately instead of at the next real vsync.
|
/frameworks/native/include/gui/ |
DisplayEventReceiver.h | 55 struct VSync { 65 VSync vsync; member in union:android::DisplayEventReceiver::Event::__anon30421 73 * SurfaceFlinger. VSync events are disabled by default. Call setVSyncRate 116 * setVsyncRate() sets the Event::VSync delivery rate. A value of 117 * 1 returns every Event::VSync. A value of 2 returns every other event, 124 * requestNextVsync() schedules the next Event::VSync. It has no effect 125 * if the vsync rate is > 0.
|
IDisplayEventConnection.h | 45 * setVsyncRate() sets the vsync event delivery rate. A value of 46 * 1 returns every vsync events. A value of 2 returns every other events, 53 * requestNextVsync() schedules the next vsync event. It has no effect 54 * if the vsync rate is > 0.
|
/external/chromium_org/content/browser/aura/ |
gpu_browser_compositor_output_surface.h | 13 // cc::OutputSurface that also handles vsync parameter updates
|
software_browser_compositor_output_surface.h | 42 // VSync parameters.
|
/hardware/libhardware/include/hardware/ |
power.h | 101 * Foreground app has started or stopped requesting a VSYNC pulse 102 * from SurfaceFlinger. If the app has started requesting VSYNC 105 * non-zero to indicate VSYNC pulse is now requested, or zero for 106 * VSYNC pulse no longer requested.
|
/external/chromium_org/tools/perf/benchmarks/ |
maps.py | 51 """Runs the Google Maps benchmark with Vsync disabled""" 55 options.AppendExtraBrowserArgs('--disable-gpu-vsync')
|
/frameworks/base/core/jni/ |
android_view_DisplayEventReceiver.cpp | 108 ALOGV("receiver %p ~ Scheduling vsync.", this); 118 ALOGW("Failed to request next vsync, status=%d", status); 140 // Drain all pending events, keep the last vsync. 145 ALOGV("receiver %p ~ Vsync pulse: timestamp=%lld, id=%d, count=%d", 165 // Later vsync events will just overwrite the info from earlier 170 *outCount = ev.vsync.count; 190 ALOGV("receiver %p ~ Invoking vsync handler.", this); 193 ALOGV("receiver %p ~ Returned from vsync handler.", this);
|
/frameworks/base/core/java/android/view/ |
Choreographer.java | 77 // When vsync is not enabled, we want to have some idea of how long we should 102 // Enable/disable vsync for animations and drawing. 104 "debug.choreographer.vsync", true); 206 * source, such as the display refresh rate (vsync), to govern animations. 225 * source, such as the display refresh rate (vsync), to govern animations. 477 Log.d(TAG, "Scheduling next frame on vsync."); 480 // If running on the Looper thread, then schedule the vsync immediately, 481 // otherwise post a message to schedule the vsync from the UI thread 520 Log.d(TAG, "Missed vsync by " + (jitterNanos * 0.000001f) + " ms " 532 + "previously skipped frame. Waiting for next vsync.") [all...] |
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/platform/ |
SurfaceFlingerHelper.java | 57 /* An integer array which includes delta vsync */ 60 /* Integer array for delta of delta vsync */ 63 /* the maximum delta vsync number */ 242 * Calculate delta(vsync) 253 // get the first frame vsync time 268 * Calculate difference between delta vsync 289 * normalized delta(delta(vsync)) by refresh period 325 * Get number of jankiness using Vsync time difference 391 fw.write("app\tvsync\tset\tdelta(vsync)\tdelta^2(vsync)\t" [all...] |
/external/kernel-headers/original/media/ |
v4l2-mediabus.h | 27 * Note: in BT.656 mode HSYNC, FIELD, and VSYNC are unused 66 * @V4L2_MBUS_PARALLEL: parallel interface with hsync and vsync
|