summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/texgen.h
Commit message (Collapse)AuthorAgeFilesLines
* dispatch: Delete unused init_dispatch functions.Paul Berry2012-11-061-3/+0
| | | | | | | | | | The new code-generated version of _mesa_create_exec_table() populates the entire dispatch table (except for dynamic functions) by itself; it no longer calls separate functions to initialize parts of the dispatch table. This patch removes those no-longer-needed functions. Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* dispatch: Make all API functions non-static.Paul Berry2012-11-061-9/+13
| | | | | | | | | | | | | | | | | Some of the functions that we store in the dispatch table are declared as non-static in their .c files and are inserted into the dispatch table directly by _mesa_create_exec_table(). Other functions are declared as static, and are inserted into the dispatch table by a dedicated function that lives in the same .c file (e.g. _mesa_loopback_init_api_table() in api_loopback.c). This patch makes all of these functions non-static, and creates appropriate prototypes for them, so that in future patches we can populate the entire dispatch table using a single code-generated function. Reviewed-by: Jordan Justen <[email protected]> Reviewed-by: Matt Turner <[email protected]>
* dispatch: GLES1 fixes for _mesa_create_exec_table().Paul Berry2012-11-011-1/+1
| | | | | | | | | | | | | | | | | Currently, _mesa_create_exec_table() (in api_exec.c) is used for all APIs except GLES1. In GLES1, _mesa_create_exec_table_es1() (a code generated function) is used instead. In principle, this shouldn't be necessary. It should be possible for api_exec.c to contain the logic for populating the dispatch table for all API's. This patch paves the way for using _mesa_create_exec_table() instead of _mesa_create_exec_table_es1(), by making _mesa_create_exec_table() (and the functions it calls) expose the correct subset of desktop GL functions for GLES1. Reviewed-by: Kenneth Graunke <[email protected]>
* mesa: remove FEATURE_texgen define.Oliver McFadden2012-09-151-22/+0
| | | | | Signed-off-by: Oliver McFadden <[email protected]> Reviewed-by: Brian Paul <[email protected]>
* mesa/es: Validate glGetTexGen parameters in Mesa code rather than the ES wrapperIan Romanick2012-08-291-0/+3
| | | | Signed-off-by: Ian Romanick <[email protected]>
* mesa: s/INLINE/inline/Brian Paul2011-10-011-2/+2
| | | | | | | INLINE is still seen in some files (some generated files, etc) but this is a good start. Acked-by: Kenneth Graunke <[email protected]>
* mesa: Directly include mfeatures.h in files that perform feature tests.Vinson Lee2011-01-071-0/+1
|
* mesa: Remove unused _MESA_INIT_*_FUNCTIONS.Chia-I Wu2010-09-141-7/+0
| | | | | They were intended to be used to build OpenGL ES only DRI drivers, but that never happened.
* mesa: Reduce header file inclusion in texgen.h.Vinson Lee2010-08-031-1/+4
| | | | texgen.h doesn't use any symbols additionally added by mtypes.h.
* mesa: Move GLES1 texgen functions to texgen.cKristian Høgsberg2010-04-281-0/+11
|
* mesa/main: Make _mesa_TexGenf and _mesa_GetTexGenfv global again.Chia-I Wu2009-11-051-0/+6
| | | | | | They are needed by OpenGL ES overlay. Signed-off-by: Chia-I Wu <[email protected]>
* mesa/main: Make FEATURE_texgen follow feature conventions.Chia-I Wu2009-09-301-17/+26
| | | | | As shown in mfeatures.h, this allows users of texgen.h to work without knowing if the feature is available.
* mesa: refactor: move glTexGen-related functions into new texgen.c fileBrian Paul2008-09-211-0/+62
(cherry picked from commit 27049189d6221fefe43eb55846efaa51742dcdf4)