summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-22main: Report GL_SHADING_LANGUAGE_VERSION according to APIKristian Høgsberg
2010-04-22mesa: Compute GL version according to APIKristian Høgsberg
2010-04-22mesa: Move API specific context intialization into context.cKristian Høgsberg
2010-04-22st/mesa: Use API-aware context constructorKristian Høgsberg
The mesa state tracker is currently the only place where we create a context and expect it to implement GLES1/2. Use the API-aware constructor to communicate this to core mesa.
2010-04-22mesa: Track the OpenGL API we're implementing in the contextKristian Høgsberg
This introduces a new way to create or initialize a context: _mesa_create_context_for_api and _mesa_initialize_context_for_api which in addition to the current arguments take an api enum to indicate which OpenGL API the context should implement. At this point the API field in GLcontext isn't used anywhere, but later commits will key certain functionality off of it. The _mesa_create_context and _mesa_initialize_context functions are kept in place as wrappers around the *_for_api versions, passing in API_OPENGL to get the same behavior as before.
2010-04-22gallivm: Remove unused variable.Vinson Lee
2010-04-22r300g: fix vertex unit setupAlex Deucher
RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
2010-04-21gallium/util: Fix deviation calculation in u_cache.Vinson Lee
The approximate deviation calculation was using the entire cache's total instead of each cache entry's total.
2010-04-21gallium/tests: Add test case for u_cache.Vinson Lee
2010-04-21gallivm: added some assertions in loop-gen codeBrian Paul
We're hitting these assertions with nested loops...
2010-04-21gallivm: fix copy&paste error: s/cont_stack_size/break_stack_size/Brian Paul
2010-04-21gallivm: emit_instruction() is booleanBrian Paul
2010-04-21progs/glsl: better commentsBrian Paul
2010-04-21llvmpipe: add missing dependency in MakefileBrian Paul
2010-04-21gallivm: implement TGSI KILPBrian Paul
As in tgsi_exec.c we don't actually rely on condition codes; we do an unconditional kill. The only predication comes from the execution mask which applies inside loops/conditionals.
2010-04-21draw: Make LLVM integration work without llvmpipe too (e.g. sofptipe).José Fonseca
Prevents the assertion failure.
2010-04-21radeon: fix warningMarek Olšák
2010-04-21r300g: raise the max index for generic varyings to 32Marek Olšák
This should fix an assertion failure in the game Heroes of Newearth. Yes, the game seems to generate semantic indices greater than 15.
2010-04-21softpipe: call draw_wide_point_sprites()Brian Paul
2010-04-21gallium/draw: fix point sprite handlingBrian Paul
New draw API function to indicate whether or not to convert points to quads for sprite rasterization. Fix point-to-quad conversion regression in the wide-point stage. We need to check the pipe_rasterizer_state::point_quad_rasterization flag.
2010-04-21gallium/draw: use local var to simplify codeBrian Paul
2010-04-21llvmpipe: consolidate texture memory allocation codeBrian Paul
And fix incorrect allocation of linear memory for display targets. This fixes fd.o bugs 27761 and 27762.
2010-04-21st/glx: variable 'i' is an enumBrian Paul
Now we can get see 'i' as an enum name instead of a plain integer in gdb.
2010-04-21targets: Don't check if we should use traceJakob Bornecrantz
Trace does its own checking, and it used the GALLIUM_TRACE variable as well, but expected a file and not a bool argument.
2010-04-21mesa/st: Translate a few more mesa/gallium formats.José Fonseca
These endup used by Xvnc.
2010-04-20llvmpipe: Remove unused variable.Vinson Lee
2010-04-20mesa: do version checking for GL 3.x queriesBrian Paul
2010-04-20mesa: API and state for GL 3.1 primitive restartBrian Paul
2010-04-20mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK queryBrian Paul
2010-04-20mesa: remove some commentsBrian Paul
2010-04-21intel: Add Sandybridge mobile chipset idZhenyu Wang
Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-21intel: Clean up chipset name and gen num for IronlakeZhenyu Wang
Rename old IGDNG to Ironlake, and set 'gen' number for Ironlake as 5, so tracking the features with generation num instead of special is_ironlake flag. Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
2010-04-20gallivm: Remove unnecessary headers.Vinson Lee
2010-04-20i965g: s/inttypes.h/stdint.h/Vinson Lee
MSVC doesn't have either but Mesa has stdint.h at include/c99.
2010-04-21svga: Fix index offsetJakob Bornecrantz
2010-04-30st/mesa: ignore gl_texture_object::BaseLevel when allocating gallium texturesBrian Paul
Previously, when we created a gallium texture for a corresponding Mesa texture we'd only allocate space for mipmap levels >= BaseLevel. This patch undoes that mechanism. This fixes a render-to-texture bug when rendering to level 0 when BaseLevel=1. Also, it makes sense to allocate the whole texture object memory when BaseLevel > 0 since a common use of GL_TEXTURE_BASE_LEVEL is to progressively load/render mipmaps. Eventually, the app almost always fills in the level=0 mipmap image. Finally, the texture image code is bit easier to understand now.
2010-04-30draw: Fix memory leaks in llvm code.José Fonseca
2010-04-30x86-64: Make assembly routines .hidden like on x86Adam Jackson
2010-04-20i965g: Remove unnecessary header.Vinson Lee
2010-04-20llvmpipe: Change return type of declaration to match code.Vinson Lee
Commit 2142108e0e1cf1ed8d0142e9c41fe1947abe0907 changed the return type of llvmpipe_get_texture_image_address function but didn't change the declaration. Fixes build.
2010-04-20llvmpipe: code consolidationBrian Paul
2010-04-20llvmpipe: remove debug code and simplifyBrian Paul
2010-04-20llvmpipe: fix cube face addressing bugBrian Paul
Fixes fd.o bug 27760 (pigit fbo-cubemap).
2010-04-20llvmpipe: whitespace fixBrian Paul
2010-04-20gallium: Fix copy typoJakob Bornecrantz
2010-04-20svga: Minor clean up of winsysJakob Bornecrantz
2010-04-20radeong: Minor clean up of winsysJakob Bornecrantz
Also try to wrap trace around driver on non-debug builds, its free.
2010-04-20nouveau: Minor clean up of winsysJakob Bornecrantz
2010-04-20i965g: Minor clean up of winsysJakob Bornecrantz
2010-04-20i915g: Minor clean up of winsysJakob Bornecrantz