summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* st/mesa: Use API-aware context constructorKristian Høgsberg2010-04-221-1/+10
| | | | | | 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.
* mesa: Track the OpenGL API we're implementing in the contextKristian Høgsberg2010-04-223-11/+65
| | | | | | | | | | | | | | | | 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.
* gallivm: Remove unused variable.Vinson Lee2010-04-221-3/+0
|
* r300g: fix vertex unit setupAlex Deucher2010-04-221-3/+7
| | | | | | RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden.
* gallium/util: Fix deviation calculation in u_cache.Vinson Lee2010-04-211-1/+1
| | | | | The approximate deviation calculation was using the entire cache's total instead of each cache entry's total.
* gallium/tests: Add test case for u_cache.Vinson Lee2010-04-213-2/+126
|
* gallivm: added some assertions in loop-gen codeBrian Paul2010-04-211-1/+6
| | | | We're hitting these assertions with nested loops...
* gallivm: fix copy&paste error: s/cont_stack_size/break_stack_size/Brian Paul2010-04-211-1/+1
|
* gallivm: emit_instruction() is booleanBrian Paul2010-04-211-39/+44
|
* progs/glsl: better commentsBrian Paul2010-04-211-2/+2
|
* llvmpipe: add missing dependency in MakefileBrian Paul2010-04-211-1/+1
|
* gallivm: implement TGSI KILPBrian Paul2010-04-211-2/+33
| | | | | | 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.
* draw: Make LLVM integration work without llvmpipe too (e.g. sofptipe).José Fonseca2010-04-211-0/+1
| | | | Prevents the assertion failure.
* radeon: fix warningMarek Olšák2010-04-211-1/+1
|
* r300g: raise the max index for generic varyings to 32Marek Olšák2010-04-211-1/+1
| | | | | This should fix an assertion failure in the game Heroes of Newearth. Yes, the game seems to generate semantic indices greater than 15.
* softpipe: call draw_wide_point_sprites()Brian Paul2010-04-211-0/+2
|
* gallium/draw: fix point sprite handlingBrian Paul2010-04-216-4/+25
| | | | | | | | 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.
* gallium/draw: use local var to simplify codeBrian Paul2010-04-211-17/+18
|
* llvmpipe: consolidate texture memory allocation codeBrian Paul2010-04-211-11/+48
| | | | | And fix incorrect allocation of linear memory for display targets. This fixes fd.o bugs 27761 and 27762.
* st/glx: variable 'i' is an enumBrian Paul2010-04-211-1/+1
| | | | Now we can get see 'i' as an enum name instead of a plain integer in gdb.
* targets: Don't check if we should use traceJakob Bornecrantz2010-04-211-3/+2
| | | | | Trace does its own checking, and it used the GALLIUM_TRACE variable as well, but expected a file and not a bool argument.
* mesa/st: Translate a few more mesa/gallium formats.José Fonseca2010-04-212-5/+17
| | | | These endup used by Xvnc.
* llvmpipe: Remove unused variable.Vinson Lee2010-04-201-3/+1
|
* mesa: do version checking for GL 3.x queriesBrian Paul2010-04-202-8/+74
|
* mesa: API and state for GL 3.1 primitive restartBrian Paul2010-04-206-0/+76
|
* mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK queryBrian Paul2010-04-204-5/+27
|
* mesa: remove some commentsBrian Paul2010-04-201-12/+10
|
* intel: Add Sandybridge mobile chipset idZhenyu Wang2010-04-211-1/+3
| | | | Signed-off-by: Zhenyu Wang <[email protected]>
* intel: Clean up chipset name and gen num for IronlakeZhenyu Wang2010-04-2124-148/+146
| | | | | | | | | 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 <[email protected]> Signed-off-by: Zhenyu Wang <[email protected]>
* gallivm: Remove unnecessary headers.Vinson Lee2010-04-202-3/+0
|
* i965g: s/inttypes.h/stdint.h/Vinson Lee2010-04-201-1/+1
| | | | MSVC doesn't have either but Mesa has stdint.h at include/c99.
* i965g: Remove unnecessary header.Vinson Lee2010-04-201-1/+0
|
* llvmpipe: Change return type of declaration to match code.Vinson Lee2010-04-201-1/+1
| | | | | | | | Commit 2142108e0e1cf1ed8d0142e9c41fe1947abe0907 changed the return type of llvmpipe_get_texture_image_address function but didn't change the declaration. Fixes build.
* llvmpipe: code consolidationBrian Paul2010-04-201-55/+18
|
* llvmpipe: remove debug code and simplifyBrian Paul2010-04-201-14/+4
|
* llvmpipe: fix cube face addressing bugBrian Paul2010-04-201-20/+60
| | | | Fixes fd.o bug 27760 (pigit fbo-cubemap).
* llvmpipe: whitespace fixBrian Paul2010-04-201-1/+1
|
* gallium: Fix copy typoJakob Bornecrantz2010-04-205-5/+5
|
* svga: Minor clean up of winsysJakob Bornecrantz2010-04-201-0/+1
|
* radeong: Minor clean up of winsysJakob Bornecrantz2010-04-201-12/+3
| | | | Also try to wrap trace around driver on non-debug builds, its free.
* nouveau: Minor clean up of winsysJakob Bornecrantz2010-04-201-2/+3
|
* i965g: Minor clean up of winsysJakob Bornecrantz2010-04-201-10/+2
|
* i915g: Minor clean up of winsysJakob Bornecrantz2010-04-201-9/+3
|
* st/egl: No need to use drm_api argument structJakob Bornecrantz2010-04-202-8/+2
|
* st/egl: Use correct driver_name field to get kernel driver nameJakob Bornecrantz2010-04-201-1/+1
|
* st/egl: Check for null destroy callback on api structJakob Bornecrantz2010-04-201-1/+1
|
* mesa: better, smaller error handling code for glGet*()Brian Paul2010-04-202-623/+645
| | | | get.o is about 17% smaller.
* mesa: better, smaller error handling code for glEnable/Disable/IsEnabled()Brian Paul2010-04-201-24/+29
| | | | | Use a goto instead of replicating the _mesa_error() call many times. enable.o is about 15% smaller.
* mesa: raise GL_INVALID_OPERATION for glReadPixels(GL_COLOR_INDEX)Brian Paul2010-04-201-0/+6
| | | | We no longer support CI-mode color buffers so this is always an error.
* targets: Use a valid winsys include path in Makefile.driJakob Bornecrantz2010-04-201-1/+1
|