summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common
AgeCommit message (Collapse)Author
2011-03-06glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB.Dave Airlie
This realigns the name of the glx bit to align with the core mesa names.
2011-02-12dri: Remove the old metaops code which has been superceded by ../common/Eric Anholt
2011-02-07Add dri2::{Allocate,Release}Buffer extensionBenjamin Franzke
2011-02-03swrast: add an interface createNewContextForAPIHaitao Feng
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 <haitao.feng@intel.com>
2011-01-13dri_util: fail driCreateNewScreen if InitScreen is NULLPaulo Zanoni
Without this, X doesn't start with UMS on r300g. NOTE: This is a candidate for the 7.9 and 7.10 branches. Signed-off-by: Paulo Zanoni <pzanoni@mandriva.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-12-10intel: Add spans code for the ARB_texture_rg support.Eric Anholt
This starts spantmp2.h down the path of using MESA_FORMAT_* for specifying the format instead of the crazy GL format/type combo.
2010-11-02dri/util: add a bunch of commentsBrian Paul
2010-10-27Fix build on systems where "python" is python 3.Kenneth Graunke
First, it changes autoconf to use a "python2" binary when available, rather than plain "python" (which is ambiguous). Secondly, it changes the Makefiles to use $(PYTHON) $(PYTHON_FLAGS) rather than calling python directly. Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com> Signed-off-by: Matthew William Cox <matt@mattcox.ca> Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
2010-10-13Drop GLcontext typedef and use struct gl_context insteadKristian Høgsberg
2010-10-13Drop GLframebuffer typedef and just use struct gl_framebufferKristian Høgsberg
2010-10-13Rename GLvisual and __GLcontextModes to struct gl_configKristian Høgsberg
2010-10-13gl: Remove unused GLcontextModes fieldsKristian Høgsberg
2010-10-13Get rid of GL/internal/glcore.hKristian Høgsberg
__GLcontextModes is always only used as an implementation internal struct at this point and we shouldn't install glcore.h anymore. Anything that needs __GLcontextModes should just include the struct in its headers files directly.
2010-09-30dri/common: remove duplicated includeNicolas Kaiser
Remove duplicated include. Signed-off-by: Brian Paul <brianp@vmware.com>
2010-09-28dri: Add GET_PROGRAM_NAME definition for Mac OS X.Vinson Lee
2010-09-27mesa: Force GL_ARB_copy_buffer to always be enabledIan Romanick
As per discussions at XDS.
2010-09-22dri: Pass the __DRIscreen and the __DRIscreen private back to image lookupKristian Høgsberg
We will typically have a current context when we need to lookup the image, but the lookup implementation don't need it so drop it.
2010-09-20Fix typos in comments and debug output strings.Timo Wiren
Bug #30208.
2010-09-09Revert "glapi: Implement optional dispatch logging"Kristian Høgsberg
This reverts commit b9abc6139a310677a37754ea7172d976dbf56979 and the follow on fixes (7aae704 and 6fe1b47). It's changing the glapi/driver ABI and causes a number of problems for debug/non-debug builds.
2010-09-09glapi: Implement optional dispatch loggingKristian Høgsberg
There's a useful feature buried in glapi to log all API calls to stderr. Unfortunately it requires editing the code and then it's enabled unconditionally for that build. This patch builds in API logging for debug builds and makes it run-time switchable by setting MESA_DEBUG=dispatch.
2010-09-07dri: Make it a little clearer that we're not dereferencing a NULL pointernobled
2010-09-07dri: Use the right type for the API tokennobled
Pass mesa_api to CreateContext, and abort early if the requested API isn't recognized.
2010-08-27dri: Get prototype for _mesa_destroy_compiler().Eric Anholt
Bug #29665.
2010-08-18glsl2: Free the shader compiler at dri screen destruction.Eric Anholt
Hooray, we can valgrind again without adding suppressions. This also adds an interface for use by an implementation of glReleaseShaderCompiler().
2010-08-18dri2: Clean up the common dri2 options at screen destroy.Eric Anholt
2010-08-13Merge branch 'master' into glsl2Ian Romanick
2010-08-13mesa: Avoid using c++ keyword in dri_util.h when compiled with c++.Eric Anholt
2010-07-29dri: Add missing header to dri_metaops.c.Vinson Lee
Add context.h for FLUSH_VERTICES symbol.
2010-07-19glx: Remove support for MESA_swap_frame_usageKristian Høgsberg
The extension never worked, the implementation returns GLX_BAD_CONTEXT when enabling the frame tracking.
2010-06-10mesa: rename src/mesa/shader/ to src/mesa/program/Brian Paul
2010-06-10mesa: move arbprogram.[ch] to main/Brian Paul
2010-06-10i965: Add support for GL_ALPHA framebuffer objects.Eric Anholt
2010-05-31gallium: fix TFP on galliumDave Airlie
This fixes an uninitialised value use in the dri2 st when doing TFP. It uses the driContextPriv which isn't initialised at alloc time. Signed-off-by: Dave Airlie <airlied@redhat.com>
2010-05-11intel: Drop viewport hack when we canKristian Høgsberg
2010-05-03swrast: Correct include for mtypes.hJakob Bornecrantz
2010-05-02Update drisw state tracker to use new API aware context createXavier Chantry
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 <jakob@vmware.com> Signed-off-by: Xavier Chantry <chantry.xavier@gmail.com>
2010-05-02Merge branch 'gles2-2'Kristian Høgsberg
Conflicts: src/mesa/drivers/dri/common/dri_util.h
2010-04-28dri: Add DRI entrypoints to create a context for a given APIKristian Høgsberg
2010-04-27dri_util: Assume error checking is done properly in glXMakeCurrentJakob Bornecrantz
In short what the code did before: __DRIscreen *psp = NULL; if (pcp) psp = pcp->psb; assert(psp); if (psp->stuff) other_stuff(); return psb->even_more(pcp); Remove all that stupid checking which still segfaults/asserts later on and just do what we do in driUnbindContext. Also limited testing show libGL never call driUnbindContext or driBindContext with cPriv == NULL.
2010-04-24dri: Remove unnecessary header.Vinson Lee
2010-04-22DRI2/GLX: check for vblank_mode in DRI2 GLX codeJesse Barnes
Re-add support for the vblank_mode environment and configuration variable. Useful for benchmarking and app control.
2010-04-22DRI2: add config query extensionJesse Barnes
Add a new DRI2 configuration query extension. Allows for DRI2 client code to query for common DRI2 configuration options.
2010-04-19Merge branch '7.8'Jesse Barnes
2010-04-19mesa: Use __OpenBSD__ to check for OpenBSD.Matthieu Herrb
Signed-off-by: Brian Paul <brianp@vmware.com>
2010-03-30dri: Drop another unused __DRIscreen fieldKristian Høgsberg
2010-03-30dri: Drop the unused dummyContextKristian Høgsberg
2010-03-30dri: Drop an unused __DRIcontext fieldKristian Høgsberg
2010-03-30drisw: fix use after free (bug 27370)George Sapountzis
2010-03-26dri/common: add comment about DRISW wrt DRI1 / DRI2George Sapountzis
2010-03-25drisw_util: add fields for gallium swrast_driGeorge Sapountzis