summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
2010-08-24mesa: Remove extraneous semicolon.Chia-I Wu
2010-08-24mesa: Add core.h.Chia-I Wu
core.h is the public header of core mesa. GLX, WGL, and GLSL are supposed to include this header file. It should be noted that headers included by core.h must not perform feature tests (#if FEATURE_xxx). Otherwise, we cannot, for example, mix a FEATURE_ES2 libmesagallium.a with a FEATURE_GL libglsl.a.
2010-08-23glsl2: Include imports.h to get snprintf wrapper for MSVCIan Romanick
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-08-23mesa: Fix msvc build of glsl.Aras Pranckevicius
Signed-off-by: José Fonseca <jfonseca@vmware.com>
2010-08-23mesa: Don't add 1 to GL_ACTIVE_UNIFORM_MAX_LENGTH.Eric Anholt
Fixes: glsl-getactiveuniform-length.
2010-08-23mesa: Assorted fixes for es_generator.py on win32.Chia-I Wu
Fix mixed use of GL_APIENTRY and GLAPIENTRY. Parameter list of a function prototype should never be empty.
2010-08-22mesa: use driver hook for creating new renderbuffersBrian Paul
2010-08-20mesa: Fix GetUniformLocation while compiling display lists.Nick Bowler
This function was apparently missing from the display list dispatch table, causing the generic no-op function to be called instead. To make matters worse, the no-op function is indistinguishable from a successful call to GetUniformLocation. GL specifies that GetUniformLocation is executed immediately when compiling display lists. Fixes fdo bug 29622. Signed-off-by: Nick Bowler <nbowler@draconx.ca>
2010-08-20mesa: Decorate functions with GL_APIENTRY in es_generator.py.Chia-I Wu
Note that GLES headers use GL_APIENTRY, not GLAPIENTRY.
2010-08-20mesa: Include compiler.h for ASSERT.Chia-I Wu
mfeatures.h defines ASSERT_NO_FEATURE to ASSERT, which is defined in compiler.h. Header files using the macro should include compiler.h.
2010-08-19mesa: Silence uninitialized variable warnings in dummy_enum_func.Vinson Lee
2010-08-18mesa: Remove unnecessary heaaders from shaderapi.c.Vinson Lee
2010-08-18mesa: fpclassify is available on OpenSolaris.Vinson Lee
There is no explicit predefined macro to distinguish between OpenSolaris and Solaris. This patch assumes that the difference is in the compilers. OpenSolaris uses GCC and not the Sun Studio compiler. Assume that the availability of fpclassify is due to GCC. This patch was not tested on Solaris. It would break the build on Solaris with GCC if GCC on Solaris does not have fpclassify.
2010-08-18mesa: Free linked shaders when deleting the shader program.Eric Anholt
2010-08-16Merge branch 'glsl2'Ian Romanick
Conflicts: src/mesa/program/prog_optimize.c
2010-08-15mesa: Check that _XOPEN_SOURCE is defined before using it.Vinson Lee
2010-08-14mesa: Recent versions of MSVC define the single precision functions already.José Fonseca
2010-08-14mesa: atan2f and powf need two args.José Fonseca
2010-08-13Merge branch 'master' into glsl2Ian Romanick
2010-08-13mesa: Work-arounds for platforms that lack C99 math functionsIan Romanick
2010-08-13glsl2: Move ir_to_mesa handling to driver CompileShader and LinkShader hooks.Eric Anholt
This lets drivers override ir_to_mesa with their own codegen, or at least have a native alternative.
2010-08-12mesa: fpclassify is available with MinGW.Vinson Lee
This patch fixes the MinGW build.
2010-08-12mesa: Fix FreeBSD build with llvm enabled.Vinson Lee
On FreeBSD LC_CTYPE_MASK is not available but 'llvm-config --cppflags' adds the compiler flag -D_GNU_SOURCE to the build.
2010-08-11glsl2: remove stray semicolonBrian Paul
2010-08-10mesa: use switch stmt in init_program_limits()Brian Paul
2010-08-10mesa: remove obsolete commentsBrian Paul
2010-08-10mesa: fix comment typoBrian Paul
2010-08-03mesa: Reduce header file inclusion in texgen.h.Vinson Lee
texgen.h doesn't use any symbols additionally added by mtypes.h.
2010-08-03mesa: Reduce header file inclusion in texcompress_fxt1.h.Vinson Lee
texcompress_fxt1.h doesn't use any additional symbols added by mtypes.h.
2010-08-02mesa: Reduce header file inclusion in syncobj.h.Vinson Lee
syncobj.h doesn't use any additional symbols that is added by context.h.
2010-07-31mesa: Remove inclusion of compiler.h from mtypes.h.Vinson Lee
mtypes.h does not use any symbols from compiler.h. Also add the required headers for files that depended on symbols from compiler.h but were indirectly including compiler.h through mtypes.h.
2010-07-31mesa: Remove unnecessary header from mm.h.Vinson Lee
2010-07-31mesa: Add headers containing sybmols used by mm.c.Vinson Lee
2010-07-31mesa: Reduce header file inclusion in get.h.Vinson Lee
get.h only needs the GL headers.
2010-07-31mesa: Include missing headers in vtxfmt.h.Vinson Lee
Include compiler.h for INLINE symbol. Include mtypes.h for GLcontext symbol.
2010-07-31mesa: Include missing header in shared.h.Vinson Lee
Include mtypes.h for GLcontext symbol.
2010-07-31mesa: Include missing header in restart.h.Vinson Lee
2010-07-31mesa: Include missing headers in renderbuffer.h.Vinson Lee
2010-07-31mesa: Include missing header in remap.h.Vinson Lee
Include compiler.h for INLINE symbol.
2010-07-31mesa: Remove unnecessary headers.Vinson Lee
2010-07-30mesa: Include missing header in pixelstore.h.Vinson Lee
Include mtypes.h for GLcontext symbol.
2010-07-30mesa: Include missing headers in nvprogram.h.Vinson Lee
2010-07-30mesa: added gl_program::IndirectRegisterFiles fieldBrian Paul
Now drivers, etc. can know which register files are accessed with indirect addressing. Before we just checked gl_program::NumAddressRegs but didn't know if that was the constant buffer, temp regs, or what. The only user of this new field so far will be the gallium state tracker.
2010-07-30mesa: Add missing header to multisample.h.Vinson Lee
Include mtypes.h for GLcontext symbol.
2010-07-30mesa: Remove unnecessary header from colormac.h.Vinson Lee
2010-07-30mesa: Remove unnecessary headers.Vinson Lee
2010-07-30mesa: Include macros.h in files that use symbols from macros.h.Vinson Lee
Don't rely on inclusion of other files that already include macros.h.
2010-07-30mesa: Include macros.h in attrib.c for COPY_4FV symbol.Vinson Lee
2010-07-30mesa: Reduce clip.h header file inclusion.Vinson Lee
2010-07-29mesa: Add missing header to framebuffer.h.Vinson Lee
Include mtypes.h for GLvisual and GLcontext symbols.