summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers
Commit message (Collapse)AuthorAgeFilesLines
* st/egl: Add fbdev backend.Chia-I Wu2010-06-112-3/+484
| | | | | The backend is pure software. It implements EGL_MESA_screen_surface extension, and is kept simple by only exporting the current mode.
* st/egl: Remove unnecessary header.Vinson Lee2010-06-101-1/+0
|
* st/xorg: Add a customizable option to disable 3D.Thomas Hellstrom2010-06-092-3/+17
| | | | | | | If no customizer is present, 3D will be enabled by default. Otherwise the option will default to the customizer value. Signed-off-by: Thomas Hellstrom <[email protected]>
* st/egl: Fix compiler warnings.Chia-I Wu2010-06-041-0/+1
| | | | Forgot to stage this chunk in last commit.
* st/egl: Move sw screen creation to native helper.Chia-I Wu2010-06-045-93/+52
| | | | The code is shared by ximage and gdi backend.
* Merge branch 'gallium-newclear'Roland Scheidegger2010-06-031-8/+35
|\ | | | | | | | | Conflicts: src/gallium/state_trackers/python/p_context.i
| * gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencilRoland Scheidegger2010-06-031-13/+13
| | | | | | | | | | more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same.
| * st/python: adapt to clear interface changesRoland Scheidegger2010-05-291-13/+26
| |
* | gallium: add interpolation parameter to simple shader functionsBrian Paul2010-06-031-1/+2
| | | | | | | | | | This lets us specify linear interpolation instead of perspective interpolation for blit operations. Might be a bit faster.
* | st/xorg, vmware: Make throttling configurable.Thomas Hellstrom2010-05-314-20/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The xorg state tracker gets two new options to let the user choose whether to enable / disable dirty throttling and swapbuffer throttling. The default value of these options are enabled, unless the winsys supplies a customizer with other values. The customizer record has been extended to allow this, and also to set winsys-based throttling on a per- context basis. The vmware part of this patch disables the dirty throttling if the kernel supports command submission throttling, and also in that case sets kernel based throttling for everything but swapbuffers. The vmware winsys does not set throttling per context, even if it theoretically could, but instead sets throttling per screen. This should perhaps be changed, should the xorg state tracker start to use multiple rendering contexts. Kernel throttling is off by default for all new screens/contexts, so the dri state tracker is not affected. This significantly improves interactivity of the vmware xorg driver. Cherry-picked from commit a8f3b3f88acc1f0193fa740e76e9d815f07f32ab Signed-off-by: Thomas Hellstrom <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* | st/xorg: Fix Xv cliprect scaling.Thomas Hellstrom2010-05-313-9/+9
| | | | | | | | | | | | | | Due to a quantization error, different cliprects of scaled video windows may not have identical x / y scale. Signed-off-by: Thomas Hellstrom <[email protected]>
* | st/xorg Avoid advertizing rotation / reflection support.Thomas Hellstrom2010-05-311-3/+6
| | | | | | | | | | | | | | We don't support it yet since we don't implement the shadow allocate functions. Signed-off-by: Thomas Hellstrom <[email protected]>
* | st/egl: Use stamps only to avoid unnecessary geometry update.Chia-I Wu2010-05-312-20/+16
| | | | | | | | | | | | resource_surface_add_resources should still be called even when the stamps match. For example, a caller may ask for two different sets of attachments.
* | gallium: fix TFP on galliumDave Airlie2010-05-311-0/+2
| | | | | | | | | | | | | | | | This fixes an uninitialised value use in the dri2 st when doing TFP. It uses the driContextPriv which isn't initialised at alloc time. Signed-off-by: Dave Airlie <[email protected]>
* | st/egl: Update KMS backend to use resource_surface.Chia-I Wu2010-05-312-50/+28
| |
* | st/egl: Update GDI backend to use resource_surface.Chia-I Wu2010-05-311-146/+51
| |
* | st/egl: Update ximage backend to use resource_surface.Chia-I Wu2010-05-311-186/+52
| |
* | st/egl: Add helper functions for use by backends.Chia-I Wu2010-05-313-0/+306
| | | | | | | | | | There is only resource_surface for now. It helps manage the resources of a software-based native surface such as XImage or GDI.
* | st/vega: Use SConscript for Windows build.Chia-I Wu2010-05-314-9/+61
| | | | | | | | Fix several portability issues and add SConscript for Windows build.
* | st/egl: Use OS-specific module suffices.Chia-I Wu2010-05-311-6/+17
| | | | | | | | At least, .dll is used on Windows.
* | st/egl: Add GDI backend.Chia-I Wu2010-05-313-1/+556
| | | | | | | | | | The backend uses Windows GDI driver to provide a software EGL implementation on Windows.
* | st/python: Expose region_copy/fill_region instead of deprecated ↵José Fonseca2010-05-301-52/+20
| | | | | | | | surface_copy/fill
* | st/vega: Use FREE.Chia-I Wu2010-05-301-1/+1
| | | | | | | | | | Match MALLOC with FREE. Otherwise, it causes weird segfaults when built with memory debugging.
* | st/egl: Hook eglCreatePbufferFromClientBuffer.Chia-I Wu2010-05-303-20/+141
| | | | | | | | | | This is some refactoring works. Creating a pbuffer from an EGL_OPENVG_IMAGE is still not supported.
* | st/egl: Fix eglCopyBuffers.Chia-I Wu2010-05-301-2/+1
| | | | | | | | It was broken since surface_copy -> resource_copy_region transition.
* | st/egl: Initialize KMS backend from an fd.Chia-I Wu2010-05-301-6/+31
| | | | | | | | | | Check if the native native is EGL_DEFAULT_DISPLAY. If not, treat it as an fd.
* | egl/mks: remove extra param from function callBrian Paul2010-05-271-1/+1
| |
* | egl_g3d: add missing param to egl_g3d_st_manager_get_egl_image()Brian Paul2010-05-271-0/+1
| |
* | st/xorg: Remove unnecessary headers.Vinson Lee2010-05-262-2/+0
| |
* | st/dri: Remove dri.c from SCons build.Vinson Lee2010-05-261-1/+0
|/ | | | | This was missed in commit f501230db3a94c9328b8e769d9c17b2c3792e19c. Fixes SCons build.
* drm_api: Remove type argument from create screen callbackJakob Bornecrantz2010-05-253-3/+3
| | | | | With the removal of DRI1 support there where no use of this argument, some drivers didn't even properly check it.
* st/dri: Remove DRI1 supportJakob Bornecrantz2010-05-254-596/+6
| | | | | Nobody used it and the current code had been trough so many changes yet never once being tested.
* st/glx: check if deleting head of buffer listBrian Paul2010-05-241-0/+4
|
* st_api: Give get_egl_image arguments directly to the functionJakob Borncrantz2010-05-212-10/+13
|
* st/glx: fix incorrect parameter typeBrian Paul2010-05-211-1/+1
|
* gallium: Fix invalidate framebuffer with old libGL librariesJakob Bornecrantz2010-05-214-2/+13
|
* st_api: Add get param function to st_managerJakob Bornecrantz2010-05-214-1/+32
|
* Merge branch 'gallium-msaa'Roland Scheidegger2010-05-2120-217/+216
|\ | | | | | | | | | | Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
| * st/egl: adapt to interface changesRoland Scheidegger2010-05-174-27/+21
| |
| * st/dri: adapt to interface changesRoland Scheidegger2010-05-173-32/+61
| |
| * st/glx: adapt to interface changesRoland Scheidegger2010-05-172-11/+11
| |
| * st/wgl: adapt to interface changesRoland Scheidegger2010-05-171-3/+3
| |
| * st/vega: adapt to interface changesRoland Scheidegger2010-05-174-57/+37
| |
| * st/xorg: adapt to interface changesRoland Scheidegger2010-05-174-76/+54
| |
| * st/python: adapt to interface changesRoland Scheidegger2010-05-172-11/+29
| | | | | | | | | | | | | | compile tested only. Should probably change the python surface_copy/fill functions also into resource_copy/fill_region functions and adapt the code using them.
* | gallium: remnants of old ccw stateKeith Whitwell2010-05-211-2/+1
| |
* | Merge branch 'gallium-front-ccw'Keith Whitwell2010-05-211-4/+4
|\ \
| * | gallium: more work on ccw flag removalKeith Whitwell2010-05-141-4/+4
| | | | | | | | | | | | The linux-debug target builds...
* | | st/xorg: Try hard to not touch hardware after dropping the masterJakob Bornecrantz2010-04-292-12/+27
| | |
* | | st/xorg: Remove save and restore hw stateJakob Bornecrantz2010-04-292-37/+0
| | |