/frameworks/base/libs/hwui/renderthread/ |
TimeLord.cpp | 27 bool TimeLord::vsyncReceived(nsecs_t vsync) { 28 if (vsync > mFrameTimeNanos) { 29 mFrameTimeNanos = vsync;
|
TimeLord.h | 32 // returns true if the vsync is newer, false if it was rejected for staleness 33 bool vsyncReceived(nsecs_t vsync);
|
/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);
|
/hardware/intel/img/hwcomposer/ips/common/ |
VsyncControl.cpp | 54 arg.vsync.pipe = disp; 75 arg.vsync.pipe = disp; 79 timestamp = (int64_t)arg.vsync.timestamp;
|
/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_org/content/browser/media/capture/ |
video_capture_oracle_unittest.cc | 26 void SteadyStateSampleAndAdvance(base::TimeDelta vsync, 34 *t += vsync; 38 void SteadyStateNoSampleAndAdvance(base::TimeDelta vsync, 44 *t += vsync; 89 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) / 60; local 97 // Steady state, we should capture every other vsync, indefinitely. 100 SteadyStateSampleAndAdvance(vsync, &sampler, &t); 101 SteadyStateNoSampleAndAdvance(vsync, &sampler, &t); 111 t += vsync; 119 SteadyStateSampleAndAdvance(vsync, &sampler, &t) 128 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) \/ 50; local 173 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) \/ 75; local 222 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) \/ 30; local 257 const base::TimeDelta vsync = base::TimeDelta::FromSeconds(1) \/ 24; local [all...] |
/frameworks/native/include/gui/ |
DisplayEventReceiver.h | 55 struct VSync { 65 VSync vsync; member in union:android::DisplayEventReceiver::Event::__anon18774 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.
|
/system/core/adf/libadfhwc/include/adfhwc/ |
adfhwc.h | 31 * Called on vsync (required) 33 void (*vsync)(void *data, int disp, uint64_t timestamp); member in struct:adf_hwc_event_callbacks
|
/frameworks/native/services/surfaceflinger/ |
EventThread.cpp | 38 // time to wait between VSYNC requests before sending a VSYNC OFF power hint: 40msec. 58 mVSyncEvent[i].vsync.count = 0; 133 // disable reliance on h/w vsync 142 // resume use of h/w vsync 153 mVSyncEvent[0].vsync.count++; 202 // This will return when (1) a vsync event has been received, and (2) there was 219 // we have a vsync event to dispatch 222 vsyncCount = mVSyncEvent[i].vsync.count; 228 // no vsync event, see if there are some other even [all...] |
/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...] |
hwc_uevents.cpp | 57 int vsync = 0; local
|
/hardware/intel/img/hwcomposer/include/ |
Hwcomposer.h | 64 virtual void vsync(int disp, int64_t timestamp);
|
/system/core/adf/libadfhwc/ |
adfhwc.cpp | 178 adf_vsync_event *vsync; local 184 vsync = static_cast<adf_vsync_event *>(vsync_temp); 187 dev->event_cb->vsync(dev->event_cb_data, disp, vsync->timestamp);
|
/hardware/intel/img/hwcomposer/common/base/ |
Hwcomposer.cpp | 321 void Hwcomposer::vsync(int disp, int64_t timestamp) function in class:android::intel::Hwcomposer 325 if (mProcs && mProcs->vsync) { 326 VLOGTRACE("report vsync on disp %d, timestamp %llu", disp, timestamp); 327 // workaround to pretend vsync is from primary display 328 // Display will freeze if vsync is from external display. 329 mProcs->vsync(const_cast<hwc_procs_t*>(mProcs), IDisplayDevice::DEVICE_PRIMARY, timestamp);
|
/external/chromium_org/third_party/hwcplus/include/hardware/ |
hwcomposer.h | 389 * (*vsync)() is called by the h/w composer HAL when a vsync event is 393 * the "disp" parameter indicates which display the vsync event is for. 395 * nanosecond of when the vsync event happened. 397 * vsync() is GUARANTEED TO NOT CALL BACK into the h/w composer HAL. 399 * It is expected that vsync() is called from a thread of at least 405 * can either stop or continue to process VSYNC events, but must not 408 void (*vsync)(const struct hwc_procs* procs, int disp, int64_t timestamp); member in struct:hwc_procs
|
/hardware/intel/img/hwcomposer/common/devices/ |
DummyDevice.cpp | 189 DEINIT_AND_RETURN_FALSE("Failed to create Soft Vsync Observer"); 216 mHwc.vsync(mType, timestamp);
|
/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");
|
hwc_uevents.cpp | 56 int vsync = 0; local
|
/hardware/qcom/display/msm8084/libhwcomposer/ |
hwc_vsync.cpp | 51 ALOGE("%s: vsync control failed. Dpy=%d, enable=%d : %s", 63 if (!strncmp(data, "VSYNC=", strlen("VSYNC="))) { 64 timestamp = strtoull(data + strlen("VSYNC="), NULL, 0); 69 ctx->proc->vsync(ctx->proc, dpy, timestamp); 150 //XXX: Blank events don't work with fake vsync, 151 //but we shouldn't be running on fake vsync anyway. 191 //Fake vsync is used only when set explicitly through a property or when 192 //the vsync timestamp node cannot be opened at bootup. There is no 193 //fallback to fake vsync from the true vsync loop, ever, as th [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
hwc_vsync.cpp | 50 ALOGE("%s: vsync control failed. Dpy=%d, enable=%d : %s", 61 if (!strncmp(data, "VSYNC=", strlen("VSYNC="))) { 62 timestamp = strtoull(data + strlen("VSYNC="), NULL, 0); 67 ctx->proc->vsync(ctx->proc, dpy, timestamp); 138 //XXX: Blank events don't work with fake vsync, 139 //but we shouldn't be running on fake vsync anyway. 168 ALOGE("%s: Too many errors, falling back to fake vsync ", 192 //Fake vsync is used only when set explicitly through a property or when 193 //the vsync timestamp node cannot be opened at bootup. There is n [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/ |
xf86vmode.h | 142 SDL_NAME(XF86VidModeSyncRange)* vsync; member in struct:__anon13227
|
/hardware/libhardware/include/hardware/ |
hwcomposer.h | 441 * (*vsync)() is called by the h/w composer HAL when a vsync event is 445 * the "disp" parameter indicates which display the vsync event is for. 447 * nanosecond of when the vsync event happened. 449 * vsync() is GUARANTEED TO NOT CALL BACK into the h/w composer HAL. 451 * It is expected that vsync() is called from a thread of at least 457 * can either stop or continue to process VSYNC events, but must not 460 void (*vsync)(const struct hwc_procs* procs, int disp, int64_t timestamp); member in struct:hwc_procs [all...] |
/external/chromium_org/third_party/webrtc/voice_engine/test/cmd_test/ |
voe_cmd_test.cc | 63 VoEVideoSync* vsync = NULL; variable 136 vsync = VoEVideoSync::GetInterface(m_voe); 206 if (vsync) 207 vsync->Release();
|
/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);
|