Home | History | Annotate | Download | only in x11

Lines Matching defs:glx

28  * This is an emulation of the GLX API which allows Mesa/GLX-based programs
29 * to run on X servers which do not have the real GLX extension.
59 /* This indicates the client-side GLX API and GLX encoder version. */
63 /* This indicates the server-side GLX decoder version.
64 * GLX 1.4 indicates OpenGL 1.3 support
72 /* Who implemented this GLX? */
89 * Our fake GLX context will contain a "real" GLX context and an XMesa context.
106 /*** GLX Visual Code ***/
262 * configuration in our list of GLX visuals.
402 * Create a GLX visual from a regular XVisualInfo.
403 * This is called when Fake GLX is given an XVisualInfo which wasn't
407 * This is the best we can do with a client-side emulation of GLX.
449 * Find the GLX visual associated with an XVisualInfo.
477 * Return the transparent pixel value for a GLX visual.
603 _mesa_warning(NULL, "GLX unable to find visual class=%s, depth=%d.",
615 * preferred_class - preferred GLX visual class or DONT_CARE
705 * preferred_class - preferred GLX visual class or DONT_CARE
879 /*** Begin Fake GLX API Functions ***/
927 * From page 17 (23 of the pdf) of the GLX 1.4 spec:
928 * GLX DONT CARE may be specified for all attributes except GLX LEVEL.
1173 * Since we're only simulating the GLX extension this function will never
1187 /* give the visual some useful GLX attributes */
1349 /* GLX 1.3 and later */
1519 /* Mesa's GLX isn't really an X extension but we try to act like one. */
1526 return True; /* we're faking GLX so always return success */
1600 /* Return GLX version, not Mesa version */
1609 * Query the GLX attributes of the given XVisualInfo.
1889 /* GLX 1.1 and later */
1900 /* GLX 1.1 and later */
1925 /* GLX 1.1 and later */
1950 * GLX 1.3 and later
2063 (void) attribList; /* Ignored in GLX 1.3 */
2918 * Create a new GLX API dispatch table with its function pointers
2919 * initialized to point to Mesa's "fake" GLX API functions.
2922 * to "real" GLX functions (which understand GLX wire protocol, etc).
2927 static struct _glxapi_table glx;
2937 _glxapi_set_no_op_table(&glx);
2940 glx.ChooseVisual = Fake_glXChooseVisual;
2941 glx.CopyContext = Fake_glXCopyContext;
2942 glx.CreateContext = Fake_glXCreateContext;
2943 glx.CreateGLXPixmap = Fake_glXCreateGLXPixmap;
2944 glx.DestroyContext = Fake_glXDestroyContext;
2945 glx.DestroyGLXPixmap = Fake_glXDestroyGLXPixmap;
2946 glx.GetConfig = Fake_glXGetConfig;
2947 /*glx.GetCurrentContext = Fake_glXGetCurrentContext;*/
2948 /*glx.GetCurrentDrawable = Fake_glXGetCurrentDrawable;*/
2949 glx.IsDirect = Fake_glXIsDirect;
2950 glx.MakeCurrent = Fake_glXMakeCurrent;
2951 glx.QueryExtension = Fake_glXQueryExtension;
2952 glx.QueryVersion = Fake_glXQueryVersion;
2953 glx.SwapBuffers = Fake_glXSwapBuffers;
2954 glx.UseXFont = Fake_glXUseXFont;
2955 glx.WaitGL = Fake_glXWaitGL;
2956 glx.WaitX = Fake_glXWaitX;
2959 glx.GetClientString = Fake_glXGetClientString;
2960 glx.QueryExtensionsString = Fake_glXQueryExtensionsString;
2961 glx.QueryServerString = Fake_glXQueryServerString;
2964 /*glx.GetCurrentDisplay = Fake_glXGetCurrentDisplay;*/
2967 glx.ChooseFBConfig = Fake_glXChooseFBConfig;
2968 glx.CreateNewContext = Fake_glXCreateNewContext;
2969 glx.CreatePbuffer = Fake_glXCreatePbuffer;
2970 glx.CreatePixmap = Fake_glXCreatePixmap;
2971 glx.CreateWindow = Fake_glXCreateWindow;
2972 glx.DestroyPbuffer = Fake_glXDestroyPbuffer;
2973 glx.DestroyPixmap = Fake_glXDestroyPixmap;
2974 glx.DestroyWindow = Fake_glXDestroyWindow;
2975 /*glx.GetCurrentReadDrawable = Fake_glXGetCurrentReadDrawable;*/
2976 glx.GetFBConfigAttrib = Fake_glXGetFBConfigAttrib;
2977 glx.GetFBConfigs = Fake_glXGetFBConfigs;
2978 glx.GetSelectedEvent = Fake_glXGetSelectedEvent;
2979 glx.GetVisualFromFBConfig = Fake_glXGetVisualFromFBConfig;
2980 glx.MakeContextCurrent = Fake_glXMakeContextCurrent;
2981 glx.QueryContext = Fake_glXQueryContext;
2982 glx.QueryDrawable = Fake_glXQueryDrawable;
2983 glx.SelectEvent = Fake_glXSelectEvent;
2986 glx.SwapIntervalSGI = Fake_glXSwapIntervalSGI;
2989 glx.GetVideoSyncSGI = Fake_glXGetVideoSyncSGI;
2990 glx.WaitVideoSyncSGI = Fake_glXWaitVideoSyncSGI;
2993 glx.MakeCurrentReadSGI = Fake_glXMakeCurrentReadSGI;
2994 /*glx.GetCurrentReadDrawableSGI = Fake_glXGetCurrentReadDrawableSGI;*/
2998 glx.CreateGLXVideoSourceSGIX = Fake_glXCreateGLXVideoSourceSGIX;
2999 glx.DestroyGLXVideoSourceSGIX = Fake_glXDestroyGLXVideoSourceSGIX;
3003 glx.FreeContextEXT = Fake_glXFreeContextEXT;
3004 glx.GetContextIDEXT = Fake_glXGetContextIDEXT;
3005 /*glx.GetCurrentDisplayEXT = Fake_glXGetCurrentDisplayEXT;*/
3006 glx.ImportContextEXT = Fake_glXImportContextEXT;
3007 glx.QueryContextInfoEXT = Fake_glXQueryContextInfoEXT;
3010 glx.GetFBConfigAttribSGIX = Fake_glXGetFBConfigAttribSGIX;
3011 glx.ChooseFBConfigSGIX = Fake_glXChooseFBConfigSGIX;
3012 glx.CreateGLXPixmapWithConfigSGIX = Fake_glXCreateGLXPixmapWithConfigSGIX;
3013 glx.CreateContextWithConfigSGIX = Fake_glXCreateContextWithConfigSGIX;
3014 glx.GetVisualFromFBConfigSGIX = Fake_glXGetVisualFromFBConfigSGIX;
3015 glx.GetFBConfigFromVisualSGIX = Fake_glXGetFBConfigFromVisualSGIX;
3018 glx.CreateGLXPbufferSGIX = Fake_glXCreateGLXPbufferSGIX;
3019 glx.DestroyGLXPbufferSGIX = Fake_glXDestroyGLXPbufferSGIX;
3020 glx.QueryGLXPbufferSGIX = Fake_glXQueryGLXPbufferSGIX;
3021 glx.SelectEventSGIX = Fake_glXSelectEventSGIX;
3022 glx.GetSelectedEventSGIX = Fake_glXGetSelectedEventSGIX;
3025 glx.CushionSGI = Fake_glXCushionSGI;
3028 glx.BindChannelToWindowSGIX = Fake_glXBindChannelToWindowSGIX;
3029 glx.ChannelRectSGIX = Fake_glXChannelRectSGIX;
3030 glx.QueryChannelRectSGIX = Fake_glXQueryChannelRectSGIX;
3031 glx.QueryChannelDeltasSGIX = Fake_glXQueryChannelDeltasSGIX;
3032 glx.ChannelRectSyncSGIX = Fake_glXChannelRectSyncSGIX;
3036 glx.AssociateDMPbufferSGIX = NULL;
3040 glx.JoinSwapGroupSGIX = Fake_glXJoinSwapGroupSGIX;
3043 glx.BindSwapBarrierSGIX = Fake_glXBindSwapBarrierSGIX;
3044 glx.QueryMaxSwapBarriersSGIX = Fake_glXQueryMaxSwapBarriersSGIX;
3047 glx.GetTransparentIndexSUN = Fake_glXGetTransparentIndexSUN;
3050 glx.CopySubBufferMESA = Fake_glXCopySubBufferMESA;
3053 glx.ReleaseBuffersMESA = Fake_glXReleaseBuffersMESA;
3056 glx.CreateGLXPixmapMESA = Fake_glXCreateGLXPixmapMESA;
3059 glx.Set3DfxModeMESA = Fake_glXSet3DfxModeMESA;
3062 glx.AllocateMemoryNV = Fake_glXAllocateMemoryNV;
3063 glx.FreeMemoryNV = Fake_glXFreeMemoryNV;
3066 glx.GetAGPOffsetMESA = Fake_glXGetAGPOffsetMESA;
3069 glx.BindTexImageEXT = Fake_glXBindTexImageEXT;
3070 glx.ReleaseTexImageEXT = Fake_glXReleaseTexImageEXT;
3072 return &glx;