summaryrefslogtreecommitdiffstats
path: root/minui/graphics_drm.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-06-06minui: Handle the failures from the drm backend in gr_initTianjie Xu1-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
2017-02-11minui: Move graphics_{adf,drm,fbdev} into classes.Tao Bao1-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