Commit Graph

335 Commits

Author SHA1 Message Date
Sergey Isakov
6c6fe90842 use isEmpty and setEmpty
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 15:32:14 +03:00
Sergey Isakov
4be169f058 full lodecpp features
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 12:49:02 +03:00
Sergey Isakov
d1043e2673 modify XArray and lodepng to compile as cpp
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 12:17:50 +03:00
Sergey Isakov
8dbd938bf3 replace std::vector with XArray
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-27 08:20:15 +03:00
Sergey Isakov
02108d8f48 fix mistake with x instead of y
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 23:57:58 +03:00
Sergey Isakov
297b3601bf current changes to ximage
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 22:44:16 +03:00
Sergey Isakov
d6885d3f2a more image functions
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 16:59:10 +03:00
Sergey Isakov
f4457dc741 few polish of png functions
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 09:13:03 +03:00
Sergey Isakov
1946bf5838 implement PNG coding in ximage
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-26 09:05:14 +03:00
jief
8727ae6f54 Refactor of XImage to use XArray and create accessor for pixel. 2020-02-26 00:28:36 +03:00
jief
9ac41a3c9d Added const in XImage 2020-02-25 23:57:23 +03:00
Sergey Isakov
a0b40c06dc created XImage::Compose
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-25 23:19:39 +03:00
Sergey Isakov
a4952d32de preliminary introduce image class
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-25 16:55:39 +03:00
Sergey Isakov
c35f9aa052 fix signess, optimize codes
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-23 08:53:21 +03:00
Sergey Isakov
3933f80eb2 correct sorting
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-22 17:07:46 +03:00
Jief L
8199d9b75c Remove unecessary cast. Some cleanups. 2020-02-22 00:22:30 +03:00
Sergey Isakov
8cb786d57e Merge branch 'master' of https://github.com/CloverHackyColor/CloverBootloader 2020-02-20 18:49:24 +03:00
Sergey Isakov
57e21d5a60 replace memset with SetMem because of compiler
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 18:49:18 +03:00
Sergey Isakov
5b02b51273 more type casting fixes
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-20 17:28:24 +03:00
Sergey Isakov
db08c98366 speedup png by using quicksort
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-19 20:36:26 +03:00
jief
15c1c82a6d Fix build of clover-genconfig 2020-02-18 08:58:56 +03:00
jief
7fa464fde0 Final switch to C++ compiler 2020-02-17 23:41:09 +03:00
Sergey Isakov
d836611308 cpp will be only compilation mode
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-16 13:53:12 +03:00
Sergey Isakov
d2ac4d7de9 merge master and c++_globals
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-15 17:29:59 +03:00
Sergey Isakov
82347b1e8d use own implementation for CopyMem and SetMem instead of BIOS
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2020-02-14 07:15:10 +03:00
jief
a79acfcd24 Fix void* cast and enum cast (prepa C++) 2019-12-27 18:09:07 +01:00
jief
2d4a9a77c5 Fix CONST warnings (prepa C++) 2019-12-27 17:12:28 +01:00
jief
9b01a6fe58 Add cast to return value of memory allocation functions (prepa c++) 2019-12-27 15:21:40 +01:00
jief
91793ca5ba Remove unused includes for C++ 2019-12-20 16:03:49 +01:00
jief
38204b0b4c Rename 'class' parameter because it's reserved in C++ 2019-12-20 15:54:11 +01:00
jief
28886d3b6f Fix prototype. 2019-12-20 15:52:56 +01:00
Sergey Isakov
ad0eb1988d dont show Clover boot volume if it commented out
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-12-20 14:47:02 +03:00
SergeySlice
0979cd808a use unified DeviceTreeLib
Signed-off-by: Сергей Исаков <sergey@Sergejs-iMac.local>
2019-12-18 20:34:26 +03:00
Sergey Isakov
d49c68ae80 check for zero size allocation 2019-09-19 22:14:57 +03:00
Sergey Isakov
7c0aa811ec initial commit Clover sources 5061 and modules from EDK2 latest with legacy codes from UDK2018
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
2019-09-03 12:58:42 +03:00