summaryrefslogtreecommitdiff
path: root/src/gallium
AgeCommit message (Collapse)Author
2009-06-11wgl: Fix prototype.José Fonseca
2009-06-11gallium: New pf_is_depth_and_stencil / pf_is_depth_or_stencil inlines.José Fonseca
2009-06-11python/tests: Test sampling from a depth texture.José Fonseca
2009-06-10util: Single precision constants.José Fonseca
2009-06-10gallium: Shorthand functions for computing stride and sizes for a rect.José Fonseca
2009-06-09stw: ignore swapbuffer requests on singlebufferKeith Whitwell
Return TRUE in this case. Returning FALSE seems to result in mis-rendering -- possibly opengl32.dll is trying to compensate by doing a software blit??
2009-06-08pipebuffer: Silence out of heap space debug printJakob Bornecrantz
2009-06-08stw: If stfb not set don't call into mesaJakob Bornecrantz
2009-06-04softpipe: separate case for PIPE_PRIM_POLYGON in sp_vbuf_draw()Brian Paul
Because of flat shading, we can't use same code as PIPE_PRIM_TRIANGLE_FAN. This is a follow-on to commit a59575d8fbe8b0ca053cc8366ce7a42bc660158a. (cherry picked from commit 086ecea179ed572c89aa77c5f465671a5cef87a7)
2009-06-04softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON renderingBrian Paul
This fixes incorrect front/back-face orientation. (cherry picked from commit a64bbdaa3e0b036a880d6db65ceb4a66205062f1)
2009-06-04tgsi: increase MAX_LABELS to 4096Brian Paul
2009-06-02util: Unsaved change missing from last commit.José Fonseca
2009-06-02util: Support Z24S8/Z24X8 -> unsigned conversion.José Fonseca
2009-06-02util: Fix 24 to 32 bit expansion binary arithmetic expression.José Fonseca
When approaching y = x * 0xffffffff / 0xffffff with bit arithmetic, the 8 least significant bits of y should come from the 8 most significant bits of x.
2009-06-01gallium/draw: Free specialized versions of driver shadersKeith Whitwell
The pstipple, aaline and aapoint code would create specialized versions of shaders and upload them to the driver -- but never free them.
2009-06-01draw: free more token arraysKeith Whitwell
The AA line and point code also needs to free token arrays after building driver shaders.
2009-06-01draw: avoid leaking tokens when building pstipple fragment shaderKeith Whitwell
Add missing FREE() after MALLOC().
2009-06-01wgl: Destroy the framebuffer when the window is destroyed.José Fonseca
2009-06-01draw: reset extra_vp_outputs.slot to zero in widepoint_flush()Brian Paul
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.
2009-05-31wgl: Cleanup framebuffer destruction logic.José Fonseca
2009-05-31wgl: Ensure we only create framebuffers for HDC associated with a window.José Fonseca
2009-05-30wgl: Use the right pixel format.José Fonseca
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.
2009-05-30wgl: Fix debugging output.José Fonseca
2009-05-30wgl: Rename function.José Fonseca
2009-05-30wgl: Remove unused field.José Fonseca
2009-05-30softpipe: fix incorrect provoking vertex color for PIPE_PRIM_POLYGONBrian Paul
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.
2009-05-18softpipe: add texture target sanity check assertionBrian Paul
2009-05-09gallium: replace lib with $(LIB_DIR)Hanno Böck
2009-05-08wgl: Grow the maximum number of pixel formats to cope with the new accum ↵José Fonseca
pixel formats. Fix a segfault when using softpipe.
2009-05-08wgl: Export pixelformats with accumulation bits.José Fonseca
2009-05-08util/upload: catch failures to map_range and return errorKeith Whitwell
Caller may be able to do something about this - eg flush and retry.
2009-05-08stw: fix potential uninitialized use of curctxKeith Whitwell
2009-05-08wgl: Enforce a minimum 1x1 framebuffer size.José Fonseca
2009-05-08wgl: Add assertion for missing function.José Fonseca
2009-05-08wgl: Remove unused variable.José Fonseca
2009-05-08wgl: Implement ShareLists.José Fonseca
2009-05-08wgl: Implemente SwapLayerBuffers.José Fonseca
2009-05-08util: Limit the stack walk to avoid referencing undefined memory.José Fonseca
2009-05-08gallium/tgsi: hack around linker/archiver breakageKeith Whitwell
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.
2009-05-08wgl: Include alpha bits in pixel format's cColorBits field.José Fonseca
2009-05-08gallium/draw: cope with unused vertex_elementsKeith Whitwell
2009-05-08wgl: UINT_PTR null value is an integral type, so return 0 instead of NULL.José Fonseca
2009-05-08pb: Save the stack backtrace when creating/mapping a debug buffer.José Fonseca
2009-05-08pb: Dump the fenced buffer sizes.José Fonseca
2009-05-05gallium: fix texcoords for cubemap mipmap generationBrian Paul
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.
2009-05-01radeon: Don't even bother with things too big to fit into our card.Corbin Simpson
2009-05-01r300-gallium, radeon-winsys: Hide radeon_cs from r300 pipe.Corbin Simpson
2009-05-01r300-gallium, radeon-winsys: Space accounting.Corbin Simpson
It is no longer optional in current libdrm, so it was time to actually start counting our BOs.
2009-05-01r300-gallium, radeon-winsys: Reorganize r300_winsys header, break ABI.Corbin Simpson
Make things more consistent, prepare for more function hooks.
2009-05-01r300-gallium: Don't bother with conditional double define.Corbin Simpson
We'll just forever leave it in r300_winsys.h since it's needed for whichever winsys is hosting the pipe.