The Android Graphics microconference
The Android Graphics microconference
Posted Oct 20, 2013 20:28 UTC (Sun) by pixelpapst (guest, #55301)Parent article: The Android Graphics microconference
The ADF layer would ask each allocator in turn if it could satisfy the superset of constraints for the current request. If no allocator can, fail verbosely. Then allow driver writers to implement a special allocator as a separate kernel object, which can satisfy a specific combination of constraints that appears on a particular platform (specific SoC with specific user-space). This should avoid growing all this craziness into user-space, while keeping the kernel interfaces as generic as possible under these circumstances.
Take all this with a grain of salt, though. I'm not yet as fluent in the android graphics stack as I'd like to be.