summaryrefslogtreecommitdiffstats
path: root/src/gallium
Commit message (Collapse)AuthorAgeFilesLines
* draw: reset extra_vp_outputs.slot to zero in widepoint_flush()Brian Paul2009-06-011-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é Fonseca2009-05-311-9/+4
|
* wgl: Ensure we only create framebuffers for HDC associated with a window.José Fonseca2009-05-311-1/+7
|
* wgl: Use the right pixel format.José Fonseca2009-05-309-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é Fonseca2009-05-301-9/+27
|
* wgl: Rename function.José Fonseca2009-05-301-2/+2
|
* wgl: Remove unused field.José Fonseca2009-05-302-2/+0
|
* softpipe: fix incorrect provoking vertex color for PIPE_PRIM_POLYGONBrian Paul2009-05-301-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 assertionBrian Paul2009-05-181-0/+5
|
* gallium: replace lib with $(LIB_DIR)Hanno Böck2009-05-091-2/+2
|
* wgl: Grow the maximum number of pixel formats to cope with the new accum ↵José Fonseca2009-05-081-1/+1
| | | | | | pixel formats. Fix a segfault when using softpipe.
* wgl: Export pixelformats with accumulation bits.José Fonseca2009-05-081-6/+8
|
* util/upload: catch failures to map_range and return errorKeith Whitwell2009-05-081-13/+17
| | | | Caller may be able to do something about this - eg flush and retry.
* stw: fix potential uninitialized use of curctxKeith Whitwell2009-05-081-1/+1
|
* wgl: Enforce a minimum 1x1 framebuffer size.José Fonseca2009-05-081-8/+19
|
* wgl: Add assertion for missing function.José Fonseca2009-05-081-0/+1
|
* wgl: Remove unused variable.José Fonseca2009-05-081-1/+0
|
* wgl: Implement ShareLists.José Fonseca2009-05-084-7/+28
|
* wgl: Implemente SwapLayerBuffers.José Fonseca2009-05-084-5/+17
|
* util: Limit the stack walk to avoid referencing undefined memory.José Fonseca2009-05-081-1/+10
|
* gallium/tgsi: hack around linker/archiver breakageKeith Whitwell2009-05-081-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é Fonseca2009-05-081-1/+1
|
* gallium/draw: cope with unused vertex_elementsKeith Whitwell2009-05-083-2/+9
|
* wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL.José Fonseca2009-05-081-2/+2
|
* pb: Save the stack backtrace when creating/mapping a debug buffer.José Fonseca2009-05-081-1/+101
|
* pb: Dump the fenced buffer sizes.José Fonseca2009-05-081-4/+6
|
* gallium: fix texcoords for cubemap mipmap generationBrian Paul2009-05-051-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 Simpson2009-05-011-1/+3
|
* r300-gallium, radeon-winsys: Hide radeon_cs from r300 pipe.Corbin Simpson2009-05-014-20/+36
|
* r300-gallium, radeon-winsys: Space accounting.Corbin Simpson2009-05-017-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 Simpson2009-05-013-47/+70
| | | | Make things more consistent, prepare for more function hooks.
* r300-gallium: Don't bother with conditional double define.Corbin Simpson2009-05-011-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 Simpson2009-05-011-2/+1
|
* mesa: Prepend "-Wl," to linking optionsTormod Volden2009-04-302-2/+2
| | | | | Let mklib ignore -Wl options inside the object list when building static libraries
* i915simple: remove duplicated i915_context.c in C_SOURCESBrian Paul2009-04-301-1/+0
|
* gallium: Add SCons build support for the DRI state tracker.Michel Dänzer2009-04-302-0/+24
|
* tgsi: added tgsi_check_soa_dependencies() and related debug code (disabled)Brian Paul2009-04-291-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 Paul2009-04-281-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 stagesKeith Whitwell2009-04-2815-1/+24
|
* util/indices: remove debug printsKeith Whitwell2009-04-282-161/+0
|
* wgl: Store current HDC/HGLRC in stw_context.José Fonseca2009-04-283-25/+44
| | | | Less TLS lookups.
* gallium dri st: Propagate the drawable info when we bind to new drawables.Thomas Hellstrom2009-04-281-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 Hellstrom2009-04-282-15/+10
| | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* gallium-intel: Create a i965_dri.so symlinkJakob Bornecrantz2009-04-281-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 driverJakob Bornecrantz2009-04-281-0/+0
|
* gallium dri st: Fix up some comments and minor bugs.Thomas Hellstrom2009-04-282-8/+11
| | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* radeon-r300: Fix a bit of breakage.Corbin Simpson2009-04-283-10/+9
| | | | Not really sure why reordering the ioctls makes them work again.
* radeon: Use PCI_MATCH_ANY for xorg driver.Corbin Simpson2009-04-281-6/+3
| | | | Might as well.
* gallium: Rename the dri state tracker lib to libdridrm.aThomas Hellstrom2009-04-284-4/+4
|
* gallium: indent and cleanfile the dri state-tracker.Thomas Hellstrom2009-04-287-281/+221
|