summaryrefslogtreecommitdiffstats
path: root/minuitwrp/resources.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* minuitwrp: fix file descriptor leak in open_pngthat2015-02-131-2/+5
| | | | | | This fixes missing images after reloading the material theme 3 times. Change-Id: I9af2a76b16e465fd2218e5f479c36a294590fa62
* Fix handling of GGLContext in res_scale_surfaceEthan Yonker2015-02-111-4/+5
| | | | Change-Id: I36eb1d5e4f6908bad5ebb1fec692d8510529a14c
* Scale the GUI to fit the screenEthan Yonker2015-02-101-1/+75
| | | | | | | | | | | | With this patch set, if needed, we scale the images during early boot. TTF support is needed to properly scale the font. No font scaling is done on the old style fixed width font used in the console. Special thanks to _that for figuring out the scaling and blending function calls to make this possible. Change-Id: If2f79bef16d6db2e1298bfc3d00c9bcca2bee37a
* Use /twres instead of /res for theme resourcesDees Troy2015-01-221-2/+3
| | | | | | | | | AOSP and other ROM trees now do a rm -rf of the res folder during the ramdisk creation process that removes the TWRP resources. Using /twres instead of /res works around this issue making TWRP more compatible with AOSP and other build trees. Change-Id: I0d4c7e06ca381ac5aa0069b6f2b8c47f7dec49e7
* Fix loading of png images in custom themesEthan Yonker2014-12-121-2/+5
| | | | Change-Id: I7eebc474c025eda534adb04d061795623ebecdda
* Fix png graphics load / display on AArch64Ethan Yonker2014-12-091-83/+155
| | | | | | | | | This is mostly kang from AOSP resources.c for loading png files into RAM, but for ease of compatibility we retained the older gr_surface data types throughout and ensured that we retain support for alpha blended png files. Change-Id: Ieea552173d3bfe885460407be73088bbad75663f
* Disable custom theme and fix png loadingEthan Yonker2014-11-071-2/+2
| | | | | | | We will have to update the zip handling later. Now at least TWRP boots up to the GUI. Change-Id: I4182896eb095cab52fb0f1c9c20b6605e35677b9
* Fix up old libminui to compileEthan Yonker2014-11-071-5/+7
| | | | | | | | | Implement some needed updates to libminui to make it compile for healthd. Note that res_create_multi_display_surface is not fully implemented so healthd may still have issues with displaying some graphics. Will update later when we are able to test these changes. Change-Id: Ic1095a998f5dfe7e36a08384c86da28e0524a03f
* Remove libjpegtwrp and use CM provided libjpegDees_Troy2013-08-111-1/+1
|
* Move all AOSP code out of recovery binaryDees_Troy2013-04-041-1/+1
| | | | | | Improves license compatibility between GPL and Apache Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
* TWRP-ify AOSP codeDees_Troy2012-09-051-0/+286
Pull in most TWRP sources Stub out partition management code Make it compile -- probably will not boot Kind of a mess but have to start somewhere