Searched refs:vsync (Results 1 - 9 of 9) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
H A DTimeLord.cpp27 bool TimeLord::vsyncReceived(nsecs_t vsync) { argument
28 if (vsync > mFrameTimeNanos) {
29 mFrameTimeNanos = vsync;
H A DTimeLord.h32 // 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/
H A DAndroid.mk5 vsync.cpp
14 LOCAL_MODULE:= test-vsync-events
H A Dvsync.cpp34 printf("event vsync: count=%d\t", buffer[i].vsync.count);
/frameworks/native/include/gui/
H A DDisplayEventReceiver.h65 VSync vsync; member in union:android::DisplayEventReceiver::Event::__anon1248
125 * if the vsync rate is > 0.
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp58 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 event
244 // we need vsync events because at least
249 // (ie: we received a vsync even
[all...]
/frameworks/base/core/jni/
H A Dandroid_view_DisplayEventReceiver.cpp108 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.
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/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.h318 inline void vsync(int disp, int64_t timestamp);
H A DHWComposer.cpp140 mCBContext->procs.vsync = &hook_vsync;
149 // don't need a vsync thread if we have a hardware composer
151 // always turn vsync off when we start
267 ctx->hwc->vsync(disp, timestamp);
281 void HWComposer::vsync(int disp, int64_t timestamp) { function in class:android::HWComposer
286 // There have been reports of HWCs that signal several vsync events
1246 // we missed, find where the next vsync should be

Completed in 1963 milliseconds