Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | stw: Use a statically initiallized gl proc table. | José Fonseca | 2009-04-27 | 1 | -356/+347 |
| | | | | It doesn't change anyway. | ||||
* | r300: always emit output insts after all KIL insts | Maciej Cencora | 2009-04-27 | 2 | -3/+46 |
| | |||||
* | r300-gallium: Correctly flush Draw. | Corbin Simpson | 2009-04-26 | 1 | -1/+5 |
| | | | | Should help with a few non-TCL bugs. | ||||
* | r300-gallium: Add a draw_flush() to r300_flush(). | Mathias Gottschlag | 2009-04-26 | 1 | -0/+2 |
| | | | | This fixes some missing primitives which had been drawn right before the next glClear(). | ||||
* | r300-gallium: Fix vertex shader OVM counting. | Corbin Simpson | 2009-04-25 | 2 | -6/+44 |
| | | | | | | Attribs must be packed: position, point size, colors, texcoords. Thanks to osiris for pointing it out. | ||||
* | r300-gallium: Clean up FB state emit. | Corbin Simpson | 2009-04-25 | 1 | -13/+13 |
| | |||||
* | r300-gallium: Set framebuffer pitch on every framebuffer change. | Mathias Gottschlag | 2009-04-25 | 1 | -1/+6 |
| | | | | Signed-off-by: Corbin Simpson <[email protected]> | ||||
* | gallium-intel: Fix warning | Jakob Bornecrantz | 2009-04-25 | 1 | -2/+0 |
| | |||||
* | gallium-intel: Cache software switch | Jakob Bornecrantz | 2009-04-25 | 3 | -2/+7 |
| | |||||
* | gallium-intel: Link dri2 driver with softpipe | Jakob Bornecrantz | 2009-04-25 | 1 | -0/+1 |
| | |||||
* | GNU/Hurd fixes | Samuel Thibault | 2009-04-24 | 2 | -2/+6 |
| | | | | | | | | | | Here is a couple of fixes for GNU/Hurd: - dri_interface.h: no libdrm support either. - configure.ac: - GNU/Hurd is a GNU OS with _GNU_SOURCE and PTHREADS. - GNU needs a couple of flags like other OSes Signed-off-by: Dan Nicholson <[email protected]> | ||||
* | intel: Fix more issues with the combined depth-stencil attachment | Ian Romanick | 2009-04-24 | 1 | -6/+13 |
| | |||||
* | intel: Initialize region ptr to prevent assertion in intel_region_reference | Ian Romanick | 2009-04-24 | 1 | -1/+1 |
| | |||||
* | tgis: SSE code generator doesn't yet support indirect addressing of temp regs | Brian Paul | 2009-04-24 | 1 | -0/+29 |
| | | | | Fall back to interpreter in this case. | ||||
* | intel / DRI2: When available, use DRI2GetBuffersWithFormat | Ian Romanick | 2009-04-24 | 2 | -16/+99 |
| | | | | | | | | | | | This interface gives the driver two important features. First, it can allocate the (fake) front-buffer only when needed. Second, it can tell the buffer allocator the format of buffers being allocated. This enables support for back-buffer and depth-buffer with different bits per pixel. Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]> | ||||
* | DRI2: Implement interface for drivers to access DRI2GetBuffersWithFormat | Ian Romanick | 2009-04-24 | 2 | -20/+112 |
| | | | | | Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]> | ||||
* | DRI2: Implement protocol for DRI2GetBuffersWithFormat | Ian Romanick | 2009-04-24 | 2 | -0/+80 |
| | | | | | Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]> | ||||
* | mesa: fix up error/warning/debug output newlines | Brian Paul | 2009-04-24 | 2 | -10/+27 |
| | | | | | | | | | | As of commit 23ad86cfb91c294ce85a3116d4b825aaa3988a6e all messages go through output_if_debug(). Add new parameter to output_if_debug() to indicate whether to emit a newline. _mesa_warning() and _mesa_error() calls should not end their strings with \n. _mesa_debug() calls should end their text with \n. | ||||
* | i965: use drm_intel_gem_bo_map/unmap_gtt() when possible, otherwise ↵ | Brian Paul | 2009-04-24 | 1 | -5/+9 |
| | | | | | | dri_bo_subdata() This wraps up the unfinished business from commit a9a363f8298e9d534e60e3d2869f8677138a1e7e | ||||
* | demos: ensure display lists are destroyed for next generation | Alan Hourihane | 2009-04-24 | 1 | -0/+4 |
| | |||||
* | pipebuffer: don't fail when validating mapped buffers | Keith Whitwell | 2009-04-24 | 1 | -4/+5 |
| | | | | | | This can be almost impossible to avoid - hopefully we won't encounter a situation where this is a true requirement. Would probably require drivers to flush between hardware and software vertex processing. | ||||
* | shadowtex: fflush stdout for cygwin | Keith Whitwell | 2009-04-24 | 1 | -0/+2 |
| | |||||
* | util: Add more entry points for dumping to bmp | Jakob Bornecrantz | 2009-04-24 | 2 | -18/+43 |
| | |||||
* | demos/readpix: add option to draw triangle instead of drawpix | Keith Whitwell | 2009-04-24 | 1 | -5/+62 |
| | |||||
* | tests/mipmap_view: add a bunch of keystrokes for testing render-to-texture | Keith Whitwell | 2009-04-24 | 1 | -48/+219 |
| | | | | | Move between mipmaps, render a triangle, reload textures with either the original arch (and GenMipmaps) or via straightforward glTexImage. |