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.
56 /* This indicates the client-side GLX API and GLX encoder version. */
60 /* This indicates the server-side GLX decoder version.
61 * GLX 1.4 indicates OpenGL 1.3 support
69 /* Who implemented this GLX? */
89 /*** GLX Visual Code ***/
245 * configuration in our list of GLX visuals.
371 * Create a GLX visual from a regular XVisualInfo.
372 * This is called when Fake GLX is given an XVisualInfo which wasn't
376 * This is the best we can do with a client-side emulation of GLX.
418 * Find the GLX visual associated with an XVisualInfo.
439 * Return the transparent pixel value for a GLX visual.
565 _mesa_warning(NULL, "GLX unable to find visual class=%s, depth=%d.",
577 * preferred_class - preferred GLX visual class or DONT_CARE
667 * preferred_class - preferred GLX visual class or DONT_CARE
851 /*** Begin Fake GLX API Functions ***/
899 * From page 17 (23 of the pdf) of the GLX 1.4 spec:
900 * GLX DONT CARE may be specified for all attributes except GLX LEVEL.
1148 * Since we're only simulating the GLX extension this function will never
1162 /* give the visual some useful GLX attributes */
1287 /* GLX 1.3 and later */
1445 /* Mesa's GLX isn't really an X extension but we try to act like one. */
1452 return True; /* we're faking GLX so always return success */
1525 /* Return GLX version, not Mesa version */
1534 * Query the GLX attributes of the given XVisualInfo.
1823 /* GLX 1.1 and later */
1834 /* GLX 1.1 and later */
1859 /* GLX 1.1 and later */
1884 * GLX 1.3 and later
1993 (void) attribList; /* Ignored in GLX 1.3 */
2875 * Create a new GLX API dispatch table with its function pointers
2876 * initialized to point to Mesa's "fake" GLX API functions.
2879 * to "real" GLX functions (which understand GLX wire protocol, etc).
2884 static struct _glxapi_table glx;
2894 _glxapi_set_no_op_table(&glx);
2897 glx.ChooseVisual = Fake_glXChooseVisual;
2898 glx.CopyContext = Fake_glXCopyContext;
2899 glx.CreateContext = Fake_glXCreateContext;
2900 glx.CreateGLXPixmap = Fake_glXCreateGLXPixmap;
2901 glx.DestroyContext = Fake_glXDestroyContext;
2902 glx.DestroyGLXPixmap = Fake_glXDestroyGLXPixmap;
2903 glx.GetConfig = Fake_glXGetConfig;
2904 glx.GetCurrentContext = Fake_glXGetCurrentContext;
2905 /*glx.GetCurrentDrawable = Fake_glXGetCurrentDrawable;*/
2906 glx.IsDirect = Fake_glXIsDirect;
2907 glx.MakeCurrent = Fake_glXMakeCurrent;
2908 glx.QueryExtension = Fake_glXQueryExtension;
2909 glx.QueryVersion = Fake_glXQueryVersion;
2910 glx.SwapBuffers = Fake_glXSwapBuffers;
2911 glx.UseXFont = Fake_glXUseXFont;
2912 glx.WaitGL = Fake_glXWaitGL;
2913 glx.WaitX = Fake_glXWaitX;
2916 glx.GetClientString = Fake_glXGetClientString;
2917 glx.QueryExtensionsString = Fake_glXQueryExtensionsString;
2918 glx.QueryServerString = Fake_glXQueryServerString;
2921 /*glx.GetCurrentDisplay = Fake_glXGetCurrentDisplay;*/
2924 glx.ChooseFBConfig = Fake_glXChooseFBConfig;
2925 glx.CreateNewContext = Fake_glXCreateNewContext;
2926 glx.CreatePbuffer = Fake_glXCreatePbuffer;
2927 glx.CreatePixmap = Fake_glXCreatePixmap;
2928 glx.CreateWindow = Fake_glXCreateWindow;
2929 glx.DestroyPbuffer = Fake_glXDestroyPbuffer;
2930 glx.DestroyPixmap = Fake_glXDestroyPixmap;
2931 glx.DestroyWindow = Fake_glXDestroyWindow;
2932 /*glx.GetCurrentReadDrawable = Fake_glXGetCurrentReadDrawable;*/
2933 glx.GetFBConfigAttrib = Fake_glXGetFBConfigAttrib;
2934 glx.GetFBConfigs = Fake_glXGetFBConfigs;
2935 glx.GetSelectedEvent = Fake_glXGetSelectedEvent;
2936 glx.GetVisualFromFBConfig = Fake_glXGetVisualFromFBConfig;
2937 glx.MakeContextCurrent = Fake_glXMakeContextCurrent;
2938 glx.QueryContext = Fake_glXQueryContext;
2939 glx.QueryDrawable = Fake_glXQueryDrawable;
2940 glx.SelectEvent = Fake_glXSelectEvent;
2943 glx.SwapIntervalSGI = Fake_glXSwapIntervalSGI;
2946 glx.GetVideoSyncSGI = Fake_glXGetVideoSyncSGI;
2947 glx.WaitVideoSyncSGI = Fake_glXWaitVideoSyncSGI;
2950 glx.MakeCurrentReadSGI = Fake_glXMakeCurrentReadSGI;
2951 /*glx.GetCurrentReadDrawableSGI = Fake_glXGetCurrentReadDrawableSGI;*/
2955 glx.CreateGLXVideoSourceSGIX = Fake_glXCreateGLXVideoSourceSGIX;
2956 glx.DestroyGLXVideoSourceSGIX = Fake_glXDestroyGLXVideoSourceSGIX;
2960 glx.FreeContextEXT = Fake_glXFreeContextEXT;
2961 glx.GetContextIDEXT = Fake_glXGetContextIDEXT;
2962 /*glx.GetCurrentDisplayEXT = Fake_glXGetCurrentDisplayEXT;*/
2963 glx.ImportContextEXT = Fake_glXImportContextEXT;
2964 glx.QueryContextInfoEXT = Fake_glXQueryContextInfoEXT;
2967 glx.GetFBConfigAttribSGIX = Fake_glXGetFBConfigAttribSGIX;
2968 glx.ChooseFBConfigSGIX = Fake_glXChooseFBConfigSGIX;
2969 glx.CreateGLXPixmapWithConfigSGIX = Fake_glXCreateGLXPixmapWithConfigSGIX;
2970 glx.CreateContextWithConfigSGIX = Fake_glXCreateContextWithConfigSGIX;
2971 glx.GetVisualFromFBConfigSGIX = Fake_glXGetVisualFromFBConfigSGIX;
2972 glx.GetFBConfigFromVisualSGIX = Fake_glXGetFBConfigFromVisualSGIX;
2975 glx.CreateGLXPbufferSGIX = Fake_glXCreateGLXPbufferSGIX;
2976 glx.DestroyGLXPbufferSGIX = Fake_glXDestroyGLXPbufferSGIX;
2977 glx.QueryGLXPbufferSGIX = Fake_glXQueryGLXPbufferSGIX;
2978 glx.SelectEventSGIX = Fake_glXSelectEventSGIX;
2979 glx.GetSelectedEventSGIX = Fake_glXGetSelectedEventSGIX;
2982 glx.CushionSGI = Fake_glXCushionSGI;
2985 glx.BindChannelToWindowSGIX = Fake_glXBindChannelToWindowSGIX;
2986 glx.ChannelRectSGIX = Fake_glXChannelRectSGIX;
2987 glx.QueryChannelRectSGIX = Fake_glXQueryChannelRectSGIX;
2988 glx.QueryChannelDeltasSGIX = Fake_glXQueryChannelDeltasSGIX;
2989 glx.ChannelRectSyncSGIX = Fake_glXChannelRectSyncSGIX;
2993 glx.AssociateDMPbufferSGIX = NULL;
2997 glx.JoinSwapGroupSGIX = Fake_glXJoinSwapGroupSGIX;
3000 glx.BindSwapBarrierSGIX = Fake_glXBindSwapBarrierSGIX;
3001 glx.QueryMaxSwapBarriersSGIX = Fake_glXQueryMaxSwapBarriersSGIX;
3004 glx.GetTransparentIndexSUN = Fake_glXGetTransparentIndexSUN;
3007 glx.CopySubBufferMESA = Fake_glXCopySubBufferMESA;
3010 glx.ReleaseBuffersMESA = Fake_glXReleaseBuffersMESA;
3013 glx.CreateGLXPixmapMESA = Fake_glXCreateGLXPixmapMESA;
3016 glx.Set3DfxModeMESA = Fake_glXSet3DfxModeMESA;
3019 glx.AllocateMemoryNV = Fake_glXAllocateMemoryNV;
3020 glx.FreeMemoryNV = Fake_glXFreeMemoryNV;
3023 glx.GetAGPOffsetMESA = Fake_glXGetAGPOffsetMESA;
3026 glx.BindTexImageEXT = Fake_glXBindTexImageEXT;
3027 glx.ReleaseTexImageEXT = Fake_glXReleaseTexImageEXT;
3029 glx.CreateContextAttribs = Fake_glXCreateContextAttribs;
3030 return &glx;