/frameworks/native/include/gui/ |
H A D | DisplayEventReceiver.h | 65 VSync vsync; member in union:android::DisplayEventReceiver::Event::__anon1367 125 * if the vsync rate is > 0.
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | HWC2.cpp | 166 ALOGE("~Device: Failed to disable vsync for display %" PRIu64 236 void Device::registerVsyncCallback(VsyncCallback vsync) argument 238 mVsync = vsync;
|
H A D | HWC2.h | 80 void registerVsyncCallback(VsyncCallback vsync);
|
H A D | HWC2On1Adapter.cpp | 98 vsync = &vsyncHook; 534 auto vsync = reinterpret_cast<HWC2_PFN_VSYNC>(pointer); local 536 vsync(callbackData, pendingVsync.first, pendingVsync.second); 1020 ALOGE_IF(error != 0, "setVsyncEnabled: Failed to set vsync on HWC1 (%d)", 2588 auto vsync = reinterpret_cast<HWC2_PFN_VSYNC>(callbackInfo.pointer); local 2589 vsync(callbackInfo.data, displayId, timestamp);
|
H A D | HWComposer.cpp | 101 auto vsyncHook = std::bind(&HWComposer::vsync, this, 205 void HWComposer::vsync(const std::shared_ptr<HWC2::Display>& display, function in class:android::HWComposer 210 ALOGE("vsync: Failed to determine type of display %" PRIu64, 216 ALOGE("Virtual display %" PRIu64 " passed to vsync callback", 222 ALOGE("Unknown physical display %" PRIu64 " passed to vsync callback", 231 // There have been reports of HWCs that signal several vsync events 389 ALOGE("setVsyncEnabled: Failed to set vsync to %s on %d/%" PRIu64
|
H A D | HWComposer.h | 175 void vsync(const std::shared_ptr<HWC2::Display>& display,
|
H A D | HWComposer_hwc1.cpp | 140 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 1297 // we missed, find where the next vsync should be
|
H A D | HWComposer_hwc1.h | 320 inline void vsync(int disp, int64_t timestamp);
|
/frameworks/native/services/surfaceflinger/ |
H A D | EventThread.cpp | 59 mVSyncEvent[i].vsync.count = 0; 142 // disable reliance on h/w vsync 151 // resume use of h/w vsync 162 mVSyncEvent[0].vsync.count++; 211 // This will return when (1) a vsync event has been received, and (2) there was 228 // we have a vsync event to dispatch 231 vsyncCount = mVSyncEvent[i].vsync.count; 237 // no vsync event, see if there are some other event 253 // we need vsync events because at least 258 // (ie: we received a vsync even [all...] |
/frameworks/native/services/surfaceflinger/tests/vsync/ |
H A D | Android.mk | 5 vsync.cpp 14 LOCAL_MODULE:= test-vsync-events
|
H A D | vsync.cpp | 35 printf("event vsync: count=%d\t", buffer[i].vsync.count);
|
/frameworks/base/libs/androidfw/ |
H A D | DisplayEventDispatcher.cpp | 66 ALOGV("dispatcher %p ~ Scheduling vsync.", this); 79 ALOGW("Failed to request next vsync, status=%d", status); 101 // Drain all pending events, keep the last vsync. 126 // Later vsync events will just overwrite the info from earlier 131 *outCount = ev.vsync.count;
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.cpp | 249 // the vsync was estimated due to being slow handling the signal. 253 // Already drew for this vsync pulse, UI draw request missed 564 nsecs_t vsync = mRenderThread.timeLord().computeFrameTimeNanos(); local 568 .setVsync(vsync, vsync);
|
H A D | DrawFrameTask.cpp | 116 int64_t vsync = mFrameInfo[static_cast<int>(FrameInfoIndex::Vsync)]; local 117 mRenderThread->timeLord().vsyncReceived(vsync);
|
H A D | TimeLord.cpp | 27 bool TimeLord::vsyncReceived(nsecs_t vsync) { argument 28 if (vsync > mFrameTimeNanos) { 29 mFrameTimeNanos = vsync;
|
H A D | TimeLord.h | 34 // returns true if the vsync is newer, false if it was rejected for staleness 35 bool vsyncReceived(nsecs_t vsync);
|
/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | TestSceneRunner.cpp | 96 nsecs_t vsync = systemTime(CLOCK_MONOTONIC); local 97 UiFrameInfoBuilder(proxy->frameInfo()).setVsync(vsync, vsync); 108 nsecs_t vsync = systemTime(CLOCK_MONOTONIC); local 111 UiFrameInfoBuilder(proxy->frameInfo()).setVsync(vsync, vsync); 118 avgMs.add((done - vsync) / 1000000.0);
|
/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 524 nsecs_t vsync = systemTime(CLOCK_MONOTONIC); local 526 .setVsync(vsync, vsync)
|