Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | draw: reset extra_vp_outputs.slot to zero in widepoint_flush() | Brian Paul | 2009-06-01 | 1 | -0/+1 |
| | | | | | | | | | | | Fixes a crash when clearing the window with a quad after drawing large points. We were asking the draw module how many vertex shader outputs there were and got 3 instead of 2. This led to creating vertices with too many attributes and trying to read invalid memory. We reset extra_vp_outputs.slot to zero in the aaline/aapoint stage's flush functions already. This omission was just an oversight in the wide_point stage. | ||||
* | wgl: Cleanup framebuffer destruction logic. | José Fonseca | 2009-05-31 | 1 | -9/+4 |
| | |||||
* | wgl: Ensure we only create framebuffers for HDC associated with a window. | José Fonseca | 2009-05-31 | 1 | -1/+7 |
| | |||||
* | wgl: Use the right pixel format. | José Fonseca | 2009-05-30 | 9 | -202/+301 |
| | | | | | | | | There is no current pixel format. Each HDC has its pixelformat which is kept by gdi and set/get via the SetPixelFormat/GetPixelFormat functions. Now the HDC's pixelformat is kept in the stw_framebuffer, which is created during the SetPixelFormat. | ||||
* | wgl: Fix debugging output. | José Fonseca | 2009-05-30 | 1 | -9/+27 |
| | |||||
* | wgl: Rename function. | José Fonseca | 2009-05-30 | 1 | -2/+2 |
| | |||||
* | wgl: Remove unused field. | José Fonseca | 2009-05-30 | 2 | -2/+0 |
| | |||||
* | softpipe: fix incorrect provoking vertex color for PIPE_PRIM_POLYGON | Brian Paul | 2009-05-30 | 1 | -1/+15 |
| | | | | | | | This fixes the incorrect colors seen when rendering flat-shaded polygons. Note that clipped polygons were correct, but unclipped polygons were wrong. See the glean/clipFlat test for regression testing. | ||||
* | softpipe: add texture target sanity check assertion | Brian Paul | 2009-05-18 | 1 | -0/+5 |
| | |||||
* | gallium: replace lib with $(LIB_DIR) | Hanno Böck | 2009-05-09 | 1 | -2/+2 |
| | |||||
* | wgl: Grow the maximum number of pixel formats to cope with the new accum ↵ | José Fonseca | 2009-05-08 | 1 | -1/+1 |
| | | | | | | pixel formats. Fix a segfault when using softpipe. | ||||
* | wgl: Export pixelformats with accumulation bits. | José Fonseca | 2009-05-08 | 1 | -6/+8 |
| | |||||
* | util/upload: catch failures to map_range and return error | Keith Whitwell | 2009-05-08 | 1 | -13/+17 |
| | | | | Caller may be able to do something about this - eg flush and retry. | ||||
* | stw: fix potential uninitialized use of curctx | Keith Whitwell | 2009-05-08 | 1 | -1/+1 |
| | |||||
* | wgl: Enforce a minimum 1x1 framebuffer size. | José Fonseca | 2009-05-08 | 1 | -8/+19 |
| | |||||
* | wgl: Add assertion for missing function. | José Fonseca | 2009-05-08 | 1 | -0/+1 |
| | |||||
* | wgl: Remove unused variable. | José Fonseca | 2009-05-08 | 1 | -1/+0 |
| | |||||
* | wgl: Implement ShareLists. | José Fonseca | 2009-05-08 | 4 | -7/+28 |
| | |||||
* | wgl: Implemente SwapLayerBuffers. | José Fonseca | 2009-05-08 | 4 | -5/+17 |
| | |||||
* | util: Limit the stack walk to avoid referencing undefined memory. | José Fonseca | 2009-05-08 | 1 | -1/+10 |
| | |||||
* | gallium/tgsi: hack around linker/archiver breakage | Keith Whitwell | 2009-05-08 | 1 | -0/+27 |
| | | | | | | | Add a dummy function which exists only so that tgsi_text_translate() doesn't get magic-ed out of the libtgsi.a archive by the build system. Don't remove unless you know this has been fixed - check on mingw/scons builds as well. | ||||
* | wgl: Include alpha bits in pixel format's cColorBits field. | José Fonseca | 2009-05-08 | 1 | -1/+1 |
| | |||||
* | gallium/draw: cope with unused vertex_elements | Keith Whitwell | 2009-05-08 | 3 | -2/+9 |
| | |||||
* | wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL. | José Fonseca | 2009-05-08 | 1 | -2/+2 |
| | |||||
* | pb: Save the stack backtrace when creating/mapping a debug buffer. | José Fonseca | 2009-05-08 | 1 | -1/+101 |
| | |||||
* | pb: Dump the fenced buffer sizes. | José Fonseca | 2009-05-08 | 1 | -4/+6 |
| | |||||
* | gallium: fix texcoords for cubemap mipmap generation | Brian Paul | 2009-05-05 | 1 | -10/+86 |
| | | | | | We need to use (s,t,r) cubemap coords when sampling from the cubemap texture so the rendered quad gets texture samples from the correct cube face. | ||||
* | radeon: Don't even bother with things too big to fit into our card. | Corbin Simpson | 2009-05-01 | 1 | -1/+3 |
| | |||||
* | r300-gallium, radeon-winsys: Hide radeon_cs from r300 pipe. | Corbin Simpson | 2009-05-01 | 4 | -20/+36 |
| | |||||
* | r300-gallium, radeon-winsys: Space accounting. | Corbin Simpson | 2009-05-01 | 7 | -9/+126 |
| | | | | | It is no longer optional in current libdrm, so it was time to actually start counting our BOs. | ||||
* | r300-gallium, radeon-winsys: Reorganize r300_winsys header, break ABI. | Corbin Simpson | 2009-05-01 | 3 | -47/+70 |
| | | | | Make things more consistent, prepare for more function hooks. | ||||
* | r300-gallium: Don't bother with conditional double define. | Corbin Simpson | 2009-05-01 | 1 | -7/+0 |
| | | | | | We'll just forever leave it in r300_winsys.h since it's needed for whichever winsys is hosting the pipe. | ||||
* | radeon: Fix cast and comment. | Corbin Simpson | 2009-05-01 | 1 | -2/+1 |
| | |||||
* | mesa: Prepend "-Wl," to linking options | Tormod Volden | 2009-04-30 | 2 | -2/+2 |
| | | | | | 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 |
| | |||||
* | gallium: Add SCons build support for the DRI state tracker. | Michel Dänzer | 2009-04-30 | 2 | -0/+24 |
| | |||||
* | 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. | ||||
* | 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... | ||||
* | gallium/draw: add ability to print out active pipeline stages | Keith Whitwell | 2009-04-28 | 15 | -1/+24 |
| | |||||
* | util/indices: remove debug prints | Keith Whitwell | 2009-04-28 | 2 | -161/+0 |
| | |||||
* | wgl: Store current HDC/HGLRC in stw_context. | José Fonseca | 2009-04-28 | 3 | -25/+44 |
| | | | | Less TLS lookups. | ||||
* | 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> | ||||
* | 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 |
| |