summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* r300g: blit directly to/from GTT when transfering texturesMarek Olšák2010-06-021-2/+5
|
* r300g: let the driver determine the GEM domain for buffer_createMarek Olšák2010-06-027-30/+26
|
* r300g: make texture transfers more pipelinedMarek Olšák2010-06-023-7/+23
| | | | Mostly based on Michel Dänzer's patch.
* r300g: better describe another flush and move it closer to the real problemMarek Olšák2010-06-021-6/+11
| | | | I haven't been able to get rid of this one, see the comments in the code.
* r300g: remove one flushMarek Olšák2010-06-021-5/+0
| | | | Looks like it's not needed now.
* llvmpipe: Obey color interpolation.José Fonseca2010-06-011-16/+17
| | | | | Don't force color to be linearly interpolated when that's not being requested.
* llvmpipe: Use struct lp_shader_input in the interpolator.José Fonseca2010-06-016-110/+160
| | | | | | | | 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.
* intel: Fallback to meta if we're asked to CopyTexImage2D from RGB to RGBAKristian Høgsberg2010-06-011-0/+8
| | | | | | | The pixel transfer rules state that we must set alpha to 1.0 in this case which we can't easily do with the blitter. We can do to passes: one that sets the alpha to 0xff and one that copies the RGB bits or we can just use the 3D engine. Neither approach seems worth it for this case.
* st/xorg, vmware: Make throttling configurable.Thomas Hellstrom2010-05-3110-26/+160
| | | | | | | | | | | | | | | | | | | | | | | | | 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]>
* svga: Add a winsys callback to get the svga_winsys_contextThomas Hellstrom2010-05-312-0/+8
| | | | | | | | | | 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 <[email protected]> Signed-off-by: Jakob Bornecrantz <[email protected]>
* tgsi: Drop uses_fogcoord and uses_frontfacing from tgsi_scan.José Fonseca2010-06-012-16/+0
| | | | | | | 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[].
* tgsi: Remove tgsi-instruction-set.txt.José Fonseca2010-06-011-1127/+0
| | | | | Deprecated by tgsi.rst, and no point in keeping it around if it's not being updated.
* llvmpipe: Don't waste time interpolating unused input channels.José Fonseca2010-06-016-49/+47
|
* tgsi: Determine which shader input channels are effectively.José Fonseca2010-06-014-7/+177
| | | | | | 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.
* gallium/docs: Update FRAC -> FRC.José Fonseca2010-06-011-1/+1
|
* mesa: use split_location_offset() in GetUniform() functionsBrian Paul2010-06-011-47/+54
| | | | | | | | | | | Commit 5d0e136eff54a34258b5adaeda4cb267831e8234 exposed a long-standing bug in the glGetUniform*() code paths. We weren't properly decoding the location parameter. Fixes fd.o bug/regression 28344 Note: this patch should go into the 7.8 branch after the above-mentioned commit.
* 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]>
* vgapi: Generate PIC objects.Chia-I Wu2010-06-011-1/+1
| | | | Fixes "...; recompile with -fPIC" error on x86-64. See fdo 28336.
* glapi: Generate PIC objects.José Fonseca2010-05-311-1/+1
| | | | Fixes fdo 28336.
* llvmpipe: Show fs's TGSI when LP_DEBUG=tgsi is set.José Fonseca2010-05-311-1/+2
|
* 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.
* mesa: Fix excess initializers in get.c table.Chia-I Wu2010-05-311-2/+2
|
* swrast: add TFP support to swrast.Dave Airlie2010-05-311-0/+69
| | | | | | | | | This adds TFP support to the swrast driver, with this I can run gnome-shell inside Xephyr slowly. I've no idea why I did it, and g-s has other rendering issues under swrast, but it might be useful to hook up llvmpipe later. I've no idea if I even want to commit it at this point. An enhanced version might just pass the pointer in the indirect rendering case and avoid the memcpy. Signed-off-by: Dave Airlie <[email protected]>
* gallium: fix TFP on galliumDave Airlie2010-05-312-0/+3
| | | | | | | | 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.
* intel: Initialize batch->reserved_space on allocationChris Wilson2010-05-311-2/+1
| | | | | | | | | | | | | | Fixes the assert (and buffer overrun): glknots: intel_batchbuffer.c:164: _intel_batchbuffer_flush: Assertion 'used >= batch->buf->size' failed. Reported in bug: Bug 28274 - xscreensaver's glknots hangs GPU (945GME/Pineview) https://bugs.freedesktop.org/show_bug.cgi?id=28274 Signed-off-by: Chris Wilson <[email protected]>
* targets/egl: Add SConscript for egl-apis.Chia-I Wu2010-05-312-0/+34
| | | | It will build api_OpenVG.dll on Windows.
* st/vega: Use SConscript for Windows build.Chia-I Wu2010-05-315-9/+62
| | | | Fix several portability issues and add SConscript for Windows build.
* gallium/util: Define isfinite and isnan for MSVC.Chia-I Wu2010-05-311-0/+3
| | | | | Define isfinite and isnan to _finite and _isnan respectively for MSVC. Those macros are needed by st/vega.
* mapi/vgapi: Add SConscript for Windows build.Chia-I Wu2010-05-312-0/+56
|
* st/egl: Use OS-specific module suffices.Chia-I Wu2010-05-311-6/+17
| | | | At least, .dll is used on Windows.
* targets/egl: Add SConscript for egl_gdi_swrast.Chia-I Wu2010-05-313-6/+35
| | | | | egl_gdi_swrast uses st/egl/gdi and winsys/sw/gdi to provide an EGL driver for Windows.
* st/egl: Add GDI backend.Chia-I Wu2010-05-314-1/+557
| | | | | The backend uses Windows GDI driver to provide a software EGL implementation on Windows.
* egl: Use SConscript for Windows build.Chia-I Wu2010-05-319-17/+84
| | | | Fix several portability issues and add SConscript for Windows build.
* Define PUBLIC to dllexport on MSVC.Chia-I Wu2010-05-313-6/+12
| | | | Define PUBLIC to __declspec(dllexport) when _MVC_VER is defined.
* Always define int32_t in compiler headers.Chia-I Wu2010-05-312-6/+2
| | | | eglplatform.h no longer defines int32_t.
* glapi: Update SConscript for Windows.Chia-I Wu2010-05-311-5/+15
| | | | | Define macros to enable dllexport and thread support. Adjust the output path of mapi sources.
* Update OpenGL ES headers.Chia-I Wu2010-05-312-5/+2
|
* mesa: Fix/add feature test to shader.c.Chia-I Wu2010-05-311-1/+3
| | | | | Those macros used by _mesa_init_shader_dispatch are not available when FEATURE_GL is not defined.
* r300g: set correct pitch in libdrmMarek Olšák2010-05-312-12/+12
| | | | to match what DDX sets. This prevents some flushes from occuring.
* r300g: remove texture usage transfer flagMarek Olšák2010-05-311-10/+1
|
* r600g: remove unused struct r600_stateMarek Olšák2010-05-312-20/+0
| | | | What was the purpose of it?
* vbo: Remove unnecessary header.Vinson Lee2010-05-301-1/+0
|
* r600g: Remove unnecessary headers.Vinson Lee2010-05-305-5/+0
|
* r600g: RS880 is r6xx-basedAlex Deucher2010-05-301-1/+1
| | | | Signed-off-by: Alex Deucher <[email protected]>
* llvmpipe: Remove unused framebuffer stuff from the rasterizer.José Fonseca2010-05-302-18/+6
|