summaryrefslogtreecommitdiff
path: root/src/gallium/state_trackers
AgeCommit message (Collapse)Author
2010-06-06gallium: Convert state trackers to drm driver interfaceJakob Bornecrantz
2010-06-04st/egl: Fix compiler warnings.Chia-I Wu
Forgot to stage this chunk in last commit.
2010-06-04st/egl: Move sw screen creation to native helper.Chia-I Wu
The code is shared by ximage and gdi backend.
2010-06-03Merge branch 'gallium-newclear'Roland Scheidegger
Conflicts: src/gallium/state_trackers/python/p_context.i
2010-06-03gallium: rename clearRT / clearDS to clear_render_target / clear_depth_stencilRoland Scheidegger
more consistent with rest of gallium naming conventions. Also rename driver-internal names for these the same.
2010-06-03gallium: add interpolation parameter to simple shader functionsBrian Paul
This lets us specify linear interpolation instead of perspective interpolation for blit operations. Might be a bit faster.
2010-05-31st/xorg, vmware: Make throttling configurable.Thomas Hellstrom
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 <thellstrom@vmware.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2010-05-31st/xorg: Fix Xv cliprect scaling.Thomas Hellstrom
Due to a quantization error, different cliprects of scaled video windows may not have identical x / y scale. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-05-31st/xorg Avoid advertizing rotation / reflection support.Thomas Hellstrom
We don't support it yet since we don't implement the shadow allocate functions. Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
2010-05-31st/egl: Use stamps only to avoid unnecessary geometry update.Chia-I Wu
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.
2010-05-31gallium: fix TFP on galliumDave Airlie
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 <airlied@redhat.com>
2010-05-31st/egl: Update KMS backend to use resource_surface.Chia-I Wu
2010-05-31st/egl: Update GDI backend to use resource_surface.Chia-I Wu
2010-05-31st/egl: Update ximage backend to use resource_surface.Chia-I Wu
2010-05-31st/egl: Add helper functions for use by backends.Chia-I Wu
There is only resource_surface for now. It helps manage the resources of a software-based native surface such as XImage or GDI.
2010-05-31st/vega: Use SConscript for Windows build.Chia-I Wu
Fix several portability issues and add SConscript for Windows build.
2010-05-31st/egl: Use OS-specific module suffices.Chia-I Wu
At least, .dll is used on Windows.
2010-05-31st/egl: Add GDI backend.Chia-I Wu
The backend uses Windows GDI driver to provide a software EGL implementation on Windows.
2010-05-30st/python: Expose region_copy/fill_region instead of deprecated ↵José Fonseca
surface_copy/fill
2010-05-30st/vega: Use FREE.Chia-I Wu
Match MALLOC with FREE. Otherwise, it causes weird segfaults when built with memory debugging.
2010-05-30st/egl: Hook eglCreatePbufferFromClientBuffer.Chia-I Wu
This is some refactoring works. Creating a pbuffer from an EGL_OPENVG_IMAGE is still not supported.
2010-05-30st/egl: Fix eglCopyBuffers.Chia-I Wu
It was broken since surface_copy -> resource_copy_region transition.
2010-05-30st/egl: Initialize KMS backend from an fd.Chia-I Wu
Check if the native native is EGL_DEFAULT_DISPLAY. If not, treat it as an fd.
2010-05-29st/python: adapt to clear interface changesRoland Scheidegger
2010-05-27egl/mks: remove extra param from function callBrian Paul
2010-05-27egl_g3d: add missing param to egl_g3d_st_manager_get_egl_image()Brian Paul
2010-05-26st/xorg: Remove unnecessary headers.Vinson Lee
2010-05-26st/dri: Remove dri.c from SCons build.Vinson Lee
This was missed in commit f501230db3a94c9328b8e769d9c17b2c3792e19c. Fixes SCons build.
2010-05-25drm_api: Remove type argument from create screen callbackJakob Bornecrantz
With the removal of DRI1 support there where no use of this argument, some drivers didn't even properly check it.
2010-05-25st/dri: Remove DRI1 supportJakob Bornecrantz
Nobody used it and the current code had been trough so many changes yet never once being tested.
2010-05-24st/glx: check if deleting head of buffer listBrian Paul
2010-05-21st_api: Give get_egl_image arguments directly to the functionJakob Borncrantz
2010-05-21st/glx: fix incorrect parameter typeBrian Paul
2010-05-21gallium: Fix invalidate framebuffer with old libGL librariesJakob Bornecrantz
2010-05-21st_api: Add get param function to st_managerJakob Bornecrantz
2010-05-21Merge branch 'gallium-msaa'Roland Scheidegger
Conflicts: src/mesa/state_tracker/st_gen_mipmap.c src/mesa/state_tracker/st_texture.c
2010-05-21gallium: remnants of old ccw stateKeith Whitwell
2010-05-21Merge branch 'gallium-front-ccw'Keith Whitwell
2010-05-17st/egl: adapt to interface changesRoland Scheidegger
2010-05-17st/dri: adapt to interface changesRoland Scheidegger
2010-05-17st/glx: adapt to interface changesRoland Scheidegger
2010-05-17st/wgl: adapt to interface changesRoland Scheidegger
2010-05-17st/vega: adapt to interface changesRoland Scheidegger
2010-05-17st/xorg: adapt to interface changesRoland Scheidegger
2010-05-17st/python: adapt to interface changesRoland Scheidegger
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.
2010-05-14gallium: more work on ccw flag removalKeith Whitwell
The linux-debug target builds...
2010-05-11st/xorg: Fix SCons build.Michel Dänzer
2010-05-08gallium: Add egl-apis target.Chia-I Wu
The new target installs client API modules to EGL_DRIVER_INSTALL_DIR. They are used by st/egl. The client APIs are built from OpenGL and OpenVG state trackers. For this to work, st/vega is modified to produce a static library, libvega.a, instead. st/es is also not needed any more. It is removed and --with-state-trackers=es is replaced by --enable-gles-overlay. As st/egl now has its own client API modules, this solves the ABI issue between st/egl and client APIs, as long as the client API modules are distributed with st/egl. Plus, this allows st/egl to support OpenGL with non-Gallium libGL.so.
2010-05-08egl_g3d: Check external modules for client APIs first.Chia-I Wu
dlopen api_<API>.so before dlopening the process itself in case the client APIs are implemented in external modules.
2010-05-07wgl: Add mapi to includes.José Fonseca