summaryrefslogtreecommitdiff
path: root/GL/glx/glxscreens.c
AgeCommit message (Collapse)AuthorFilesLines
2008-05-21Move GL/glx on level up now that it's the only thing left under GL.Kristian Høgsberg1-601/+0
2008-04-23Prefer glxvisuals with stencil buffer for default visualsHans de Goede1-3/+10
The first fbconfig which has a depthbuffer > 0 and doublebuf is choosen when associating fbconfigs with the visuals, indepenent of stencil bits. This happens to work ok on intel as there all fbconfigs with a depthbuffer > 0 also have stencil bits. This patch fixes this by first trying to get a fbconfig for default X visuals with both stencilbuf, depthbuf and doublebuffering, and if that fails fallback to trying to get one with only a depthbuf and doublebuffering.
2008-04-14glx: silly nitpick...Dave Airlie1-1/+1
even though i and j are the same, we use i to derefence visuals everywhere else
2008-03-31Implement DRI2 direct rendering and update AIGLX to DRI interface changes.Kristian Høgsberg1-19/+36
Get rid of glcontextmodes.[ch] from build, rename __GlcontextModes to __GLXcontext. Drop all #includes of glcontextmodes.h and glcore.h. Drop the DRI context modes extension. Add protocol code to DRI2 module and load DRI2 extension by default.
2008-02-14Add GLX provider for DRI2.Kristian Høgsberg1-0/+26
2007-12-13Merge branch 'master' into XACE-SELINUXEamon Walsh1-1/+1
Conflicts: Xext/EVI.c Xext/bigreq.c Xext/cup.c Xext/dpms.c Xext/fontcache.c Xext/mitmisc.c Xext/xcmisc.c Xext/xf86bigfont.c Xext/xtest.c configure.ac dbe/dbe.c hw/darwin/darwin.h hw/darwin/darwinEvents.c hw/darwin/iokit/xfIOKit.h hw/darwin/iokit/xfIOKitCursor.c hw/darwin/quartz/fullscreen/fullscreen.c hw/darwin/quartz/fullscreen/quartzCursor.c hw/darwin/quartz/quartz.c hw/darwin/quartz/quartzCommon.h hw/darwin/quartz/quartzCursor.c hw/darwin/quartz/xpr/dri.c hw/darwin/quartz/xpr/dristruct.h hw/darwin/quartz/xpr/xprCursor.c hw/darwin/quartz/xpr/xprFrame.c hw/xfree86/modes/xf86RandR12.c include/cursor.h miext/rootless/rootlessCommon.h miext/rootless/rootlessScreen.c miext/rootless/rootlessWindow.c render/picturestr.h Trying to pick up the pieces from the darwin churn here...
2007-12-07Darwin: Use __APPLE__ instead of __DARWIN__Jeremy Huddleston1-1/+1
(cherry picked from commit 54654815fa5e59b25cfd1fa72610120b72c10175)
2007-11-05Merge branch 'master' into XACE-SELINUXEamon Walsh1-30/+40
Conflicts: dix/dispatch.c dix/property.c hw/xfree86/common/xf86VidMode.c include/xkbsrv.h render/glyph.c xkb/xkbActions.c
2007-10-29Set up visuals for the existing X visuals.Kristian Høgsberg1-17/+40
This makes the root visual a GLX capable visual again and adds a GLX visual for the COMPOSITE ARGB visual cleanly (as opposed to the hack we had before).
2007-10-26Weed out some unused fluff from __GLXcontext.Kristian Høgsberg1-11/+0
2007-10-26Quiet glx visual debug info.Kristian Høgsberg1-2/+0
2007-10-25Merge branch 'master' into XACE-SELINUXEamon Walsh1-10/+241
Conflicts: GL/glx/glxscreens.c hw/xnest/Screen.c render/glyph.c render/glyphstr.h render/render.c
2007-10-19Fix software GL to provide a list of supported fbconfigs like the DRI case.Kristian Høgsberg1-14/+14
2007-10-18Introduce a new "GlxVisuals" option that controls which visuals are added.Kristian Høgsberg1-30/+90
Right now we default to "all" which gives us a situation much like before, but when the "typical" option is implemented, we can change the default and reduce the number of visuals the GLX module bloats the X server with.
2007-10-18Add code to set up GLX visuals and add one for the first double buffered ↵Kristian Høgsberg1-10/+142
FBConfig.
2007-10-18Separate handling of GLX visuals and GLX FBConfigs.Kristian Høgsberg1-2/+35
XIDs for GLX visuals and FBConfigs used to be interchangable and the list of GLX visuals was identical to the list for FBConfigs. This patch splits handling of these two data types and allows the X server to pick and choose the FBConfigs that are exposed as visuals.
2007-10-18Simplify and clean up GLX visual initialization.Kristian Høgsberg1-2/+7
Instead of the fragile setup where we filter the modes common between the DDX generated GLX visuals and the DRI driver generated fbconfigs, we now just take the fbconfigs returned by the DRI driver to be our supported set.
2007-10-17devPrivates rework: update new GL/glxext code.Eamon Walsh1-15/+5
Need to merge so this type of thing stops happening.
2007-10-12Move hyperpipe and swapbarrier extension funcs to screen private struct.Kristian Høgsberg1-28/+4
This gets rid of a couple more global arrays and gets the two extensions more in line with the general extension mechanism.
2007-10-12Convert GLX module to use screen private indexes like everything else.Kristian Høgsberg1-72/+48
2006-08-25Enable GL_EXT_texture_filter_anisotropic and GL_EXT_blend_equation_separate.Ian Romanick1-0/+2
Re-generate from gl_API.xml 1.65. This provides the missing bits for GL_EXT_texture_filter_anisotropic and GL_EXT_blend_equation_separate. Enable those extensions.
2006-08-25Enable vertex and fragment programs.Ian Romanick1-1/+12
Implement glGetProgramStringARB and glGetProgramStringNV. With these functions implemented, GL_ARB_{vertex,fragment}_program, GL_NV_{vertex,fragment}_program, and related extensions can be enabled.
2006-08-24Finish support for GL_ARB_texture_compression.Ian Romanick1-1/+7
Fill in __glXDisp_GetCompressedTexImageARB and __glXDispSwap_GetCompressedTexImageARB to finish support for GL_ARB_texture_compression. With this extension (and the related compression extensions), the server-side GLX supports all of the protocol for GL 1.4. w00t! The bad news is that this has received only minimal testing, and Mesa does not contain any good tests for GL_ARB_texture_compression.
2006-08-24Regenerate from gl_API.xml 1.63. Enable extensions.Ian Romanick1-0/+3
gl_API.xml 1.63 corrects some problems with GLX protocol for GL_EXT_paletted_texture and GL_SGI_color_table. Regenerate from that file, and enable those extensions and GL_EXT_shared_texture_palette.
2006-08-24Fix typoAlan Hourihane1-1/+1
2006-08-23Fix the sorting of the extension string. Add a few extensions thatIan Romanick1-4/+20
are supported by the new code. A few of these were actually supported before but weren't advertised.
2006-07-21Remove RCS tags. Fix Xprint makefile braindamage.Adam Jackson1-1/+0
2006-07-06Add GLX_MESA_copy_sub_buffer marshalling support.Kristian Høgsberg1-0/+1
2006-03-20Finish glx_ansic.h wrapper changes to make Xvfb and Xnest link again.Donnie Berkholz1-2/+2
2006-03-17Check for glproto when building GLX and make sure we have at least 1.4.6.Kristian Høgsberg1-13/+13
Drop glx_ansic.h wrapper and call xalloc, xrealloc, xfree and str-funcs directly.
2006-03-17More patches from David Reveman:Kristian Høgsberg1-0/+3
Add GL_ARB_texture_non_power_of_two, GL_EXT_framebuffer_object and GL_NV_texture_env_combine4 extensions. Add __GLXcontext destructor and flush context cache there and on loseCurrent. Chain back to new __GLXcontext destructor. (__glXMesaContextForceCurrent): Set render table on forceCurrent. (init_screen_visuals): Index pVis array correctly. (GlxGetMesaProvider): Add this. Hook up FBO marshalling.
2006-03-12Merge accel_indirect branch to HEAD.Kristian Høgsberg1-120/+71
2006-02-10Remove libcwrapper usage from xorg server modules. The libcwrapper is onlyEric Anholt1-3/+1
of (marginal) use in the drivers, and that usage remains.
2005-10-05Bug #3652: Server-side GLX support for GLX_SGIX_swap_barrier andAdam Jackson1-0/+58
GLX_SGIX_hyperpipe extensions. (Eric Kunze, SGI)
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone1-0/+4
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings. Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all source files in the xserver/xorg tree, predicated on defines of HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to <X11/fonts/foo.h>.
2005-06-09Re-enable GL_HP_occlusion_test. The problems in Mesa that caused this bugIan Romanick1-6/+0
were fixed by Brian Paul in Mesa version 6.1. The current Mesa version in the X.org tree is 6.2.1. Xorg bug: 762
2005-05-30Bug #3407: Clean out ancient #ifdef X11R5 conditionals.Adam Jackson1-4/+0
2004-07-26Bug #377: Make lib{glx,GLcore,dri} work when compiled as dlloader modules.Adam Jackson1-8/+13
2004-06-16Merge DRI-trunk-20040613 changes in programs/Xserver/GL.Eric Anholt1-1/+3
2004-06-16DRI trunk-20040613 importDRI-trunk-20040721DRI-trunk-20040613Eric Anholt1-84/+9
2004-06-16DRI XFree86-4_3_99_12-merge importDRI-XFree86-4_3_99_12-mergeEric Anholt1-9/+2
2004-04-23Merging XORG-CURRENT into trunkEgbert Eich1-1/+1
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich1-1/+1
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0STSF-CURRENTEgbert Eich1-1/+1
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich1-1/+1
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich1-1/+1
2004-02-23Import most of XFree86 4.4RC3. This import excludes files which have thexf86-4_3_99_903_specialKaleb Keithley1-2/+9
new license. If we want to, later we can import 4.4RC3 again and pick up the files that have the new license, but for now the vendor branch is "pure."
2003-11-25XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16Kaleb Keithley1-13/+80
2003-11-14Initial revisionKaleb Keithley1-0/+327