aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* Remove leftover __DRI{screen,drawable,context}Private referencesKristian Høgsberg2010-01-04132-574/+569
| | | | | | | | | As part of the DRI driver interface rewrite I merged __DRIscreenPrivate and __DRIscreen, and likewise for __DRIdrawablePrivate and __DRIcontextPrivate. I left typedefs in place though, to avoid renaming all the *Private use internal to the driver. That was probably a mistake, and it turns out a one-line find+sed combo can do the mass rename. Better late than never.
* Check for libdrm_$chipset.pc when neededKristian Høgsberg2010-01-042-2/+4
| | | | | | This adds missing pkg-config lookup for intel and moves the radeon lookup into a case...esac so it's only looked up when one or more of the radeon drivers are enabled.
* 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
| | |
| | * i915: Fix assert.Vinson Lee2009-12-261-1/+1
| | |
| | * intel: Silence implicit function declaration warning.Vinson Lee2009-12-251-0/+1
| | |
| | * i965: Fix assert.Vinson Lee2009-12-241-1/+1
| | |
| | * i965: Add missing va_end.Vinson Lee2009-12-241-0/+1
| | |
| | * glsl: Initialize member a_obj of struct slang_operation.Vinson Lee2009-12-231-0/+1
| | |
| | * ffb: Silence compiler warnings.Vinson Lee2009-12-221-1/+1
| | |
| | * mesa: set version string to 7.6.1mesa_7_6Ian Romanick2009-12-211-1/+1
| | |
| | * mesa: Fix missing finite symbol error on Windows.José Fonseca2009-12-211-2/+1
| | | | | | | | | | | | | | | | | | Caused by some weird logic regarding the __WIN32__ define which made the finite definition dependent on the header include order. (cherry picked from commit 622bdecabd73167d2f2f3aff0e223a8c64433f99)
| | * mesa: Include <unistd.h> only when one is available.Michal Krol2009-12-212-0/+8
| | | | | | | | | | | | (cherry picked from commit 970823978c2f7d2cf0757aa6ddbd6289b34c476f)
* | | mesa: remove a line of dead codeBrian Paul2009-12-311-1/+0
| | |
* | | mesa: enable ColorMaskIndexed in display listsBrian Paul2009-12-311-3/+1
| | |
* | | mesa: enable GL_EXT_draw_buffers2 for sw driversBrian Paul2009-12-311-0/+1
| | |
* | | mesa: turn on NV_conditional_render for software driversBrian Paul2009-12-311-0/+1
| | |
* | | swrast: add check for conditional renderingBrian Paul2009-12-315-0/+20
| | |
* | | tnl: add check for conditional renderingBrian Paul2009-12-311-0/+4
| | |
* | | mesa: plug in API functions for conditional renderingBrian Paul2009-12-311-0/+5
| | |
* | | mesa: added dispatch for GL_NV_conditional_render extensionBrian Paul2009-12-3113-2994/+3158
| | |
* | | mesa: added FLUSH_VERTICES(), more commentsBrian Paul2009-12-311-6/+10
| | |
* | | mesa: add flag for GL_NV_conditional_render extensionBrian Paul2009-12-313-2/+4
| | |
* | | mesa: _mesa_Begin/EndConditionalRender() functionsBrian Paul2009-12-316-0/+199
| | | | | | | | | | | | | | | | | | | | | For GL_NV_conditional_render and GL3. The drawing functions don't check the query object yet. No API dispatch yet.
* | | mesa: make _mesa_lookup_query_object() an non-private inline functionBrian Paul2009-12-312-16/+17
| | |
* | | mesa: implement _mesa_GetStringi() for GL3Brian Paul2009-12-302-0/+31
| | | | | | | | | | | | Note: not plugged into the dispatch table yet.
* | | mesa: _mesa_get_enabled_extension() functionBrian Paul2009-12-302-0/+23
| | |
* | | mesa: implement GL3 GL_NUM_EXTENSIONS queryBrian Paul2009-12-305-0/+46
| | |
* | | mesa: simplify some extension testing codeBrian Paul2009-12-301-9/+20
| | |
* | | mesa: display list support for glClearBuffer functionsBrian Paul2009-12-301-0/+154
| | | | | | | | | | | | Note: some code disabled until dispatch table supports GL3 entrypoints.
* | | mesa: implement GL3 glClearBuffer() functionsBrian Paul2009-12-302-0/+357
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These functions clear color/depth/stencil buffers with a value that's passed to the function, rather than the context clear values. For now these functions are implemented in terms of the existing ctx->Driver.Clear() hook. In the future when we have non-normalized integer and unsigned integer color buffer formats we'll need new driver hook(s) to pass int and uint clear values to the driver. Note: these functions are not hooked into the dispatch table at this time.
* | | mesa: fix-up blend enable/disable code in _mesa_PopAttrib()Brian Paul2009-12-291-7/+17
| | |
* | | mesa: finish-up indexed color mask code in _mesa_PopAttrib()Brian Paul2009-12-291-1/+1
| | |
* | | mesa: plug in GL_EXT_draw_buffers2 functionsBrian Paul2009-12-292-8/+14
| | |