summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-06-01mesa: use split_location_offset() in GetUniform() functionsBrian Paul
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.
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-06-01vgapi: Generate PIC objects.Chia-I Wu
Fixes "...; recompile with -fPIC" error on x86-64. See fdo 28336.
2010-05-31glapi: Generate PIC objects.José Fonseca
Fixes fdo 28336.
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-31mesa: Fix excess initializers in get.c table.Chia-I Wu
2010-05-31swrast: add TFP support to swrast.Dave Airlie
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 <airlied@redhat.com>
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-31intel: Initialize batch->reserved_space on allocationChris Wilson
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 <chris@chris-wilson.co.uk>
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-31mapi/vgapi: Add SConscript for Windows build.Chia-I Wu
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-31egl: Use khronos types for EGL_MESA_screen_surface.Chia-I Wu
That is, use khronos_uint32_t instead of uint32_t.
2010-05-31Define PUBLIC to dllexport on MSVC.Chia-I Wu
Define PUBLIC to __declspec(dllexport) when _MVC_VER is defined.
2010-05-31Update KHRONOS_APICALL for _WIN32 platform.Chia-I Wu
Use __declspec(dllexport) when KHRONOS_DLL_EXPORTS is defined.
2010-05-31Always define int32_t in compiler headers.Chia-I Wu
eglplatform.h no longer defines int32_t.
2010-05-31glapi: Update SConscript for Windows.Chia-I Wu
Define macros to enable dllexport and thread support. Adjust the output path of mapi sources.
2010-05-31Update OpenGL ES headers.Chia-I Wu
2010-05-31autoconf: Remove unused APIS.Chia-I Wu
It was used by glapi, which has been moved to mapi.
2010-05-31mesa: Fix/add feature test to shader.c.Chia-I Wu
Those macros used by _mesa_init_shader_dispatch are not available when FEATURE_GL is not 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-30vbo: Remove unnecessary header.Vinson Lee
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.