donotturnoff / display

0 stars 0 forks source link

Cache DRM resource information structs #7

Open donotturnoff opened 6 months ago

donotturnoff commented 6 months ago

Rather than re-fetching the resource information every time it is needed, we could cache the information. We would need to be sure that it isn't going to change during the lifetime of the object.

Similarly, we could cache DRM properties used by DRM planes

Related to #8