summaryrefslogtreecommitdiffstats
path: root/src/glx/dri2_glx.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch '7.8'Brian Paul2010-04-281-1/+1
|\ | | | | | | | | | | | | Conflicts: src/glx/dri2_glx.c src/glx/glx_pbuffer.c
| * glx: Initialize have_back.Pierre Willenbrok2010-04-271-0/+1
| | | | | | | | Signed-off-by: Brian Paul <[email protected]>
| * apple: Change ifdefs for DRI to be DRI && !APPLEJeremy Huddleston2010-04-271-1/+1
| | | | | | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* | Initialize have_back.Pierre Willenbrock2010-04-271-0/+1
| | | | | | | | | | | | There is a user somewhere that tests it before its initial set. Signed-off-by: Eric Anholt <[email protected]>
* | Merge branch '7.8'Michel Dänzer2010-04-231-0/+2
|\|
| * glx/dri2: Fix build with dri2proto which doesn't define X_DRI2SwapInterval.Michel Dänzer2010-04-231-0/+2
| |
* | DRI2/GLX: check for vblank_mode in DRI2 GLX codeJesse Barnes2010-04-221-2/+39
|/ | | | | Re-add support for the vblank_mode environment and configuration variable. Useful for benchmarking and app control.
* DRI2: check for swapAvailable before using swap interval protocolJesse Barnes2010-04-191-1/+7
| | | | This should have been part of the last change...
* DRI2: synchronize swap interval with server at startup timeJesse Barnes2010-04-191-1/+6
| | | | | | | In the direct rendered case, we need to tell the server our initial swap interval. If we don't, the local and server values will be out of sync, since the server and client defaults may be different (as they were before this patch).
* Initialize DRI2 swap interval to 0Michael Schmidt2010-04-141-0/+1
| | | | https://bugs.freedesktop.org/show_bug.cgi?id=27628
* GLX/DRI2: pass GLX drawable ID to dri2InvalidateBuffersJesse Barnes2010-04-011-2/+2
| | | | | | | | The IDs will be the same in the case where an X window is used directly as a GLX drawable, but will fail if a new GLX drawable is created explicitly, as with glxgears_fbconfig. Fixes fdo bug #27190.
* Revert accidental commits from the xquartz treeJeremy Huddleston2010-04-011-1/+1
| | | | | | | | | | | 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.
* apple: Change ifdefs for DRI to be DRI && !APPLEJeremy Huddleston2010-04-011-1/+1
| | | | Signed-off-by: Jeremy Huddleston <[email protected]>
* glx/dri2: Fix debug build with old dri2proto.Michel Dänzer2010-03-301-0/+13
| | | | | Apparently the higher compiler optimization level in non-debug builds was eliminating the unused functions referencing the unresolved DRI2 symbols...
* glx: Move initialization of ext_list_first_time to where it's storage is ↵Brian Paul2010-03-051-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | allocated Move the initialization of ext_list_first_time from all of the DRI loader's CreateScreen routines, to where the storage for the screen config is allocated. It needs to get set in the screen-config even if DRI is forced off using LIBGL_ALWAYS_INDIRECT, so that psc->direct_support is initialized correctly, otherwise __glXExtensionBitIsEnabled() always returns FALSE Specifically, this causes a problem with an X server which advertises GLX<=1.2, and the GLX_SGIX_fbconfig extension. glXGetFBConfigFromVisualSGIX() uses __glXExtensionBitIsEnabled() to check if the GLX_SGIX_fbconfig extension is available, but that function won't return correct information because that data has never been initialized, because ext_list_first_time was never set... Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit 96ab4d2b84178209ee59017458d9964b32b7e183)
* DRI2: expose OML_sync_control if possibleJesse Barnes2010-03-051-0/+3
| | | | | If the server supports the OML related protocol, enable support for the extension.
* dri2: Event driven buffer validation.Francisco Jerez2010-02-161-14/+28
| | | | | | | | | | | | | | | | | | When a buffer invalidation event is received from the X server, the "invalidate" hook of the DRI2 flush extension is executed: A generic implementation (dri2InvalidateDrawable) is provided that just bumps the "pStamp" sequence number in __DRIdrawableRec. For old servers not supporting buffer invalidation events, the invalidate hook will be called before flushing the fake front/back buffer (that's typically once per frame -- not a lot worse than the situation we were in before). No effort has been made on preserving backwards compatibility with version 2 of the flush extension, but I think it's acceptable because AFAIK no released stack is making use of it. Signed-off-by: Kristian Høgsberg <[email protected]>
* Retire miniglx and move the actual glx code up to src/glxKristian Høgsberg2010-02-091-0/+666