History log of /external/mesa3d/src/glx/glxcurrent.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a2f28ceea22254f09ee37039eec873ccdf689e6c 19-Sep-2012 Matt Turner <mattst88@gmail.com> build: Use AX_PTHREAD's HAVE_PTHREAD preprocessor definition
(cherry picked from commit 814345f54b74eee2597cf84f3c34817488f07522)

Conflicts:

src/mapi/glapi/gen/gl_x86-64_asm.py
src/mapi/glapi/gen/gl_x86_asm.py
/external/mesa3d/src/glx/glxcurrent.c
75be6b76eef00352195220a4beefbc7ca0b76453 21-Jun-2011 Stéphane Marchesin <marcheu@chromium.org> glx: Fix compile.
/external/mesa3d/src/glx/glxcurrent.c
4fbdde889ce5875243c588e4c7c9f4b775d0d7a5 17-Jun-2011 Jeremy Huddleston <jeremyhu@apple.com> glx: Bind to our context before __glXSetCurrentContext

We want to bind to our context before calling __glXSetCurrentContext or
messing with the gc rect in order to properly handle error conditions.

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
/external/mesa3d/src/glx/glxcurrent.c
517614141be2a1f392a4ea87c1077911ccadf35f 17-Jun-2011 Jeremy Huddleston <jeremyhu@apple.com> glx: Destroy the old context only after the new one has been bound

This fixes a regression introduced by 49d7e48b33264d94e30af6129c281b6acafa9427

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
/external/mesa3d/src/glx/glxcurrent.c
bf69ce37f0dcbb479078ee676d5100ac63e20750 16-Jun-2011 Stéphane Marchesin <marcheu@chromium.org> glx: implement drawable refcounting.

The current dri context unbind logic will leak drawables until the process
dies (they will then get released by the GEM code). There are two ways to fix
this: either always call driReleaseDrawables every time we unbind a context
(but that costs us round trips to the X server at getbuffers() time) or
implement proper drawable refcounting. This patch implements the latter.

Signed-off-by: Antoine Labour <piman@chromium.org>
Signed-off-by: Stéphane Marchesin <marcheu@chromium.org>
Reviewed-by: Adam Jackson <ajax@redhat.com>
/external/mesa3d/src/glx/glxcurrent.c
3b23cf43a4ac308df8875025fed333383b520105 08-Jun-2011 Jeremy Huddleston <jeremyhu@apple.com> glx: Remove some GLX_USE_APPLEGL guards around glapi

Now that we're using glapi, we don't need some GLX_USE_APPLEGL ifdef-foo

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
/external/mesa3d/src/glx/glxcurrent.c
3843bbcb4ca4de232dbae6ba3ae619ddfc93508b 06-Jun-2011 Jeremy Huddleston <jeremyhu@apple.com> glx: Dead code removal

Remove a redundant ifndef GLX_USE_APPLEGL

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
/external/mesa3d/src/glx/glxcurrent.c
8593bb32eae5368c1ba52504133b0bf200bf8e74 06-Jun-2011 Jeremy Huddleston <jeremyhu@apple.com> apple: ifdef out come glapi-foo on darwin

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
/external/mesa3d/src/glx/glxcurrent.c
76a43c5fba9ccb5e7f945a06ce711b381da0819b 10-Mar-2011 Brian Paul <brianp@vmware.com> glx: fix null pointer deref in __glXGenerateError()

The gc var would be NULL if called from line 238. Instead, get
the opcode from __glXSetupForCommand(dpy) as done in other places.
And remove the unused gc parameter.

Fixes a bug reported by "John Doe" on 3/9/2011.

NOTE: This is a candidate for the 7.10 branch.
/external/mesa3d/src/glx/glxcurrent.c
49d7e48b33264d94e30af6129c281b6acafa9427 04-Feb-2011 Eric Anholt <eric@anholt.net> mesa: Add new MESA_multithread_makecurrent extension.

This extension allows a client to bind one context in multiple threads
simultaneously. It is then up to the client to manage synchronization of
access to the GL, just as normal multithreaded GL from multiple contexts
requires synchronization management to shared objects.
/external/mesa3d/src/glx/glxcurrent.c
94118fe2d4b1e5d0b9f39d9d2c44706db462e97e 09-Sep-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Optimize out no-op make current calls

This make a lot more sense now that we might have to recreate the
glx drawables for legacy code paths.
/external/mesa3d/src/glx/glxcurrent.c
659dab6be6bc82f8a0551c30f1133e0010f04ed8 08-Sep-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Fix use after free problem
/external/mesa3d/src/glx/glxcurrent.c
16887d042a917fa4773e4d853f50051b54e9948c 27-Aug-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Drop broken drawable garbage collection

Doesn't work for pixmaps, was looking up the GLX XID and was never thread
safe. Instead, just destroy the client side structures when the
drawable is no long current for a context.
/external/mesa3d/src/glx/glxcurrent.c
3ea3f5e0a542cfd9f9a3433515fd27e0a5d1b1ac 07-Sep-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Set an all NULL vtable for dummyContext

This reverts 6a6e6d7b0a84e20f9754af02a575ae34081d310c and initializes
dummyContext with an all NULL vtable. The context vtable pointer is
supposed to always be non-NULL, but the vtable entries can be NULL.
/external/mesa3d/src/glx/glxcurrent.c
f485ee724d1f1bb57a5c8931f28e7a45ceb5b5d5 30-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Compare old ctx against dummyCtx, not NULL

https://bugs.freedesktop.org/show_bug.cgi?id=29302
/external/mesa3d/src/glx/glxcurrent.c
6849916170c0275c13510251a7b217c20f2b993e 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Split indirect and applegl implementations into different files
/external/mesa3d/src/glx/glxcurrent.c
c491e585e43d48a2aeec96ccc4008da6c443fb42 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move bind and unbind to context vtable
/external/mesa3d/src/glx/glxcurrent.c
c356f5867f2c1fad7155df538b9affa8dbdcf869 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types.
/external/mesa3d/src/glx/glxcurrent.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/glxcurrent.c
38c51a76533a90cf2c9381c99247cfac45fe70eb 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Use _X_EXPORT instead of our own PUBLIC macro

We're an X client library, so we can use Xfuncproto.h.
/external/mesa3d/src/glx/glxcurrent.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/glxcurrent.c
c796bb0cc3fde409545bff320540ddf5c029e513 23-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move context destroy to context vtable
/external/mesa3d/src/glx/glxcurrent.c
31819830b66a49f1b62e09090cc65aefc657aeb8 23-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Allocate the __GLXcontext in the DRI drivers
/external/mesa3d/src/glx/glxcurrent.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/glxcurrent.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/glxcurrent.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/glxcurrent.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/glxcurrent.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/glxcurrent.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/glxcurrent.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/glxcurrent.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/glxcurrent.c