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

/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::__anon1395
125 * if the vsync rate is > 0.
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp49 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 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.h299 inline void vsync(int disp, int64_t timestamp);
H A DHWComposer.cpp139 mCBContext->procs.vsync = &hook_vsync;
148 // don't need a vsync thread if we have a hardware composer
150 // always turn vsync off when we start
271 ctx->hwc->vsync(disp, timestamp);
285 void HWComposer::vsync(int disp, int64_t timestamp) { function in class:android::HWComposer
290 // There have been reports of HWCs that signal several vsync events
1127 // we missed, find where the next vsync should be

Completed in 179 milliseconds