History log of /external/mesa3d/src/glx/glxclient.h
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/glxclient.h
99fee476a102be898a1a093c037e06382f90a5b9 01-Aug-2012 Ian Romanick <ian.d.romanick@intel.com> glx: Don't use glapitable.h at all

When --enable-shared-glapi is used, all non-ABI entries in the table are
lies. Avoiding the use of glapitable.h avoids the lies. The only
entries used in this code are entries that are ABI. For these, the ABI
offset can be used directly.

Since this code is in src/glx, it can't use src/mesa/main/dispatch.h to
get the pretty names for these offsets.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glx/glxclient.h
8a4b36de05a133c1c9527836ca58bf8ebdf229bd 29-Nov-2011 Ian Romanick <ian.d.romanick@intel.com> glx: Don't use 'new' as a function parameter name

Using 'new' as a function parameter name prevents including
glxclient.h the unit tests (future patch) that use the Google C++
Testing Framework.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glx/glxclient.h
588042a8ec4ea91a952c07a0768516fd590758f4 30-Nov-2011 Ian Romanick <ian.d.romanick@intel.com> glx: Initial implementation of glXCreateContextAttribsARB

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glx/glxclient.h
43409fa7b0e64f6d73c3d33bc9a39ba26dd4caeb 30-Nov-2011 Ian Romanick <ian.d.romanick@intel.com> glx: Add glx_screen_vtable::create_context_attribs

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glx/glxclient.h
6ccda72bf87a27844f8b9807fc080984f48af1cf 29-Nov-2011 Ian Romanick <ian.d.romanick@intel.com> glx: Add __glX_send_client_info super function

This function picks the correct client-info protocol (based on the
server's GLX version and set of extensions) and sends it to the
server.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glx/glxclient.h
4dbd13cb3f5aeff6ddc85fd091b4677369c19778 07-Dec-2011 Ian Romanick <ian.d.romanick@intel.com> glx: Send DestroyContext protocol at the correct times

Send the DestroyContext protocol immediately when glXDestroyContext is
called, and never call it when glXFreeContextEXT is called. In both
cases, either destroy the client-side structures or, if the context is
current, set xid to None so that the client-side structures will be
destroyed later.

I believe this restores the behavior of the original SGI code. See
src/glx/x11 around commit 5df82c8. The spec doesn't say anything
about glXDestroyContext not really destroying imported contexts (it
acts like glXFreeContextEXT instead), but that's what the original
code did. Note that glXFreeContextEXT on a non-imported context does
not destroy it either.

Fixes the piglit test glx-free-context.

NOTE: This is a candidate for the 7.11 branch.

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/glxclient.h
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/glxclient.h
559e4f8ebcb186b491d7d687ac43f22a62448fc1 15-Jun-2011 Jeremy Huddleston <jeremyhu@apple.com> glx: Allow a context-specific fallback for glXGetProcAddress

In applegl, GLX advertises the same extensions provided by OpenGL.framework
even if such extensions are not provided by glapi. This allows a client
to get access to such API.

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
/external/mesa3d/src/glx/glxclient.h
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/glxclient.h
e903cc17bbf7152b3f7d64fe7fbb5ceebcc7452e 13-Jun-2011 Jeremy Huddleston <jeremyhu@apple.com> apple: Dead code removal

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
/external/mesa3d/src/glx/glxclient.h
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/glxclient.h
488d6c739f5b6cdfa2c670322057c699644d4e52 06-Jun-2011 Jeremy Huddleston <jeremyhu@apple.com> apple: Re-add driContext and do_destroy

Fixes regression introduced by: c491e585e43d48a2aeec96ccc4008da6c443fb42

Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
/external/mesa3d/src/glx/glxclient.h
e09e5cb7d8b2d7a9d0ec61476e654528010b2b91 01-Jun-2011 Adam Jackson <ajax@redhat.com> glx: Remove (unused, broken) fastImageUnpack fast path

Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
/external/mesa3d/src/glx/glxclient.h
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/glxclient.h
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/glxclient.h
7eed3dba58740a8ade94cfab315afa198d1beebe 30-Sep-2010 Nicolas Kaiser <nikai@nikai.net> glx: remove duplicated include

Remove duplicated include.

Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/glx/glxclient.h
a0e510320009766faa5ff8c0ed744e87f8095df7 22-Sep-2010 Luca Barbieri <luca@luca-barbieri.com> glx: decouple dri2.c and GLX, fixing Gallium EGL and d3d1x build

The Gallium EGL state tracker reuses dri2.c but not the GLX code.

Currently there is a bit of code in dri2.c that is incorrectly tied
to GLX: instead, make it call an helper that both GLX and Gallium EGL
implement, like dri2InvalidateBuffers.

This avoids a link error complaining that dri2GetGlxDrawableFromXDrawableId
is undefined.

Note that we might want to move the whole event translation elsewhere,
and probably stop using non-XCB DRI2 altogether, but this seems to be
the minimal fix.
/external/mesa3d/src/glx/glxclient.h
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/glxclient.h
60fce15447da7d4135ace6f1433896b0a02bcfee 07-Sep-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move dpy and scr fields out of direct rendering conditional

Nothing direct rendering specific about these fields. Moving them out
makes no-direct-rendering compilation work again.

Signed-off-by: Kristian Høgsberg <krh@bitplanet.net>
/external/mesa3d/src/glx/glxclient.h
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/glxclient.h
6849916170c0275c13510251a7b217c20f2b993e 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Split indirect and applegl implementations into different files
/external/mesa3d/src/glx/glxclient.h
c491e585e43d48a2aeec96ccc4008da6c443fb42 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move bind and unbind to context vtable
/external/mesa3d/src/glx/glxclient.h
c356f5867f2c1fad7155df538b9affa8dbdcf869 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Rename __GLXcontext and __GLXdisplayPrivate to struct types.
/external/mesa3d/src/glx/glxclient.h
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/glxclient.h
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/glxclient.h
65d98e25770487456eb3d7eb8ec3ec8272f170b1 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Rename glcontextmodes.[ch] to glxconfig.[ch]
/external/mesa3d/src/glx/glxclient.h
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/glxclient.h
38765fe4c2ba96e642510eaed0c2f8c44f0c2b1d 28-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Stop using glcore.h and glxint.h in glx

We'd like to get rid of these header files.
/external/mesa3d/src/glx/glxclient.h
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/glxclient.h
c796bb0cc3fde409545bff320540ddf5c029e513 23-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move context destroy to context vtable
/external/mesa3d/src/glx/glxclient.h
eeaab2047cfce8a7445fd9f835e737682eb503ac 23-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Drop screen argument to GetGLXDRIDrawable

We'll just get it from the returned drawable when we need it.
/external/mesa3d/src/glx/glxclient.h
7b7845a076c933e096ac511b4184141ba194449a 23-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move WaitGL, WaitX, UseXFont to context vtable functions
/external/mesa3d/src/glx/glxclient.h
31819830b66a49f1b62e09090cc65aefc657aeb8 23-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Allocate the __GLXcontext in the DRI drivers
/external/mesa3d/src/glx/glxclient.h
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/glxclient.h
7a66e549583a3168f05acc7df1e872d218fd670d 21-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move last few dri_interface.h types out of glxclient.h and drop include
/external/mesa3d/src/glx/glxclient.h
f679640868ae6ef700d8672702c31ba2515220a7 21-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move __driContext field out of __GLXcontextRec
/external/mesa3d/src/glx/glxclient.h
c1cbdbfde0a1f016f9d3f23a39cb7bc0b9825e12 20-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: #ifdef DRI specific prototype

https://bugs.freedesktop.org/show_bug.cgi?id=29162
/external/mesa3d/src/glx/glxclient.h
a7292f2920a28a190ca39ce530454a852ec36d59 20-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move DRI CopySubBuffer extension to DRI1 code

We do this in the X server for DRI2.
/external/mesa3d/src/glx/glxclient.h
bab13969d8bf3ff9259524c3f4ab96d81485ccef 20-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move driver_configs to DRI screen privates
/external/mesa3d/src/glx/glxclient.h
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/glxclient.h
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/glxclient.h
271c3c3a90ccfd01da9d7ac7fa451518f4e6a27c 20-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move __DRIdrawable pointers to DRI drawable privates
/external/mesa3d/src/glx/glxclient.h
22266c391fbe17603b15a83d4ccf5fa9455ccf8d 19-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Remove support for MESA_swap_frame_usage

The extension never worked, the implementation returns GLX_BAD_CONTEXT
when enabling the frame tracking.
/external/mesa3d/src/glx/glxclient.h
70887d517290060a80c7f5dd8c0ea0c834c4d91e 19-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move __driScreen into the dri screen privates
/external/mesa3d/src/glx/glxclient.h
089fc37c6fa158824279e08e3b378ced94d6f803 19-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move DRI1 specific extensions and code to DRI1 screen private
/external/mesa3d/src/glx/glxclient.h
9e546ecfd446abf1236cdb0b9469157de5d084ce 19-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move DRI2 extensions to DRI2 screen private
/external/mesa3d/src/glx/glxclient.h
cb2a66fd0c095fe03be5aaf88c8d48f5867425d3 19-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Drop support for GLX_MESA_allocate_memory

Only r200 implemented it.
/external/mesa3d/src/glx/glxclient.h
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/glxclient.h
3750ebd540510324ef5ada769537ae05309adadb 19-Jul-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Fix drawable lookup in DRI2 event handler

DRI2 events are sent to the X drawable ID used to create the DRI2 drawable,
not the GLX drawable ID. So when an event comes in, we need to look up
the __GLXDRIdrawable by its X drawable ID, which needs a new hash table.
/external/mesa3d/src/glx/glxclient.h
f8d81c31cee30821da3aab331a57f484f6a07a5d 14-Jul-2010 Nick Bowler <nbowler@draconx.ca> dri2: Track event mask in client code.

When direct rendering is being used, DRI2 BufferSwapComplete events are
sent unconditionally to clients, even if they haven't been requested.
This causes error messages to be printed by every freeglut application
of the form

freeglut (./gears): Unknown X event type: 104

and might confuse other clients.

This is a fixed up version of the patch by Jesse Barnes, which drops
BufferSwapComplete events if they are not requested by clients.

Fixes fdo bug 27962.

Signed-off-by: Nick Bowler <nbowler@draconx.ca>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
/external/mesa3d/src/glx/glxclient.h
d2fe97a209134ff5267e8aa065865c3398bfb280 01-Jul-2010 Fernando Carrijo <fcarrijo@yahoo.com.br> mesa: Purge macros NEED_EVENTS and NEED_REPLIES

Signed-off-by: Fernando Carrijo <fcarrijo@yahoo.com.br>
Signed-off-by: Brian Paul <brianp@vmware.com>
/external/mesa3d/src/glx/glxclient.h
643b2af0203764cb9f0a5b9e082937ab3f243523 21-May-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Split tfp functions out to context vtable

This introduces a new per-context vtable, which lets us clean up all the
#ifdef's a bit and move the DRI2 specific implementation into dri2_glx.c.
/external/mesa3d/src/glx/glxclient.h
1fa7789e828d1005e2473fc7cd364bd45eb30843 28-Apr-2010 Brian Paul <brianp@vmware.com> Merge branch '7.8'

Conflicts:

src/glx/dri2_glx.c
src/glx/glx_pbuffer.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/glxclient.h
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/glxclient.h
234286c0f8b7d30ed49223c648d4c73c1a517ab3 22-Apr-2010 Jesse Barnes <jbarnes@virtuousgeek.org> DRI2: add config query extension

Add a new DRI2 configuration query extension. Allows for DRI2 client
code to query for common DRI2 configuration options.
/external/mesa3d/src/glx/glxclient.h
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/glxclient.h
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/glxclient.h
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/glxclient.h
016fc30839f0fb67bb37d4a7353a7e38749deab5 04-Mar-2010 Ian Romanick <ian.d.romanick@intel.com> Remove support for GCC older than 3.3.0

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
/external/mesa3d/src/glx/glxclient.h
61d26bc82e7c4100acfb551cbb0ba9d84bbc4ba5 08-Feb-2010 Francisco Jerez <currojerez@riseup.net> dri2: Event driven buffer validation.

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 <krh@bitplanet.net>
/external/mesa3d/src/glx/glxclient.h
97ec6076f596a3820a9b7c4b7eae18bd98c6676b 15-Feb-2010 Kristian Høgsberg <krh@bitplanet.net> glx: Move GetGLXDRIDrawable() prototype to glxclient.h
/external/mesa3d/src/glx/glxclient.h
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/glxclient.h