path: root/src/mesa/drivers/dri/common/drisw_util.c
AgeCommit message (Collapse)AuthorFilesLines
2013-04-23mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke1-3/+4
The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <>
2013-04-23mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke1-1/+1
This brings the license text in line with the MIT License as published on the Open Source Initiative website: Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <>
2013-04-23mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke1-1/+1
Generated automatically be the following shell command: $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/BRIAN PAUL/THE AUTHORS/' {} The intention here is to protect all authors, not just Brian Paul. I believe that was already the sensible interpretation, but spelling it out is probably better. More practically, it also prevents people from accidentally copy & pasting the license into a new file which says Brian is not liable when he isn't even one of the authors. Reviewed-by: Brian Paul <>
2013-01-15dri: Define enum __DRI_API_GLES3Chad Versace1-0/+1
This enum corresponds to EGL_OPENGL_ES3_BIT_KHR. Neither the GLX nor EGL layer use the enum yet. I don't like the GLES bits. I'd prefer that all GLES APIs be exposed through a single API bit, as is done in GLX_EXT_create_context_es_profile. But, we need this GLES3 enum in order to do the plumbing necessary to correctly support EGL_OPENGL_ES3_BIT_KHR as required by the EGL_KHR_create_context spec. Signed-off-by: Chad Versace <> Reviewed-by: Ian Romanick <>
2012-12-09drisw: fix up context and apis for software contextDave Airlie1-0/+16
This ports over from the dri2 code to the drisw bits. It means 3.1 core contexts now work for softpipe. Signed-off-by: Dave Airlie <>
2012-11-29mesa: Rename API_OPENGL to API_OPENGL_COMPAT.Paul Berry1-1/+1
This should help avoid confusion now that we're using the gl_api enum to distinguishing between core and compatibility API's. The corresponding enum value for core API's is API_OPENGL_CORE. Acked-by: Eric Anholt <> Acked-by: Matt Turner <> Acked-by: Kenneth Graunke <>
2012-09-01mesa: s/FREE/free/Brian Paul1-6/+6
v2: replace instances in dri/common/ dirs Reviewed-by: Matt Turner <> Reviewed-by: Kenneth Graunke <>
2012-01-02dri2: Add plumbing to get context version requirements and flags to driversIan Romanick1-10/+68
This adds support for DRI_DRI2 version 3 to all of the DRI2 drivers. Signed-off-by: Ian Romanick <>
2011-12-23dri2: Add createContextAttribs entry point for DRISW version 3Ian Romanick1-2/+6
Signed-off-by: Ian Romanick <>
2011-11-04dri: cosmeticGeorge Sapountzis1-34/+13
To smooth minor diff between dri_util & drisw_util
2011-11-04dri: drop drisw_util.hGeorge Sapountzis1-1/+1
2011-02-03swrast: add an interface createNewContextForAPIHaitao Feng1-1/+44
This new interface could set up context for OpenGL, OpenGL ES1 and OpenGL ES2. It will be used by egl_dri2 driver. Signed-off-by: Haitao Feng <>
2010-05-02Update drisw state tracker to use new API aware context createXavier Chantry1-1/+2
Even though swrast defines its own __DriverAPIRec it still shares the driCreateNewContext() implementation from dri_util.c. So the CreateContext prototypes have to match in the two __DriverAPIRecs. Reviewed-by: Jakob Bornecrantz <> Signed-off-by: Xavier Chantry <>
2010-03-30drisw: fix use after free (bug 27370)George Sapountzis1-2/+0
2010-03-25drisw_util: add fields for gallium swrast_driGeorge Sapountzis1-0/+7
2010-03-21rename dri_sw to drisw_util for consistencyGeorge Sapountzis1-0/+267