summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
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.
2010-07-29mesa: Add missing header to fboject.h.Vinson Lee
Add mtypes.h for GLcontext symbol.
2010-07-29mesa: Add missing header to texgetimage.h.Vinson Lee
2010-07-29mesa: Add missing header to texrender.h.Vinson Lee
Add mtypes.h for GLcontext symbol.
2010-07-29mesa: Add missing header and forward declarations to uniforms.h.Vinson Lee
2010-07-29mesa: Add missing headers to viewport.h.Vinson Lee
2010-07-29mesa: Add missing header to depthstencil.h.Vinson Lee
Add mtypes.h for GLcontext symbol.
2010-07-29mesa: Add missing headers to debug.h.Vinson Lee
2010-07-29mesa: Reduce clear.h header file inclusion.Vinson Lee
2010-07-29mesa: Reduce bufferobj.h header file inclusion.Vinson Lee
Directly include mtypes.h instead of including context.h to include mtypes.h.
2010-07-29mesa: Remove unnecessary headers.Vinson Lee
2010-07-28mesa: Reduce arrayobj.h header file inclusion.Vinson Lee
Directly include mtypes.h instead of including context.h to include mtypes.h.
2010-07-28mesa: Remove unnecessary header.Vinson Lee
2010-07-28mesa: Remove unnecessary header.Vinson Lee
2010-07-28intel: Implement EGL_KHR_surfaceless extensionKristian Høgsberg
2010-07-26Merge remote branch 'origin/master' into glsl2Eric Anholt
This pulls in multiple i965 driver fixes which will help ensure better testing coverage during development, and also gets past the conflicts of the src/mesa/shader -> src/mesa/program move. Conflicts: src/mesa/Makefile src/mesa/main/shaderapi.c src/mesa/main/shaderobj.h
2010-07-23mesa: Fix Cygwin build with llvm enabled.Vinson Lee
On Cygwin locale_t in not available but 'llvm-config --cppflags' adds the compiler flag -D_GNU_SOURCE to the build.
2010-07-21linker: Link built-in functions instead of including them in every shaderIan Romanick
This is an invasive set of changes. Each user shader tracks a set of other shaders that contain built-in functions. During compilation, function prototypes are imported from these shaders. During linking, the shaders are linked with these built-in-function shaders just like with any other shader.
2010-07-20mesa: call ctx->Driver.ChooseTextureFormat() only when necessary.Brian Paul
When defining mipmap level 'L' and level L-1 exists and the new level's internalFormat matches level L-1's internalFormat, then use the same hw format. Otherwise, do the regular ctx->Driver.ChooseTextureFormat() call. This avoids a problem where we end up choosing different hw formats for different mipmap levels depending on how the levels are defined (glTexImage vs. glCopyTexImage vs. glGenerateMipmap, etc). The root problem is the ChooseTextureFormat() implementation in some drivers uses the user's glTexImage format/type parameters in the choosing heuristic. Later mipmap levels might be generated with different calls (ex: glCopyTexImage()) so we don't always have format/type info and the driver may choose a different format. For more background info see the July 2010 mesa-dev thread "Bug in _mesa_meta_GenerateMipmap"
2010-07-19linker: Track and validate GLSL versions used in shadersIan Romanick
2010-07-19i915: Ask the compiler to flatten out all the if statements that it can.Eric Anholt
2010-07-16mesa: return retval in _mesa_RenderObjectUnpurgeable()Brian Paul
Found by Vinson with static analysis. NOTE: This is a candidate for the 7.8 branch.
2010-07-15mesa: Add error path in compressed_texture_error_check.Vinson Lee
Add error path for unhandled dimensions in compressed_texture_error_check.
2010-07-14mesa: fix _mesa_Texture/Render/BufferObjectUnpurgeable() return valuesBrian Paul
Fixes piglit object_purgeable-api-pbo, object_purgeable-api-vbo and object_purgeable-api-texture failures with swrast. NOTE: This is a candidate for the 7.8 branch.
2010-07-14mesa: update assertions and fix refcounting in depth/stencil renderbuffer codeBrian Paul
2010-07-14mesa: silence a printf warningBrian Paul
2010-07-13Merge branch 'mesa-2d-registers'Zack Rusin
2010-07-13mesa: s/snprintf/_mesa_snprintf/Vinson Lee
2010-07-10mesa: make uniform work with geometry shadersZack Rusin