[Mesa-dev] [PATCH] i915: Fix up intelInitScreen2 for DRI3

2014-07-03 Thread Adel Gadllah
?id=1115323 Cc: "10.2" Signed-off-by: Adel Gadllah --- src/mesa/drivers/dri/i915/intel_screen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/i915/intel_screen.c b/src/mesa/drivers/dri/i915/intel_screen.c index 9b4e490..4c9726c 100644 ---

[Mesa-dev] [PATCH] glx: Do not advertise buffer_age on dri2

2014-03-30 Thread Adel Gadllah
in known_glx_extensions. Signed-off-by: Adel Gadllah --- src/glx/glxextensions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c index ac1b4a7..ce5d66d 100644 --- a/src/glx/glxextensions.c +++ b/src/glx/glxextensions.c

Re: [Mesa-dev] [PATCH 1/4] dri3: Fix indentation of buffer age code

2014-03-13 Thread Adel Gadllah
ound good? Hi, Sorry for the late response. Yes those changes make sense to me. Reviewed-By: Adel Gadllah Adel ___ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Re: [Mesa-dev] [PATCHv4 2/3] glx_pbuffer: Refactor GetDrawableAttribute

2014-02-27 Thread Adel Gadllah
Am 27.02.2014 03:14, schrieb Jason Wood: On 02/26/2014 06:55 PM, Ian Romanick wrote: On 02/26/2014 05:22 PM, Jason Wood wrote: On 02/26/2014 04:27 PM, Adel Gadllah wrote: Move the pdraw != NULL check out so that they don't have to be duplicated. Signed-off-by: Adel Gadllah Reviewed-by

[Mesa-dev] [PATCHv4 3/3] dri3: Add GLX_EXT_buffer_age support

2014-02-26 Thread Adel Gadllah
Signed-off-by: Adel Gadllah Reviewed-by: Robert Bragg --- src/glx/dri2_glx.c | 1 + src/glx/dri3_glx.c | 19 +++ src/glx/dri3_priv.h | 2 ++ src/glx/glx_pbuffer.c | 33 ++--- src/glx/glxclient.h | 1 + src/glx/glxextensions.c

[Mesa-dev] [PATCHv4 2/3] glx_pbuffer: Refactor GetDrawableAttribute

2014-02-26 Thread Adel Gadllah
Move the pdraw != NULL check out so that they don't have to be duplicated. Signed-off-by: Adel Gadllah Reviewed-by: Ian Romanick --- src/glx/glx_pbuffer.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/glx/glx_pbuffer.c b/src/glx/glx_pbuffer.c index 41

[Mesa-dev] [PATCHv4 1/3] glx: Update glxext.h to revision 25407

2014-02-26 Thread Adel Gadllah
Signed-off-by: Adel Gadllah Reviewed-by: Ian Romanick --- include/GL/glxext.h | 32 +--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/include/GL/glxext.h b/include/GL/glxext.h index 8c642f3..826fda5 100644 --- a/include/GL/glxext.h +++ b/include/GL

[Mesa-dev] [PATCHv4 0/3] dri3: Add GLX_EXT_buffer_age support

2014-02-26 Thread Adel Gadllah
Hi, First two patches are unmodified (can someone with commit access please push them?). The buffer_age patch itself now initalizes swap_count to 1 to fix the problem found by Eric (buffer age is 0 after first swap). Adel Gadllah (3): glx: Update glxext.h to revision 25407 glx_pbuffer

Re: [Mesa-dev] [PATCH 3/3] dri3: Add GLX_EXT_buffer_age support

2014-02-25 Thread Adel Gadllah
Am 24.02.2014 19:37, schrieb Eric Anholt: Adel Gadllah writes: --- src/glx/dri2_glx.c | 1 + src/glx/dri3_glx.c | 18 ++ src/glx/dri3_priv.h | 2 ++ src/glx/glx_pbuffer.c | 8 src/glx/glxclient.h | 1 + src/glx/glxextensions.c | 1

[Mesa-dev] [PATCHv3 3/3] dri3: Add GLX_EXT_buffer_age support

2014-02-24 Thread Adel Gadllah
Signed-off-by: Adel Gadllah Reviewed-by: Robert Bragg --- src/glx/dri2_glx.c | 1 + src/glx/dri3_glx.c | 18 ++ src/glx/dri3_priv.h | 2 ++ src/glx/glx_pbuffer.c | 33 ++--- src/glx/glxclient.h | 1 + src/glx/glxextensions.c

[Mesa-dev] [PATCHv3 2/3] glx_pbuffer: Refactor GetDrawableAttribute

2014-02-24 Thread Adel Gadllah
Move the pdraw != NULL check out so that they don't have to be duplicated. Signed-off-by: Adel Gadllah Reviewed-by: Ian Romanick --- src/glx/glx_pbuffer.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/glx/glx_pbuffer.c b/src/glx/glx_pbuffer.c index 41

[Mesa-dev] [PATCHv3 0/3] dri3: Add GLX_EXT_buffer_age support

2014-02-24 Thread Adel Gadllah
he current context as mandated by the spec. Adel Gadllah (3): glx: Update glxext.h to revision 25407 glx_pbuffer: Refactor GetDrawableAttribute dri3: Add GLX_EXT_buffer_age support include/GL/glxext.h | 32 +--- src/glx/dri2_glx.c | 1 + src/glx/

[Mesa-dev] [PATCHv3 1/3] glx: Update glxext.h to revision 25407

2014-02-24 Thread Adel Gadllah
Signed-off-by: Adel Gadllah Reviewed-by: Ian Romanick --- include/GL/glxext.h | 32 +--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/include/GL/glxext.h b/include/GL/glxext.h index 8c642f3..826fda5 100644 --- a/include/GL/glxext.h +++ b/include/GL

Re: [Mesa-dev] [PATCH 3/3] dri3: Add GLX_EXT_buffer_age support

2014-02-24 Thread Adel Gadllah
Am 24.02.2014 17:58, schrieb Robert Bragg: Hi Adel, Hi, Thanks for look at this; just a few comments... diff --git a/src/glx/glx_pbuffer.c b/src/glx/glx_pbuffer.c index 978730c..afb4206 100644 --- a/src/glx/glx_pbuffer.c +++ b/src/glx/glx_pbuffer.c @@ -373,6 +373,14 @@ GetDrawableAttribute(Di

Re: [Mesa-dev] [PATCH 0/3] dri3: Add GLX_EXT_buffer_age support

2014-02-21 Thread Adel Gadllah
Am 21.02.2014 23:47, schrieb Ian Romanick: On 02/20/2014 02:15 AM, Adel Gadllah wrote: Hi, OK here are updated patches based on the review comments. The first one simply updates the glxext.h header even though that turned out to not be required for this but it doesn't hurt doing it a

[Mesa-dev] [PATCH] glx: Add test for GLX_EXT_buffer_age

2014-02-21 Thread Adel Gadllah
x 000..8c19ef0 --- /dev/null +++ b/tests/glx/glx-buffer-age.c @@ -0,0 +1,115 @@ +/* + * Copyright Christopher James Halse Rogers + * Copyright 2010 Red Hat, Inc. + * Adel Gadllah + * + * Permission is hereby granted, free of charge, to any person obtaining a + * copy of this software and asso

[Mesa-dev] [PATCH 3/3] dri3: Add GLX_EXT_buffer_age support

2014-02-20 Thread Adel Gadllah
--- src/glx/dri2_glx.c | 1 + src/glx/dri3_glx.c | 18 ++ src/glx/dri3_priv.h | 2 ++ src/glx/glx_pbuffer.c | 8 src/glx/glxclient.h | 1 + src/glx/glxextensions.c | 1 + src/glx/glxextensions.h | 1 + 7 files changed, 32 insertions(+) diff --git

[Mesa-dev] [PATCH 2/3] glx_pbuffer: Refactor GetDrawableAttribute

2014-02-20 Thread Adel Gadllah
Move the pdraw != NULL check out so that they don't have to be duplicated. --- src/glx/glx_pbuffer.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/glx/glx_pbuffer.c b/src/glx/glx_pbuffer.c index 411d6e5..978730c 100644 --- a/src/glx/glx_pbuffer.c +++ b/src/glx

[Mesa-dev] [PATCH 1/3] glx: Update glxext.h to revision 25407

2014-02-20 Thread Adel Gadllah
--- include/GL/glxext.h | 32 +--- 1 file changed, 29 insertions(+), 3 deletions(-) diff --git a/include/GL/glxext.h b/include/GL/glxext.h index 8c642f3..826fda5 100644 --- a/include/GL/glxext.h +++ b/include/GL/glxext.h @@ -6,7 +6,7 @@ extern "C" { #endif /* -** C

[Mesa-dev] [PATCH 0/3] dri3: Add GLX_EXT_buffer_age support

2014-02-20 Thread Adel Gadllah
I got what he meant). Finally the third patch adds glx_ext_buffer_age support to dri3. Adel Gadllah (3): glx: Update glxext.h to revision 25407 glx_pbuffer: Refactor GetDrawableAttribute dri3: Add GLX_EXT_buffer_age support include/GL/glxext.h | 32 +--- sr

Re: [Mesa-dev] [PATCH][RFC] dri3: Add support for the GLX_EXT_buffer_age extension

2014-02-20 Thread Adel Gadllah
Am 20.02.2014 02:59, schrieb Ian Romanick: On 02/19/2014 02:49 PM, Adel Gadllah wrote: Hi, The attached patch adds support for the GLX_EXT_buffer_age extension, which is mostly used by compositors for efficient sub screen updates. The extension should not be reported as supported when running

[Mesa-dev] [PATCH][RFC] dri3: Add support for the GLX_EXT_buffer_age extension

2014-02-19 Thread Adel Gadllah
sure why suggestions welcome. P.S: Please CC me when replying as I am not subscribed to the list. From: Adel Gadllah Date: Sun, 16 Feb 2014 13:40:42 +0100 Subject: [PATCH] dri3: Add GLX_EXT_buffer_age support --- include/GL/glx.h | 5 + include/GL/glxext.h | 5

[Mesa-dev] [PATCH] Fix max texture levels on nv50

2011-10-24 Thread Adel Gadllah
Hi, The attached patch fixes the texture limits on nv50 to match what the hardware is actually capable off. - From: Adel Gadllah Date: Mon, 24 Oct 2011 19:41:03 +0200 Subject: [PATCH] Fix max texture levels on nv50 MAX_TEXTURE_2D_LEVELS and MAX_TEXTURE_CUBE_LEVELS are supposed to be 14