Searched refs:vsync (Results 1 - 19 of 19) 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.h34 // returns true if the vsync is newer, false if it was rejected for staleness
35 bool vsyncReceived(nsecs_t vsync);
H A DDrawFrameTask.cpp118 int64_t vsync = mFrameInfo[static_cast<int>(FrameInfoIndex::Vsync)]; local
119 mRenderThread->timeLord().vsyncReceived(vsync);
H A DCanvasContext.cpp361 // the vsync was estimated due to being slow handling the signal.
365 // Already drew for this vsync pulse, UI draw request missed
513 nsecs_t vsync = mRenderThread.timeLord().computeFrameTimeNanos(); local
517 .setVsync(vsync, vsync);
/frameworks/native/services/surfaceflinger/tests/vsync/
H A DAndroid.mk5 vsync.cpp
14 LOCAL_MODULE:= test-vsync-events
H A Dvsync.cpp35 printf("event vsync: count=%d\t", buffer[i].vsync.count);
/frameworks/base/libs/hwui/tests/macrobench/
H A DTestSceneRunner.cpp152 nsecs_t vsync = systemTime(CLOCK_MONOTONIC); local
153 UiFrameInfoBuilder(proxy->frameInfo()).setVsync(vsync, vsync);
165 nsecs_t vsync = systemTime(CLOCK_MONOTONIC); local
168 UiFrameInfoBuilder(proxy->frameInfo()).setVsync(vsync, vsync);
175 avgMs.add((done - vsync) / 1000000.0);
/frameworks/native/include/gui/
H A DDisplayEventReceiver.h75 VSync vsync; member in union:android::DisplayEventReceiver::Event::__anon1612
134 * if the vsync rate is > 0.
/frameworks/native/libs/gui/include/gui/
H A DDisplayEventReceiver.h75 VSync vsync; member in union:android::DisplayEventReceiver::Event::__anon1742
134 * if the vsync rate is > 0.
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp59 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
234 vsyncCount = mVSyncEvent[i].vsync.count;
240 // no vsync event, see if there are some other event
256 // we need vsync events because at least
261 // (ie: we received a vsync even
[all...]
/frameworks/base/libs/androidfw/
H A DDisplayEventDispatcher.cpp67 ALOGV("dispatcher %p ~ Scheduling vsync.", this);
80 ALOGW("Failed to request next vsync, status=%d", status);
102 // Drain all pending events, keep the last vsync.
127 // Later vsync events will just overwrite the info from earlier
132 *outCount = ev.vsync.count;
/frameworks/native/libs/vr/libvrflinger/
H A Dhardware_composer.cpp56 // Get time offset from a vsync to when the pose for that vsync should be
309 // vsync/DMA for physical displays.
618 "HardwareComposer::GetVSyncTime: Failed to get vsync timestamp: %s",
623 // Waits for the next vsync and returns the timestamp of the vsync event. If
624 // vsync already passed since the last call, returns the latest vsync timestamp
682 "HardwareComposer: Failed to create vsync sleep timerfd: %s",
702 // Check for updated config once per vsync
[all...]
/frameworks/native/services/displayservice/
H A DDisplayEventReceiver.cpp105 mCallback->onVsync(timestamp, event.vsync.count);
/frameworks/base/core/jni/
H A Dandroid_view_Surface.cpp588 nsecs_t vsync = systemTime(CLOCK_MONOTONIC); local
590 .setVsync(vsync, vsync)
H A Dandroid_view_ThreadedRenderer.cpp899 nsecs_t vsync = systemTime(CLOCK_MONOTONIC); local
901 .setVsync(vsync, vsync)
/frameworks/native/services/vr/hardware_composer/impl/
H A Dvr_hwc.h158 void set_vsync_enabled(IComposerClient::Vsync vsync) { argument
159 vsync_enabled_ = vsync;
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWComposer_hwc1.h333 inline void vsync(int disp, int64_t timestamp);
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
1306 // we missed, find where the next vsync should be
/frameworks/native/libs/hwc2on1adapter/
H A DHWC2On1Adapter.cpp61 vsync = &vsyncHook;
491 auto vsync = reinterpret_cast<HWC2_PFN_VSYNC>(pointer); local
493 vsync(callbackData, pendingVsync.first, pendingVsync.second);
962 ALOGE_IF(error != 0, "setVsyncEnabled: Failed to set vsync on HWC1 (%d)",
2578 auto vsync = reinterpret_cast<HWC2_PFN_VSYNC>(callbackInfo.pointer); local
2579 vsync(callbackInfo.data, displayId, timestamp);

Completed in 388 milliseconds