summaryrefslogtreecommitdiff
path: root/src/mesa/main
AgeCommit message (Collapse)Author
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-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-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-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
2010-07-10mesa: GL_TRIANGLE_STRIP_ADJACENCY_ARB is the last valid primitiveZack Rusin
2010-07-09mesa: Move [UN]CLAMPED_FLOAT_TO_UBYTE from imports.h to macros.h.Vinson Lee
The other similar integer/float conversion macros are in macros.h.
2010-07-08gs: inject const int gl_VerticesIn at link timeZack Rusin
2010-07-07mesa: initial support for new GL 3.0 texture formatsBrian Paul
2010-07-06mesa: Always initialize transform feedback state.Chia-I Wu
Assert ctx->Driver.NewTransformFeedback if the feature is enabled; Use the default callbacks otherwise. The rest of core mesa expects the state to be initialized.
2010-07-05mesa: initial support for unnormalized integer texture formatsBrian Paul
As defined by GL_EXT_texture_integer.
2010-07-03mesa: Fix OpenGL ES-only builds.Chia-I Wu
Check FEATURE_GL in _mesa_init_shader_dispatch and _mesa_init_shader_uniform_dispatch. OpenGL ES can not and does not use _mesa_init_<...>_dispatch. This is supposed to be temporary. Ideally, a more flexible way for initializing dispatch tables should be developed.
2010-07-02mesa: add geometry shader fields to gl_shader_programBrian Paul
These 3 fields are per shader-program. Copy them into the geometry program at link time for convenient access later. Also, add some missing glGetProgramiv() queries.
2010-07-02mesa: fix texenv generation when num color bufs == 0Brian Paul
Before, if there were no color buffers enabled (with glDrawBuffers(GL_NONE)) when the texenv program was generated, we'd emit writes to OUTPUT[1] but the OutputsWritten mask was 0. This inconsistency caused an assertion to fail later in the Mesa->TGSI translation. Fixes fd.o bug 28169 NOTE: this is a candidate for the 7.8 branch (and depends on commit b6b9b17d27c570cc99ae339e595cf2f63ca5e8d7).