Mesa3D Graphics Library (Bleeding edge ray tracing branches)
Go to file
Ian Romanick 5f1ba3e21b Fixes the glXGetProcAddress portion of the interface. Most of the functions
that are currently obtained via glXGetProcAddress and all of the XF86DRI
functions are replaced with a funciton table.  This table will be passed to
__driCreateNewScreen.

One of the functions in the table is getProcAddress.  This allows some
loaders to expose functionality not in all loaders.  This will be immediatly
used for glxEnableExtension (formerly known to drivers as
__glXScrEnableExtension).  libGL (and in the future libglx) expose this
function so that drivers can enable GLX extensions.  libEGL should exposed
eglEnableExtension to enable EGL extensions.  The same function cannot be
used for both because the extensions have different names and (possibly)
different semantics.  Drivers can optionally use one, both, or neither.

The key parts are in the __DRIinterfaceMethodsRec structure in
dri_interface.h.  A pointer to one of these structures is passed into
__driCreateNewScreen.  Because of this, the version of the API is bumped to
20050725.  Since the previous version(s) were never in a release, their
existance is erased.

I was actually a little surprised by how much code this cuts from the
drivers.  A lot of glXGetProcAddress calls disappear, and a lot of
version checks go with them.  Nice.

The one thing I'm not sure of is removing __glXInitialize.  For some
reason that function was in the glXGetProcAddress table, but *nothing*
in the Mesa tree used it.  Did something with DRI conf. use this
function?  It seems odd...
2005-07-26 02:44:01 +00:00
bin Add license/copyright. 2005-07-25 23:49:50 +00:00
configs All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allows 2005-07-24 06:29:14 +00:00
docs added vp negative addressing bug fix 2005-07-22 02:54:14 +00:00
doxygen Use CSS in custom headers. 2004-09-10 11:47:51 +00:00
include Fixes the glXGetProcAddress portion of the interface. Most of the functions 2005-07-26 02:44:01 +00:00
progs overlay planes test 2005-07-19 15:27:03 +00:00
src Fixes the glXGetProcAddress portion of the interface. Most of the functions 2005-07-26 02:44:01 +00:00
vms Committing in . 2003-06-17 07:20:22 +00:00
windows VC7 project file for building glut lib 2005-07-01 20:25:57 +00:00
Makefile Break the long list of MAIN_FILES and DEMO_FILES into subgroups. 2005-07-22 15:52:46 +00:00
Makefile.DJ remove stupid flags 2005-05-23 22:02:53 +00:00
Makefile.mgw remove stupid flags 2005-05-23 22:02:53 +00:00
descrip.mms VMS updates from Jouk Jansen 2005-01-11 15:23:08 +00:00
mms-config. Committing in . 2003-06-17 07:20:22 +00:00

docs/README.directfb

                         
                         Mesa DirectFB Information


Requirements
============

  To build Mesa with DirectFB (DirectFBGL) support you need:
     - DirectFB at least 0.9.21 (http://directfb.org)
     - pkg-config at least 0.9 (http://pkgconfig.sf.net)


Installation
============
  Run
     
     make linux-directfb

  to build Mesa and DirectFBGL module,

     make install

  to install OpenGL libraries and

     make linux-directfb-install

  to install DirectFBGL module in the proper location.