summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
Commit message (Collapse)AuthorAgeFilesLines
* wgl: Don't hold on to user supplied HDC.José Fonseca2011-05-243-23/+22
| | | | | | | | | | | Certain applications (e.g., Bernina My Label, and the Windows implementation of Processing language) destroy the device context used when creating the frame-buffer, causing presents to fail because we were still referring to the old device context internally. This change ensures we always use the same HDC passed to the ICD entry-points when available, or our own HDC when not available (necessary only when flushing on single buffered visuals).
* st/egl: Add support for EGL_DRM_BUFFER_USE_CURSOR_MESABenjamin Franzke2011-05-201-1/+7
|
* st/dri: Support dri2 useflags in dri2_create_imageBenjamin Franzke2011-05-201-0/+9
|
* st/egl/wayland: Deal with wayland visual changesBenjamin Franzke2011-05-201-17/+21
| | | | | | | Since wayland 4bde293ff8109d55eeaee8732f5a6ee0c8cd4bd9 we cant lookup visuals, as we dont receive the visual token events. The format for pixmap-images thus has to default to argb for now.
* st/glx: define/set new ST_CONTEXT_FLAG_bitsBrian Paul2011-05-191-0/+12
|
* st/glx: pass major, minor, context flags, etc to XMesaCreateContext()Brian Paul2011-05-193-3/+9
|
* st/glx: implement glXCreateContextAttribsARB()Brian Paul2011-05-191-0/+95
|
* st/glx: pass version, context flags, etc to create_context()Brian Paul2011-05-191-4/+9
|
* st/glx: refactor create-context functionsBrian Paul2011-05-191-61/+40
|
* st/egl: Implement EGL_WL_bind_wayland_display for x11,drm,waylandBenjamin Franzke2011-05-1314-0/+494
|
* st/wgl: Remove buggy assertion.José Fonseca2011-05-101-2/+0
| | | | | The assertion is wrong, now that state tracker can cope with a window with zero width or height.
* st/xorg: add some debugging messages to xorg_exa.cMarcin Slusarz2011-05-091-1/+15
|
* st/xorg: remove DEBUG_PRINT macro and add exa_debug_printfMarcin Slusarz2011-05-091-30/+29
| | | | Localizes preprocessor usage to one place.
* st/xorg: fix compilation of xorg_exa.c with DEBUG_PRINT set to 1Marcin Slusarz2011-05-091-7/+5
|
* gallium/xorg st/nv50: add PIPE_BIND_CURSORMarcin Slusarz2011-05-061-0/+1
| | | | | We need to distinguish surfaces for mouse cursors from scanouts, because nv50 hardware display engine ignores tiling flags.
* st/wgl: Allow to create pbuffers bigger than the desktop.José Fonseca2011-05-041-1/+25
| | | | | | | | | | We use a hidden window for pbuffer contexts, but Windows limits window sizes to the desktop size by default. This means that creating a big pbuffer on a small resolution single monitor would truncate the pbuffer size to the desktop. This change overrides the windows maximum size, allow to create windows arbitrarily large.
* st/wgl: Cope with zero width/height windows.José Fonseca2011-05-041-12/+38
| | | | While ensuring the framebuffer area is never zero.
* st/xorg: flush after loading the cursorMarcin Slusarz2011-05-031-7/+15
| | | | | We need cursor data to land in destination buffer before drmModeSetCursor. It fixes "cursor lag" on nv50.
* st/xorg: Fix two more instances of typo 'accle'.Michel Dänzer2011-05-021-2/+2
|
* st/xorg: fix typosMarcin Slusarz2011-05-022-4/+4
|
* egl/wayland: Fix possible lockup in drm initializationBenjamin Franzke2011-04-291-1/+1
| | | | Lockup happens when wl_drm interface is not available.
* st/egl: Add wayland shm softpipe supportBenjamin Franzke2011-04-253-3/+191
|
* st/egl: Generalize wayland backend a bitBenjamin Franzke2011-04-253-253/+361
|
* egl/wayland: Update to buffer.damage additionBenjamin Franzke2011-04-221-0/+1
|
* st/egl: Update to wayland protocol,egl changesBenjamin Franzke2011-04-222-27/+92
|
* vega: move ureg_destroy(ureg) after last use of ureg varBrian Paul2011-04-151-1/+2
|
* egl/wayland: Update to per-surface frame eventsBenjamin Franzke2011-04-121-3/+3
|
* st/wgl: Prevent spurious framebuffer sizes when the window is minimized.José Fonseca2011-04-121-5/+12
| | | | | | | When the window is minimized GetClientRect will return zeros. Instead of creating a 1x1 framebuffer, simply preserve the current window size, until the window is restored or maximized again.
* st/wgl: Fix debug output format specifiers of stw_framebuffer_get_size().José Fonseca2011-04-121-3/+3
|
* st/python: Remove bindings, and all its dependencies.José Fonseca2011-04-0617-2959/+0
| | | | | | | | | Because: - bindings are not fully automatic, and they are broken most of the time - unit tests/samples can be written in C on top of graw - tracing/retracing is more useful at API levels with stable ABIs such as GL, producing traces that cover more layers of the driver stack and and can be used for regression testing
* st/wgl: Adjust the pbuffer invisible window size.José Fonseca2011-03-241-8/+53
| | | | Thanks to Brian Paul for diagnosing the issue.
* st/dri: fix warning: ‘bind’ may be used uninitialized in this functionMarek Olšák2011-03-121-1/+1
|
* st/python: Remove flags from flush function.Vinson Lee2011-03-111-1/+1
|
* st/python: Remove the geom_flags param from is_format_supported.Vinson Lee2011-03-111-4/+2
|
* st/python: Clean up fence_finish.Vinson Lee2011-03-111-1/+1
|
* gallium: remove flags from the flush functionMarek Olšák2011-03-1115-41/+28
| | | | | | | | | | The drivers have been changed so that they behave as if all of the flags were set. This is already implicit in most hardware drivers and required for multiple contexts. Some state trackers were also abusing the PIPE_FLUSH_RENDER_CACHE flag to decide whether flush_frontbuffer should be called. New flag ST_FLUSH_FRONT has been added to st_api.h as a replacement.
* gallium: remove the geom_flags param from is_format_supportedMarek Olšák2011-03-1115-49/+46
|
* gallium: cleanup fence_signalled and fence_finishMarek Olšák2011-03-118-9/+9
| | | | So that they don't have the driver-specific param and return type.
* gallium: kill is_resource_referencedMarek Olšák2011-03-112-20/+0
| | | | Only st/xorg used it and even incorrectly with regards to pipelined transfers.
* swrastg: Add __DRI_TEX_BUFFER supportAdam Jackson2011-03-111-0/+1
| | | | | | | Without this, EXT_texture_from_pixmap is trivially broken. With it, it's merely subtly broken. Signed-off-by: Adam Jackson <[email protected]>
* vega: remove unused pipe varBrian Paul2011-03-111-1/+0
|
* st/vega: remove unnecessary flushesMarek Olšák2011-03-113-14/+0
| | | | I don't see a reason we need them.
* wgl: Force framebuffer validation on glViewport.José Fonseca2011-03-091-1/+13
|
* st/python: Add timeout parameter to fence_finish.Vinson Lee2011-03-081-1/+1
| | | | | | This is a follow-up to commit b39bccbd4ed71e9585da4cf5acf7b887b2e90899. Fixes Linux SCons build.
* gallium: add timeout parameter to fence_finishMarek Olšák2011-03-088-9/+15
| | | | | This is a follow-up to the ARB_sync patch for st/mesa and completes the ARB_sync implementation.
* st/glx: whitespace, 80-column fixesBrian Paul2011-03-071-35/+50
|
* st/wgl: No need to initialize OneTimeLock anymore.José Fonseca2011-03-061-6/+0
|
* egl/wayland: Move wayland-egl into a subdirBenjamin Franzke2011-03-041-1/+1
| | | | | This hopefully fixes wayland-egl's dependency resolution for autogenerated wayland-drm headers.
* egl: Add EGL_WL_bind_wayland_displayBenjamin Franzke2011-03-012-0/+2
|
* st/egl: Implement swapbuffer throttlingThomas Hellstrom2011-03-013-4/+141
| | | | | | | | | | | | | | | 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 <[email protected]>