summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* mesa: fix REMAINDER() macroBrian Paul2009-06-161-1/+1
| | | | | The results were incorrect for some negative values of A. See bug 21872.
* gallium: Avoid atomic ops / locking when src is dst.José Fonseca2009-06-161-14/+14
|
* progs/wgl: Quit after displaying usage for -h option.José Fonseca2009-06-161-0/+1
|
* progs/wgl: Use appropriate types to silence msvc warnings.José Fonseca2009-06-161-7/+7
|
* progs/wgl: Fix assertion failure in wglthreads' texture creation.José Fonseca2009-06-161-8/+10
|
* intel: Release fb backing regions in intelDestroyBuffer()Shuang He2009-06-151-0/+24
| | | | Fixes memory leak when destroying framebuffers.
* python/tests: Add is_depth_stencil_format utility function.José Fonseca2009-06-151-0/+8
|
* python/tests: Cleanup texture_sample.José Fonseca2009-06-151-18/+32
|
* mesa: Always return a value.José Fonseca2009-06-151-0/+1
|
* mesa: Use appropriate float/integer types.José Fonseca2009-06-152-3/+3
|
* mesa: Use type modifier for float constants.José Fonseca2009-06-153-21/+21
|
* mesa: Use integer type with appropriate sign.José Fonseca2009-06-152-4/+4
|
* rtasm: Use 32bit constant.José Fonseca2009-06-151-3/+3
| | | | As we're only using 32bit bitmasks.
* gallium: Ensure assert macro is defined before being used in p_thread.hJosé Fonseca2009-06-151-0/+1
|
* softpipe: Fix softpipe_is_texture_referenced.José Fonseca2009-06-154-0/+22
| | | | | | | | | 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.
* progs/tests: Use opaque colors.José Fonseca2009-06-151-2/+2
| | | | | Transparency is not relevant for this example, and leads to distraction due to different results in alpha visuals, when capturing images to disk.
* dri st: Don't require the PIPE_TEXTURE_USAGE_RENDER_TARGET property for ↵Thomas Hellstrom2009-06-151-2/+0
| | | | | | depth- and stencil renderbuffers. Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* gallium: Fix segfault and valgrind error introduced with commit ↵Thomas Hellstrom2009-06-151-1/+5
| | | | | | 3f2e006b759705abd7c409d30f9aeb1f2a75b83f Signed-off-by: Thomas Hellstrom <thellstrom-at-vmware-dot-com>
* demos: update fbotexture.c to use EXT or ARB functions exclusivelyBrian Paul2009-06-122-38/+77
| | | | | | | | | When the -arb option is specified we use GL_ARB_framebuffer_object intead of GL_EXT_framebuffer_object. For some vendors' OpenGL it's important to call the ARB entrypoints instead of the EXT entrypoints to get correct behaviour. Use some function pointer tricks to do this (instead of GLEW).
* util: additional function pointersBrian Paul2009-06-121-0/+101
|
* mesa: Enable uploads of only depth to z24s8 texturesJakob Bornecrantz2009-06-121-3/+36
|
* mesa: rework vertex shader output / fragment shader input attribute matchingBrian Paul2009-06-111-20/+33
| | | | | | | | | | | | | | | | | | | | Before, if a vertex shader's outputs didn't exactly match a fragment shader's inputs we could wind up with invalid TGSI shader declarations. For example: Before patch: DCL OUT[0], POSITION DCL OUT[1], COLOR[1] DCL OUT[2], GENERIC[0] DCL OUT[3], GENERIC[0] <- note duplicate [0] DCL OUT[4], GENERIC[2] After patch: DCL OUT[0], POSITION DCL OUT[1], COLOR[1] DCL OUT[2], GENERIC[0] DCL OUT[3], GENERIC[1] DCL OUT[4], GENERIC[2]
* mesa: add default function for ctx->Driver.CheckQuery() hookBrian Paul2009-06-113-1/+19
|
* python/retrace: Show the contents of the depth/stencil and surfaces ↵José Fonseca2009-06-111-10/+28
| | | | before/after transfers.
* python/retrace: Interpret is_texture_referenced/is_buffer_referenced.José Fonseca2009-06-111-0/+8
|
* wgl: Fix prototype.José Fonseca2009-06-111-1/+1
|
* mesa: Use new pf_is_depth_and_stencil inline.José Fonseca2009-06-111-16/+2
|
* gallium: New pf_is_depth_and_stencil / pf_is_depth_or_stencil inlines.José Fonseca2009-06-111-1/+11
|
* mesa: Use PIPE_TEXTURE_USAGE_DEPTH_STENCIL for any depth or stencil format.José Fonseca2009-06-112-7/+11
|
* mesa: Remove dead code.José Fonseca2009-06-111-3/+0
|
* st/mesa: fix typo s/BFC0/BFC1/Brian Paul2009-06-111-2/+2
|
* vbo: fix assertion, #define IMM_BUFFER_NAMEBrian Paul2009-06-111-2/+7
| | | | | This was sometimes seen when Glean exited upon test failure when using Gallium.
* python/tests: Test sampling from a depth texture.José Fonseca2009-06-111-7/+216
|
* mesa: Only do read write when we don't have a depth value to writeJakob Bornecrantz2009-06-111-1/+1
|
* progs: Port fp programs to GLEW.José Fonseca2009-06-1110-26/+50
|
* mesa: Take the format from the right structure.José Fonseca2009-06-111-1/+1
|
* meas: Use a read/write transfer when writing stencil component, but not ↵José Fonseca2009-06-111-2/+23
| | | | touching the depth component.
* mesa: Reverse s8z24 into z24s8 as required by EXT_packed_depth_stencil.José Fonseca2009-06-101-2/+7
| | | | | | Actually, after spotting this problem, I realized this is unreachable code. However don't bother to enable this fast path now, given the normal path is working just fine.
* mesa: Fix typo in bitmask.José Fonseca2009-06-101-1/+1
|
* mesa: Fix draw_stencil_pixels for PIPE_FORMAT_Z24S8_UNORM.José Fonseca2009-06-101-1/+1
| | | | | | | Reversed component order. This fixes glean depthStencil test failures for PIPE_FORMAT_Z24S8_UNORM visuals.
* glsl: fix warnings, update comments, s/TRUE/GL_TRUE/Brian Paul2009-06-101-3/+4
| | | | (cherry picked from master, commit 7fdd64ab29576e607434fb8c82ddfa61e8ea6aa8)
* glsl: Handle continuation characters in preprocessor.Brian Paul2009-06-101-1/+67
| | | | (cherry picked from master, commit cc22620e4b11425997f3bc1fc70f4c88cec22d2e)
* swrast: fix state validation bug for changing program constantsBrian Paul2009-06-101-0/+1
| | | | | | | Add _NEW_PROGRAM_CONSTANTS to _SWRAST_NEW_DERIVED. This makes sure that we update the fragment shader's constants when state vars (such as point size) changes. Fixes the progs/glsl/points.c demo.
* glsl: Fix symbol replacement handling in preprocessor.Brian Paul2009-06-101-13/+15
| | | | (cherry picked from master, commit d9617deb008b75f4a605a30408aeb1948139c33e)
* mesa: disable texture unit error check in _mesa_MatrixMode()Brian Paul2009-06-101-0/+10
| | | | See comments for details.
* docs: document GLSL preprocessor fixesBrian Paul2009-06-101-0/+1
|
* util: Single precision constants.José Fonseca2009-06-101-1/+1
|
* mesa: Single precision constants.José Fonseca2009-06-101-2/+2
|
* mesa: Pure software accum buffer.José Fonseca2009-06-104-234/+187
| | | | | | | | | | The existing implementation was already implemented on software, but relied on the pipe driver to always support the R16G16B16A16_SNORM format. This patch eliminates that, without prejudice against a future hardware-only implementation. It also avoids some of the short <-> float conversions, and only does a read transfer of the color buffer on GL_RETURN if absolutely necessary.
* gallium: Shorthand functions for computing stride and sizes for a rect.José Fonseca2009-06-101-0/+12
|