Not convinced the 3DS1 implementation is functional and correct. To begin with, it seems it only supports fullscreen layers. See
Rather, let's implement a working solution for the new runtime.
Some of the bits needed for this (compositor refactoring) also provide enablers for implementing post-processing effects later on.