Age | Commit message (Collapse) | Author | |
---|---|---|---|
2009-06-18 | trace: Use size_t consistently. | José Fonseca | |
2009-06-18 | pipebuffer: Use a type consistently for sizes/offsets. | José Fonseca | |
Avoids warnings on 64bit builds. Use regular unsigned since that's what gallium expects, but use a typedef to facilitate possible changes in the future. | |||
2009-06-18 | wgl: Fix window resizing in multithread applications. | José Fonseca | |
In multithreading stw_call_window_proc can be called by a thread other than the thread where the context is bound. | |||
2009-06-18 | wgl: Move all thread related code together. | José Fonseca | |
Not only for cosmetic reasons, but also because we need to set the SetWindowsHookEx hook for threads created before the DllMain is called (threads for each we don't get the DLL_THREAD_ATTACH notification). | |||
2009-06-17 | st/glx: added null ptr check in Fake_glXCreatePixmap() | Brian Paul | |
Fixes segfault in progs/xdemos/glxgears_pixmap.c | |||
2009-06-17 | wgl: Factor out some repetitive code into inline functions. | José Fonseca | |
2009-06-16 | softpipe: fix out of bounds quad rasterization bug | Brian Paul | |
For some triangles we can generate quads which lie just outside the surface bounds. Just check the quad's mask before trying to emit/process the quad. Fixes failed assertion in Lightsmark. | |||
2009-06-16 | gallium: Avoid atomic ops / locking when src is dst. | José Fonseca | |
2009-06-15 | python/tests: Add is_depth_stencil_format utility function. | José Fonseca | |
2009-06-15 | python/tests: Cleanup texture_sample. | José Fonseca | |
2009-06-15 | rtasm: Use 32bit constant. | José Fonseca | |
As we're only using 32bit bitmasks. | |||
2009-06-15 | gallium: Ensure assert macro is defined before being used in p_thread.h | José Fonseca | |
2009-06-15 | softpipe: Fix softpipe_is_texture_referenced. | José Fonseca | |
Render results are only visible when the render cache is flushed. softpipe_is_texture_referenced must reflect that or transfers to/from the textures bound in the framebuffer won't be proceeded of the necessary flush, causing transfer data to be outdated/clobbered. This fixes conform drawpix test with softpipe. | |||
2009-06-15 | dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for ↵ | Thomas Hellstrom | |
depth- and stencil renderbuffers. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | |||
2009-06-15 | gallium: Fix segfault and valgrind error introduced with commit ↵ | Thomas Hellstrom | |
3f2e006b759705abd7c409d30f9aeb1f2a75b83f Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | |||
2009-06-11 | python/retrace: Show the contents of the depth/stencil and surfaces ↵ | José Fonseca | |
before/after transfers. | |||
2009-06-11 | python/retrace: Interpret is_texture_referenced/is_buffer_referenced. | José Fonseca | |
2009-06-11 | wgl: Fix prototype. | José Fonseca | |
2009-06-11 | gallium: New pf_is_depth_and_stencil / pf_is_depth_or_stencil inlines. | José Fonseca | |
2009-06-11 | python/tests: Test sampling from a depth texture. | José Fonseca | |
2009-06-10 | util: Single precision constants. | José Fonseca | |
2009-06-10 | gallium: Shorthand functions for computing stride and sizes for a rect. | José Fonseca | |
2009-06-09 | stw: ignore swapbuffer requests on singlebuffer | Keith 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-08 | pipebuffer: Silence out of heap space debug print | Jakob Bornecrantz | |
2009-06-08 | stw: If stfb not set don't call into mesa | Jakob Bornecrantz | |
2009-06-04 | softpipe: 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-04 | softpipe: fix incorrect tri vertex order for PIPE_PRIM_POLYGON rendering | Brian Paul | |
This fixes incorrect front/back-face orientation. (cherry picked from commit a64bbdaa3e0b036a880d6db65ceb4a66205062f1) | |||
2009-06-04 | tgsi: increase MAX_LABELS to 4096 | Brian Paul | |
2009-06-02 | util: Unsaved change missing from last commit. | José Fonseca | |
2009-06-02 | util: Support Z24S8/Z24X8 -> unsigned conversion. | José Fonseca | |
2009-06-02 | util: 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-01 | gallium/draw: Free specialized versions of driver shaders | Keith 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-01 | draw: free more token arrays | Keith Whitwell | |
The AA line and point code also needs to free token arrays after building driver shaders. | |||
2009-06-01 | draw: avoid leaking tokens when building pstipple fragment shader | Keith Whitwell | |
Add missing FREE() after MALLOC(). | |||
2009-06-01 | wgl: Destroy the framebuffer when the window is destroyed. | José Fonseca | |
2009-06-01 | draw: 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-31 | wgl: Cleanup framebuffer destruction logic. | José Fonseca | |
2009-05-31 | wgl: Ensure we only create framebuffers for HDC associated with a window. | José Fonseca | |
2009-05-30 | wgl: 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-30 | wgl: Fix debugging output. | José Fonseca | |
2009-05-30 | wgl: Rename function. | José Fonseca | |
2009-05-30 | wgl: Remove unused field. | José Fonseca | |
2009-05-30 | softpipe: fix incorrect provoking vertex color for PIPE_PRIM_POLYGON | Brian 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-18 | softpipe: add texture target sanity check assertion | Brian Paul | |
2009-05-09 | gallium: replace lib with $(LIB_DIR) | Hanno Böck | |
2009-05-08 | wgl: 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-08 | wgl: Export pixelformats with accumulation bits. | José Fonseca | |
2009-05-08 | util/upload: catch failures to map_range and return error | Keith Whitwell | |
Caller may be able to do something about this - eg flush and retry. | |||
2009-05-08 | stw: fix potential uninitialized use of curctx | Keith Whitwell | |
2009-05-08 | wgl: Enforce a minimum 1x1 framebuffer size. | José Fonseca | |