Re: [Mesa-dev] FOSDEM15: Graphics DevRoom: call for speakers.

2014-12-11 Thread Jesse Barnes
File your talk now, while there are still > some useful slots available. > > Also, for those who have filed already but who have left their abstracts > open, please get those filed in ASAP. Your talk will be only be ordered > in when at least the basics are provided. Hey Luc,

Re: [Mesa-dev] [Intel-gfx] [PATCH 00/68] Broadwell 48b addressing and prelocations (no relocs)

2014-08-25 Thread Jesse Barnes
> Well I admit to not having read the patches over the terrible wifi > here, but I presumed Ben's patches did implement softpin. I guess I've > made a mess of all of this now. In any case I still want to see > relative improvements over what we have since the prelocated stuff > l

Re: [Mesa-dev] [PATCH] DRI2: Don't disable GLX_INTEL_swap_event unconditionally

2013-02-15 Thread Jesse Barnes
psc->base.configs, driver_configs); > visuals = driConvertConfigs(psc->core, psc->base.visuals, driver_configs); Seems like we should also fix the server to not advertise the extension if the driver doesn't have the appropriate hooks implemented. But I have no problem with doing this on the client side too. Reviewed-by: Jesse Barnes -- Jesse Barnes, Intel Open Source Technology Center ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] FOSDEM2013: DevRoom or not?

2012-09-28 Thread Jesse Barnes
gt; So far there are three speakers who lined up, and my feeling is that > Matthieu and Marc lined up just so that the deadline and requirement > will be met. So only a single person is intending to come to fosdem and > has a topic he wants to talk about. > > Come on guys. Surely we can do better than that. I could come up with something, maybe people would be interested in hearing about some of our recent SoC work? I'd have to see what I could get approval for, but I could probably find *something* that's not still secret. :) -- Jesse Barnes, Intel Open Source Technology Center ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] st/dri: Fix crash in st/dri from dri format commit

2012-02-23 Thread Jesse Barnes
ORMAT_RGB565: >pf = PIPE_FORMAT_B5G6R5_UNORM; > @@ -489,6 +487,7 @@ dri2_create_image_from_name(__DRIscreen *_screen, > > img->level = 0; > img->layer = 0; > + img->dri_format = format; > img->loader_private = loaderPrivate; > > return img; Yep, t

Re: [Mesa-dev] [PATCH] gbm: track buffer format through DRI drivers

2012-02-22 Thread Jesse Barnes
On Wed, 22 Feb 2012 12:42:59 -0500 Kristian Hoegsberg wrote: > On Tue, Feb 21, 2012 at 12:56:11PM -0800, Jesse Barnes wrote: > > GBM needs the buffer format in order to communicate with DRM and clients > > for things like scanout. > > > > So track the DRI format re

[Mesa-dev] [PATCH] gbm: track buffer format through DRI drivers

2012-02-21 Thread Jesse Barnes
the DRM fb format list). Signed-off-by: Jesse Barnes --- include/GL/internal/dri_interface.h |3 +- src/gallium/state_trackers/dri/drm/dri2.c |6 + src/gallium/winsys/sw/wayland/wayland_sw_winsys.h |1 + src/gbm/backends/dri/gbm_dri.c| 45

Re: [Mesa-dev] [RFC PATCH] Add ability to use libXrandr for OML_sync_control

2011-10-06 Thread Jesse Barnes
gt; clear to me what the difference between it and XRRGetScreenResources > is. (These aren't documented in the man page) > - How do I know the current mode? resource->modes[0] can't be right. Ack on the change as a whole; I'll let Keith answer the randr questi

[Mesa-dev] [PATCH 2/2] GLX/DRI2: handle swap event swap count wrapping

2011-06-29 Thread Jesse Barnes
Dänzer Reviewed-by: Jeremy Huddleston Signed-off-by: Jesse Barnes --- src/glx/dri2.c| 12 +- src/glx/glx_pbuffer.c | 14 src/glx/glxclient.h | 16 + src/glx/glxcmds.c | 57 + src/glx/glxext.c

[Mesa-dev] [PATCH 1/2] DRI2/GLX: use new swap event types

2011-06-29 Thread Jesse Barnes
Use the new swap event type so we get valid SBC values. Reviewed-by: Ian Romanick Reviewed-by: Jeremy Huddleston Signed-off-by: Jesse Barnes --- configure.ac |4 ++-- src/glx/dri2.c |4 ++-- src/glx/glxext.c |4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff

[Mesa-dev] [ANNOUNCE] dri2proto 2.6

2011-06-29 Thread Jesse Barnes
Chad Versace (1): Add attachment token DRI2BufferHiz Jesse Barnes (2): Revert "dri2proto: make DRI2 swap event match GLX spec" dri2proto: add a new DRI2BufferSwapComplete struct that matches the spec git tag: dri2proto-2.6 http://xorg.freedesktop.org/archive/indivi

Re: [Mesa-dev] [PATCH] glproto: add a new GLXBufferSwapComplete struct that matches the spec

2011-05-19 Thread Jesse Barnes
On Tue, 10 May 2011 17:57:52 -0700 Eric Anholt wrote: > On Tue, 10 May 2011 12:32:24 -0700, Jesse Barnes > wrote: > > On Tue, 10 May 2011 11:59:56 -0700 > > Eric Anholt wrote: > > > > > On Thu, 5 May 2011 12:39:57 -0700, Jesse Barnes > > > wrot

Re: [Mesa-dev] [PATCH] glproto: add a new GLXBufferSwapComplete struct that matches the spec

2011-05-10 Thread Jesse Barnes
On Tue, 10 May 2011 11:59:56 -0700 Eric Anholt wrote: > On Thu, 5 May 2011 12:39:57 -0700, Jesse Barnes > wrote: > > Just add a new struct to remain compatible with existing code. > > > > Signed-off-by: Jesse Barnes > > > > diff --git a/configure.ac b/con

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-10 Thread Jesse Barnes
On Tue, 10 May 2011 10:46:17 +0200 Michel Dänzer wrote: > On Fre, 2011-05-06 at 14:01 -0700, Jesse Barnes wrote: > > On Fri, 6 May 2011 13:00:19 -0700 > > Jeremy Huddleston wrote: > > > > > Yeah, that looks about right. > > > > > > This in com

[Mesa-dev] Call for desktop/graphics/mobile tracks for Linux Plumbers' Conf 2011

2011-05-09 Thread Jesse Barnes
be sure to submit it soon. Early registration for LPC is open until June 1st, so regardless of whether you're submitting a topic, if you see discussions or proposed talks of interest to you, be sure to register soon to get the discounted rate. Thanks, Jesse Barn

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-06 Thread Jesse Barnes
understanding of GLX. Thanks Jeremy. This turd is pretty polished at this point. Anyone else besides me care to test? There's a glx-swap-event test in piglit, and Mario may have some stuff... curious to see how well it stands up. Thanks, -- J

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-06 Thread Jesse Barnes
uff over to a client GLX drawable type? -- Jesse Barnes, Intel Open Source Technology Center >From fae63609dd4fd20ccd84d2211787136bb9a1da05 Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Fri, 6 May 2011 10:31:24 -0700 Subject: [PATCH] GLX/DRI2: handle swap event swap count wrapping Create a new GL

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-06 Thread Jesse Barnes
probably change a little as I add a glx_drawable type and move the counters there (mainly this logic will be duplicated for the indirect case). Patch on its way soon now that I've scaled back the effort from rewriting the whole object model to just tracking a glx drawable... -- Jesse Ba

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-06 Thread Jesse Barnes
On Fri, 06 May 2011 09:25:35 +0200 Michel Dänzer wrote: > On Don, 2011-05-05 at 14:02 -0700, Jesse Barnes wrote: > > > >if (swap_complete) { > > > >if (pPriv->swap_count > 0x) > > > >ErrorF("something appropriate

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-06 Thread Jesse Barnes
On Fri, 06 May 2011 09:25:35 +0200 Michel Dänzer wrote: > On Don, 2011-05-05 at 14:02 -0700, Jesse Barnes wrote: > > > >if (swap_complete) { > > > >if (pPriv->swap_count > 0x) > > > >ErrorF("something appropriate

Re: [Mesa-dev] Compatible GLX swap event fixes

2011-05-05 Thread Jesse Barnes
On Thu, 05 May 2011 14:15:33 -0700 Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 05/05/2011 12:38 PM, Jesse Barnes wrote: > > This set is compatible with existing code bases since it adds a new > > struct to the glx and dri2 proto f

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-05 Thread Jesse Barnes
mask the events, so we could miss a 0 count and thus a wrap. We just have to live with the fact that swap events have a 32 bit sbc and OML uses 64 bit counts. I'll add the warning though; if it becomes a real issue we can potentially add another round trip to

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-05 Thread Jesse Barnes
lete(client, swap_data, type, ust, frame, > (CARD32)pPriv->swap_count); > } Yeah, it's annoying. How about I leave out the error message and handle wrapping on the client side instead? That way at least the client code won't notice that the server is only transmitting 32 bits... -- Jesse Barnes, Intel Open Source Technology Center ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-05 Thread Jesse Barnes
On Thu, 05 May 2011 13:17:13 -0700 Jeremy Huddleston wrote: > > On May 5, 2011, at 1:09 PM, Jesse Barnes wrote: > > > On Thu, 05 May 2011 12:59:50 -0700 > > Jeremy Huddleston wrote: > > > >> For *proto/mesa: > >> Reviewed-by: Jeremy Huddl

Re: [Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-05 Thread Jesse Barnes
tually preserve the full 64 bits. I could add an explicit cast in the few places where we pass it to the swap completion though if you think that's better... -- Jesse Barnes, Intel Open Source Technology Center ___ mesa-dev mailing list mesa-dev@l

Re: [Mesa-dev] Compatible GLX swap event fixes

2011-05-05 Thread Jesse Barnes
On Thu, 5 May 2011 12:38:24 -0700 Jesse Barnes wrote: > This set is compatible with existing code bases since it adds a new > struct to the glx and dri2 proto files instead of renaming existing > fields. > > New clients with old servers will see larger, but still broken, SBC

[Mesa-dev] [PATCH] xserver/glx/dri2: use new GLX/DRI2 swap event types

2011-05-05 Thread Jesse Barnes
Use the new event types so we can pass a valid SBC value to clients. Fix up the completion calls to use CARD32 instead of CARD64 to match the new field size. Signed-off-by: Jesse Barnes diff --git a/configure.ac b/configure.ac index 6eb780c..3e0ed5d 100644 --- a/configure.ac +++ b/configure.ac

[Mesa-dev] [PATCH] mesa/glx/dri2: use new GLX/DRI2 swap event types

2011-05-05 Thread Jesse Barnes
Use the new swap event type so we get valid SBC values. Signed-off-by: Jesse Barnes diff --git a/configure.ac b/configure.ac index 54d9c29..fb38a4e 100644 --- a/configure.ac +++ b/configure.ac @@ -21,8 +21,8 @@ dnl Versions for external dependencies LIBDRM_REQUIRED=2.4.24

[Mesa-dev] [PATCH] dri2proto: add new DRI2BufferSwapComplete struct to match spec

2011-05-05 Thread Jesse Barnes
Just add a new struct to remain compatible with existing code. Signed-off-by: Jesse Barnes diff --git a/configure.ac b/configure.ac index 9505f56..297be0e 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.60]) -AC_INIT([DRI2Proto], [2.4], [https://bugs.freedesktop.org

[Mesa-dev] [PATCH] glproto: add a new GLXBufferSwapComplete struct that matches the spec

2011-05-05 Thread Jesse Barnes
Just add a new struct to remain compatible with existing code. Signed-off-by: Jesse Barnes diff --git a/configure.ac b/configure.ac index a3047e4..a6c301c 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ([2.60]) -AC_INIT([GLProto], [1.4.13], [https://bugs.freedesktop.org

[Mesa-dev] Compatible GLX swap event fixes

2011-05-05 Thread Jesse Barnes
. And new clients with new servers will see correct SBC values (yay). I won't push until I get at least a couple of reviewed-by and at least one tested-by from people. Thanks, -- Jesse Barnes, Intel Open Source Technology Center ___ mesa-dev mailing

Re: [Mesa-dev] glproto changes

2011-05-05 Thread Jesse Barnes
On Thu, 5 May 2011 10:07:24 -0700 Jeremy Huddleston wrote: > Why is sbc a 32bit field in xGLXBufferSwapComplete2 and > xDRI2BufferSwapComplete2 when it is a 64bit field in GLXBufferSwapComplete? > > The hunk at the bottom will result in casting a 64bit int to a 32bit int. If > you're going to

Re: [Mesa-dev] glproto changes

2011-05-05 Thread Jesse Barnes
On Wed, 4 May 2011 21:29:23 -0700 Jeremy Huddleston wrote: > Yeah... so considering the comments in mesa-dev earlier today, I was really > surprised to see that glproto and dri2proto were tagged today. I think we > need to brownbag retract and rethink this. Damnit; right when Dave mentioned t

Re: [Mesa-dev] glproto changes

2011-05-04 Thread Jesse Barnes
r allowing new code to build with old proto. But breaking bisect is bad, no doubt. But in this case adding a separate struct is probably the right thing to do, and I'd be happy to do it if people are willing to put up with the churn (glproto 1.4.14, dri2proto 2.5 plus changes to Me

Re: [Mesa-dev] [PATCH] glxproto: make GLX swap event struct match spec

2011-05-04 Thread Jesse Barnes
On Wed, 4 May 2011 17:49:37 -0700 Jesse Barnes wrote: > How about you look at git and see what happened last time? > > We added some dri2 proto requests, and people wanted to build with old > versions w/o the new requests. So they added some ifdefs but didn't > check all

Re: [Mesa-dev] [PATCH] glxproto: make GLX swap event struct match spec

2011-05-04 Thread Jesse Barnes
On Thu, 05 May 2011 09:32:46 +1000 Dave Airlie wrote: > On Wed, 2011-05-04 at 16:16 -0700, Jesse Barnes wrote: > > On Wed, 04 May 2011 15:17:31 -0700 > > Ian Romanick wrote: > > > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA1 > > >

Re: [Mesa-dev] [PATCH] glxproto: make GLX swap event struct match spec

2011-05-04 Thread Jesse Barnes
On Wed, 4 May 2011 16:16:37 -0700 Jesse Barnes wrote: > On Wed, 04 May 2011 15:17:31 -0700 > Ian Romanick wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 05/03/2011 12:21 PM, Jesse Barnes wrote: > > > We only spec a 32

Re: [Mesa-dev] [PATCH] glxproto: make GLX swap event struct match spec

2011-05-04 Thread Jesse Barnes
On Wed, 04 May 2011 15:17:31 -0700 Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 05/03/2011 12:21 PM, Jesse Barnes wrote: > > We only spec a 32 bit swap count, so drop the high sbc field. > > > > Signed-off-by: Jesse Barnes > &g

Re: [Mesa-dev] Error building glxext.c

2011-05-04 Thread Jesse Barnes
nderbox.x.org/builds/2011-05-04-/logs/libGL/#build > http://tinderbox.x.org/builds/2011-05-04-0001/logs/libGL/#build > > On May 4, 2011, at 10:37, Jesse Barnes wrote: > > > On Wed, 04 May 2011 10:01:28 -0700 > > Ian Romanick wrote: > > > >> -BEGIN PGP S

Re: [Mesa-dev] Error building glxext.c

2011-05-04 Thread Jesse Barnes
On Wed, 4 May 2011 10:37:03 -0700 Jesse Barnes wrote: > On Wed, 04 May 2011 10:01:28 -0700 > Ian Romanick wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA1 > > > > On 05/04/2011 09:40 AM, Dan McCabe wrote: > > > Hi all, > > >

Re: [Mesa-dev] Error building glxext.c

2011-05-04 Thread Jesse Barnes
glproto bits to build. I think it's the reverse, I got review on the glproto bits so they're pushed. Still waiting on review for the Mesa, dri2proto, and X parts though to push the rest. So revert the top commit of glproto to get the old structure def back (in fac

Re: [Mesa-dev] [PATCH] glxproto: make GLX swap event struct match spec

2011-05-03 Thread Jesse Barnes
On Tue, 03 May 2011 14:15:30 -0700 Keith Packard wrote: > On Tue, 3 May 2011 14:08:58 -0700, Jesse Barnes > wrote: > > > Fixed version below. > > Reviewed-by: Keith Packard > > (assuming that the GLX protocol specification gets updated to match :-) Yeah, Ian is

Re: [Mesa-dev] [PATCH] dri2proto: make DRI2 swap event match GLX spec

2011-05-03 Thread Jesse Barnes
Updated with explicit padding. -- Jesse Barnes, Intel Open Source Technology Center >From 0ca3778de195a82087d0f07415a1cf8fc94f5b0a Mon Sep 17 00:00:00 2001 From: Jesse Barnes Date: Tue, 3 May 2011 12:14:58 -0700 Subject: [PATCH] dri2proto: make DRI2 swap event match GLX spec We only spec a

Re: [Mesa-dev] [PATCH] glxproto: make GLX swap event struct match spec

2011-05-03 Thread Jesse Barnes
On Tue, 3 May 2011 14:02:31 -0700 Jesse Barnes wrote: > On Tue, 03 May 2011 13:54:38 -0700 > Keith Packard wrote: > > > On Tue, 3 May 2011 12:21:24 -0700, Jesse Barnes > > wrote: > > > > > We only spec a 32 bit swap count, so drop the high sbc field. >

Re: [Mesa-dev] [PATCH] glxproto: make GLX swap event struct match spec

2011-05-03 Thread Jesse Barnes
On Tue, 03 May 2011 13:54:38 -0700 Keith Packard wrote: > On Tue, 3 May 2011 12:21:24 -0700, Jesse Barnes > wrote: > > > We only spec a 32 bit swap count, so drop the high sbc field. > > You're missing the explicit 16-bit padding field after 'event_type'

Re: [Mesa-dev] Make swap event handling match the spec

2011-05-03 Thread Jesse Barnes
On Tue, 3 May 2011 12:21:23 -0700 Jesse Barnes wrote: > Ian reminded me that we changed the spec to fit within an XEvent, but we > never updated the code to match. This set of patches (much simpler than > the last) does just that. Wrapping support can be added to Mesa if we > re

[Mesa-dev] [PATCH 6/6] DRI2/GLX: make swap event handling match spec

2011-05-03 Thread Jesse Barnes
We only handle a 32 bit swap count, so use the new structure definitions. Signed-off-by: Jesse Barnes --- configure.ac |4 ++-- src/glx/dri2.c |2 +- src/glx/glxext.c |2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/configure.ac b/configure.ac index

[Mesa-dev] [PATCH 5/6] GLX: don't crash when indirect clients try to set an event mask

2011-05-03 Thread Jesse Barnes
After sending the GLXChangeDrawableAttributes request, we also set a local set of attributes on the DRI drawable. But in the indirect case this array won't be present, so skip the setting in that case to avoid a crash. Signed-off-by: Jesse Barnes --- src/glx/glx_pbuffer.c |3 +++ 1

[Mesa-dev] [PATCH] dri2proto: make DRI2 swap event match GLX spec

2011-05-03 Thread Jesse Barnes
We only spec a 32 bit sbc count, so drop the high bits. Signed-off-by: Jesse Barnes --- configure.ac |2 +- dri2proto.h |3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 5b78d6b..9505f56 100644 --- a/configure.ac +++ b/configure.ac

[Mesa-dev] [PATCH] glxproto: make GLX swap event struct match spec

2011-05-03 Thread Jesse Barnes
We only spec a 32 bit swap count, so drop the high sbc field. Signed-off-by: Jesse Barnes --- configure.ac |2 +- glxproto.h |3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index d88e6df..a3047e4 100644 --- a/configure.ac +++ b

[Mesa-dev] [PATCH 4/4] GLX/DRI2: make GLX swap event handling match spec

2011-05-03 Thread Jesse Barnes
Only send a 32 bit swap count out to the client. Signed-off-by: Jesse Barnes --- configure.ac |4 ++-- glx/glxdri2.c |5 ++--- hw/xfree86/dri2/dri2.c|2 +- hw/xfree86/dri2/dri2.h|2 +- hw/xfree86/dri2/dri2ext.c |5 ++--- 5 files changed, 8

[Mesa-dev] [PATCH 3/4] GLX/DRI2: pass drawable correctly for indirect swap events

2011-05-03 Thread Jesse Barnes
Pass the right drawable pointer as data to the swap complete function. Signed-off-by: Jesse Barnes --- glx/glxdri2.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/glx/glxdri2.c b/glx/glxdri2.c index d979717..93c5e5b 100644 --- a/glx/glxdri2.c +++ b/glx/glxdri2.c

[Mesa-dev] Make swap event handling match the spec

2011-05-03 Thread Jesse Barnes
Ian reminded me that we changed the spec to fit within an XEvent, but we never updated the code to match. This set of patches (much simpler than the last) does just that. Wrapping support can be added to Mesa if we really want 64 bit values, but that means checking the drawable sbc and adding whe

Re: [Mesa-dev] [RFC] swap complete event handling fixes

2011-05-03 Thread Jesse Barnes
On Tue, 03 May 2011 11:38:26 -0700 Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 05/03/2011 10:59 AM, Jesse Barnes wrote: > > Ended up moving over to generic events since the GLX type code is part > > of the GLX namespac

Re: [Mesa-dev] [RFC] swap complete event handling fixes

2011-05-03 Thread Jesse Barnes
On Tue, 03 May 2011 11:38:26 -0700 Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 05/03/2011 10:59 AM, Jesse Barnes wrote: > > Ended up moving over to generic events since the GLX type code is part > > of the GLX namespac

[Mesa-dev] [PATCH] DRI2: fix swap complete event size by using a generic event

2011-05-03 Thread Jesse Barnes
The existing swap complete event is too large to fit in an XEvent, so use a generic event instead. New servers and clients can use this structure to fully pass the swap count along with the media stamp counter, swap complete type, and timestamp. Signed-off-by: Jesse Barnes --- configure.ac

[Mesa-dev] [PATCH 8/8] GLX: support generic swap events

2011-05-03 Thread Jesse Barnes
Send the new generic GLX swap event if supported by the client. This means checking the client GLX version at swap complete time and constructing a new generic swap completion event at swap complete time. Signed-off-by: Jesse Barnes --- configure.ac|2 +- glx/glxdri2.c

[Mesa-dev] [PATCH 4/5] DRI2: support generic swap event handling

2011-05-03 Thread Jesse Barnes
version and look for generic events in the event stream with DRI2 in the extension field. Signed-off-by: Jesse Barnes --- configure.ac|2 +- src/glx/dri2.c | 105 -- src/glx/dri2.h |3 +- src/glx/dri2_glx.c | 31

[Mesa-dev] [PATCH 3/5] GLX: don't crash when indirect clients try to set an event mask

2011-05-03 Thread Jesse Barnes
After sending the GLXChangeDrawableAttributes request, we also set a local set of attributes on the DRI drawable. But in the indirect case this array won't be present, so skip the setting in that case to avoid a crash. Signed-off-by: Jesse Barnes --- src/glx/glx_pbuffer.c |3 +++ 1

[Mesa-dev] [PATCH 7/8] DRI2: support generic swap events

2011-05-03 Thread Jesse Barnes
r the lifetime of the client. Signed-off-by: Jesse Barnes --- configure.ac |2 +- glx/glxdri2.c | 20 +++ hw/xfree86/dri2/dri2.c| 57 - hw/xfree86/dri2/dri2.h|6 hw/xfree86/dri2/dri2ext.c |

[Mesa-dev] [PATCH 6/8] GLX/DRI2: pass drawable correctly for indirect swap events

2011-05-03 Thread Jesse Barnes
Pass the right drawable pointer as data to the swap complete function. Signed-off-by: Jesse Barnes --- glx/glxdri2.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/glx/glxdri2.c b/glx/glxdri2.c index d979717..93c5e5b 100644 --- a/glx/glxdri2.c +++ b/glx/glxdri2.c

[Mesa-dev] [PATCH 5/5] GLX: support generic swap events

2011-05-03 Thread Jesse Barnes
events for client compatibility. Signed-off-by: Jesse Barnes --- configure.ac|2 +- src/glx/glxclient.h |2 +- src/glx/glxext.c| 55 -- 3 files changed, 50 insertions(+), 9 deletions(-) diff --git a/configure.ac b/configure.ac

[Mesa-dev] [PATCH] GLX: fix broken swap event size by using a generic event

2011-05-03 Thread Jesse Barnes
The existing event is too large for an XEvent meaning that the swap count is never sent to clients. Create a generic event instead for use by new clients & servers. Signed-off-by: Jesse Barnes --- configure.ac |2 +- glxproto.h | 18 ++ 2 files changed, 19 insert

[Mesa-dev] [RFC] swap complete event handling fixes

2011-05-03 Thread Jesse Barnes
Ended up moving over to generic events since the GLX type code is part of the GLX namespace and larger than 8 bits. Apparently no one had ever tried ChangeDrawableAttributes with indirect clients, because simply going a glXSelectEvent causes a crash in that case. So this patch set includes a fix

Re: [Mesa-dev] WebGL test suite, and whitelisting drivers / OpenGL implementations in Firefox

2011-01-17 Thread Jesse Barnes
anks for the note though, it's better to get info this way than find out through slashdot->osnews->mozilla->mozilla bz. :) -- Jesse Barnes, Intel Open Source Technology Center ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://

Re: [Mesa-dev] WebGL test suite, and whitelisting drivers / OpenGL implementations in Firefox

2011-01-17 Thread Jesse Barnes
3 timed out) > > This was with the latest Intel mesa driver on an Ironlake laptop. > > However I got a random crash on a previous run, I'm guessing if we can > figure out the misc crasher we'd be in a lot better place. Is there a bug filed on the crash? If you could coll

Re: [Mesa-dev] [PATCH] dri2: Track event mask in client code.

2010-07-14 Thread Jesse Barnes
> 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. > &g

Re: [Mesa-dev] [PATCH] slang: if precision qualifiers are allowed, always use default

2010-05-13 Thread Jesse Barnes
On Thu, 13 May 2010 14:26:22 -0600 Brian Paul wrote: > Jesse Barnes wrote: > > Rather than erroring out, allow precision qualifiers. Use the default > > type since we don't support anything else. Since many (most?) GLES2 > > shaders use precision qualifiers, doi

[Mesa-dev] [PATCH] slang: if precision qualifiers are allowed, always use default

2010-05-13 Thread Jesse Barnes
Rather than erroring out, allow precision qualifiers. Use the default type since we don't support anything else. Since many (most?) GLES2 shaders use precision qualifiers, doing something reasonable is important if our GLES2 builds are to be useful. --- src/mesa/shader/slang/slang_compile.c |

Re: [Mesa-dev] [RFC] Convert mesa to automake/libtool

2010-05-05 Thread Jesse Barnes
On Wed, 5 May 2010 09:59:40 +0200 Olivier Galibert wrote: > On Wed, May 05, 2010 at 08:52:47AM +0100, Dave Airlie wrote: > > make V=1? > > Thankfully, some build systems have kept some sanity. But please oh > please if you add shaving to mesa's build system, keep a way to stay > verbose. Not a

Re: [Mesa-dev] [RFC] Convert mesa to automake/libtool

2010-05-04 Thread Jesse Barnes
On Mon, 03 May 2010 14:49:09 -0700 Ian Romanick wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Brian Paul wrote: > > > The libtool script wrapped every cc command and it slowed the build > > process considerably. Have you done any "before/after" build time > > comparisons? I bui

Re: [Mesa-dev] [PATCH] Mark MESA_swap_control and SGI_video_sync as not "direct only"

2010-05-04 Thread Jesse Barnes
On Fri, 30 Apr 2010 20:57:51 -0400 Owen Taylor wrote: > From: Owen W. Taylor > > With DRI2, MESA_swap_control and SGI_video_sync are done on the > X server side, so shouldn't be marked direct_only - they only > can be supported if the server supports them. > > This fix is not completely right

Re: [Mesa-dev] so the development model is working?

2010-04-30 Thread Jesse Barnes
On Fri, 30 Apr 2010 14:59:09 +1000 Dave Airlie wrote: > > Jesse Barnes        4                     0 > - some good DRI2 fixes, I'll allow Jesse to reveal his own opinions on > getting those in. Fixing in master and cherry picking is easier for my work flow; I don&

[Mesa-dev] [PATCH] DRI2: check DRI2 protocol version before advertising swap related extensions

2010-04-26 Thread Jesse Barnes
Should fix the mis-reporting people are seeing with DDX drivers that don't support the new DRI2 protocol yet. diff --git a/src/glx/dri2_glx.c b/src/glx/dri2_glx.c index 9347611..837afe8 100644 --- a/src/glx/dri2_glx.c +++ b/src/glx/dri2_glx.c @@ -644,7 +644,7 @@ dri2CreateScreen(__GLXscreenConfigs

Re: [Mesa-dev] [PATCH] dri2: add vblank_mode support

2010-04-22 Thread Jesse Barnes
On Thu, 22 Apr 2010 11:28:55 -0700 Jesse Barnes wrote: > On Tue, 20 Apr 2010 11:35:11 -0700 > Jesse Barnes wrote: > > > This patch adds vblank_mode support to DRI2, for direct rendered > > clients only. It does this by adding some DRI options parsing at DRI2 > > scr

Re: [Mesa-dev] [PATCH] dri2: add vblank_mode support

2010-04-22 Thread Jesse Barnes
On Tue, 20 Apr 2010 11:35:11 -0700 Jesse Barnes wrote: > This patch adds vblank_mode support to DRI2, for direct rendered > clients only. It does this by adding some DRI options parsing at DRI2 > screen creation time, and some checking for the current vblank mode to > dri2_glx.c. &g

[Mesa-dev] [PATCH] dri2: add vblank_mode support

2010-04-20 Thread Jesse Barnes
This patch adds vblank_mode support to DRI2, for direct rendered clients only. It does this by adding some DRI options parsing at DRI2 screen creation time, and some checking for the current vblank mode to dri2_glx.c. Fixes fdo bug #27656. -- Jesse Barnes, Intel Open Source Technology Center

Re: [Mesa-dev] Mesa/Gallium overall design

2010-04-13 Thread Jesse Barnes
t of work. Dave's other points are also good ones; Gallium has yet to be proven with a big, open source, shipping, and supported driver. I won't comment on the closed source stuff; I've heard things but haven't actually worked on it myself, so I have no idea whether there were good

[Mesa-dev] [PATCH] DRI2: report swap events correctly in direct rendered case

2010-04-12 Thread Jesse Barnes
itten us a few times in the past, so I'd like to get review on this (and the DRI2WireToEvent function in general) before pushing. Thanks, -- Jesse Barnes, Intel Open Source Technology Center diff --git a/src/glx/dri2.c b/src/glx/dri2.c index 9ca9b3e..7d46878 100644 --- a/src/glx/dri2.c +

Re: [Mesa-dev] Mesa/Gallium overall design

2010-04-12 Thread Jesse Barnes
suggest how this might have worked best). As it stands we have a lot of duplication in the 915, 965 and r300 drivers between classic Mesa and Gallium, which seems a shame. -- Jesse Barnes, Intel Open Source Technology Center ___ mesa-dev mailing list me