summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2010-06-02r300g: make texture transfers more pipelinedMarek Olšák
Mostly based on Michel Dänzer's patch.
2010-06-02r300g: better describe another flush and move it closer to the real problemMarek Olšák
I haven't been able to get rid of this one, see the comments in the code.
2010-06-02r300g: remove one flushMarek Olšák
Looks like it's not needed now.
2010-06-01llvmpipe: Obey color interpolation.José Fonseca
Don't force color to be linearly interpolated when that's not being requested.
2010-06-01llvmpipe: Use struct lp_shader_input in the interpolator.José Fonseca
Eliminates all this identical yet slightly different code to decide how shader inputs should be interpolated. As bonus, don't interpolate the position twice when it is listed in the TGSI shader inputs.
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-31svga: Add a winsys callback to get the svga_winsys_contextThomas Hellstrom
The winsys may need to extract the svga_winsys_context from a pipe_context. Add a function to enable that functionality. Cherry-picked from commit e8a8c5e339dfd7a36bb6435fd34175482b9187b8 Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com> Signed-off-by: Jakob Bornecrantz <jakob@vmware.com>
2010-06-01tgsi: Drop uses_fogcoord and uses_frontfacing from tgsi_scan.José Fonseca
It was not used anywhere; the code was buggy (it didn't take care of indirect registers and could potential cause buffer underflows) and the same effect can now be easily achieved by just by looking at input_semantic_name[] and input_usage_mask[].
2010-06-01tgsi: Remove tgsi-instruction-set.txt.José Fonseca
Deprecated by tgsi.rst, and no point in keeping it around if it's not being updated.
2010-06-01llvmpipe: Don't waste time interpolating unused input channels.José Fonseca
2010-06-01tgsi: Determine which shader input channels are effectively.José Fonseca
TGSI's UsageMask flag is never set. We can move this logic into tgsi_ureg, but there there are still cases where's not used, so this seems a better place for now.
2010-06-01gallium/docs: Update FRAC -> FRC.José Fonseca
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-31llvmpipe: Show fs's TGSI when LP_DEBUG=tgsi is set.José Fonseca
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-31targets/egl: Add SConscript for egl-apis.Chia-I Wu
It will build api_OpenVG.dll on Windows.
2010-05-31st/vega: Use SConscript for Windows build.Chia-I Wu
Fix several portability issues and add SConscript for Windows build.
2010-05-31gallium/util: Define isfinite and isnan for MSVC.Chia-I Wu
Define isfinite and isnan to _finite and _isnan respectively for MSVC. Those macros are needed by st/vega.
2010-05-31st/egl: Use OS-specific module suffices.Chia-I Wu
At least, .dll is used on Windows.
2010-05-31targets/egl: Add SConscript for egl_gdi_swrast.Chia-I Wu
egl_gdi_swrast uses st/egl/gdi and winsys/sw/gdi to provide an EGL driver for 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-31egl: Use SConscript for Windows build.Chia-I Wu
Fix several portability issues and add SConscript for Windows build.
2010-05-31Define PUBLIC to dllexport on MSVC.Chia-I Wu
Define PUBLIC to __declspec(dllexport) when _MVC_VER is defined.
2010-05-31r300g: set correct pitch in libdrmMarek Olšák
to match what DDX sets. This prevents some flushes from occuring.
2010-05-31r300g: remove texture usage transfer flagMarek Olšák
2010-05-31r600g: remove unused struct r600_stateMarek Olšák
What was the purpose of it?
2010-05-30r600g: Remove unnecessary headers.Vinson Lee
2010-05-30r600g: RS880 is r6xx-basedAlex Deucher
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
2010-05-30llvmpipe: Remove unused framebuffer stuff from the rasterizer.José Fonseca
2010-05-30llvmpipe: Don't force a linear to tiled conversion after rasterization on ↵José Fonseca
debug builds. Only do this if runtime debugging flags to show subtiles/tiles are set.
2010-05-30llvmpipe: Call llvmpipe_set_texture_tile_layout only when necessary.José Fonseca
Like the other places.
2010-05-30util: Add inline function for approximate floating point comparison.José Fonseca
2010-05-30llvmpipe: Use pointer_to_func() instead of custom wrappers.José Fonseca
2010-05-30draw: Use pointer_to_func() instead of custom wrappers.José Fonseca
2010-05-30util: Generic pointer to func conversion helper.José Fonseca
That observes strict-aliasing rules.
2010-05-30llvmpipe: Pass the fs variant to the rasterizer.José Fonseca
2010-05-30python/retrace: Interpret resource_copy_region.José Fonseca
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-29r600g: remove unused variableMarek Olšák
2010-05-29r600g: fix gallium function parametersMarek Olšák