Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: remove FEATURE_ATI_fragment_shader define. | Oliver McFadden | 2012-09-15 | 1 | -4/+0 |
| | | | | | Signed-off-by: Oliver McFadden <[email protected]> Reviewed-by: Brian Paul <[email protected]> | ||||
* | Remove useless checks for NULL before freeing | Matt Turner | 2012-09-05 | 1 | -8/+4 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch has been generated by the following Coccinelle semantic patch: // Remove useless checks for NULL before freeing // // free (NULL) is a no-op, so there is no need to avoid it @@ expression E; @@ + free (E); + E = NULL; - if (unlikely (E != NULL)) { - free(E); ( - E = NULL; | - E = 0; ) ... - } @@ expression E; type T; @@ + free ((T) E); + E = NULL; - if (unlikely (E != NULL)) { - free((T) E); ( - E = NULL; | - E = 0; ) ... - } @@ expression E; @@ + free (E); - if (unlikely (E != NULL)) { - free (E); - } @@ expression E; type T; @@ + free ((T) E); - if (unlikely (E != NULL)) { - free ((T) E); - } Reviewed-by: Brian Paul <[email protected]> | ||||
* | Don't cast the return value of malloc/realloc | Matt Turner | 2012-09-05 | 1 | -2/+0 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: minor whitespace fixes | Brian Paul | 2011-03-24 | 1 | -2/+2 |
| | |||||
* | mesa: Directly include mfeatures.h in files that perform feature tests. | Vinson Lee | 2011-01-07 | 1 | -0/+1 |
| | |||||
* | mesa: Assert _mesa_DeleteFragmentShaderATI doesn't ever free static DummyShader. | Vinson Lee | 2010-12-23 | 1 | -0/+1 |
| | |||||
* | Drop GLcontext typedef and use struct gl_context instead | Kristian Høgsberg | 2010-10-13 | 1 | -2/+2 |
| | |||||
* | mesa: move atifragshader.[ch] to main/ | Brian Paul | 2010-06-10 | 1 | -0/+794 |