summaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* r600: adjust after radeon mipmap changes in 7118db8700Andre Maasikas2010-01-052-6/+5
| | | | | | R600_OUT_BATCH_RELOC doesn't really use offset so set it in TEX_RESOURCE2 + typo fix
* r600: support depth compare functions & shadow_ambientAndre Maasikas2010-01-055-2/+98
|
* mesa: added _mesa_[Get]TexParameterI[u]iv() functionsBrian Paul2010-01-042-1/+128
| | | | | New in GL 3.0. Primarily meant for setting int/uint-valued texture border color. Not plugged into dispatch table yet.
* mesa: make texture BorderColor a union of float/int/uintBrian Paul2010-01-0421-83/+84
| | | | | | | | When we have integer-valued texture formats, the texture border color must also store integer and uint values. With GL 3.0, the new glTexParameterIiv() and glTexParameterIuiv() functions can set the border color to int or uint values.
* mesa: use get_texobj() in _mesa_GetTexParameter() funcsBrian Paul2010-01-041-35/+16
|
* Merge branch 'mesa_7_7_branch'Brian Paul2010-01-0420-321/+390
|\ | | | | | | | | | | | | | | | | Conflicts: docs/relnotes.html src/gallium/drivers/llvmpipe/lp_tex_sample_c.c src/gallium/drivers/r300/r300_cs.h src/mesa/drivers/dri/i965/brw_wm_surface_state.c src/mesa/main/enums.c
| * mesa: add missing _mesa_lock_texture() callBrian Paul2010-01-041-0/+1
| |
| * i915: Use _MaxLevel on principle in texture setup.Eric Anholt2010-01-041-3/+4
| | | | | | | | | | | | It was OK before because we proceed to clamp the value to hardware limits, but given that other use of MaxLevel has been a trap, let's avoid it.
| * intel: Fix CopyTexImage from tiled mipmap levels > 0.Eric Anholt2010-01-041-2/+3
| | | | | | | | Fixes piglit fbo-copyteximage.
| * i965: Fix the surface offset calculation for tiled buffers.Eric Anholt2010-01-041-20/+30
| | | | | | | | | | | | If we ever had a non-tile-aligned tiled renderbuffer, the math was all off. Use the existing x,y coordinates instead of trying to reconstruct them from an incorrectly-calculated offset value.
| * r600: support vertex_array_bgraAndre Maasikas2010-01-045-6/+25
| | | | | | | | | | Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?
| * mesa: added GL_DU8DV8_ATI in extract_float_rgba()Brian Paul2010-01-041-0/+2
| | | | | | | | Fixes warning seen with Shadowgrounds. See bug 24016.
| * mesa: Prevent possible array out-of-bounds access by _mesa_light.Vinson Lee2010-01-041-15/+32
| |
| * mesa: regenerated enums.c fileBrian Paul2010-01-041-234/+231
| |
| * glapi: comment-out TIMEOUT_IGNOREDBrian Paul2010-01-041-1/+3
| | | | | | | | This is not really a GLenum value.
| * glsl: use varName variable in _slang_gen_assignment()Brian Paul2010-01-041-3/+4
| |
| * st/mesa: Only call st_texture_image_unmap() if texImage->Data is non-NULL.Michel Dänzer2010-01-041-1/+1
| | | | | | | | | | This was already done in st_TexImage() but was missed between incremental changes to st_TexSubimage().
| * r300: Use C-style comments.Vinson Lee2010-01-031-15/+15
| |
| * r300: Silence 'mixed declarations and code' warnings.Vinson Lee2010-01-031-4/+7
| |
| * r300: Silence 'mixed declarations and code' warning.Vinson Lee2010-01-031-1/+2
| |
| * r300: Silence 'mixed declarations and code' warning.Vinson Lee2010-01-031-1/+3
| |
| * mesa: Cope with the degenerate case of zero length ranges.José Fonseca2010-01-031-4/+45
| | | | | | | | Fixes assertion failures on glean's bufferObject test.
| * apple: Purge existing (not working) GLX_USE_APPLEGL from dated libGL on OSXJeremy Huddleston2010-01-031-4/+0
| | | | | | | | Signed-off-by: Jeremy Huddleston <[email protected]>
| * i810: Fix include recursion.Vinson Lee2010-01-021-1/+0
| |
| * sis: ifdef out unused variable.Vinson Lee2010-01-021-0/+2
| | | | | | | | Silences GCC warning.
| * x86: Silence printf format warnings.Vinson Lee2010-01-011-12/+2
| |
| * ARB prog parser: Silence unused variable warnings.Vinson Lee2010-01-011-0/+4
| |
* | Merge branch 'gallium-conditional-rendering'Brian Paul2010-01-048-17/+159
|\ \
| * | st/mesa: implement conditional renderingBrian Paul2009-12-316-0/+138
| | |
| * | st/mesa: move st_query_object type to header to make it publicBrian Paul2009-12-312-17/+21
| | |
* | | mesa: more detailed error message in extract_float_rgba()Brian Paul2010-01-041-1/+3
| | |
* | | fix overflowAlan Hourihane2010-01-041-1/+1
| | |
* | | r600: support vertex_array_bgraAndre Maasikas2010-01-045-6/+25
| | | | | | | | | | | | | | | Use vertex program key mechanism and swizzle during vertex fetch - is there a better way?
* | | Only enable verbose NoOp dispatch if DEBUG is definedKristian Høgsberg2010-01-031-2/+19
| | | | | | | | | | | | | | | | | | | | | | | | By default we generate a function per GL entry point to warn if it's called without a context set. This is to allow the function to print it's name in the warning. By using a generic function that doesn't print the function name in the non-DEBUG case, we reduce libGL size from 320008 bytes to 283144 bytes (11%).
* | | Noop dispatch: move warning code out of the generated functionsKristian Høgsberg2010-01-031-21/+7
| | | | | | | | | | | | | | | This reduces libGL size by 11% here, going from 360968 bytes to 320008 bytes.
* | | Export a few glapi functions used by gallium and r300Kristian Høgsberg2010-01-033-7/+7
| | | | | | | | | | | | Fixes breakage from -fvisibility-hidden commit.
* | | mesa: fix blend enable/disable calls in meta.c codeFrancis Galiegue2010-01-031-6/+16
| | | | | | | | | | | | | | | | | | Fixes regression in some DRI drivers since the GL_EXT_draw_buffers2 changes. Signed-off-by: Brian Paul <[email protected]>
* | | mesa: added _mesa_GetBufferParameteri64v()Brian Paul2010-01-022-0/+45
| | | | | | | | | | | | This is a new function in GL 3.2. No dispatch for this function yet.
* | | mesa: Make condrender.[ch] prototypes match.José Fonseca2010-01-011-2/+2
|/ / | | | | | | | | | | GLAPI on windows is more than "extern" -- it includes the --, so the mismatch between condrender.[ch] prototypes causes "different linkage" errors on windows.
* | Merge branch 'mesa_7_7_branch'Brian Paul2009-12-3124-320/+415
|\| | | | | | | | | | | | | | | Conflicts: configs/darwin src/gallium/auxiliary/util/u_clear.h src/gallium/state_trackers/xorg/xorg_exa_tgsi.c src/mesa/drivers/dri/i965/brw_draw_upload.c
| * swrast: use different temp array in _swrast_get_dest_rgba()Brian Paul2009-12-311-7/+3
| | | | | | | | | | When using multiple color drawbuffers with blending/logicop/masking we were overwriting color values which we still needed.
| * mesa: Silence unused variable warning.Vinson Lee2009-12-311-0/+1
| |
| * st/mesa: add PIPE_FORMAT_Z24S8_UNORM in st_get_format_info()Brian Paul2009-12-291-1/+2
| | | | | | | | | | Fixes progs/demos/fbotexture on Nouveau. Patch submitted by Luca Barbieri <[email protected]>.
| * tdfx: Silence uninitialized variable warning.Vinson Lee2009-12-291-1/+1
| |
| * mesa: Initialize variable in get_tex_color_index.Vinson Lee2009-12-291-1/+1
| |
| * glsl: added uniform initializer checkBrian Paul2009-12-293-0/+12
| | | | | | | | | | | | | | | | | | GLSL 1.10 disallows initializers for uniforms but GLSL 1.20 and later allows them. This patch uses the #version directive to allow/disallow uniform initializers. This addresses bug 25807, but piglit also needs to be fixed to specify the GLSL version in the shader.
| * ARB prog parser: use _mesa_add_unnamed_constant() to use fewer constant slotsBrian Paul2009-12-294-295/+377
| | | | | | | | | | | | | | | | | | This function will search the constant parameters in an effort to re-use constant slots. For example, {1,2,3,4} and {4,1,1,2} can be stored in one constant slot and accessed with different swizzles. The swizzle info must be propogated though the parsing code in a few places. Fixes Piglit "vpfp-generic tests/shaders/generic/big-param.vpfp" failure.
| * intel: Silence compiler warnings.Vinson Lee2009-12-289-14/+16
| |
| * Merge branch 'mesa_7_6_branch' into mesa_7_7_branchBrian Paul2009-12-276-3/+6
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/gallium/auxiliary/util/u_network.c src/gallium/auxiliary/util/u_network.h src/gallium/drivers/i915/i915_state.c src/gallium/drivers/trace/tr_rbug.c src/gallium/state_trackers/vega/bezier.c src/gallium/state_trackers/vega/vg_context.c src/gallium/state_trackers/xorg/xorg_crtc.c src/gallium/state_trackers/xorg/xorg_driver.c src/gallium/winsys/xlib/xlib_brw_context.c src/mesa/main/mtypes.h
| | * mesa: Remove comma at end of enumerator list.Vinson Lee2009-12-261-1/+1
| | |