summaryrefslogtreecommitdiff
path: root/src/glx/apple
AgeCommit message (Collapse)AuthorFilesLines
2011-07-16darwin: Include glxhash.c in libGL on darwinJeremy Huddleston1-0/+1
Fixes a build regression introduced by 4df137691ee29bb812347fa2c5f19095243ede22 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-17apple: Use apple_cgl_get_dl_handle() rather than opening a new handleJeremy Huddleston1-22/+2
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-14apple: Set the glapi dispatch table on context bindJeremy Huddleston3-3/+2
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-11apple: Request OpenGL 3.2 from OpenGL.framework if availableJeremy Huddleston1-0/+15
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-11apple: Store the CGL API version number for future referenceJeremy Huddleston2-5/+5
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-11apple: Use a struct glx_config * rather than a void * in ↵Jeremy Huddleston2-19/+17
apple_visual_create_pfobj Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-11apple: Use _glapi_create_table_from_handle to initialize our dispatch tableJeremy Huddleston1-1117/+1
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-08darwin: Use -fvisibility=hidden to set default symbol visibilityJeremy Huddleston2-20/+7
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-08mesa: merge glapidispatch.h into dispatch.hChia-I Wu1-2/+2
glapidispatch.h was located in glapi and shared with mesa core. Because the way it was shared, mesa core must include it indirectly via main/dispatch.h. Now that it is no longer needed by glapi and is located in core mesa, merging it with main/dispatch.h to avoid wrong uses.
2011-06-07apple: Update dispatch table to current OpenGL specsJeremy Huddleston1-25/+233
This updates the apple dispatch table to match the current glapi. Aliases are still not handled very well. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-07apple: Dead code removalJeremy Huddleston24-52219/+0
Now that we're using glapi, all of this is no longer needed. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-07apple: Remove apple_glx_get_proc_addressJeremy Huddleston2-48/+0
Now that we're using glapi, we don't need to special case this. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-07apple: Use glapi rather than reinventing the wheelJeremy Huddleston10-53/+1065
With this change, Apple's libGL is now using glapi rather than implementing its own dispatch. In this implementation, two dispatch tables are created: __ogl_framework_api always points into OpenGL.framework. __applegl_api is the vtable that is used. It points into OpenGL.framework or to local implementations that override / interpose this in OpenGL.framework The initialization for __ogl_framework_api was copied from XQuartz with some modifications and probably still needs further edits to better deal with aliases. This is a good step towards supporting both indirect and direct rendering on darwin. Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-07apple: Rename __gl_api to __ogl_framework_apiJeremy Huddleston4-14/+14
In starting the migration to using mapi, rename __gl_api to __ogl_framework_api since it is a vtable for OpenGL.framework Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: Fix multiple build failures in applegl_glx.cJeremy Huddleston1-1/+2
It is still not building, but this gets us many steps closer See https://bugs.freedesktop.org/show_bug.cgi?id=29162 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: Change from XExtDisplayInfo to struct glx_displayJeremy Huddleston1-4/+6
Fixes regression introduced by: ab434f6b7641a64d30725a9ac24929240362d466 and c356f5867f2c1fad7155df538b9affa8dbdcf869 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: Rename GLXcontextJeremy Huddleston4-6/+6
Fixes regression introduced by: c356f5867f2c1fad7155df538b9affa8dbdcf869 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: Rename __GLcontextModes to struct glx_configJeremy Huddleston1-1/+1
Fixes regression introduced by: 6ddf66e9230ee862ac341c4767cf6b3b2dd2552b Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: Rename glcontextmodes.[ch] to glxconfig.[ch]Jeremy Huddleston5-5/+5
Fixes regression introduced by: 65d98e25770487456eb3d7eb8ec3ec8272f170b1 Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2011-06-05apple: Update GL specsJeremy Huddleston7-439/+4738
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-07-28glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types.Kristian Høgsberg1-3/+3
2010-07-28glx: Use _X_EXPORT instead of our own PUBLIC macroKristian Høgsberg1-12/+12
We're an X client library, so we can use Xfuncproto.h.
2010-07-28glx: Rename __GLcontextModes to struct glx_configKristian Høgsberg5-5/+5
With this rename, we use 'config' consitently to refer to GLX configurations instead of the modes/configs/visual mess before.
2010-07-19glx: Remove support for MESA_swap_frame_usageKristian Høgsberg1-48/+0
The extension never worked, the implementation returns GLX_BAD_CONTEXT when enabling the frame tracking.
2010-07-19glx: Drop support for GLX_MESA_allocate_memoryKristian Høgsberg2-48/+1
Only r200 implemented it.
2010-07-01mesa: Purge macros NEED_EVENTS and NEED_REPLIESFernando Carrijo1-2/+0
Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-05-06apple: Move glapi to mapi.Vinson Lee1-1/+2
This was missed in commit 296adbd545b8efd38c9ed508166b2de2764a444b. Fixes darwin build.
2010-04-27Buildfixes to work around issues in OpenGL.frameworkJeremy Huddleston11-135/+60
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-27Update OpenGL specsJeremy Huddleston10-274/+2522
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-27apple: Use mesa gl.h rather than generating one.Jeremy Huddleston7-181/+48
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2010-04-27apple: Integrate our libGL into the existing build system betterJeremy Huddleston1-73/+110
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-27darwin: Use clientattribJeremy Huddleston1-1/+1
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-27apple: Change ifdefs for DRI to be DRI && !APPLEJeremy Huddleston4-9/+9
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-27apple: Remove duplicate headers that already exist in mesa.Jeremy Huddleston7-20231/+0
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2010-04-27apple: Initial import of libGL for OSX from AppleSGLX svn repository.Jeremy Huddleston61-0/+71046
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01Revert accidental commits from the xquartz treeJeremy Huddleston53-50719/+0
This reverts commit 9aadc793f3db64cefa0b08f18abad424a659dacc. This reverts commit 69ea4e7718efb60b6b0d795a355cebd6712ceac1. This reverts commit dbe8b013936d977ec63d6607bfd2fc6772d29787. This reverts commit 23215ef4d60a86d9f3b3fdc08e3fdadc59e98890. This reverts commit 9495e3703062d1ddaf3161f4efc23f0b51284d9b. This reverts commit 0594cf70883b64692ba617d85f4f9b4e636e5c2b. This reverts commit 86a7978d37393ee34f876569ac06ffdb8d7289ae. This reverts commit 437902ce978cde9a0e1aa260f12dc232a8501c42.
2010-04-01apple: Use mesa gl.h rather than generating one.Jeremy Huddleston7-181/+48
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2010-04-01apple: Integrate our libGL into the existing build system betterJeremy Huddleston1-73/+110
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01apple: Change ifdefs for DRI to be DRI && !APPLEJeremy Huddleston3-7/+7
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
2010-04-01apple: Remove duplicate headers that already exist in mesa.Jeremy Huddleston7-20231/+0
Signed-off-by: Jeremy Huddleston <jeremyhu@freedesktop.org>
2010-04-01apple: Initial import of libGL for OSX from AppleSGLX svn repository.Jeremy Huddleston61-0/+71046
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>