History log of /external/mesa3d/src/glx/glxext.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4b507f809c66a1b4245e63778943aeeed71f575c 12-Jul-2012 Ian Romanick <ian.d.romanick@intel.com> glx: Set sRGBCapable to a default value

Previously, if the server didn't send a GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT
tag, it would still be set to GLX_DONT_CARE (which is -1). Set it to
GL_FALSE instead.

NOTE: This is a candidate for stable release branches.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: Maciej Wieczorek <maciej.t.wieczorek@intel.com>
(cherry picked from commit 7b0f912e70d79bcb863ea38f7d3910ab2be0860e)
/external/mesa3d/src/glx/glxext.c
8d00f077c9672ed2f00a1c67b688c82c3fc7d480 17-Oct-2012 Adam Jackson <ajax@redhat.com> glx: Add GLXBadProfileARB to the error string list

Note: This is a candidate for the stable branches.

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
(cherry picked from commit a30d14635d5d55ce0e022b0b66770da32155a3d7)
/external/mesa3d/src/glx/glxext.c
0256edd709d976198d5354fdd88143d8da9e51d5 25-May-2012 Stéphane Marchesin <marcheu@chromium.org> glx: Handle a null reply in QueryVersion.

Works around crashes when X connections break.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>

NOTE: This is a candidate for the 8.0 branch.
/external/mesa3d/src/glx/glxext.c
eacd61bfefc416166998b2344540dab1e4e77beb 29-Nov-2011 Ian Romanick <ian.d.romanick@intel.com> glx: Use __glX_send_client_info with XCB

__glX_send_client_info only supports XCB, so use that instead of
__glXClientInfo when USE_XCB is defined.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glx/glxext.c
e4be406f09fcb3756cd0e8dd0539f62bafb1bcca 29-Nov-2011 Ian Romanick <ian.d.romanick@intel.com> glx: Explicitly reject servers that only support GLX 1.0

__glXInitialize calls AllocAndFetchScreenConfigs.
AllocAndFetchScreenConfigs unconditionally sends a glXQuerySeverString
request to the server. This request is only supported with GLX 1.1 or
later, so we were already implicitly incompatible with GLX 1.0
servers. How many more similar bugs lurk in the code that nobody has
noticed in years?

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
/external/mesa3d/src/glx/glxext.c
0f20e2e18f902b4319851643e1775a18c2aacb3d 18-Jul-2011 Henri Verbeet <hverbeet@gmail.com> glx: Avoid calling __glXInitialize() in driReleaseDrawables().

This fixes a regression introduced by commit
a26121f37530619610a78a5fbe5ef87e44047fda (fd.o bug #39219).

Since the __glXInitialize() call should be unnecessary anyway, this is
probably a nicer fix for the original problem too.

NOTE: This is a candidate for the 7.10 and 7.11 branches.

Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Tested-by: padfoot@exemail.com.au
/external/mesa3d/src/glx/glxext.c
4df137691ee29bb812347fa2c5f19095243ede22 06-May-2011 Jesse Barnes <jbarnes@virtuousgeek.org> GLX/DRI2: handle swap event swap count wrapping

Create a new GLX drawable struct to track client related info, and add a
wrap counter to it drawable and track it as we receive events. This
allows us to support the full 64 bits of the event structure we pass to
the client even though the server only gives us a 32 bit count.

Reviewed-by: Michel Dänzer <michel@daenzer.net>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
/external/mesa3d/src/glx/glxext.c
1e39fc784bc3d0d5ad01d9c147529ac0e10f1262 05-May-2011 Jesse Barnes <jbarnes@virtuousgeek.org> DRI2/GLX: use new swap event types

Use the new swap event type so we get valid SBC values.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
/external/mesa3d/src/glx/glxext.c
1885cf27c9c4642a049c60a8236cb84735cb9eba 06-Jun-2011 Jeremy Huddleston <jeremyhu@apple.com> apple: Build darwin using applegl rather than indirect

This reverts portions of 6849916170c0275c13510251a7b217c20f2b993e that caused
the darwin config to fail to build due to missing implementations in that
commit.

See https://bugs.freedesktop.org/show_bug.cgi?id=29162

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
/external/mesa3d/src/glx/glxext.c
dc4a3edcf9d414d5098618d5d3b79d8dd90adcc3 05-May-2011 Dave Airlie <airlied@redhat.com> Revert "DRI2/GLX: make swap event handling match spec"

This reverts commit 70227e21bbd4411956ceeb5039640140e64a11a8.

revert this until we sort things out, with a new glproto release
with compatible struct names.
/external/mesa3d/src/glx/glxext.c
70227e21bbd4411956ceeb5039640140e64a11a8 03-May-2011 Jesse Barnes <jbarnes@virtuousgeek.org> DRI2/GLX: make swap event handling match spec

We only handle a 32 bit swap count, so use the new structure definitions.

Reviewed-by: Adam Jackson <ajax@redhat.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
/external/mesa3d/src/glx/glxext.c
a26121f37530619610a78a5fbe5ef87e44047fda 07-Apr-2011 Henri Verbeet <hverbeet@gmail.com> glx: Only remove the glx_display from the list after it's destroyed.

Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
/external/mesa3d/src/glx/glxext.c
6538b5824e298eaebede2d9686c7607c44ab446a 06-Mar-2011 Dave Airlie <airlied@redhat.com> glx/dri: add initial dri interface for GLX_EXT_framebuffer_sRGB.

This realigns the name of the glx bit to align with the core mesa names.
/external/mesa3d/src/glx/glxext.c
b09b3e5c8f4f5d71b986bf359b56e7b60424538d 06-Mar-2011 Dave Airlie <airlied@redhat.com> glx: add initial GLX_EXT_framebuffer_sRGB support.

this doesn't bind to drivers yet, just enough to in theory make indirect
work against other servers.

I'm really not sure what the rules for adding extensions to the known_gl_extensions list as it looks to be missing a few. are these GL extensions that have GLX
protocol??

Signed-off-by: Dave Airlie <airlied@redhat.com>
/external/mesa3d/src/glx/glxext.c
bfc889517ad0d490cce1817eecac146d66bcd923 30-Jan-2011 Henri Verbeet <hverbeet@gmail.com> glx: Fix leaks in DRI2 screen creation error paths.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/glx/glxext.c
cbe9fc12a64c3ae89fd1b20e9e165aa4b76293a5 26-Jan-2011 Julien Cristau <jcristau@debian.org> glx: fix length of GLXGetFBConfigsSGIX

The extra length is the size of the request *minus* the size of the
VendorPrivate header, not the addition.

NOTE: This is a candidate for the 7.9 and 7.10 branches

Signed-off-by: Julien Cristau <jcristau@debian.org>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/glx/glxext.c
f84d8fab99e10b5575c0f4f93b67846fc1ebad13 07-Sep-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Use GLX_BufferSwapComplete unconditionally, we require glproto 1.4.11
/external/mesa3d/src/glx/glxext.c
dd2658d0ac50665c96ba91e1428afb4651202af3 07-Sep-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Drop unused dri2proto.h include
/external/mesa3d/src/glx/glxext.c
ae9487c29984addc96a6d617292370fbc3f8ff9a 09-Aug-2010 Jon TURNEY <jon.turney@dronecode.org.uk> Some fixes for GLX_INDIRECT_RENDERING only build

This fixes some of the build issues with GLX_INDIRECT_RENDERING but !GLX_DIRECT_RENDERING due to recent changes.

Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/glx/glxext.c
1f1928db001527c3dcf1d78d6a5d2ef8f519327b 02-Aug-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Drop _Xglobal_lock while we create and initialize glx display
/external/mesa3d/src/glx/glxext.c
cd601513f5ff4f488a6f6527bb033e39ee62ffda 29-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Fix linked list deletion in __glXCloseDisplay()

I hate single linked lists.
/external/mesa3d/src/glx/glxext.c
6849916170c0275c13510251a7b217c20f2b993e 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Split indirect and applegl implementations into different files
/external/mesa3d/src/glx/glxext.c
c491e585e43d48a2aeec96ccc4008da6c443fb42 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move bind and unbind to context vtable
/external/mesa3d/src/glx/glxext.c
c356f5867f2c1fad7155df538b9affa8dbdcf869 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types.
/external/mesa3d/src/glx/glxext.c
66fc35cde9ed68a09920ad6a28de794dd1d3aa8c 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Rename __GLXscreenConfigs to struct glx_screen

Because double underscores in private type names is painful.
/external/mesa3d/src/glx/glxext.c
65d98e25770487456eb3d7eb8ec3ec8272f170b1 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Rename glcontextmodes.[ch] to glxconfig.[ch]
/external/mesa3d/src/glx/glxext.c
6ddf66e9230ee862ac341c4767cf6b3b2dd2552b 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Rename __GLcontextModes to struct glx_config

With this rename, we use 'config' consitently to refer to GLX configurations
instead of the modes/configs/visual mess before.
/external/mesa3d/src/glx/glxext.c
4f9f066485d93cd6bb0e21fec0775ceed96d14de 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Delete unused glcontextmodes.c functions
/external/mesa3d/src/glx/glxext.c
5403ca79b225605c79f49866a6497c97da53be3b 26-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Remove function prototypes no longer necessary
/external/mesa3d/src/glx/glxext.c
6739d52fdced53a566188215d204ffef1e85a5e6 24-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Fix use after free case when destroying screens
/external/mesa3d/src/glx/glxext.c
6ec39db726beead21d97bf64ddbe1f0b2d2d6ca1 23-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Refactor and simplify context creation

This lets us better separate context creation between the different
backends.
/external/mesa3d/src/glx/glxext.c
b5dedd7c3b4425127d8b85b7e8df0ecda4009fd7 23-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Fix indirect screen initialization

https://bugs.freedesktop.org/show_bug.cgi?id=29225
/external/mesa3d/src/glx/glxext.c
c796bb0cc3fde409545bff320540ddf5c029e513 23-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move context destroy to context vtable
/external/mesa3d/src/glx/glxext.c
ab434f6b7641a64d30725a9ac24929240362d466 23-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Use _Xglobal_lock for protecting extension display list

Avoids double locking glXLock in the X wire to event handlers.
/external/mesa3d/src/glx/glxext.c
bab13969d8bf3ff9259524c3f4ab96d81485ccef 20-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move driver_configs to DRI screen privates
/external/mesa3d/src/glx/glxext.c
e3e8196c025bd344a59b4671e473c395a6ea426b 20-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move drawHash to display private

The XIDs are display wide so the natural location of the hash is here.
This way we don't have to lookup in each of the screen hashes.
/external/mesa3d/src/glx/glxext.c
037755122e9011c768e5caa4d4cb83aba783d3e9 20-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Don't use __glXInitialize() when we might be holding __glXLock()
/external/mesa3d/src/glx/glxext.c
f972115d33e391499e049b83a1559959f2ca9f72 19-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Add screen privates for dri drivers and moved some fields there

GLXscreenConfigs is badly named and a dumping ground for a lot of stuff.
This patch creates private screen structs for the dri drivers and moves
some of their fields over there.
/external/mesa3d/src/glx/glxext.c
2c30a8d8f9aa405d3d30e75371b2d6643ecd8d32 03-Jun-2010 Brian Paul <brianp@vmware.com> glx: fix indentation and remove extraneous break
/external/mesa3d/src/glx/glxext.c
fc72452b976e368caf133e108ecaddfea8b2b147 03-Jun-2010 Brian Paul <brianp@vmware.com> glx: reformat and silence unused expression warning
/external/mesa3d/src/glx/glxext.c
26a9b7e4c737c89b47844303bb7413ceab0280a5 02-May-2010 Dave Airlie <airlied@redhat.com> glx: fix regression with GLX_USE_GL

update for fbconfig_style_tags
/external/mesa3d/src/glx/glxext.c
80b280db883edc9550484dba03bd5c124b6a9bf9 02-Apr-2010 Jeremy Huddleston <jeremyhu@apple.com> apple: Change ifdefs for DRI to be DRI && !APPLE

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
/external/mesa3d/src/glx/glxext.c
ad503c41557606d15b0420c824369456f6d20a8f 01-Apr-2010 Jeremy Huddleston <jeremyhu@apple.com> apple: Initial import of libGL for OSX from AppleSGLX svn repository.

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
/external/mesa3d/src/glx/glxext.c
ad7d36e91933a49ce3f6ed2c14ae585a8a84fdf5 22-Apr-2010 Aaron Plattner <aplattner@nvidia.com> Fix __glXInitializeVisualConfigFromTags's handling of unrecognized fbconfig tags.

__glXInitializeVisualConfigFromTags doesn't skip the payload of
unrecognized tags. Instead, it treats the value as if it were the
next tag, which can happen if the server's GLX extension is not
Mesa's. For example, this falls down when NVIDIA sends a
GLX_FLOAT_COMPONENTS_NV = 0 pair, causing
__glXInitializeVisualConfigFromTags to bail out early.

Signed-off-by: Aaron Plattner <aplattner@nvidia.com>
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glx/glxext.c
42ea25cb4ecae09b5cc011a95d42ba7f0645dde3 05-Apr-2010 Ian Romanick <ian.d.romanick@intel.com> Update to final names from GLX_INTEL_swap_event spec

Fixes bug #27454.
/external/mesa3d/src/glx/glxext.c
115203281cf791221f586f03c14cfe4e0a44dd7a 02-Apr-2010 Jeremy Huddleston <jeremyhu@apple.com> Revert accidental commits from the xquartz tree

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.
/external/mesa3d/src/glx/glxext.c
23215ef4d60a86d9f3b3fdc08e3fdadc59e98890 01-Apr-2010 Jeremy Huddleston <jeremyhu@apple.com> apple: Change ifdefs for DRI to be DRI && !APPLE

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
/external/mesa3d/src/glx/glxext.c
0594cf70883b64692ba617d85f4f9b4e636e5c2b 01-Apr-2010 Jeremy Huddleston <jeremyhu@apple.com> apple: Initial import of libGL for OSX from AppleSGLX svn repository.

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
/external/mesa3d/src/glx/glxext.c
ae7b3a632dd3f3b005459d77b66a77948260f716 06-Mar-2010 Brian Paul <brianp@vmware.com> glx: Move initialization of ext_list_first_time to where it's storage is 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 <jon.turney@dronecode.org.uk>
Signed-off-by: Brian Paul <brianp@vmware.com>

(cherry picked from commit 96ab4d2b84178209ee59017458d9964b32b7e183)
/external/mesa3d/src/glx/glxext.c
6e8897ff9f90601ebf6eed500ad942c11b54d1f7 09-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> Retire miniglx and move the actual glx code up to src/glx
/external/mesa3d/src/glx/glxext.c