Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | main: Report GL_SHADING_LANGUAGE_VERSION according to API | Kristian Høgsberg | 2010-04-22 | 2 | -12/+27 |
| | |||||
* | mesa: Compute GL version according to API | Kristian Høgsberg | 2010-04-22 | 3 | -80/+107 |
| | |||||
* | mesa: Move API specific context intialization into context.c | Kristian Høgsberg | 2010-04-22 | 4 | -37/+25 |
| | |||||
* | st/mesa: Use API-aware context constructor | Kristian Høgsberg | 2010-04-22 | 1 | -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 context | Kristian Høgsberg | 2010-04-22 | 3 | -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 Lee | 2010-04-22 | 1 | -3/+0 |
| | |||||
* | r300g: fix vertex unit setup | Alex Deucher | 2010-04-22 | 1 | -3/+7 |
| | | | | | | RV3xx is 2, RV560,RV570 is 8 Noticed by Tormod Volden. | ||||
* | gallium/util: Fix deviation calculation in u_cache. | Vinson Lee | 2010-04-21 | 1 | -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 Lee | 2010-04-21 | 3 | -2/+126 |
| | |||||
* | gallivm: added some assertions in loop-gen code | Brian Paul | 2010-04-21 | 1 | -1/+6 |
| | | | | We're hitting these assertions with nested loops... | ||||
* | gallivm: fix copy&paste error: s/cont_stack_size/break_stack_size/ | Brian Paul | 2010-04-21 | 1 | -1/+1 |
| | |||||
* | gallivm: emit_instruction() is boolean | Brian Paul | 2010-04-21 | 1 | -39/+44 |
| | |||||
* | progs/glsl: better comments | Brian Paul | 2010-04-21 | 1 | -2/+2 |
| | |||||
* | llvmpipe: add missing dependency in Makefile | Brian Paul | 2010-04-21 | 1 | -1/+1 |
| | |||||
* | gallivm: implement TGSI KILP | Brian Paul | 2010-04-21 | 1 | -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é Fonseca | 2010-04-21 | 1 | -0/+1 |
| | | | | Prevents the assertion failure. | ||||
* | radeon: fix warning | Marek Olšák | 2010-04-21 | 1 | -1/+1 |
| | |||||
* | r300g: raise the max index for generic varyings to 32 | Marek Olšák | 2010-04-21 | 1 | -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 Paul | 2010-04-21 | 1 | -0/+2 |
| | |||||
* | gallium/draw: fix point sprite handling | Brian Paul | 2010-04-21 | 6 | -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 code | Brian Paul | 2010-04-21 | 1 | -17/+18 |
| | |||||
* | llvmpipe: consolidate texture memory allocation code | Brian Paul | 2010-04-21 | 1 | -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 enum | Brian Paul | 2010-04-21 | 1 | -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 trace | Jakob Bornecrantz | 2010-04-21 | 1 | -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é Fonseca | 2010-04-21 | 2 | -5/+17 |
| | | | | These endup used by Xvnc. | ||||
* | llvmpipe: Remove unused variable. | Vinson Lee | 2010-04-20 | 1 | -3/+1 |
| | |||||
* | mesa: do version checking for GL 3.x queries | Brian Paul | 2010-04-20 | 2 | -8/+74 |
| | |||||
* | mesa: API and state for GL 3.1 primitive restart | Brian Paul | 2010-04-20 | 6 | -0/+76 |
| | |||||
* | mesa: add GL 3.2 GL_CONTEXT_PROFILE_MASK query | Brian Paul | 2010-04-20 | 4 | -5/+27 |
| | |||||
* | mesa: remove some comments | Brian Paul | 2010-04-20 | 1 | -12/+10 |
| | |||||
* | intel: Add Sandybridge mobile chipset id | Zhenyu Wang | 2010-04-21 | 1 | -1/+3 |
| | | | | Signed-off-by: Zhenyu Wang <[email protected]> | ||||
* | intel: Clean up chipset name and gen num for Ironlake | Zhenyu Wang | 2010-04-21 | 24 | -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 Lee | 2010-04-20 | 2 | -3/+0 |
| | |||||
* | i965g: s/inttypes.h/stdint.h/ | Vinson Lee | 2010-04-20 | 1 | -1/+1 |
| | | | | MSVC doesn't have either but Mesa has stdint.h at include/c99. | ||||
* | i965g: Remove unnecessary header. | Vinson Lee | 2010-04-20 | 1 | -1/+0 |
| | |||||
* | llvmpipe: Change return type of declaration to match code. | Vinson Lee | 2010-04-20 | 1 | -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 consolidation | Brian Paul | 2010-04-20 | 1 | -55/+18 |
| | |||||
* | llvmpipe: remove debug code and simplify | Brian Paul | 2010-04-20 | 1 | -14/+4 |
| | |||||
* | llvmpipe: fix cube face addressing bug | Brian Paul | 2010-04-20 | 1 | -20/+60 |
| | | | | Fixes fd.o bug 27760 (pigit fbo-cubemap). | ||||
* | llvmpipe: whitespace fix | Brian Paul | 2010-04-20 | 1 | -1/+1 |
| | |||||
* | gallium: Fix copy typo | Jakob Bornecrantz | 2010-04-20 | 5 | -5/+5 |
| | |||||
* | svga: Minor clean up of winsys | Jakob Bornecrantz | 2010-04-20 | 1 | -0/+1 |
| | |||||
* | radeong: Minor clean up of winsys | Jakob Bornecrantz | 2010-04-20 | 1 | -12/+3 |
| | | | | Also try to wrap trace around driver on non-debug builds, its free. | ||||
* | nouveau: Minor clean up of winsys | Jakob Bornecrantz | 2010-04-20 | 1 | -2/+3 |
| | |||||
* | i965g: Minor clean up of winsys | Jakob Bornecrantz | 2010-04-20 | 1 | -10/+2 |
| | |||||
* | i915g: Minor clean up of winsys | Jakob Bornecrantz | 2010-04-20 | 1 | -9/+3 |
| | |||||
* | st/egl: No need to use drm_api argument struct | Jakob Bornecrantz | 2010-04-20 | 2 | -8/+2 |
| | |||||
* | st/egl: Use correct driver_name field to get kernel driver name | Jakob Bornecrantz | 2010-04-20 | 1 | -1/+1 |
| | |||||
* | st/egl: Check for null destroy callback on api struct | Jakob Bornecrantz | 2010-04-20 | 1 | -1/+1 |
| | |||||
* | mesa: better, smaller error handling code for glGet*() | Brian Paul | 2010-04-20 | 2 | -623/+645 |
| | | | | get.o is about 17% smaller. |