Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: Remove support for NV_vertex_program's tracked matrices. | Eric Anholt | 2012-10-15 | 1 | -16/+0 |
| | | | | Reviewed-by: Brian Paul <[email protected]> | ||||
* | mesa: remove FEATURE_userclip define. | Oliver McFadden | 2012-09-15 | 1 | -2/+0 |
| | | | | | Signed-off-by: Oliver McFadden <[email protected]> Reviewed-by: Brian Paul <[email protected]> | ||||
* | Don't cast the return value of malloc/realloc | Matt Turner | 2012-09-05 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch has been generated by the following Coccinelle semantic patch: // Don't cast the return value of malloc/realloc. // // Casting the return value of malloc/realloc only stands to hide // errors. @@ type T; expression E1, E2; @@ - (T) ( _mesa_align_calloc(E1, E2) | _mesa_align_malloc(E1, E2) | calloc(E1, E2) | malloc(E1) | realloc(E1, E2) ) | ||||
* | mesa: s/FREE/free/ | Brian Paul | 2012-09-01 | 1 | -1/+1 |
| | | | | | | | v2: replace instances in dri/common/ dirs Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | mesa: s/CALLOC/calloc/ | Brian Paul | 2012-09-01 | 1 | -1/+1 |
| | | | | | | | v2: replace instances in dri/common/ dirs Reviewed-by: Matt Turner <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | mesa/es: Validate glMatrixMode mode in Mesa code rather than the ES wrapper | Ian Romanick | 2012-08-29 | 1 | -3/+4 |
| | | | | Signed-off-by: Ian Romanick <[email protected]> | ||||
* | mesa: remove _math_matrix_alloc_inv() | Brian Paul | 2012-07-26 | 1 | -3/+1 |
| | | | | | | | Always allocate space for the inverse matrix in _math_matrix_ctr() since we were always calling _math_matrix_alloc_inv() anyway. Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | mesa: Update clipping code to use ctx->Const.MaxClipPlanes. | Paul Berry | 2011-09-20 | 1 | -1/+1 |
| | | | | | | | | | | | | | To support GLSL 1.30, we will need to increase MAX_CLIP_PLANES to 8. To avoid breaking drivers that do not yet support 8 clip planes, this patch modifies the Mesa core code that pertains to clipping to use ctx->Const.MaxClipPlanes rather than MAX_CLIP_PLANES, since ctx->Const.MaxClipPlanes will remain 6 for drivers that only support 6 clip planes. Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]> | ||||
* | mesa: 80-column wrapping and comment updates | Brian Paul | 2011-03-19 | 1 | -19/+20 |
| | |||||
* | mesa: Directly include mfeatures.h in files that perform feature tests. | Vinson Lee | 2011-01-07 | 1 | -0/+1 |
| | |||||
* | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | 2010-10-13 | 1 | -20/+20 |
| | |||||
* | mesa: Remove SGI_color_matrix. | Eric Anholt | 2010-09-23 | 1 | -6/+0 |
| | | | | Another optional ARB_imaging subset extension. | ||||
* | mesa: Add end of line to the end of a debug output. | Pauli Nieminen | 2010-03-22 | 1 | -1/+1 |
| | |||||
* | mesa: use Elements() as limit in loops over texture/program matrix stacks | Brian Paul | 2010-02-03 | 1 | -4/+4 |
| | |||||
* | mesa: disable texture unit error check in _mesa_MatrixMode() | Brian Paul | 2009-06-10 | 1 | -0/+10 |
| | | | | See comments for details. | ||||
* | mesa: minor tweak to error message | Brian Paul | 2009-04-17 | 1 | -1/+1 |
| | |||||
* | mesa: more error message info | Brian Paul | 2009-04-03 | 1 | -1/+2 |
| | |||||
* | mesa: move glViewport and glDepthRange functions into new viewport.c file | Brian Paul | 2009-03-07 | 1 | -153/+3 |
| | | | | A bit of refactoring with an eye toward ES2 and GL 3.1 | ||||
* | mesa: don't include m_xform.h where not needed | Brian Paul | 2009-02-12 | 1 | -1/+0 |
| | |||||
* | s/matrix_stack/gl_matrix_stack/ and s/mesa_list_state/gl_dlist_state/ | Brian | 2007-02-27 | 1 | -6/+6 |
| | |||||
* | Fix copy-and-paste mistake in comment ("scaling" should read "translation"). | Gary Wong | 2006-12-15 | 1 | -1/+1 |
| | | | | Before _mesa_Translatef(). | ||||
* | Replace ctx->Const.MaxTextureUnits w/ ctx->Const.MaxTexture[Coord/Image]Units | Brian Paul | 2006-04-14 | 1 | -0/+4 |
| | | | | | | in various places. Note that ctx->Texture.CurrentUnit needs to be tested against Coord/Image limits when referenced, not just in glActiveTexture(). | ||||
* | Silence minor compiler warnings (-Wextra). | Brian Paul | 2006-04-05 | 1 | -2/+2 |
| | |||||
* | Update the _WindowMap matrix in _mesa_set_viewport() and _mesa_DepthRange(). | Brian Paul | 2006-03-29 | 1 | -6/+28 |
| | | | | | This is a temporary fix for the DRI drivers. Should really only have to update the matrix via _mesa_update_state(). | ||||
* | Move the computation of the viewport matrix into a new update_viewport_matrix() | Brian Paul | 2006-03-29 | 1 | -47/+11 |
| | | | | | | | function since the matrix depends on the viewport params and the framebuffer's depth buffer resolution. Fixes some renderbuffer / depth range issues. This simplifies the _mesa_set_viewport() and _mesa_DepthRange() functions too. | ||||
* | Add a set of predicate functions for testing matrices instead of directly | Brian Paul | 2005-06-30 | 1 | -32/+21 |
| | | | | | | testing the flags field. Move definition of all the MAT_FLAGs into the m_matrix.c file since they're now private. | ||||
* | Major check-in of changes for GL_EXT_framebuffer_object extension. | Brian Paul | 2005-05-04 | 1 | -4/+12 |
| | | | | | | | Main driver impacts: - new code for creating the Mesa GLframebuffer - new span/pixel read/write code Some drivers not yet updated/tested. | ||||
* | clamp viewport against ctx->Const.MaxViewportWidth/Height instead of ↵ | Brian Paul | 2005-02-02 | 1 | -4/+4 |
| | | | | MAX_WIDTH/HEIGHT | ||||
* | Remove _mesa_ResizeBuffersMESA() call from _mesa_set_viewport(). | Brian Paul | 2004-11-27 | 1 | -14/+3 |
| | | | | | | | | Now, the driver's Viewport routine should call _mesa_ResizeBuffersMESA() if necessary. Cleaned up code related to GLframebuffer width/height initialization. Set initial viewport/scissor params in _mesa_make_current2(), instead of in the drivers' MakeCurrent functions. | ||||
* | small corrections | Daniel Borca | 2004-06-07 | 1 | -1/+1 |
| | |||||
* | Add EXT_vertex_cull support to mesa | Keith Whitwell | 2004-05-10 | 1 | -1/+12 |
| | |||||
* | remove redundant call to ctx->Driver.Viewport(), and clean-ups | Brian Paul | 2004-03-18 | 1 | -9/+1 |
| | |||||
* | more descriptive error messages for matrix stack over/underflows | Brian Paul | 2004-03-13 | 1 | -4/+20 |
| | |||||
* | Added GLAPIENTRY decorations for all first level OpenGL API function entry | Kendall Bennett | 2003-10-21 | 1 | -22/+22 |
| | | | | | points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler. | ||||
* | Silence compiler warnings about implicit casts or conversions by supplying ↵ | Karl Schultz | 2003-08-30 | 1 | -1/+1 |
| | | | | explicit casts and/or tweaking constant and variable definitions. | ||||
* | Fix up some loose ends from the last big check-in. | Brian Paul | 2003-07-18 | 1 | -0/+1 |
| | |||||
* | Merge Jose's documentation and core Mesa changes from embedded branch | Keith Whitwell | 2003-07-17 | 1 | -70/+495 |
| | |||||
* | comments regarding window sizing | Brian Paul | 2003-06-04 | 1 | -4/+11 |
| | |||||
* | minor re-org of program matrix, program local parameter limits | Brian Paul | 2003-04-18 | 1 | -6/+29 |
| | |||||
* | Killed mmath.[ch]. Moved low-level functions/assembly code into imports.[ch] | Brian Paul | 2003-03-01 | 1 | -4/+3 |
| | | | | | Moved type conversion and interpolation macros into macros.h Updated all the files that used to include mmath.h | ||||
* | Header file clean-up: | Brian Paul | 2002-10-24 | 1 | -7/+3 |
| | | | | | | | | 1. Remove all.h and PC_HEADER junk. 2. Rolled mem.c and mem.h into imports.c and imports.h 3. Include imports.h instead of mem.h Restore _mesa_create/initialize_context() to be like they were in 4.0.4 New wrappers for a few std C functions: _mesa_atoi(), _mesa_strstr(), etc. | ||||
* | minor error message changes | Brian Paul | 2002-08-21 | 1 | -5/+6 |
| | |||||
* | added some _mesa_debug() calls | Brian Paul | 2002-06-23 | 1 | -1/+24 |
| | |||||
* | Added ctx parameter to _mesa_debug() | Brian Paul | 2002-06-15 | 1 | -7/+7 |
| | | | | | | Added _mesa_printf() Updated SetDrawBuffer() function in all drivers (ala 4.0.3) Import 4.0.3/DRI changes. | ||||
* | New _mesa_debug() function to replace fprintf() calls. | Brian Paul | 2002-06-13 | 1 | -6/+6 |
| | | | | | | | | Some source files updated to call _mesa_debug(), but not finished. Added __GLimports as a parameter to _mesa_create/init_context() and updated drivers accordingly. Fleshed-out more of the __GLimports and __GLexports functionality. Removed run-time config file support (config.c) | ||||
* | Test for NULL pointer for LoadMatrix(), MultMatrix() and | Alan Hourihane | 2002-04-22 | 1 | -1/+9 |
| | | | | | Load/MultTransposeMatrix() and return without recording any errors or doing any multiplication. | ||||
* | fixed a multitexture MatrixMode() bug | Brian Paul | 2002-02-15 | 1 | -2/+2 |
| | |||||
* | Replace old matrix stacks with new code based on struct matrix_stack. | Brian Paul | 2001-12-18 | 1 | -176/+70 |
| | | | | | | Moved vertex program hash table into shared context state. Implemented reference counting for vertex programs. Replaced tnl "ProjectedClip" with "Ndc" (normalized device coordinates). | ||||
* | vertex program check-in | Brian Paul | 2001-12-14 | 1 | -14/+40 |
| | |||||
* | compiler warnings | Karl Schultz | 2001-09-18 | 1 | -12/+16 |
| |