aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
Commit message (Collapse)AuthorAgeFilesLines
* intel: Remove client-side vblank codeKristian Høgsberg2010-01-048-221/+0
|
* intel: Drop intelWindowMoved()Kristian Høgsberg2010-01-042-81/+0
| | | | | | Everything this functions does under DRI2 is also taken care of by intel_draw_buffer(), which is always called where intelWindowMoved() is called.
* intel: Drop batchbuffer cliprect_mode trackingKristian Høgsberg2010-01-0413-128/+49
|
* intel: Drop DRI1 static regionsKristian Høgsberg2010-01-044-352/+3
|
* intel: Use depth buffer from ctx.DrawBuffer in copypix_src_region()Kristian Høgsberg2010-01-041-7/+12
| | | | | | This function was using intel->depth_region, which is the static region for the DRI1 depth buffer. This code has always been broken with DRI2 but I suspect it doesn't get excersized much.
* intel: Drop LOCK/UNLOCK_HARDWARE()Kristian Høgsberg2010-01-0413-204/+3
|
* intel: Drop DRI1 SwapBuffer implementationKristian Høgsberg2010-01-043-189/+0
|
* intel: Drop DRI1 CopySubBuffer implementationKristian Høgsberg2010-01-042-30/+0
|
* intel: Drop DRI1 supportKristian Høgsberg2010-01-041-133/+0
| | | | | The DDX driver stopped supporting DRI1 so we're dropping support for that from the DRI driver too.
* Push __driDriverExtensions out of dri_util.c and into the driversKristian Høgsberg2010-01-0415-9/+93
| | | | | | | | | This lets the individual drivers select which extensions to advertise. Specifically, most drivers (tdfx, sis, savage etc) don't support DRI2 but the shared extension list in dri_util.c does list the DRI2 extension. Pushing the list into the drivers, lets us avoid listing the DRI2 extension for drivers that don't support it.
* 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.