summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* glx: re-add glapi/ pathBrian2008-09-181-0/+1
|
* mesa: fix asst path/include mistakes in prev commitsChris Rankin2008-09-181-1/+1
|
* glx: remove #include "glheader.h" linesBrian Paul2008-09-181-1/+0
| | | | | Was only used to get the PUBLIC/USED macros. Also, replace "GL_FALSE" with "False" in a couple places.
* Fixed 'make install' for darwinJeremy Huddleston2008-08-121-1/+1
|
* Apple: Cleaned up some linking and dylib ids issuesJeremy Huddleston2008-08-111-1/+2
|
* Call mklib with $(SHELL) so the user controls the interpreterDan Nicholson2008-07-121-1/+1
| | | | | Respect the user's choice of shell when running mklib rather than always using /bin/sh.
* glx: load swrast_dri.soGeorge Sapountzis2008-06-131-0/+1
| | | | | | | | | | | | | | caveats: - does not work with old (i.e. libGLcore) xserver: - made unbindContext a noop - extensions: GLX_SGI_make_current_read GLX_EXT_texture_from_pixmap GLX_MESA_copy_sub_buffer
* glx: add dri_common.c ala xserverGeorge Sapountzis2008-06-091-0/+1
| | | | | | also drop driFilterModes which is unused in preparation of loading swrast_dri.so
* replace make with $(MAKE) (bug 16133)Brian Paul2008-05-281-1/+1
|
* Always cleanup the makedepend backup filesDan Nicholson2008-05-061-1/+1
| | | | | | Consistently cleanup the depend.bak files created by makedepend. Also, realclean has been changed to use a single find command, which speeds it up considerably.
* glx: nitpick renamesGeorge Sapountzis2008-04-231-1/+1
|
* glx: split out current context codeGeorge Sapountzis2008-04-231-0/+1
| | | | also clean header inclusion after code movement
* DRI interface changes and DRI2 direct rendering support.Kristian Høgsberg2008-03-311-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add DRI2 direct rendering support to libGL and add DRI2 client side protocol code. Extend the GLX 1.3 create drawable functions in glx_pbuffer.c to call into the DRI driver when possible. Introduce __DRIconfig, opaque struct that represents a DRI driver configuration. Get's rid of the open coded __GLcontextModes in the DRI driver interface and the context modes create and destroy functions that the loader was requires to provide. glcore.h is no longer part of the DRI driver interface. The DRI config is GL binding agnostic, that is, not specific to GLX, EGL or other bindings. The core API is now also an extension, and the driver exports a list of extensions as the symbol __driDriverExtensions, which the loader must dlsym() for. The list of extension will always include the DRI core extension, which allows creating and manipulating DRI screens, drawables and contexts. The DRI legacy extension, when available, provides alternative entry points for creating the DRI objects that work with the XF86DRI infrastructure. Change DRI2 client code to not use drm drawables or contexts. We never used drm_drawable_t's and the only use for drm_context_t was as a unique identifier when taking the lock. We now just allocate a unique lock ID out of the DRILock sarea block. Once we get rid of the lock entirely, we can drop this hack. Change the interface between dri_util.c and the drivers, so that the drivers now export the DriverAPI struct as driDriverAPI instead of the InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2 init screen function to see if DRI2 is supported by the driver.
* Move make install logic for libGL back into src/mesa/Makefile.Kristian Høgsberg2008-03-101-15/+2
| | | | | | | | | This makes make install work again for non-glx libGL implementations. The make install logic is split into three sub-targets: install-libgl, install-osmesa, install-drivers. The install target in src/glx/x11 is then implemented using the src/mesa make install-libgl rule. Thanks to Dan Nicholson for pointing out the breakage.
* Move libGL install target to the libGL Makefile.Kristian Høgsberg2008-03-081-2/+15
|
* autoconf: Add gcc search patch to MKDEP_OPTIONS to eliminate warnings.Kristian Høgsberg2008-02-251-1/+1
| | | | | Also, use -include to avoid error message when make initially fails to include the non-existent depend file.
* Pull in the drm hash.Kristian Høgsberg2007-10-051-1/+2
|
* add support for LDFLAGS env varDan Nicholson2007-09-281-1/+1
|
* fix etags command to find headersBrian2007-04-071-1/+1
|
* Move glcontextmodes.c to glx.George Sapountzis2007-04-051-4/+0
| | | | | It is no longer linked with DRI drivers, libGL passes function pointers through the DRI interface.
* linux-indirect target fixes.Adam Jackson2006-08-101-1/+1
|
* LIB_DIR is now just 'lib' or 'lib64'Brian Paul2006-07-131-5/+5
| | | | | Replaced $(LIB_DIR) with $(TOP)/$(LIB_DIR), use LIB_DIR in install targets. Patch by Hanno Böck.
* New 'install' targets in makefile. See bug 2372.Brian Paul2006-06-221-1/+4
|
* Instead of adding extra flags to DEFINES with +=, define EXTRA_DEFINES instead.Brian Paul2006-03-091-3/+3
| | | | This eliminates a bunch of duplication in the compilation commmands.
* use ASM_API variable, bug 4415Brian Paul2005-09-121-12/+10
|
* Convert libGL and DRI drivers to require libdrm.Adam Jackson2005-08-191-6/+1
| | | | | | libdrm can be had from: http://people.freedesktop.org/~ajax/libdrm/
* Makefile cleanups suggested by George Fufutos (bugzilla #3899).Ian Romanick2005-08-111-17/+1
|
* Add a new config called linux-indirect. This build the GLX libGL just likeIan Romanick2005-07-291-2/+1
| | | | | | linux-dri, but it disables support for direct-rendering in it. This config mainly exists so that I can verify that changes to libGL haven't broken builds on non-DRI platforms.
* Quote $(CC) and $(CXX) so that 'CC=ccache gcc' and 'CXX=ccache g++' willIan Romanick2005-07-261-1/+1
| | | | work again.
* Added -linker option to mklib, used to specify a particular program forBrian Paul2005-07-251-1/+2
| | | | | linking, if relevant. Updated Makefiles to use -linker option instead of setting CC, CXX env vars.
* All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allowsIan Romanick2005-07-241-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1,402 lines of code to be removed from Mesa (drivers and libGL). The big winner is dri_util.c. Primary changes are: 1. Remove all "deprecated" entry-points from the various structures in dri_interface.h. 2. Rename the remaining fields to removed "version numbers." So, bindContext3 becomes bindContext. Functions with "New" in the name (e.g., CreateNewContext) were *not* changed, but that is an option. Having "New" in the name is less annoying to me than having "3" in the name. 3. Remove all compatibility code that handles cases where the driver or the loader is too old to support the latest interfaces. 4. Append the API version to the __driCreateNewScreen function name. This is currently done by hand. In the future (i.e., the next time we make an incompatible change to the interface) we'll want to come up with a better way to do this. This prevents old loaders from being able to load new (incompatible) drivers. 5. Bump the API version to 20050722. All drivers (by way of dri_util.c) require this version. 6. All drivers are *required* to expose GLX_SGIX_fbconfig and GLX_OML_swap_method (or the moral equivalents). Support for these functions in implicit in the use of the "new" interface. 7. Some cases still exist that need to be compiled differently in a loader or core Mesa versus in a driver. These are identified by the define IN_DRI_DRIVER.
* Add support for assembly (static) dispatch functions on x86-64. ThisIan Romanick2005-07-021-0/+1
| | | | | | is basically patch #2939 from X.org bugzilla #3379. This does *not* fix the bug as it does not dynamically generate stubs at run-time. It just gets things one step closer.
* use shared-coreDave Airlie2005-05-281-1/+1
|
* Use the same dispatch.c source file for "normal" Mesa builds and DRIIan Romanick2005-04-071-0/+3
| | | | libGL builds.
* Add GLX protocol support for ARB_fragement_program,Ian Romanick2005-02-251-0/+1
| | | | | | | ARB_fragment_program_shadow, ARB_vertex_program, NV_fragment_program, NV_fragment_program_option, NV_fragment_program2, NV_vertex_program, NV_vertex_program1_1, NV_vertex_program2, NV_vertex_program2_option, NV_vertex_program3, and ATI_text_fragment_shader.
* Missed the Makefile with the previous commit.Ian Romanick2005-02-231-0/+1
|
* Depend tweaksKeith Whitwell2005-01-191-3/+2
|
* Put quotes around the CC and CXX variables passed to mklib. This makeIan Romanick2005-01-111-1/+1
| | | | them work with multi-work compiler names (e.g., "ccache gcc").
* Use GLX protocol code generated by glX_proto_send.py.Ian Romanick2004-12-201-3/+1
|
* Improve the behaviour of the build system wrt depend files.Keith Whitwell2004-12-081-5/+4
| | | | | | | | - Remove the -Y option for makedepend, so that the standard directories are searched - No longer pipe the multiple errors that the -Y option caused into /dev/null -- we want to know about these failures. - Fix up a few other misc makedepend failures.
* Use indirect_size.c and indirect_size.h generated by usingIan Romanick2004-12-011-0/+1
| | | | | src/mesa/glapi/glX_proto_send.py with the '-m size_c' and '-m size_h' options.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-011-0/+1
| | | | | Move "handcoded" ARB_window_pos / MESA_window_pos functions to their own file. Modify the ARB_window_pos functions to use the MESA_window_pos names.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-011-0/+1
| | | | | | | Move "handcoded" ARB_transpose_matrix functions to their own file. From here on out, such handcoded functions should go in a file named indirect_FOO.c, where "FOO" is some logical name for the functionality (e.g., part of the extension name, etc.).
* remove a -Werror from testing.Adam Jackson2004-10-251-2/+1
|
* Import the GLX client side library, formerly from xc/lib/GL/glx. Build itAdam Jackson2004-10-251-0/+115
by adding 'glx/x11' to SRC_DIRS in your build config.