summaryrefslogtreecommitdiffstats
path: root/minuitwrp/graphics_overlay.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2016-02-19twrp: Add support for TW_SECONDARY_BRIGHTNESS_PATHAdrianDC1-0/+10
* Required for devices like Sony Huashan (dual backlighting paths) Change-Id: I0f84623431aec91fafee6617c1d4c542e4566caf
2016-02-01Bring back option to flip screen for overlay devicesxadro1-0/+10
The driver already has the capability to do so. It needs only to be flagged, if required. Change-Id: I1d81b00a7499e493d1dbba0a440b45fc1202f7c1
2016-01-29twrp: default to GGL_PIXEL_FORMAT_BGRA_8888 if vi.red.offset == 16Ziyan1-1/+1
Change-Id: I436bab6ef679168d3625d8e1837917077cf89908
2016-01-27Update minuitwrp graphics in line with latest minuiEthan Yonker1-151/+341
Note: events.cpp is still old code renamed to cpp to make it easier to call functions like gr_fb_width(). I had to modify AOSP fbdev code to provide a separate memory surface for drawing to as drawing directly to the framebuffer resulted in rendering taking about 5 times longer. I also modified AOSP adf code to provide a separate memory surface for drawing for the same performance reasons. The Nexus 9 supports adf graphics. Overlay graphics work on at least one device. Overlay provides a separate memory buffer already so performance is good. I do not have a drm device yet that I know of. I made some attempt to update the drm code to determine the correct pixel format based on the drm graphics format, but what is available in pixel flinger and what is available in drm do not line up all that well. Reports are that the Pixel C is using drm graphics, but performance is slow, likely due to the use of a mmap instead of a memory buffyer. Change-Id: Ibd45bccca6ac2cb826037aa9b2aa5065cf683eed
2015-10-14Add support for RGBA_8888 pixel formatKra1o51-0/+2
Change-Id: Ia15d49e51cad5bc8a3291975e1ff515a2b1c419c
2015-05-29minuitwrp: remove unused variableramsudharsan1-1/+0
Change-Id: I0beb3b349efd4f08491c92bb51c12caf3653cb73 Signed-off-by: ramsudharsan <ramsudharsanm@gmail.com>
2015-04-23Add option to use new heap_id_mask instead of old heap_maskKra1o51-0/+4
Use TW_NEW_ION_HEAP := true to use it Change-Id: I2ad105fa6d122b460ed4b5dc78563077b7904567
2014-06-30minui: Do not return true from target_has_overlay() if MSM_BSP is not setAndrew Dodd1-4/+9
Since target_has_overlay() was not ifdefed with MSM_BSP, it would return true on some devices even if MSM_BSP was unset, breaking LPM and some other minui functions. Change-Id: Ic6b524fa0b5e36fc9ffe67d53e2bf33e9d4fd2d3
2014-05-02Update minui to support overlay graphicsDees Troy1-2/+2
Fix path in minuitwrp for includes Change-Id: I9e9e5f67e8574cdcbc6f8873ceeb56eab71143ed
2014-04-01Support Qualcomm overlay graphics in recoveryEthan Yonker1-0/+453
Change-Id: Ia75c34ab1a45b7c8802c902906198517aa3437d5