Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | mesa: fix inconsistent function declaration, definitions | Brian Paul | 2013-07-12 | 1 | -2/+2 |
| | | | | | To silence MSVC warnings that the declaration and definitions were different. | ||||
* | Consolidate some redundant definitions of ARRAY_SIZE() macro. | Paul Berry | 2013-02-08 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | | | | Previous to this patch, there were 13 identical definitions of this macro in Mesa source. That's ridiculous. This patch consolidates 6 of them to a single definition in src/mesa/main/macros.h. Unfortunately, I wasn't able to eliminate the remaining definitions, since they occur in places that don't include src/mesa/main/macros.h: - include/pci_ids/pci_id_driver_map.h - src/egl/drivers/dri2/egl_dri2.h - src/egl/main/egldefines.h - src/gbm/main/backend.c - src/gbm/main/gbm.c - src/glx/glxclient.h - src/mapi/mapi/stub.c I'm open to suggestions as to how to deal with the remaining redundancy. Reviewed-by: Kenneth Graunke <[email protected]> | ||||
* | mesa: use rand() instead of random() | Brian Paul | 2012-12-06 | 1 | -1/+1 |
| | | | | | | | As Vinson Lee did in commit bb284669f85a32900bfec648d68ba4c4300772f4 in hash_table.c Signed-off-by: Brian Paul <[email protected]> | ||||
* | mesa: add set support (stores a set of pointers) | Eric Anholt | 2012-12-06 | 1 | -0/+348 |
From: git://people.freedesktop.org/~anholt/hash_table Reviewed-by: Jordan Justen <[email protected]> [[email protected]: minor rework for mesa] Signed-off-by: Jordan Justen <[email protected]> Reviewed-by: Brian Paul <[email protected]> |