Dri2 buffer format
rjshaw at netspace.net.au
Tue Nov 9 18:11:44 PST 2010
On 10/11/10 12:47, Kristian Høgsberg wrote:
> On Tue, Nov 9, 2010 at 8:43 PM, Russell Shaw<rjshaw at netspace.net.au> wrote:
>> On 10/11/10 12:32, Jesse Barnes wrote:
>>>>> DRI2 is not mean to be use by end user application, it's only use by
>>>>> Xorg to comunicate with library such as opengl that want to provide
>>>>> direct rendering to X pixmap/window.
>>>> Ok. How do i plot a pixel in Wayland? I'm not using gtk/qt/OpenGL/OpenVG
>>> Allocate an shm buffer based on an mmap you've done in your client.
>>> Then you can draw to it and notify wayland of the damage.
>> Ok. I'm already using shm buffers in X. Is there example code in wayland
>> of getting the shm pixel format? (i couldn't see one last time i looked)
> Look at the smoke.c example.
smoke.c uses cairo http://cairographics.org/
I don't want cairo.
Please could i have that one bit of code for the pixel format?:)
More information about the wayland-devel