Re: [Mesa-dev] OpenGL on Wayland

2014-07-02 Thread Thomas Daede
What Mesa version are you using? IIRC OpenGL 3.3 is only supported in llvmpipe in mesa 10.3 and newer. Using MESA_GL_VERISON_OVERRIDE just fakes the version string, it doesn't change what functions you can actually link to. Also, that also means for compatibility reasons you might want to request

Re: Wayland generic dmabuf protocol

2014-06-09 Thread Thomas Daede
Why does the kernel need to be the arbiter for buffer content constraints? Instead, can't the client program query each hardware device for its capabilities and then settle on a buffer format in common itself? That said, I am writing a kernel driver for a video decoder and was looking for ways to

Re: [RFC] weston: Sony clickpad support

2013-08-13 Thread Thomas Daede
On Tue, Aug 13, 2013 at 6:31 AM, David Herrmann wrote: > Hi > > On Tue, Aug 13, 2013 at 6:50 AM, Alexander E. Patrakov > wrote: >> 2013/8/12 David Herrmann : >> >>> The implementation looks quite nice. I will not comment on the code >>> individually, though. I'd really like to see a libtouchpad w

Re: [RFC] protocol: Extend wayland seat with interfaces for sensor inputs.

2013-08-12 Thread Thomas Daede
On Thu, Aug 1, 2013 at 3:39 AM, Stefan Schmidt wrote: > + > + > + Updated sensor data available from compass > + > + > + > + > + These events don't have any units, and there isn't any particular information about the sensor passed either. Is this suppo

Re: [PATCH v2 1/3] Handle CJK wide glyph rendering

2013-07-21 Thread Thomas Daede
This is for a VT-100 style terminal emulator, right? It's designed to implement a grid of characters. Therefore, drawing it like a grid based on single or double character widths makes a lot more sense than detecting the length of a string. On any other UI element, detecting the string length would

Re: [PATCH 2/2] Some CJK glyphs are wide, which occupy two columns. If the glyph is wide, then use two columns instead of one.

2013-07-08 Thread Thomas Daede
A similar function is wcwidth(). There is an implementation here: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c I don't know how it compares to the complexity or feature completeness of Pango's implementation (which I think is a wrapper around HarfBuzz) On Mon, Jul 8, 2013 at 5:07 PM, Kristian Hø

Re: [patches] Add a color management framework to weston

2013-04-05 Thread Thomas Daede
I am not sure that doing the color conversion in the compositor is the correct place. Some of it has to be there to support vcgt, but for more general conversions, it gets complicated quickly. Color correction is most important for artists doing work in something like the GIMP. Programs like this