Searched defs:vsync (Results 1 - 10 of 10) sorted by last modified time

/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.cpp171 ALOGE("~Device: Failed to disable vsync for display %" PRIu64
245 void Device::registerVsyncCallback(VsyncCallback vsync) argument
247 mVsync = vsync;
H A DHWC2On1Adapter.cpp98 vsync = &vsyncHook;
532 auto vsync = reinterpret_cast<HWC2_PFN_VSYNC>(pointer); local
534 vsync(callbackData, pendingVsync.first, pendingVsync.second);
1018 ALOGE_IF(error != 0, "setVsyncEnabled: Failed to set vsync on HWC1 (%d)",
2605 auto vsync = reinterpret_cast<HWC2_PFN_VSYNC>(callbackInfo.pointer); local
2606 vsync(callbackInfo.data, displayId, timestamp);
H A DHWComposer.cpp101 auto vsyncHook = std::bind(&HWComposer::vsync, this,
210 void HWComposer::vsync(const std::shared_ptr<HWC2::Display>& display, function in class:android::HWComposer
215 ALOGE("vsync: Failed to determine type of display %" PRIu64,
221 ALOGE("Virtual display %" PRIu64 " passed to vsync callback",
227 ALOGE("Unknown physical display %" PRIu64 " passed to vsync callback",
236 // There have been reports of HWCs that signal several vsync events
434 ALOGE("setVsyncEnabled: Failed to set vsync to %s on %d/%" PRIu64
H A DHWComposer_hwc1.cpp142 mCBContext->procs.vsync = &hook_vsync;
151 // don't need a vsync thread if we have a hardware composer
153 // always turn vsync off when we start
269 ctx->hwc->vsync(disp, timestamp);
283 void HWComposer::vsync(int disp, int64_t timestamp) { function in class:android::HWComposer
288 // There have been reports of HWCs that signal several vsync events
1304 // we missed, find where the next vsync should be
/frameworks/native/include/gui/
H A DDisplayEventReceiver.h65 VSync vsync; member in union:android::DisplayEventReceiver::Event::__anon1373
125 * if the vsync rate is > 0.
/frameworks/base/libs/hwui/renderthread/
H A DCanvasContext.cpp291 // the vsync was estimated due to being slow handling the signal.
295 // Already drew for this vsync pulse, UI draw request missed
630 nsecs_t vsync = mRenderThread.timeLord().computeFrameTimeNanos(); local
634 .setVsync(vsync, vsync);
H A DDrawFrameTask.cpp119 int64_t vsync = mFrameInfo[static_cast<int>(FrameInfoIndex::Vsync)]; local
120 mRenderThread->timeLord().vsyncReceived(vsync);
H A DTimeLord.cpp27 bool TimeLord::vsyncReceived(nsecs_t vsync) { argument
28 if (vsync > mFrameTimeNanos) {
29 mFrameTimeNanos = vsync;
/frameworks/base/libs/hwui/tests/macrobench/
H A DTestSceneRunner.cpp96 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 Dandroid_view_Surface.cpp529 nsecs_t vsync = systemTime(CLOCK_MONOTONIC); local
531 .setVsync(vsync, vsync)

Completed in 134 milliseconds