Feature #1655
Feature #4: UI improvements
Offscreen UI composition
Description
Doomsday's UI framework needs to have the ability to flatten a widget tree into an offscreen buffer (such as a GL texture) and then use that offscreen buffer for further drawing operations.
This is useful for instance for applying shader effects or a custom 2D/3D projection to the UI.
Related issues
History
#1
Updated by skyjake over 11 years ago
- % Done changed from 0 to 80
#2
Updated by skyjake over 11 years ago
Currently implemented in the "oculus-rift" branch. The remaining missing detail is appropriate alpha blending for the flattened graphics.
#3
Updated by skyjake over 11 years ago
- Target version set to 1.13
#4
Updated by skyjake over 11 years ago
- Status changed from New to In Progress
#5
Updated by skyjake over 11 years ago
- Status changed from In Progress to Closed
- % Done changed from 80 to 100
Marking this as completed: CompositorWidget
can be used as the parent anywhere in the widget tree to create a composite of that branch.
The assumption currently is that the offscreen target is used to draw a transparent UI layer, so the resulting texture is drawn back to the normal target using premultiplied alpha blending.