summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers/egl/drm/modeset.c
AgeCommit message (Collapse)Author
2011-03-01st/egl: Implement swapbuffer throttlingThomas Hellstrom
When doing copy swapbuffers using drm, throttle on outstanding copy operations. Introduces a new environment variable, EGL_THROTTLE_FENCES that the user can use to indicate the desired number of outstanding swapbuffers, or disable throttling using EGL_THROTTLE_FENCES=0. This can and perhaps should be extended to the pageflip case as well, since with some hardware pageflips can be pipelined. In case the pageflip syncs, the throttle operation will be a no-op anyway. Update copyright notices. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2011-03-01st/egl/drm: Rework swapbuffersThomas Hellstrom
Use the pageflip ioctl when available. Otherwise, or when the backbuffer contents need to be preserved, fall back to a copy operation. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-11-03st/egl: Remove flush_frontbuffer and swap_buffers.Chia-I Wu
They are deprecated by native_surface::present and there is no user of them.
2010-11-03st/egl: Add native_surface::present callback.Chia-I Wu
The callback presents the given attachment to the native engine. It allows the swap behavior and interval to be controlled. It will replace native_surface::flush_frontbuffer and native_surface::swap_buffers shortly.
2010-10-23st/egl: Fix native_mode refresh mode.Chia-I Wu
Define the unit to match _EGLMode's.
2010-09-19st/egl: s/kms/drm/ on the drm backend.Chia-I Wu
s/kms/drm/, s/kdpy/drmdpy/, and so forth.
2010-09-19st/egl: Rename kms backend to drm.Chia-I Wu
The main use of the backend is to support EGL_MESA_drm_display. drm should be a better name.