[PATCH 2/8] glamor/xv: add vbo support

2016-01-18 Thread Dave Airlie
From: Dave Airlie This converts the Xv code to using VBOs instead of client ptrs. This is necessary to move towards using the core profile later. Signed-off-by: Dave Airlie --- glamor/glamor_xv.c | 31 +-- 1 file changed, 21

[PATCH 6/8] ephyr: Create 3.3 core profile context if possible (v2)

2016-01-18 Thread Dave Airlie
From: Keith Packard On desktop GL, Ask for a 3.3 core profile context if that's available, otherwise create a generic context. v2: tell glamor the profile is a core one. Signed-off-by: Keith Packard Signed-off-by: Dave Airlie ---

[PATCH 5/8] glamor: add core profile support.

2016-01-18 Thread Dave Airlie
From: Dave Airlie This adds a new flag to glamor_init to denote the context is core profile. This flag is used to disable quads for rendering. Signed-off-by: Dave Airlie --- glamor/glamor.c | 3 ++- glamor/glamor.h | 3 ++- 2 files changed, 4

[PATCH 8/8] xwayland: add support for use core profile for glamor.

2016-01-18 Thread Dave Airlie
From: Dave Airlie This adds support to Xwayland to try and use OpenGL core profile for glamor first. Signed-off-by: Dave Airlie --- hw/xwayland/xwayland-glamor.c | 22 +- hw/xwayland/xwayland.h| 1 + 2 files changed, 22

[PATCH 1/8] glamor: use vbos in gradient/picture code.

2016-01-18 Thread Dave Airlie
From: Dave Airlie This converts two client arrays users to using vbos, this is necessary to move to using core profile later. Signed-off-by: Dave Airlie --- glamor/glamor_gradient.c | 33 - glamor/glamor_picture.c | 27

[PATCH 7/8] glamor: add core profile support to EGL glamor.

2016-01-18 Thread Dave Airlie
From: Dave Airlie This breaks ABI unfortunately as we have to pass the core profile info from the egl part of glamor to the glamor part of glamor. Signed-off-by: Dave Airlie --- glamor/glamor.h | 2 +- glamor/glamor_egl.c

[PATCH 4/8] glamor: Use GL_RED instead of GL_ALPHA if we have texture_swizzle

2016-01-18 Thread Dave Airlie
From: Keith Packard GL_RED is supported by core profiles while GL_ALPHA is not; use GL_RED for one channel objects (depth 1 to 8), and then swizzle them into the alpha channel when used as a mask. [airlied: updated to master, add swizzle to composited glyphs and xv paths]

Re: [PATCH 2/8] glamor/xv: add vbo support

2016-01-18 Thread Eric Anholt
Dave Airlie writes: > From: Dave Airlie > > This converts the Xv code to using VBOs instead of > client ptrs. This is necessary to move towards using > the core profile later. > > Signed-off-by: Dave Airlie > --- > glamor/glamor_xv.c

glamor core profile support

2016-01-18 Thread Dave Airlie
This series implements support for glamor in ephyr/EGL/Xwayland to use GL core profile when it can. This required 4 main changes: a) stop using client ptrs everywhere, I found 3 places left, gradient, picture and xv where we use these. b) start using VAOs c) use GL_RED instead of GL_ALPHA d) stop

[PATCH 3/8] glamor: Use vertex arrays

2016-01-18 Thread Dave Airlie
From: Keith Packard Core contexts require the use of vertex arrays, so switch both glamor and ephyr/glamor over. Signed-off-by: Keith Packard Signed-off-by: Dave Airlie --- glamor/glamor.c| 2 +

Re: [PATCH 7/8] glamor: add core profile support to EGL glamor.

2016-01-18 Thread Michel Dänzer
On 19.01.2016 09:56, Dave Airlie wrote: > From: Dave Airlie > > This breaks ABI unfortunately as we have to pass the core profile > info from the egl part of glamor to the glamor part of glamor. That's indeed a bit ugly. Can't the glamor code determine itself whether or not

[PATCH] glamor: don't do copy if we have 0 boxes to copy.

2016-01-18 Thread Dave Airlie
From: Dave Airlie This happens if you run twm + mplayer + xclock and drag the clock over the mplayer. If we don't catch it, we cause an illegal draw elements command to be passed to GL. Signed-off-by: Dave Airlie --- glamor/glamor_copy.c | 3 +++ 1 file

New composers for local languages in Togo

2016-01-18 Thread Mats Blakstad
I've opened this ticket: https://bugs.freedesktop.org/show_bug.cgi?id=93660 I need some feedback to be able to upload a final verion! How should the composer be formatted. Now each composer is added like this: * : "Ɛ̃́" LATIN CAPITAL LETTER EPSILON WITH TILDE AND ACUTE* But it looks

Re: [PATCH 2/8] glamor/xv: add vbo support

2016-01-18 Thread Dave Airlie
On 19 January 2016 at 11:15, Eric Anholt wrote: > Dave Airlie writes: > >> From: Dave Airlie >> >> This converts the Xv code to using VBOs instead of >> client ptrs. This is necessary to move towards using >> the core profile later. >> >>

[PATCH] glamor/xv: add vbo support (v2)

2016-01-18 Thread Dave Airlie
From: Dave Airlie This converts the Xv code to using VBOs instead of client ptrs. This is necessary to move towards using the core profile later. v2: put all boxes into single vbo, use draw arrays to offset things. (Eric) Signed-off-by: Dave Airlie ---

Re: [PATCH 5/8] glamor: add core profile support.

2016-01-18 Thread Michel Dänzer
On 19.01.2016 09:56, Dave Airlie wrote: > From: Dave Airlie > > This adds a new flag to glamor_init to denote the context is > core profile. > > This flag is used to disable quads for rendering. > > Signed-off-by: Dave Airlie > --- > glamor/glamor.c |

[PATCH] glamor/xv: add vbo support (v2.1)

2016-01-18 Thread Dave Airlie
From: Dave Airlie This converts the Xv code to using VBOs instead of client ptrs. This is necessary to move towards using the core profile later. v2: put all boxes into single vbo, use draw arrays to offset things. (Eric) v2.1: brown paper bag with releasing vbo.

Re: [PATCH 7/8] glamor: add core profile support to EGL glamor.

2016-01-18 Thread Dave Airlie
On 19 January 2016 at 12:09, Michel Dänzer wrote: > On 19.01.2016 09:56, Dave Airlie wrote: >> From: Dave Airlie >> >> This breaks ABI unfortunately as we have to pass the core profile >> info from the egl part of glamor to the glamor part of glamor. > >

Re: [PATCH 7/8] glamor: add core profile support to EGL glamor.

2016-01-18 Thread Michel Dänzer
On 19.01.2016 11:20, Dave Airlie wrote: > On 19 January 2016 at 12:09, Michel Dänzer wrote: >> On 19.01.2016 09:56, Dave Airlie wrote: >>> From: Dave Airlie >>> >>> This breaks ABI unfortunately as we have to pass the core profile >>> info from the egl

Re: glamor core profile support

2016-01-18 Thread Dave Airlie
On 19 January 2016 at 12:39, Dave Airlie wrote: > On 19 January 2016 at 10:56, Dave Airlie wrote: >> This series implements support for glamor in ephyr/EGL/Xwayland >> to use GL core profile when it can. >> >> This required 4 main changes: >> a) stop using

Re: [PATCH 7/8] glamor: add core profile support to EGL glamor.

2016-01-18 Thread Dave Airlie
On 19 January 2016 at 12:38, Michel Dänzer wrote: > On 19.01.2016 11:20, Dave Airlie wrote: >> On 19 January 2016 at 12:09, Michel Dänzer wrote: >>> On 19.01.2016 09:56, Dave Airlie wrote: From: Dave Airlie This breaks

Re: glamor core profile support

2016-01-18 Thread Dave Airlie
On 19 January 2016 at 10:56, Dave Airlie wrote: > This series implements support for glamor in ephyr/EGL/Xwayland > to use GL core profile when it can. > > This required 4 main changes: > a) stop using client ptrs everywhere, I found 3 places left, > gradient, picture and xv

[PATCH 4/8] glamor: Use GL_RED instead of GL_ALPHA if we have texture_swizzle (v2)

2016-01-18 Thread Dave Airlie
From: Keith Packard GL_RED is supported by core profiles while GL_ALPHA is not; use GL_RED for one channel objects (depth 1 to 8), and then swizzle them into the alpha channel when used as a mask. [airlied: updated to master, add swizzle to composited glyphs and xv paths]

[PATCH 5/8] glamor: add core profile support. (v2)

2016-01-18 Thread Dave Airlie
From: Dave Airlie Glamor works out from the profile if it is core. This flag is used to disable quads for rendering. v1.1: split long line + make whitespace conform (Michel) v1.2: add GL 3.1 version defines v2: move to having glamor work out the profile. Signed-off-by:

[PATCH 3/8] glamor: Use vertex arrays

2016-01-18 Thread Dave Airlie
From: Keith Packard Core contexts require the use of vertex arrays, so switch both glamor and ephyr/glamor over. Signed-off-by: Keith Packard Signed-off-by: Dave Airlie --- glamor/glamor.c| 2 +

[PATCH 8/8] xwayland: add support for use core profile for glamor. (v2)

2016-01-18 Thread Dave Airlie
From: Dave Airlie This adds support to Xwayland to try and use OpenGL core profile for glamor first. v1.1: use version defines. v2: let glamor work out core profile itself. Signed-off-by: Dave Airlie --- hw/xwayland/xwayland-glamor.c | 15

[PATCH 2/8] glamor/xv: add vbo support (v2.1)

2016-01-18 Thread Dave Airlie
From: Dave Airlie This converts the Xv code to using VBOs instead of client ptrs. This is necessary to move towards using the core profile later. v2: put all boxes into single vbo, use draw arrays to offset things. (Eric) v2.1: brown paper bag with releasing vbo.

[PATCH 1/8] glamor: use vbos in gradient/picture code.

2016-01-18 Thread Dave Airlie
From: Dave Airlie This converts two client arrays users to using vbos, this is necessary to move to using core profile later. Signed-off-by: Dave Airlie --- glamor/glamor_gradient.c | 33 - glamor/glamor_picture.c | 27

glamor core profile repost

2016-01-18 Thread Dave Airlie
I've reworked some bits of this patchset, the main changes since earlier today, a) drop the API changes, use GL3.1 !ARB_compatiblity to denote core profile. b) rework RED patch, to always set the texparam, and to handle color swizzles, which broke some XTS tests. Dave.

[PATCH 7/8] glamor: add core profile support to EGL glamor. (v2)

2016-01-18 Thread Dave Airlie
From: Dave Airlie This breaks ABI unfortunately as we have to pass the core profile info from the egl part of glamor to the glamor part of glamor. v1.1: use version defines. v2: let glamor work it out itself Signed-off-by: Dave Airlie ---

[PATCH 6/8] ephyr: Create 3.3 core profile context if possible (v3)

2016-01-18 Thread Dave Airlie
From: Keith Packard On desktop GL, Ask for a 3.3 core profile context if that's available, otherwise create a generic context. v2: tell glamor the profile is a core one. v2.1: add/use GL version defines v3: let glamor work out core itself Signed-off-by: Keith Packard

Re: [PATCH xserver] autogen: Set a default subject prefix for patches

2016-01-18 Thread Eric Anholt
Adam Jackson writes: > Per discussion at XDC2015, we want this so we can easily distinguish > which module a patch is for. There's no way to set this in the > server-side config, so setting a default at autogen time is about the > best we can do. > > Signed-off-by: Adam Jackson