Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Prepend "-Wl," to linking options | Tormod Volden | 2009-04-30 | 3 | -2/+19 |
| | | | | | Let mklib ignore -Wl options inside the object list when building static libraries | ||||
* | i915simple: remove duplicated i915_context.c in C_SOURCES | Brian Paul | 2009-04-30 | 1 | -1/+0 |
| | |||||
* | r300: Increase reference count of texture objects referenced by current state. | Michel Dänzer | 2009-04-30 | 4 | -9/+11 |
| | | | | | | | Fixes a use-after-free reported in http://bugs.freedesktop.org/show_bug.cgi?id=20539, so this possibly fixes that bug. It has been confirmed to fix http://bugs.freedesktop.org/show_bug.cgi?id=17895 . | ||||
* | gallium: Add SCons build support for the DRI state tracker. | Michel Dänzer | 2009-04-30 | 2 | -0/+24 |
| | |||||
* | egl: Don't install demodriver | Dan Nicholson | 2009-04-29 | 1 | -2/+0 |
| | | | | | | | I don't think anyone besides a developer would ever want to use the demo egl driver. Furthermore, egl would only ever load demodriver if it was set via EGL_DRIVER in the environment. In that case, I think you can point it to your mesa source directory. | ||||
* | progs/tests: Update ignores | Jakob Bornecrantz | 2009-04-29 | 1 | -8/+6 |
| | |||||
* | progs/tests: Add mipmap_comp for mipmap testing with compressed textures | Jakob Bornecrantz | 2009-04-29 | 4 | -0/+298 |
| | |||||
* | Use variable library name in pkg-config output. | Tom Fogal | 2009-04-29 | 10 | -10/+15 |
| | | | | | | | | | | | Previously the pkg-config output files would contain e.g. `-lGL' and `-lGLU', even if the user modified their configuration to build libraries with different names. This modifies the pkg-config inputs, and corresponding makery, so that modifying the output library name will cause the appropriate updated name to appear in the pkg-config `-l' option. Signed-off-by: Dan Nicholson <[email protected]> | ||||
* | autoconf: Add switch for optional EGL | Dan Nicholson | 2009-04-29 | 1 | -9/+23 |
| | | | | EGL doesn't build on all platforms, so allow people to opt out. | ||||
* | autoconf: Clean up some m4 usage | Dan Nicholson | 2009-04-29 | 1 | -15/+7 |
| | | | | m4_fatal is equivalent to m4_errprint + m4_exit. | ||||
* | tgsi: added tgsi_check_soa_dependencies() and related debug code (disabled) | Brian Paul | 2009-04-29 | 1 | -0/+62 |
| | | | | | | | The TGSI interpeter operates in SOA style. We need to check for data dependencies in instructions which read from and write to the same register. For now just adding some debug code to detect that condition. Actual fixes to follow. | ||||
* | mesa: added _mesa_check_soa_dependencies() function | Brian Paul | 2009-04-29 | 2 | -0/+53 |
| | | | | | This function will check an instruction to see if there's data dependencies between the dst and src registers if executed in an SOA manner. | ||||
* | softpipe: return PIPE_UNREFERENCED in softpipe_is_buffer/texture_referenced() | Brian Paul | 2009-04-28 | 1 | -2/+2 |
| | | | | | This allows the engine demo to run again (avoid crash in VBO code). This stuff still needs to be revisited someday though... | ||||
* | mesa/st: protect internal flushes with FLUSH_CURRENT | Keith Whitwell | 2009-04-28 | 1 | -1/+1 |
| | | | | Already doing this for driver.flush() | ||||
* | mesa/main: protect driver.finish with FLUSH_CURRENT | Keith Whitwell | 2009-04-28 | 1 | -0/+1 |
| | | | | Already doing this for driver.flush() | ||||
* | mesa/st: remove duplicate offset calculation | Keith Whitwell | 2009-04-28 | 2 | -18/+1 |
| | |||||
* | gallium/draw: add ability to print out active pipeline stages | Keith Whitwell | 2009-04-28 | 15 | -1/+24 |
| | |||||
* | mesa/st: translate VERT_ATTRIB_GENERIC8..15 in st_translate_vertex_program | Keith Whitwell | 2009-04-28 | 1 | -0/+8 |
| | | | | It seems quake4 can hit these attributes sometimes. | ||||
* | progs: add fflushes for cygwin | Keith Whitwell | 2009-04-28 | 2 | -0/+5 |
| | |||||
* | util/indices: remove debug prints | Keith Whitwell | 2009-04-28 | 2 | -161/+0 |
| | |||||
* | mesa/st: workaround for crashes in st_copy_texsubimage | Keith Whitwell | 2009-04-28 | 1 | -0/+10 |
| | | | | Proper fix for this hasn't been identified, but avoid crashing. | ||||
* | wgl: Store current HDC/HGLRC in stw_context. | José Fonseca | 2009-04-28 | 3 | -25/+44 |
| | | | | Less TLS lookups. | ||||
* | R300: add quadpipe overrides | Alex Deucher | 2009-04-28 | 1 | -4/+13 |
| | | | | | RV410 SE chips only have 1 quadpipe. Also, handle other R300 chip with quadpipe override | ||||
* | i965: avoid segfault in intel_update_renderbuffers() if using DRI1 | Brian Paul | 2009-04-28 | 1 | -3/+4 |
| | |||||
* | swrast: add missing break in clamp_rect_coord_linear() | Brian Paul | 2009-04-28 | 1 | -0/+1 |
| | | | | See bug 21461. | ||||
* | demos: asst. updates, clean-ups | Brian Paul | 2009-04-28 | 1 | -23/+20 |
| | |||||
* | gallium dri st: Propagate the drawable info when we bind to new drawables. | Thomas Hellstrom | 2009-04-28 | 1 | -3/+8 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | gallium dri st: Use st_get_current() instead of GET_CURRENT_CONTEXT() | Thomas Hellstrom | 2009-04-28 | 2 | -15/+10 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | st: Add an st_get_current() function. | Thomas Hellstrom | 2009-04-28 | 2 | -0/+8 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | gallium-intel: Create a i965_dri.so symlink | Jakob Bornecrantz | 2009-04-28 | 1 | -1/+3 |
| | | | | | | | | This is only used for debuging the gem backend on i965 chipset using the softpipe pipe driver. Usage: "export INTEL_SOFTPIPE=y" and point LIBGL_DRIVERS_PATH to "$MESA/lib/gallium" where $MESA is the mesa root. | ||||
* | gallium-intel: Fix build of dri driver | Jakob Bornecrantz | 2009-04-28 | 1 | -0/+0 |
| | |||||
* | gallium dri st: Fix up some comments and minor bugs. | Thomas Hellstrom | 2009-04-28 | 2 | -8/+11 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | radeon-r300: Fix a bit of breakage. | Corbin Simpson | 2009-04-28 | 3 | -10/+9 |
| | | | | Not really sure why reordering the ioctls makes them work again. | ||||
* | radeon: Use PCI_MATCH_ANY for xorg driver. | Corbin Simpson | 2009-04-28 | 1 | -6/+3 |
| | | | | Might as well. | ||||
* | gallium: Rename the dri state tracker lib to libdridrm.a | Thomas Hellstrom | 2009-04-28 | 4 | -4/+4 |
| | |||||
* | gallium: indent and cleanfile the dri state-tracker. | Thomas Hellstrom | 2009-04-28 | 7 | -281/+221 |
| | |||||
* | gallium: Update the dri2 state tracker to support dri1. | Thomas Hellstrom | 2009-04-28 | 6 | -55/+507 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | gallium: Add a dri1 api | Thomas Hellstrom | 2009-04-28 | 1 | -0/+82 |
| | | | | | | that a driver needs to implement on top of the drm api to support dri1. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | gallium: Move the dri2 state tracker since we're about to extend it to dri1. | Thomas Hellstrom | 2009-04-28 | 11 | -3/+3 |
| | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | gallium: Update the drm_api. | Thomas Hellstrom | 2009-04-28 | 11 | -45/+63 |
| | | | | | | | | Make it possible to pass state-tracker-specific data to the init_screen function, and even open the door for device-specific state-tracker screen initialization. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | Avoid a segfault in shader compilation | Robert Ellison | 2009-04-27 | 1 | -0/+6 |
| | | | | | | | | | | If a shader reaches an out-of-memory condition while adding a new function (reallocating the function list), a segfault will occur during cleanup (because the num_functions field is non-zero, but the functions pointer is NULL). This fixes that segfault by zeroing out the num_functions field if reallocation fails. | ||||
* | wgl: Cope with pre-existing threads. | José Fonseca | 2009-04-27 | 1 | -8/+31 |
| | | | | | DllMain is called with DLL_THREAD_ATTACH only by threads created after the DLL is loaded by the process. | ||||
* | wgl: Implement WGL_EXT_extensions_string extension. | José Fonseca | 2009-04-27 | 3 | -5/+20 |
| | |||||
* | util: Remove unix includes. | José Fonseca | 2009-04-27 | 1 | -4/+0 |
| | |||||
* | i965: only upload constant buffer data when we actually need the const buffer | Brian Paul | 2009-04-27 | 6 | -17/+17 |
| | | | | | | | Make the use_const_buffer field per-program and only call the code which updates the constant buffer's data if the flag is set. This should undo the perf regression from 20f3497e4b6756e330f7b3f54e8acaa1d6c92052 | ||||
* | util/time: add util_time_sleep() for windows userspace | Keith Whitwell | 2009-04-27 | 1 | -0/+9 |
| | | | | Somebody with a clue could probably do a better implemenation... | ||||
* | mesa/st: fix incorrect face, level in compress_with_blit | Keith Whitwell | 2009-04-27 | 1 | -2/+1 |
| | | | | | | | We were incorrectly applying the destination texture face and level when requesting a transfer to the temporary texture, which has only one face and level. This would obviously cause problems uploading to compressed cube and mipmap textures. | ||||
* | demos: Clean up allocated Textures and Display Lists when demo quit | Shuang He | 2009-04-27 | 4 | -0/+47 |
| | |||||
* | util: Add debug_printf_once | Micah Dowty | 2009-04-24 | 1 | -0/+16 |
| | |||||
* | mesa: Call _mesa_snprintf instead of snprintf. | José Fonseca | 2009-04-27 | 1 | -1/+1 |
| | | | | snprintf not directly available on Windows. |