Searched refs:vsync (Results 1 - 9 of 9) 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::__anon1359
125 * if the vsync rate is > 0.
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp48 mVSyncEvent[i].vsync.count = 0;
98 // disable reliance on h/w vsync
107 // resume use of h/w vsync
123 mVSyncEvent[type].vsync.count++;
173 // This will return when (1) a vsync event has been received, and (2) there was
190 // we have a vsync event to dispatch
193 vsyncCount = mVSyncEvent[i].vsync.count;
199 // no vsync event, see if there are some other event
215 // we need vsync events because at least
220 // (ie: we received a vsync even
[all...]
H A DLayer.h132 Statistics() : timestamp(0), set(0), vsync(0) { }
135 nsecs_t vsync; // vsync immediately before set member in struct:android::Layer::Statistics
H A DLayer.cpp527 mFrameStats[offset].vsync = hwc.getRefreshTimestamp(HWC_DISPLAY_PRIMARY);
745 const nsecs_t time_vsync = mFrameStats[index].vsync;
/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.
145 ALOGV("receiver %p ~ Woke up but there was no vsync pulse!", this);
146 return 1; // keep the callback, did not obtain a vsync pulse
168 *outCount = ev.vsync.count;
169 return true; // stop at last vsync in the buffer
186 ALOGV("receiver %p ~ Invoking vsync handler.", this);
189 ALOGV("receiver %p ~ Returned from vsync handler.", this);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer.h279 inline void vsync(int disp, int64_t timestamp);
H A DHWComposer.cpp143 mCBContext->procs.vsync = &hook_vsync;
152 // don't need a vsync thread if we have a hardware composer
154 // always turn vsync off when we start
278 ctx->hwc->vsync(disp, timestamp);
292 void HWComposer::vsync(int disp, int64_t timestamp) { function in class:android::HWComposer
1023 // we missed, find where the next vsync should be

Completed in 2036 milliseconds