Commit graph

15 commits

Author SHA1 Message Date
wheremyfoodat
73a18e3609 Switch out math_util.hpp 2023-08-04 16:14:41 +03:00
GPUCode
c805504f70 gpu: Add display transfer rectangles 2023-08-03 16:37:19 +03:00
GPUCode
f75a23b5a9 code: Better screen support 2023-08-02 22:26:08 +03:00
GPUCode
a019d98af9 texture: Use spans 2023-07-20 15:43:24 +03:00
Wunkolo
6ee3f73335 Bisect TextureFmt and ColorFmt
Makes framebuffer-formats unrepresentable from texture formats while
allowing them to alias each other. Add utility functions as well that
just re-use the `TextureFmt` ones.
2023-06-18 08:22:14 -07:00
Wunkolo
134e16d8ea Replace Texture::Formats with PICA::ColorFmt
This enum was a duplicate of the PICA one. Now the PICA one is more
complete. Migrate `textureFormatToString` to be next to the enums
definition.
2023-06-18 00:10:04 -07:00
wheremyfoodat
4632a62da2 [PICA] Proper texture wrapping 2023-04-03 21:08:31 +03:00
wheremyfoodat
84db6052b3 [PICA] Implement RG8 textures 2023-04-03 18:12:03 +03:00
wheremyfoodat
8a15a42763 [PICA] Add texture format -> string function 2023-03-06 23:36:38 +02:00
wheremyfoodat
820b8a37b6 [PICA] Implement A4 textures 2023-03-06 21:07:10 +02:00
wheremyfoodat
0cd3f581d3 [PICA] Add ETC1 and ETC1A4 support 2023-03-01 01:42:46 +02:00
wheremyfoodat
ccdab41c28 [PICA] More textures. Upstream should also build now 2023-02-01 01:53:51 +02:00
wheremyfoodat
51130b295a [PICA] More textoor 2023-02-01 00:34:58 +02:00
wheremyfoodat
03d0d77db8 [PICA] Add texture swizzling 2023-01-31 22:47:19 +02:00
wheremyfoodat
dd17b2ecb8 [PICA] Start working on textures 2023-01-31 21:34:42 +02:00