-
Notifications
You must be signed in to change notification settings - Fork 341
Pixman software renderer #2399
Comments
Where should Also how would the renderer choosing strategy work? egl then pixman, always egl unless an env var is specified? |
Probably in
By default, if there's a render node, try GLES2. Otherwise try pixman. We probably want an env var to force a specific renderer. |
More thoughts:
|
To expand on this a little bit more: if we want something that works with both the DRM dumb allocator and the shm allocator, we have a few solutions:
|
I like the option 1 for now, I think it's the easiest/quickest one. Do you want a separate patch for it or can I add it to the drm dumb allocator one and patch the gbm allocator after? |
GBM doesn't need to implement it. The best for a review would be to add to your DRM dumb buffer allocator a commit that adds the |
After renderer v6, we'll be able to start working on a pixman software renderer. It'll probably work this way:
wlr_buffer
can be exported to a DMA-BUF viadrmPrimeHandleToFD
.drmPrimeFDToHandle
and mmap the dumb buffer.drmPrimeFDToHandle
(or GBM?) and scan it outNeed to be careful wrt. GEM handle ref-counting.
The text was updated successfully, but these errors were encountered: