Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | minui: Handle the failures from the drm backend in gr_init | Tianjie Xu | 2018-06-06 | 1 | -1/+1 |
| | | | | | | | | | | | In a charger mode manual test, we encounter failures from the MinuiBackendDrm when calling DrmEnableCrtc and Flip. To make the minui more robust, we should fall back to another backend if drm's SetCrtc fails. And check the value of gr_draw before dereferencing. Bug: 80249440 Test: boot to recovery Change-Id: Ibd1ca1fb1115fe1132684586c54eccd8fb4c3ad9 | ||||
* | minui: Move graphics_{adf,drm,fbdev} into classes. | Tao Bao | 2017-02-11 | 1 | -0/+58 |
This CL defines minui_backend as an interface, and expresses the three backends (adf, drm and fbdev) as subclasses to the interface. Test: 'Run graphics test' on N9, Pixel C and N5X. Change-Id: I0e23951c7b2e2ff918957a8d9fc8b0085b6e5952 |