HomeSort by relevance Sort by last modified time
    Searched full:vsync (Results 1 - 25 of 431) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/com/android/internal/view/
SurfaceFlingerVsyncChoreographer.java 25 * Utility class to schedule things at vsync-sf instead of vsync-app
37 * The offset between vsync-app and vsync-surfaceflinger. See
54 * This method calculates the offset between vsync-surfaceflinger and vsync-app. If vsync-app
55 * is a couple of milliseconds before vsync-sf, a touch or animation event that causes a surface
56 * flinger transaction are sometimes processed before the vsync-sf tick, and sometimes after,
58 * events to start being processed at vsync-sf
    [all...]
  /frameworks/native/libs/vr/libdisplay/include/private/dvr/
vsync_client.h 14 * VSyncClient is a remote interface to the vsync service in displayd.
16 * display vsync.
22 * Wait for the next vsync signal.
28 * Returns the file descriptor used to communicate with the vsync system
35 * these will not signal until the next vsync.
40 * Get the timestamp of the last vsync event in ns. This call has
47 * Get vsync scheduling info.
49 * ns. Also returns the corresponding vsync count that the next lens warp
  /frameworks/native/services/surfaceflinger/tests/vsync/
Android.mk 5 vsync.cpp
14 LOCAL_MODULE:= test-vsync-events
  /frameworks/native/libs/vr/libdvr/include/dvr/
dvr_vsync.h 11 // Represents a vsync sample. The size of this struct is 32 bytes.
13 // The timestamp for the last vsync in nanoseconds.
16 // The index of the last vsync.
25 // The period of a vsync in nanoseconds.
32 // Creates a new client to the system vsync service.
35 // Destroys the vsync client.
39 // ns. Also returns the corresponding vsync count that the next lens warp
dvr_shared_buffers.h 55 // buffer in a shader and extract the right vsync-predicted pose.
58 // The number vsync predicted poses to keep in the ring buffer.
63 // The number of vsyncs (from the current vsync) we predict in vsync buffer.
68 // The vsync predicted poses.
69 // The pose for the vsync n is:
  /hardware/intel/img/hwcomposer/merrifield/common/base/
VsyncManager.cpp 57 WTRACE("vsync is still enabled");
71 WTRACE("vsync control on non-primary device %d", disp);
76 WTRACE("vsync state %d is not changed", enabled);
97 ITRACE("dynamic vsync source switch is not supported");
123 WTRACE("dynamic vsync is not supported");
153 // use HDMI vsync when connected
159 // use vsync from virtual display when video extended mode is entered
165 WTRACE("Could not use vsync from secondary device");
173 WTRACE("vsync has been enabled on %d", mVsyncSource);
179 ETRACE("invalid vsync source candidate %d", candidate)
    [all...]
  /device/linaro/hikey/gralloc960/
gralloc_vsync.h 24 /* Enables vsync interrupt. */
26 /* Disables vsync interrupt. */
28 /* Waits for the vsync interrupt. */
  /hardware/intel/img/hwcomposer/merrifield/common/observers/
VsyncEventObserver.cpp 54 DEINIT_AND_RETURN_FALSE("failed to initialize vsync control");
59 DEINIT_AND_RETURN_FALSE("failed to create vsync event poll thread.");
71 WTRACE("vsync is still enabled");
91 WTRACE("vsync state %d is not changed", enabled);
98 ETRACE("failed to control (%d) vsync on display %d", enabled, mDevice);
125 WTRACE("failed to wait for vsync on display %d, vsync enabled %d", mDevice, mEnabled);
130 // send vsync event notification every hwc.fps_divider
  /external/drm_hwcomposer/
vsyncworker.cpp 17 #define LOG_TAG "hwc-vsync-worker"
35 : Worker("vsync", HAL_PRIORITY_URGENT_DISPLAY),
68 * Returns the timestamp of the next vsync in phase with last_timestamp_.
91 struct timespec vsync; local
92 int ret = clock_gettime(CLOCK_MONOTONIC, &vsync);
99 ALOGW("Vsync worker active with conn=%p refresh=%f\n", conn,
103 kOneSecondNs / refresh, vsync.tv_sec * kOneSecondNs + vsync.tv_nsec);
104 vsync.tv_sec = phased_timestamp / kOneSecondNs;
105 vsync.tv_nsec = phased_timestamp - (vsync.tv_sec * kOneSecondNs)
    [all...]
  /frameworks/native/services/surfaceflinger/
DispSync.h 36 // DispSync maintains a model of the periodic hardware-based vsync events of a
38 // offsets from the hardware vsync events. The model is constructed by
44 // timestamps should correspond to a hardware vsync event, but they need not
45 // be consecutive hardware vsync times. If this method determines that the
67 // addPresentFence adds a fence for use in validating the current vsync
70 // should correspond to a hardware vsync event. Unlike the
72 // correspond to consecutive hardware vsync events.
79 // synchronize the DispSync's model to the hardware vsync events. The re-
81 // calling addResyncSample with a sequence of consecutive hardware vsync
88 // from the hardware vsync events
    [all...]
EventThread.cpp 37 // time to wait between VSYNC requests before sending a VSYNC OFF power hint: 40msec.
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
234 vsyncCount = mVSyncEvent[i].vsync.count;
240 // no vsync event, see if there are some other even
    [all...]
surfaceflinger.rc 9 socket pdx/system/vr/display/vsync stream 0666 system graphics u:object_r:pdx_display_vsync_endpoint_socket:s0
  /hardware/intel/img/hwcomposer/moorefield_hdmi/common/observers/
VsyncEventObserver.cpp 53 DEINIT_AND_RETURN_FALSE("failed to initialize vsync control");
58 DEINIT_AND_RETURN_FALSE("failed to create vsync event poll thread.");
70 WLOGTRACE("vsync is still enabled");
90 WLOGTRACE("vsync state %d is not changed", enabled);
97 ELOGTRACE("failed to control (%d) vsync on display %d", enabled, mDevice);
124 WLOGTRACE("failed to wait for vsync on display %d, vsync enabled %d", mDevice, mEnabled);
  /hardware/qcom/display/msm8960/libhwcomposer/
hwc_vsync.cpp 42 ALOGE("%s: vsync control failed. Dpy=%d, enable=%d : %s",
82 /* Currently read vsync timestamp from drivers
83 e.g. VSYNC=41800875994
112 if (!strncmp(str, "VSYNC=", strlen("VSYNC="))) {
113 cur_timestamp = strtoull(str + strlen("VSYNC="), NULL, 0);
123 ctx->proc->vsync(ctx->proc, dpy, cur_timestamp);
137 ALOGI("Initializing VSYNC Thread");
  /frameworks/native/libs/gui/include/gui/
IDisplayEventConnection.h 44 * setVsyncRate() sets the vsync event delivery rate. A value of 1 returns every vsync event.
51 * requestNextVsync() schedules the next vsync event. It has no effect if the vsync rate is > 0.
  /frameworks/base/libs/hwui/renderthread/
TimeLord.cpp 27 bool TimeLord::vsyncReceived(nsecs_t vsync) {
28 if (vsync > mFrameTimeNanos) {
29 mFrameTimeNanos = vsync;
  /hardware/qcom/display/msm8226/libhwcomposer/
hwc_vsync.cpp 49 ALOGE("%s: vsync control failed. Dpy=%d, enable=%d : %s",
60 if (!strncmp(data, "VSYNC=", strlen("VSYNC="))) {
61 timestamp = strtoull(data + strlen("VSYNC="), NULL, 0);
66 ctx->proc->vsync(ctx->proc, dpy, timestamp);
137 //XXX: Blank events don't work with fake vsync,
138 //but we shouldn't be running on fake vsync anyway.
167 ALOGE("%s: Too many errors, falling back to fake vsync ",
191 //Fake vsync is used only when set explicitly through a property or when
192 //the vsync timestamp node cannot be opened at bootup. There is n
    [all...]
  /frameworks/native/libs/vr/libvrflinger/
vsync_service.h 16 // VSyncWaiter encapsulates a client blocked waiting for the next vsync.
17 // It is used to enqueue the Message to reply to when the next vsync event
54 // VSyncService implements the displayd vsync service over ServiceFS.
65 // Called by the hardware composer HAL, or similar, whenever a vsync event
66 // occurs. |compositor_time_ns| is the number of ns before the next vsync when
  /hardware/interfaces/graphics/composer/2.1/
IComposerCallback.hal 36 * and the onVsync callback should not be called for a display until vsync
65 * Notifies the client that a vsync event has occurred. This callback must
66 * only be triggered when vsync is enabled for this display (through
69 * @param display is the display which has received a vsync event
70 * @param timestamp is the CLOCK_MONOTONIC time at which the vsync event
  /hardware/qcom/display/msm8084/libhwcomposer/
hwc_vsync.cpp 50 ALOGE("%s: vsync control failed. Dpy=%d, enable=%d : %s",
62 if (!strncmp(data, "VSYNC=", strlen("VSYNC="))) {
63 timestamp = strtoull(data + strlen("VSYNC="), NULL, 0);
68 ctx->proc->vsync(ctx->proc, dpy, timestamp);
149 //XXX: Blank events don't work with fake vsync,
150 //but we shouldn't be running on fake vsync anyway.
190 //Fake vsync is used only when set explicitly through a property or when
191 //the vsync timestamp node cannot be opened at bootup. There is no
192 //fallback to fake vsync from the true vsync loop, ever, as th
    [all...]
  /hardware/qcom/display/msm8909/libhwcomposer/
hwc_vsync.cpp 51 ALOGE("%s: vsync control failed. Dpy=%d, enable=%d : %s",
62 if (!strncmp(data, "VSYNC=", strlen("VSYNC="))) {
63 timestamp = strtoull(data + strlen("VSYNC="), NULL, 0);
68 ctx->proc->vsync(ctx->proc, dpy, timestamp);
153 //XXX: Blank events don't work with fake vsync,
154 //but we shouldn't be running on fake vsync anyway.
200 //Fake vsync is used only when set explicitly through a property or when
201 //the vsync timestamp node cannot be opened at bootup. There is no
202 //fallback to fake vsync from the true vsync loop, ever, as th
    [all...]
  /hardware/qcom/display/msm8994/libhwcomposer/
hwc_vsync.cpp 51 ALOGE("%s: vsync control failed. Dpy=%d, enable=%d : %s",
62 if (!strncmp(data, "VSYNC=", strlen("VSYNC="))) {
63 timestamp = strtoull(data + strlen("VSYNC="), NULL, 0);
68 ctx->proc->vsync(ctx->proc, dpy, timestamp);
153 //XXX: Blank events don't work with fake vsync,
154 //but we shouldn't be running on fake vsync anyway.
194 //Fake vsync is used only when set explicitly through a property or when
195 //the vsync timestamp node cannot be opened at bootup. There is no
196 //fallback to fake vsync from the true vsync loop, ever, as th
    [all...]
  /frameworks/native/libs/vr/libdisplay/
vsync_client.cpp 26 ALOGE("VSyncClient::Wait: Failed to wait for vsync: %s",
42 ALOGE("VSyncClient::GetLastTimestamp: Failed to get vsync timestamp: %s",
70 ALOGE_IF(!status, "VSuncClient::Acknowledge: Failed to ack vsync because: %s",
  /hardware/intel/img/hwcomposer/merrifield/ips/common/
VsyncControl.cpp 54 arg.vsync.pipe = disp;
75 arg.vsync.pipe = disp;
79 timestamp = (int64_t)arg.vsync.timestamp;
  /hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
VsyncControl.cpp 54 arg.vsync.pipe = disp;
75 arg.vsync.pipe = disp;
79 timestamp = (int64_t)arg.vsync.timestamp;

Completed in 4190 milliseconds

1 2 3 4 5 6 7 8 91011>>