Home
last modified time | relevance | path

Searched refs:swap_interval (Results 1 – 25 of 34) sorted by relevance

12

/third_party/glfw/tests/
Dtearing.c41 static int swap_interval; variable
57 swap_interval, in update_window_title()
58 (swap_tear && swap_interval < 0) ? " (swap tear)" : "", in update_window_title()
66 swap_interval = interval; in set_swap_interval()
67 glfwSwapInterval(swap_interval); in set_swap_interval()
90 if (swap_interval + 1 > swap_interval) in key_callback()
91 set_swap_interval(window, swap_interval + 1); in key_callback()
99 if (swap_interval - 1 < swap_interval) in key_callback()
100 set_swap_interval(window, swap_interval - 1); in key_callback()
104 if (swap_interval - 1 >= 0) in key_callback()
[all …]
Dcursor.c49 static int swap_interval = 1; variable
149 swap_interval = 1 - swap_interval; in key_callback()
150 printf("(( swap interval: %i ))\n", swap_interval); in key_callback()
151 glfwSwapInterval(swap_interval); in key_callback()
/third_party/mesa3d/src/gallium/frontends/wgl/
Dstw_ext_swapinterval.c52 stw_dev->swap_interval = interval; in wglSwapIntervalEXT()
61 return stw_dev ? stw_dev->swap_interval : 0; in wglGetSwapIntervalEXT()
Dstw_device.h87 int swap_interval; member
Dstw_device.c156 stw_dev->swap_interval = atoi(s); in stw_init()
Dstw_framebuffer.c665 1.0e6 / stw_dev->refresh_rate * stw_dev->swap_interval; in wait_swap_interval()
707 if (stw_dev->swap_interval != 0 && !fb->winsys_framebuffer) { in stw_framebuffer_swap_locked()
/third_party/mesa3d/src/gallium/winsys/d3d12/wgl/
Dd3d12_wgl_framebuffer.cpp161 if (stw_dev->swap_interval < 1) in d3d12_wgl_framebuffer_present()
164 return S_OK == framebuffer->swapchain->Present(stw_dev->swap_interval, 0); in d3d12_wgl_framebuffer_present()
/third_party/mesa3d/src/gallium/frontends/dri/
Ddri_drawable.h62 int swap_interval; member
/third_party/mesa3d/src/glx/
Ddri2_glx.c75 int swap_interval; member
314 pdraw->swap_interval = dri_get_initial_swap_interval(psc->driScreen, psc->config); in dri2CreateDrawable()
342 psc->vtable.setSwapInterval(&pdraw->base, pdraw->swap_interval); in dri2CreateDrawable()
819 priv->swap_interval = interval; in dri2SetSwapInterval()
829 return priv->swap_interval; in dri2GetSwapInterval()
Ddri3_glx.c671 return priv->loader_drawable.swap_interval; in dri3_get_swap_interval()
/third_party/mesa3d/src/loader/
Dloader_dri3_helper.c276 if (draw->swap_interval == 0) in dri3_update_max_num_back()
325 if (draw->swap_interval != interval) in loader_dri3_set_swap_interval()
328 draw->swap_interval = interval; in loader_dri3_set_swap_interval()
430 draw->swap_interval = dri_get_initial_swap_interval(draw->dri_screen, in loader_dri3_drawable_init()
469 loader_dri3_set_swap_interval(draw, draw->swap_interval); in loader_dri3_drawable_init()
1063 target_msc = draw->msc + abs(draw->swap_interval) * in loader_dri3_swap_buffers_msc()
1096 if (draw->swap_interval <= 0) in loader_dri3_swap_buffers_msc()
Dloader_dri3_helper.h176 int swap_interval; member
/third_party/skia/third_party/externals/angle2/src/tests/deqp_support/
Ddeqp_egl_test_expectations.txt69 1340 WIN : dEQP-EGL.functional.negative_api.swap_interval = FAIL
90 2546 LINUX : dEQP-EGL.functional.negative_api.swap_interval = FAIL
102 2546 MAC : dEQP-EGL.functional.negative_api.swap_interval = FAIL
/third_party/mesa3d/src/egl/drivers/dri2/
Degl_dri2.h123 EGLBoolean (*swap_interval)(_EGLDisplay *disp, _EGLSurface *surf, member
Dplatform_x11_dri3.c523 .swap_interval = dri3_set_swap_interval,
Dplatform_x11.c1269 .swap_interval = dri2_kopper_swap_interval,
1287 .swap_interval = dri2_x11_swap_interval,
Dplatform_ohos.c926 .swap_interval = NULL,
Dplatform_android.c1361 .swap_interval = droid_swap_interval,
Degl_dri2.c1971 if (!dri2_dpy->vtbl->swap_interval) in dri2_swap_interval()
1973 return dri2_dpy->vtbl->swap_interval(disp, surf, interval); in dri2_swap_interval()
/third_party/skia/third_party/externals/opengl-registry/extensions/NV/
DGLX_NV_delay_before_swap.txt183 swap_control_tear or swap_interval!=1) can cause significant issues in
DWGL_NV_delay_before_swap.txt156 swap_control_tear or swap_interval!=1) can cause significant issues in
/third_party/openGLES/extensions/NV/
DGLX_NV_delay_before_swap.txt183 swap_control_tear or swap_interval!=1) can cause significant issues in
DWGL_NV_delay_before_swap.txt156 swap_control_tear or swap_interval!=1) can cause significant issues in
/third_party/mesa3d/docs/relnotes/
D9.1.3.rst200 - egl/x11: Fix initialisation of swap_interval
/third_party/vk-gl-cts/modules/egl/
DteglNegativeApiTests.cpp1328 TEGL_ADD_API_CASE(swap_interval, "eglSwapInterval() negative tests", in init()

12