Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | i965: updated CURBE allocation code | Brian Paul | 2009-04-17 | 3 | -8/+15 |
| | | | | | Now that we have real constant buffers, the demands on the CURBE are lessened. When we use real VS/WM constant buffers we only use the CURBE for clip planes. | ||||
* | xlib/trace: Fixup xlib trace | Jakob Bornecrantz | 2009-04-17 | 1 | -5/+11 |
| | |||||
* | pipe: Get the p_atomic_dec_zero logic right this time. | José Fonseca | 2009-04-17 | 1 | -3/+2 |
| | |||||
* | demos: move glewInit() call, fixes crash/bug 21247 | Brian Paul | 2009-04-17 | 1 | -1/+1 |
| | |||||
* | gallium: Fix PIPE_ATOMIC_GCC_INTRINSIC build. | Michel Dänzer | 2009-04-17 | 1 | -2/+2 |
| | |||||
* | demos: move glewInit() after glutCreateWindow() | Brian Paul | 2009-04-17 | 1 | -1/+1 |
| | | | | | Fixes segfault. See bug 21239. However, the demo doesn't render properly. Probably a bug in the GL_ATI_fragment_shader code. | ||||
* | trace: Keep screen objects on lists | Jakob Bornecrantz | 2009-04-17 | 8 | -4/+84 |
| | |||||
* | trace: Fix is_referenced functions | Jakob Bornecrantz | 2009-04-17 | 1 | -2/+6 |
| | |||||
* | trace: Simplify trace_buffer function | Jakob Bornecrantz | 2009-04-17 | 5 | -17/+13 |
| | |||||
* | pipe: Fix InterlockedDecrement usage. | José Fonseca | 2009-04-17 | 1 | -1/+1 |
| | |||||
* | wgl: Put commas in the right places. | José Fonseca | 2009-04-17 | 1 | -3/+3 |
| | |||||
* | wgl: Flip the pixel format order. | José Fonseca | 2009-04-17 | 1 | -6/+6 |
| | | | | | List 32bit pixel formats first, as nobody is interested in 16bit pixel formats nowadays. | ||||
* | gallium: Create OGL state tracker wrappers for various CPU access operations. | Thomas Hellstrom | 2009-04-17 | 13 | -173/+265 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There are two usage types of buffer CPU accesses: One where we try to use the buffer contents for multiple draw commands in a batch. (batch := sequence of commands that are flushed together), like incrementally adding bitmaps to a bitmap texture that is reallocated on flush. And one where we assume we can safely overwrite the old buffer contexts, like glTexSubImage. In this case we need to make sure all old drawing commands referencing the buffer are flushed before we map the buffer. This is easily forgotten. Add wrappers for the most common of these operations. The first type is prefixed with "st_no_flush" and the second type is prefixed with "st_cond_flush", where "cond" indicates that we attmpt to only flush if there is indeed unflushed draw commands referencing the buffer. Prefixed functions are screen::get_tex_transfer pipe_buffer_write pipe_buffer_read pipe_buffer_map Please use the wrappers whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | egl: don't crash with one more khronos api | Zack Rusin | 2009-04-17 | 1 | -0/+1 |
| | |||||
* | gallium: simplify further the logic for selecting mutex implementation | Keith Whitwell | 2009-04-17 | 1 | -53/+24 |
| | | | | Cleaner than the previous cleanup... | ||||
* | util: flush stdout before emitting debug_printf on stderr | Keith Whitwell | 2009-04-17 | 1 | -0/+2 |
| | | | | | A lot of the mesa demos emit commentary on stdout, try to keep it in sync with the corresponding output from debug_printf(). | ||||
* | gallium: add #warning to mutex-based atomic implementation | Keith Whitwell | 2009-04-17 | 1 | -0/+1 |
| | | | | Some builds end up picking this up. | ||||
* | python/retrace: Rename module as it conflicts with a builtin module. | José Fonseca | 2009-04-17 | 3 | -360/+394 |
| | | | | And there is no way to override a builtin module... sigh | ||||
* | scons: Cleanup. | José Fonseca | 2009-04-17 | 2 | -18/+8 |
| | |||||
* | demos: set init window size, not pos | Brian Paul | 2009-04-16 | 1 | -1/+1 |
| | |||||
* | docs: separate compilation units in 7.5 | Brian Paul | 2009-04-16 | 1 | -0/+1 |
| | |||||
* | Merge branch 'register-negate' | Brian Paul | 2009-04-16 | 26 | -208/+156 |
|\ | |||||
| * | mesa: merge the prog_src_register::NegateBase and NegateAbs fields | Brian Paul | 2009-04-14 | 26 | -208/+156 |
| | | | | | | | | | | | | There's really no need for two negation fields. This came from the GL_NV_fragment_program extension. The new, unified Negate bitfield applies after the absolute value step. | ||||
* | | egl/main/Makefile: Add dependency of install target on default build target | Alan Coopersmith | 2009-04-16 | 1 | -1/+1 |
| | | | | | | | | Signed-off-by: Alan Coopersmith <[email protected]> | ||||
* | | i915: Remove dead i830TexEnv and i915TexEnv. | Eric Anholt | 2009-04-16 | 5 | -182/+0 |
| | | | | | | | | | | These LOD bias updates are covered by the texture state uploads in *_texstate.c now. | ||||
* | | intel: Add support for argb1555, argb4444 FBOs and fix rgb565 fbo readpixels. | Eric Anholt | 2009-04-16 | 9 | -125/+346 |
| | | | | | | | | | | | | Also enable them all regardless of screen bpp, as 32 bpp what I've been testing against, and haven't been able to detect any screen bpp-specific troubles with them. | ||||
* | | i965: disable using immediate values for MOV instructions | Brian Paul | 2009-04-16 | 1 | -1/+3 |
| | | | | | | | | | | | | For some reason, MOV instructions using immediate src values don't seem to work reliably on the GLSL path. Disable them for now (falling back to const buffer reads). This fixes a bunch of glean glsl1 failures. | ||||
* | | i965: minor debug output changes | Brian Paul | 2009-04-16 | 1 | -3/+3 |
| | | |||||
* | | i965: const buffer debug code (disabled) | Brian Paul | 2009-04-16 | 1 | -0/+12 |
| | | |||||
* | | i965: implement relative addressing for VS constant buffer reads | Brian Paul | 2009-04-16 | 3 | -59/+115 |
| | | | | | | | | | | A scatter-read should be possible, but we're just using two READs for the time being. | ||||
* | | i965: handle address reg in get_dst() | Brian Paul | 2009-04-16 | 1 | -0/+4 |
| | | |||||
* | | i965: fix const buffer temp register clobbering | Brian Paul | 2009-04-16 | 1 | -7/+18 |
| | | | | | | | | | | Calls to release_tmps() were causing the temps holding constants to get recycled. | ||||
* | | mesa: fix bad mask bit in clip plane restore code for glPopAttrib() | Lars Henning Wendt | 2009-04-16 | 1 | -1/+1 |
| | | |||||
* | | intel: fix small compressed texture upload | Roland Scheidegger | 2009-04-16 | 1 | -4/+5 |
| | | | | | | | | | | | | | | need to round up height for _mesa_copy_rect otherwise textures with height smaller than 4 won't get copied to the miptree at all Also fix up the confusing debug output (don't output unitialized values, and output if data is present and the compressed flag) | ||||
* | | mesa: add distclean target to top-level Makefile | Brian Paul | 2009-04-16 | 1 | -1/+4 |
| | | |||||
* | | demos: use larger buffer for snprintf() call, see bug 21220 | Brian Paul | 2009-04-16 | 1 | -1/+1 |
| | | |||||
* | | vbo: cache last dlist vertex in malloced memory | Keith Whitwell | 2009-04-16 | 3 | -10/+53 |
| | | | | | | | | | | | | Avoids repeated mapping of the VBO buffer on display list replay. We need access to the final vertex in order to update the GL current attrib values. | ||||
* | | Merge branch 'gallium-s3tc' | José Fonseca | 2009-04-16 | 9 | -16/+480 |
|\ \ | |||||
| * | | progs/tests: Make texcompress2 get texture | Jakob Bornecrantz | 2009-04-15 | 1 | -2/+21 |
| | | | |||||
| * | | util: Fix surface usage | Jakob Bornecrantz | 2009-04-15 | 1 | -2/+2 |
| | | | |||||
| * | | st: remove XXX comment | Brian Paul | 2009-04-15 | 1 | -1/+0 |
| | | | |||||
| * | | st: check for fast memcpy path in decompress_with_blit() | Brian Paul | 2009-04-15 | 1 | -13/+33 |
| | | | |||||
| * | | st: st_equal_formats() function to compare gallium/GL pixel formats | Brian Paul | 2009-04-15 | 2 | -0/+24 |
| | | | |||||
| * | | st: decompress_with_blit() path for glGetTexImage(). | Brian Paul | 2009-04-15 | 1 | -2/+81 |
| | | | | | | | | | | | | Decompress a texture by rendering a textured quad. | ||||
| * | | gallium: new, simple RGBA surface create/destroy helpers | Brian Paul | 2009-04-15 | 4 | -0/+167 |
| | | | | | | | | | | | | Use these for quickly creating an RGBA drawing surface. | ||||
| * | | mesa: Report name for missing s3tc functions | Jakob Bornecrantz | 2009-04-09 | 1 | -8/+8 |
| | | | |||||
| * | | st: If the hw supports it do hw conversion of texture uploads | Jakob Bornecrantz | 2009-04-09 | 1 | -4/+160 |
| | | | |||||
* | | | r300-gallium: Fixup for commit 9b75627fab5bf2ea90f27ddd31b60c54895f6de6. | Thomas Hellstrom | 2009-04-15 | 1 | -0/+26 |
| | | | | | | | | | | | | Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | | | gallium: Make sure we flush before some texture / buffer operations. | Thomas Hellstrom | 2009-04-15 | 22 | -12/+466 |
| | | | | | | | | | | | | | | | | | | | | | Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com> | ||||
* | | | tests: another extended swizzle test | Brian Paul | 2009-04-15 | 1 | -0/+5 |
| | | |