HomeSort by relevance Sort by last modified time
    Searched refs:vsync (Results 1 - 19 of 19) sorted by null

  /frameworks/native/services/surfaceflinger/tests/vsync/
Android.mk 5 vsync.cpp
14 LOCAL_MODULE:= test-vsync-events
vsync.cpp 34 printf("event vsync: count=%d\t", buffer[i].vsync.count);
  /frameworks/native/include/gui/
DisplayEventReceiver.h 55 struct VSync {
65 VSync vsync; member in union:android::DisplayEventReceiver::Event::__anon20062
73 * SurfaceFlinger. VSync events are disabled by default. Call setVSyncRate
116 * setVsyncRate() sets the Event::VSync delivery rate. A value of
117 * 1 returns every Event::VSync. A value of 2 returns every other event,
124 * requestNextVsync() schedules the next Event::VSync. It has no effect
125 * if the vsync rate is > 0.
  /frameworks/native/services/surfaceflinger/
EventThread.cpp 48 mVSyncEvent[i].vsync.count = 0;
98 // disable reliance on h/w vsync
107 // resume use of h/w vsync
116 "received vsync event for an invalid display (id=%d)", type);
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 leas
    [all...]
  /hardware/libhardware/include/hardware/
hwcomposer.h 359 * (*vsync)() is called by the h/w composer HAL when a vsync event is
363 * the "disp" parameter indicates which display the vsync event is for.
365 * nanosecond of when the vsync event happened.
367 * vsync() is GUARANTEED TO NOT CALL BACK into the h/w composer HAL.
369 * It is expected that vsync() is called from a thread of at least
375 * can either stop or continue to process VSYNC events, but must not
378 void (*vsync)(const struct hwc_procs* procs, int disp, int64_t timestamp); member in struct:hwc_procs
  /hardware/qcom/display/libhwcomposer/
hwc_vsync.cpp 42 ALOGE("%s: vsync control failed. Dpy=%d, enable=%d : %s",
83 /* Currently read vsync timestamp from drivers
84 e.g. VSYNC=41800875994
113 if (!strncmp(str, "VSYNC=", strlen("VSYNC="))) {
114 cur_timestamp = strtoull(str + strlen("VSYNC="), NULL, 0);
124 ctx->proc->vsync(ctx->proc, dpy, cur_timestamp);
138 ALOGI("Initializing VSYNC Thread");
hwc_uevents.cpp 56 int vsync = 0; local
  /external/qemu/distrib/sdl-1.2.15/src/video/Xext/extensions/
xf86vmode.h 142 SDL_NAME(XF86VidModeSyncRange)* vsync; member in struct:__anon13449
  /frameworks/base/core/jni/
android_view_DisplayEventReceiver.cpp 108 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 ~ Vsync pulse: timestamp=%lld, id=%d, count=%d",
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/
HWComposer.h 259 // this class is only used to fake the VSync event on systems that don't
295 inline void vsync(int disp, int64_t timestamp);
HWComposer.cpp 143 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
183 ALOGW("getting VSYNC period from fb HAL: %lld", disp.refresh);
187 ALOGW("getting VSYNC period from thin air: %lld",
198 // we don't have VSYNC support, we need to fake it
275 ctx->hwc->vsync(disp, timestamp);
289 void HWComposer::vsync(int disp, int64_t timestamp) { function in class:android::HWComposer
290 ATRACE_INT("VSYNC", ++mVSyncCount&1);
    [all...]
  /external/jmonkeyengine/engine/src/desktop/com/jme3/app/
SettingsDialog.java 286 vsyncBox = new JCheckBox("VSync?");
371 boolean vsync = vsyncBox.isSelected();
432 source.setVSync(vsync);
  /hardware/ti/omap4xxx/hwc/
hwc.c 1800 int vsync; local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xxf86vm/
XF86VMode.c 966 if (!(monitor->vsync = Xcalloc(rep.nvsync, sizeof(SDL_NAME(XF86VidModeSyncRange))))) {
985 monitor->vsync[i].lo = (float)(syncrange & 0xFFFF) / 100.0;
986 monitor->vsync[i].hi = (float)(syncrange >> 16) / 100.0;
    [all...]
  /bionic/libc/kernel/common/linux/
videodev2.h 719 __u32 vsync; member in struct:v4l2_bt_timings
2020 struct v4l2_event_vsync vsync; member in union:v4l2_event::__anon596
    [all...]
  /external/kernel-headers/original/linux/
videodev2.h 1030 __u32 vsync; \/* Vertical Sync length in lines *\/ member in struct:v4l2_bt_timings
2389 struct v4l2_event_vsync vsync; member in union:v4l2_event::__anon10033
    [all...]
  /hardware/samsung_slsi/exynos5/include/
videodev2.h 1039 __u32 vsync; \/* Vertical Sync length in lines *\/ member in struct:v4l2_bt_timings
2272 struct v4l2_event_vsync vsync; member in union:v4l2_event::__anon21195
    [all...]
  /device/generic/goldfish/camera/
EmulatedFakeCamera2.cpp 1000 bool vsync = mParent->mSensor->waitForVSync(kWaitPerLoop); local
1001 if (!vsync) return true;
    [all...]
  /hardware/samsung_slsi/exynos5/libhwc/
hwc.cpp     [all...]

Completed in 1763 milliseconds