summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-17pipe: Fix InterlockedDecrement usage.José Fonseca
2009-04-17wgl: Put commas in the right places.José Fonseca
2009-04-17wgl: Flip the pixel format order.José Fonseca
List 32bit pixel formats first, as nobody is interested in 16bit pixel formats nowadays.
2009-04-17gallium: Create OGL state tracker wrappers for various CPU access operations.Thomas Hellstrom
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>
2009-04-17egl: don't crash with one more khronos apiZack Rusin
2009-04-17gallium: simplify further the logic for selecting mutex implementationKeith Whitwell
Cleaner than the previous cleanup...
2009-04-17util: flush stdout before emitting debug_printf on stderrKeith Whitwell
A lot of the mesa demos emit commentary on stdout, try to keep it in sync with the corresponding output from debug_printf().
2009-04-17gallium: add #warning to mutex-based atomic implementationKeith Whitwell
Some builds end up picking this up.
2009-04-17python/retrace: Rename module as it conflicts with a builtin module.José Fonseca
And there is no way to override a builtin module... sigh
2009-04-17scons: Cleanup.José Fonseca
2009-04-16demos: set init window size, not posBrian Paul
2009-04-16docs: separate compilation units in 7.5Brian Paul
2009-04-16Merge branch 'register-negate'Brian Paul
2009-04-16egl/main/Makefile: Add dependency of install target on default build targetAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-04-16i915: Remove dead i830TexEnv and i915TexEnv.Eric Anholt
These LOD bias updates are covered by the texture state uploads in *_texstate.c now.
2009-04-16intel: Add support for argb1555, argb4444 FBOs and fix rgb565 fbo readpixels.Eric Anholt
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.
2009-04-16i965: disable using immediate values for MOV instructionsBrian Paul
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.
2009-04-16i965: minor debug output changesBrian Paul
2009-04-16i965: const buffer debug code (disabled)Brian Paul
2009-04-16i965: implement relative addressing for VS constant buffer readsBrian Paul
A scatter-read should be possible, but we're just using two READs for the time being.
2009-04-16i965: handle address reg in get_dst()Brian Paul
2009-04-16i965: fix const buffer temp register clobberingBrian Paul
Calls to release_tmps() were causing the temps holding constants to get recycled.
2009-04-16mesa: fix bad mask bit in clip plane restore code for glPopAttrib()Lars Henning Wendt
2009-04-16intel: fix small compressed texture uploadRoland Scheidegger
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)
2009-04-16mesa: add distclean target to top-level MakefileBrian Paul
2009-04-16demos: use larger buffer for snprintf() call, see bug 21220Brian Paul
2009-04-16vbo: cache last dlist vertex in malloced memoryKeith Whitwell
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.
2009-04-16Merge branch 'gallium-s3tc'José Fonseca
2009-04-15progs/tests: Make texcompress2 get textureJakob Bornecrantz
2009-04-15util: Fix surface usageJakob Bornecrantz
2009-04-15st: remove XXX commentBrian Paul
2009-04-15st: check for fast memcpy path in decompress_with_blit()Brian Paul
2009-04-15st: st_equal_formats() function to compare gallium/GL pixel formatsBrian Paul
2009-04-15st: decompress_with_blit() path for glGetTexImage().Brian Paul
Decompress a texture by rendering a textured quad.
2009-04-15gallium: new, simple RGBA surface create/destroy helpersBrian Paul
Use these for quickly creating an RGBA drawing surface.
2009-04-15r300-gallium: Fixup for commit 9b75627fab5bf2ea90f27ddd31b60c54895f6de6.Thomas Hellstrom
Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-15gallium: Make sure we flush before some texture / buffer operations.Thomas Hellstrom
Also implement context member functions to optimize away those flushes whenever possible. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
2009-04-15tests: another extended swizzle testBrian Paul
2009-04-15r300-gallium: Use viewport state.Corbin Simpson
2009-04-15r300-gallium: Don't use indexbufs for now.Corbin Simpson
They aren't working, so best to turn it off.
2009-04-15r300-gallium: Point size is at OVM position 15, not 1.Corbin Simpson
Or so sayeth osiris, and he would know. :3
2009-04-15r300-gallium: vs: Dot products.Corbin Simpson
2009-04-15i965: Clean up output of WM SS state dump, and add format output.Eric Anholt
2009-04-15i915: Use DEBUG_WM (like 965) for printing the fragment program out.Eric Anholt
This is nice when paired with INTEL_DEBUG=batch for debugging what's going out to the hardware.
2009-04-15i915: Add decode of dest buffer variables (destination format)Eric Anholt
2009-04-15mesa: Update texenv program when _NEW_ARRAYS is updated as well.Eric Anholt
This fixes a regression in fbotest1 on 915, where a transition from color+vertex array enabled to texcoord0+vertex array enabled wouldn't trigger program update on the second _mesa_update_state of DrawArrays, and we'd sample a constant texcoord of 0,0,0,1 instead of the array. The double state update in DrawArrays from 1680ef869625dc1fe9cf481b180382a34e0738e7 still needs fixing.
2009-04-15intel: Fix segfault when doing SW mipmap generation with a PBO texture upload.Eric Anholt
Triggered in test-fbo from clutter since 37fb2d9b23eab5dbbb43a212c3475cb8016837d8.
2009-04-15mesa: TGSI translation of multiple render targets.José Fonseca
2009-04-15glx: added null pointer check in glXGetFBConfigs()Brian Paul
Fixes segfault seen with glxinfo with NVIDIA OpenGL.
2009-04-14mesa: merge the prog_src_register::NegateBase and NegateAbs fieldsBrian Paul
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.