donotturnoff / display

0 stars 0 forks source link

Support switching which DRMPlane is used by a DRMFramebuffer #15

Open donotturnoff opened 4 months ago

donotturnoff commented 4 months ago

It may be the case that a DRMFramebuffer's current DRMPlane is incompatible with the DRMCRTC we wish to render to. In that case, we need to switch to a different DRMPlane (or else create a new DRMFramebuffer with a different DRMPlane and copy the data over - but this seems slower).

What happens if we want to render the same DRMFramebuffer-backed Bitmap on multiple DRMCRTCs simultaneously? Do we just render one, then switch DRMPlane, then render another? You could also just render the Bitmap using software for all but the main render.

donotturnoff commented 4 months ago

See #16 for discussion about configuration testing