summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Push __driDriverExtensions out of dri_util.c and into the driversKristian Høgsberg2010-01-0416-9/+101
| | | | | | | | | 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-04141-639/+634
| | | | | | | | | 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.
* silence compiler warningAlan Hourihane2010-01-041-2/+2
|
* Fix testAlan Hourihane2010-01-041-2/+2
|
* 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.
* Fix glut to work with -fvisibility=hiddenKristian Høgsberg2010-01-0311-2/+20
| | | | | | | The GLUTAPI #define used in the header file to mark the font structs visible wasn't kicking in because of the #define glutBitmap9By15 XXX prior to #include <GL/glut.h>. High quality code... worked around by copying the GLUTAPI specifier to the invidual C files.
* 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.
* scons: Build glew on all platforms.José Fonseca2010-01-021-3/+0
| | | | It is required for progs.
* scons: Put glut and glew shared libraries into build/xxx/bin or lib.José Fonseca2010-01-021-0/+2
| | | | Use bin subdir for windows dlls, lib for unices.
* python: Don't generate a import library for python module either.José Fonseca2010-01-021-0/+2
|
* i965: Add missing include.José Fonseca2010-01-021-0/+2
|
* gdi: Don't generate import libraries for opengl32.dll.José Fonseca2010-01-021-0/+2
| | | | | Both MinGW and MSVC include opengl32 import libraries, and its safer to always use those.
* scons: Fix glew build on MSVC.José Fonseca2010-01-021-14/+19
| | | | | | | | The environment for building the DLL needs to be quite different from the environment for building the programs, in order to get the dllexport/dllimport attribute done currectly. I don't know how MinGW managed to build the programs, but MS linker refuses to link symbols with mismatching attributes.
* util: Silent potential loss of precision warnings.José Fonseca2010-01-021-3/+2
| | | | Also ensure multiplication doesn't happen for negative numbers.
* tgsi: Add missing semantic name in text parser.Igor Oliveira2010-01-011-0/+1
|
* r300: Fix scons build.José Fonseca2010-01-012-4/+10
|
* llvmpipe: Add missing include path.José Fonseca2010-01-011-0/+2
| | | | The abscense was being masked previously.
* gallium: Generate a single library for auxiliaries with Make too.José Fonseca2010-01-0116-338/+180
|
* scons: Aggregate all tiny libraries in a single library.José Fonseca2010-01-0123-290/+196
| | | | | Makes integration of gallium into out of tree components much easier. No pratical change for components in this tree,
* gallium: Remove the sct module.José Fonseca2010-01-016-656/+0
| | | | | Not used, and its functionality is now addressed by pipe_context::is_texture/buffer_referenced callbacks.
* scons: Build progs together with everything else.José Fonseca2010-01-012-32/+65
| | | | | | | | This is a substantial reorganization, This particular commit enables: - building the progs for unices platforms - glew is now built as a shared library (it is the default, and it is inconvenient and pointless to shift away from that default) - all progs get built by default
* glsl: Ignore programs.José Fonseca2010-01-011-0/+5
|
* scons: Don't globally define WIN32_LEAN_AND_MEAN.José Fonseca2010-01-011-1/+2
| | | | | | | | Some of the demo progams legitimately need the functionality that's disabled by WIN32_LEAN_AND_MEAN. Instead the solution should be to define WIN32_LEAN_AND_MEAN just before including windows.h on a case by case basis.
* 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.
* nv50: small fix for handling "dangerous" swizzlesChristoph Bumiller2009-12-311-1/+1
|
* Merge branch 'mesa_7_7_branch'Brian Paul2009-12-3174-398/+795
|\ | | | | | | | | | | | | | | 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]>.
| * glu/sgi: Initialize members of struct O_nurbssurface.Vinson Lee2009-12-291-1/+1
| |
| * tdfx: Silence uninitialized variable warning.Vinson Lee2009-12-291-1/+1
| |
| * glu/sgi: Silence warn_unused_result warnings.Vinson Lee2009-12-291-9/+19
| |
| * st/xorg: Use C-style comments.Vinson Lee2009-12-291-16/+16
| |
| * glu/sgi: Initialize member of struct GridVertex.Vinson Lee2009-12-291-1/+1
| |
| * st/xorg: Fix warning and add a TODO commentJakob Bornecrantz2009-12-301-0/+6
| |
| * st/xorg: On close wait on fences and then destroy the screenJakob Bornecrantz2009-12-301-1/+11
| |
| * st/xorg: Be proper with pipe pointers on close in exaJakob Bornecrantz2009-12-301-0/+3
| |
| * st/xorg: Make sure we don't overrun the fence array in block handlerJakob Bornecrantz2009-12-301-1/+1
| |
| * glu/sgi: Initialize member variables in class Varray.Vinson Lee2009-12-291-0/+8
| |
| * glu/sgi: Initialize member of class monoChain.Vinson Lee2009-12-291-0/+1
| |
| * glu/sgi: Initialize members of class sampledLine.Vinson Lee2009-12-291-0/+3
| |
| * glu/sgi: Initialize members of class directedLine.Vinson Lee2009-12-291-0/+2
| |
| * 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.