summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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-3110-18/+85
| | | | Fix several portability issues and add SConscript for Windows build.
* egl: Use khronos types for EGL_MESA_screen_surface.Chia-I Wu2010-05-311-2/+2
| | | | That is, use khronos_uint32_t instead of uint32_t.
* Define PUBLIC to dllexport on MSVC.Chia-I Wu2010-05-313-6/+12
| | | | Define PUBLIC to __declspec(dllexport) when _MVC_VER is defined.
* Update KHRONOS_APICALL for _WIN32 platform.Chia-I Wu2010-05-312-24/+9
| | | | Use __declspec(dllexport) when KHRONOS_DLL_EXPORTS is defined.
* Always define int32_t in compiler headers.Chia-I Wu2010-05-313-8/+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-3110-534/+1158
|
* autoconf: Remove unused APIS.Chia-I Wu2010-05-312-6/+0
| | | | It was used by glapi, which has been moved to mapi.
* 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
|
* llvmpipe: Don't force a linear to tiled conversion after rasterization on ↵José Fonseca2010-05-301-12/+14
| | | | | | debug builds. Only do this if runtime debugging flags to show subtiles/tiles are set.
* llvmpipe: Call llvmpipe_set_texture_tile_layout only when necessary.José Fonseca2010-05-301-2/+4
| | | | Like the other places.
* util: Add inline function for approximate floating point comparison.José Fonseca2010-05-301-0/+9
|
* llvmpipe: Use pointer_to_func() instead of custom wrappers.José Fonseca2010-05-305-70/+8
|
* draw: Use pointer_to_func() instead of custom wrappers.José Fonseca2010-05-301-30/+3
|
* util: Generic pointer to func conversion helper.José Fonseca2010-05-301-0/+12
| | | | That observes strict-aliasing rules.
* llvmpipe: Pass the fs variant to the rasterizer.José Fonseca2010-05-309-81/+113
|
* python/retrace: Interpret resource_copy_region.José Fonseca2010-05-301-10/+6
|
* 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.
* r300: fix blits for textures of width/height greater than 2048 on r5xxMarek Olšák2010-05-291-5/+9
| | | | Yes I am fixing r300c ... who knew?
* r600g: remove unused variableMarek Olšák2010-05-291-1/+0
|
* r600g: fix gallium function parametersMarek Olšák2010-05-294-14/+14
|
* r600g: make a local copy of viewport stateMarek Olšák2010-05-293-3/+3
|
* i915g: Rename winsys c fileJakob Bornecrantz2010-05-292-1/+1
|