Re: [PATCH:libXTrap] Fix memset usage.

2012-07-20 Thread Rémi Cardona
Le 18/07/2012 16:47, Thomas Klausner a écrit : -(void)memset(tc,0L,sizeof(tc)); +(void)memset(tc,0L,sizeof(*tc)); I'd say you might as well drop the useless cast too. Cheers, Rémi ___ xorg-devel@lists.x.org: X.Org development

[PATCH] dix: don't use new as a parameter name

2012-07-20 Thread Aaron Plattner
new is a reserved word in C++. Signed-off-by: Aaron Plattner aplatt...@nvidia.com --- include/screenint.h |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/screenint.h b/include/screenint.h index e36b4d8..e61cd33 100644 --- a/include/screenint.h +++

Re: [PATCH] Cache xkbcomp output

2012-07-20 Thread Daniel Stone
Hi, On 20 July 2012 06:05, Dan Nicholson dbn.li...@gmail.com wrote: On Jul 19, 2012 3:38 PM, Daniel Stone dan...@fooishbar.org wrote: A more sensible interim strategy (IMO) would be to always fork xkbcomp once during startup, preserve the resulting XkbDescRec, then hand that back every time

Re: pull request: output and offload complete tree

2012-07-20 Thread Michal Suchanek
On 18 July 2012 11:50, Dave Airlie airl...@gmail.com wrote: On Wed, Jul 18, 2012 at 7:49 PM, Dave Airlie airl...@gmail.com wrote: On Tue, Jul 17, 2012 at 10:30 PM, Michal Suchanek hramr...@gmail.com wrote: On 16 July 2012 21:09, Dave Airlie airl...@gmail.com wrote: On Mon, Jul 16, 2012 at

Intel Sandy Bridge plus Nvidia GPU

2012-07-20 Thread Ratin
Hi I am trying to utilize hardware accelerated grpahics on a system with Integrated Intel GMA3000 graphics and NVidia GeForce GTX 460 on PCI bus and having some issues with loading both Xorg driver. I obtained and compiled sources for vaapi library (only for Intel, Version 1.0.15), libdrm (V

Re: 答复: 答复: [PATCH]new driver for siliconmotion

2012-07-20 Thread Michal Suchanek
On 20 July 2012 11:56, Aaron.Chen 陈俊杰 aaron.c...@siliconmotion.com wrote: Hi MattMichal, Thank you for your advice. We are updating our codes in order to submit the source code successfully. We are doing the following changes. Next patch will be in the end of this month. (by the way,

[PATCH 0/4] Don't report the unsupported GLX_INTEL_swap_event extension for indirect swrast

2012-07-20 Thread Jon TURNEY
Don't report the unsupported GLX_INTEL_swap_event extension for indirect swrast, and related clean-ups. Patch 2/4 is the bug fix itself. 1/4 and 3/4 are clean-up. 4/4 seems of questionable correctness to me, but is included for completeness. Jon TURNEY (4): Don't note GLX_INTEL_swap_event

[PATCH 1/4] Don't note GLX_INTEL_swap_event as being required by GLX 1.4, it isn't.

2012-07-20 Thread Jon TURNEY
Don't note GLX_INTEL_swap_event as being required by GLX 1.4, it isn't. (This data is not currently used in the server) (A similar change is made in mesa commit d3f7597bc9f6d5) Signed-off-by: Jon TURNEY jon.tur...@dronecode.org.uk --- glx/extension_string.c |2 +- 1 files changed, 1

[PATCH 3/4] Generate swrast GLX extension list, rather than using a fixed list

2012-07-20 Thread Jon TURNEY
Ensure this kind of bug doesn't occur in future, by generating the GLX extension list for swrast, in the same way as dri and dri2 do, rather than using a fixed list of GLX extensions for swrast. We explicity select the extensions reported by swrast rather than using

[PATCH 4/4] Harmonize swrast GLX extension list with minimum for other GLX providers

2012-07-20 Thread Jon TURNEY
Use __glXInitExtensionEnableBits() so the GLX extensions reported for swrast includes the minimum set of extensions we expect from all providers. This changes the behaviour of swrast: - GLX_SGIS_multisample will now be reported on APPLE (I can't work out why this conditional was added, it dates

Re: [PATCH] dix: don't use new as a parameter name

2012-07-20 Thread Alan Coopersmith
On 07/20/12 12:59 AM, Aaron Plattner wrote: new is a reserved word in C++. Signed-off-by: Aaron Plattner aplatt...@nvidia.com Good catch - things like that make Xvnc builds harder. Reviewed-by: Alan Coopersmith alan.coopersm...@oracle.com -- -Alan Coopersmith-

答复: 答复: [PATCH]new driver for siliconmotion

2012-07-20 Thread Aaron . Chen 陈俊杰
Hi MattMichal, Thank you for your advice. We are updating our codes in order to submit the source code successfully. We are doing the following changes. Next patch will be in the end of this month. (by the way, shall I make a new patch based on older source code or based on last patch?) 1.

Re: [PATCH:libXTrap] Fix memset usage.

2012-07-20 Thread Thomas Klausner
On Fri, Jul 20, 2012 at 08:40:26AM +0200, Rémi Cardona wrote: Le 18/07/2012 16:47, Thomas Klausner a écrit : -(void)memset(tc,0L,sizeof(tc)); +(void)memset(tc,0L,sizeof(*tc)); I'd say you might as well drop the useless cast too. There are twelve memsets with casts, only

Re: 答复: 答复: [PATCH]new driver for siliconmotion

2012-07-20 Thread Alan Coopersmith
On 07/20/12 02:56 AM, Aaron.Chen 陈俊杰 wrote: 2. man/Makefile.am | 64 +- You replaced the Oracle copyright notice with the old Sun copyright notice. Clearly wrong, and it makes it clear that this wasn't well reviewed or rebased. We've replaced old Sun copyright notice

Re: [PATCH:libXTrap] Fix memset usage.

2012-07-20 Thread Rémi Cardona
Le 20/07/2012 18:36, Thomas Klausner a écrit : On Fri, Jul 20, 2012 at 08:40:26AM +0200, Rémi Cardona wrote: Le 18/07/2012 16:47, Thomas Klausner a écrit : -(void)memset(tc,0L,sizeof(tc)); +(void)memset(tc,0L,sizeof(*tc)); I'd say you might as well drop the useless cast too.

Re: [PATCH modesetting] Implement -driverFunc

2012-07-20 Thread Aaron Plattner
On 07/19/2012 03:15 PM, Adam Jackson wrote: Copied from fbdev, makes it so we can run without iopl. Signed-off-by: Adam Jackson a...@redhat.com --- src/driver.c | 19 ++- 1 files changed, 18 insertions(+), 1 deletions(-) diff --git a/src/driver.c b/src/driver.c index

Re: [PULL xorg-gtest] addition of xserver class

2012-07-20 Thread Chase Douglas
On 07/12/2012 11:33 PM, Peter Hutterer wrote: The new xserver class is the main change here, but this set also includes the Evemu::PlayOne() patch. Which has already turned out to be really useful. They're all reviewed except the Terminate/Kill patch (which has seen some updates for the

libXTrap patches

2012-07-20 Thread Thomas Klausner
Original patch, marked as reviewed, and memset cleanup requested by Rémi Cardona. ___ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel

[PATCH:libXTrap 1/2] Fix memset usage.

2012-07-20 Thread Thomas Klausner
From Joerg Sonnenberger jo...@netbsd.org Signed-off-by: Thomas Klausner w...@netbsd.org Reviewed-by: Rémi Cardona remi.card...@free.fr --- src/XEConTxt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XEConTxt.c b/src/XEConTxt.c index e2dff16..d075c4f 100644 ---

[PATCH:libXTrap 2/2] Remove unnecessary memset return value casts to void.

2012-07-20 Thread Thomas Klausner
Signed-off-by: Thomas Klausner w...@netbsd.org --- src/XEConTxt.c | 24 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/XEConTxt.c b/src/XEConTxt.c index d075c4f..531ced2 100644 --- a/src/XEConTxt.c +++ b/src/XEConTxt.c @@ -69,7 +69,7 @@ XETC

Re: [PATCH:libXTrap] Fix memset usage.

2012-07-20 Thread Thomas Klausner
On Fri, Jul 20, 2012 at 09:32:10PM +0200, Rémi Cardona wrote: It's definitely worth an extra patch if it's more widespread than just this bit. Ok, done and sent. In any case, the previous patch is: Reviewed-by: Rémi Cardona remi.card...@free.fr Thanks, noted in the new version of the

Re: [PATCH modesetting] Implement -driverFunc

2012-07-20 Thread Adam Jackson
On 7/20/12 3:44 PM, Aaron Plattner wrote: On 07/19/2012 03:15 PM, Adam Jackson wrote: +static Bool +ms_driver_func(ScrnInfoPtr scrn, xorgDriverFuncOp op, void *data) +{ +xorgHWFlags *flag; + +switch (op) { +case GET_REQUIRED_HW_INTERFACES: +flag = (CARD32 *)data; +

Re: [PATCH modesetting] Implement -driverFunc

2012-07-20 Thread Aaron Plattner
On 07/20/2012 03:28 PM, Adam Jackson wrote: On 7/20/12 3:44 PM, Aaron Plattner wrote: On 07/19/2012 03:15 PM, Adam Jackson wrote: +static Bool +ms_driver_func(ScrnInfoPtr scrn, xorgDriverFuncOp op, void *data) +{ +xorgHWFlags *flag; + +switch (op) { +case

Re: [PATCH modesetting] Implement -driverFunc

2012-07-20 Thread Adam Jackson
On 7/20/12 6:37 PM, Aaron Plattner wrote: On 07/20/2012 03:28 PM, Adam Jackson wrote: On 7/20/12 3:44 PM, Aaron Plattner wrote: On 07/19/2012 03:15 PM, Adam Jackson wrote: +static Bool +ms_driver_func(ScrnInfoPtr scrn, xorgDriverFuncOp op, void *data) +{ +xorgHWFlags *flag; + +switch

Re: [PATCH 4/4] Harmonize swrast GLX extension list with minimum for other GLX providers

2012-07-20 Thread Ian Romanick
On 07/20/2012 05:54 AM, Jon TURNEY wrote: Use __glXInitExtensionEnableBits() so the GLX extensions reported for swrast includes the minimum set of extensions we expect from all providers. This changes the behaviour of swrast: - GLX_SGIS_multisample will now be reported on APPLE (I can't work

Looking for an example code to loop through all window on current display

2012-07-20 Thread Aaron Lewis
Hi, I'm looking for a minimal example on how to loop through all Window in current display (all workspaces), and I'll find window attributes myself with XGetWindowAttributes Maybe someone can spare a moment ? Also I don't quite get the parameters of XQueryTree, which is root_return and

Re: Looking for an example code to loop through all window on current display

2012-07-20 Thread Alan Coopersmith
On 07/20/12 09:16 PM, Aaron Lewis wrote: Hi, I'm looking for a minimal example on how to loop through all Window in current display (all workspaces), and I'll find window attributes myself with XGetWindowAttributes? See the sources to xwininfo - older versions use libX11 calls, newer

[PATCH app/xscope] Convert Keith's personal license notice to X.Org standard MIT license notice

2012-07-20 Thread Alan Coopersmith
--- Keith - can we get your permission to relicense the code bearing your copyright to the X.Org standard license form? (Not sure if the best response is Reviewed-by, Acked-by, Signed-off-by or all of the above.) This collapses the notices in several files to merge with the existing Oracle