diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-18 20:57:58 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-12-18 20:57:58 -0300 |
commit | 7907a2602420fa17cf27c50970151263a86ca771 (patch) | |
tree | 90b0c4f78a7437f485d9d44c1840866655d94265 /src/hardware_data/graphics/mali400.lua | |
parent | 29e052df9144fc9ad53587fda2ee1ca647959c40 (diff) |
add ppu_rp2c0x.lua in gnu_and_bola_brawlers
Diffstat (limited to 'src/hardware_data/graphics/mali400.lua')
-rw-r--r-- | src/hardware_data/graphics/mali400.lua | 162 |
1 files changed, 162 insertions, 0 deletions
diff --git a/src/hardware_data/graphics/mali400.lua b/src/hardware_data/graphics/mali400.lua new file mode 100644 index 0000000..ad190d3 --- /dev/null +++ b/src/hardware_data/graphics/mali400.lua @@ -0,0 +1,162 @@ +return { + screen = { + fhd = { + width = 1920, + height = 1080, + fps = 30, + origin = { + x = 0, + y = 0, + }, + }, + uhd4k = { + width = 3840, + height = 2160, + fps = 30, + origin = { + x = 0, + y = 0, + }, + }, + }, + colours = { + total = '32bpp', + limit = false, + background = true, + transparent = 'colourKey,alpha', + }, + meshes = true, + shaders = { + api = 'glsl_es', + version = '1.0.17', + fragment = true, + vectex = true, + geometry = false, + tessellation = false, + }, + physic = true, + sprites = { + onScreen = false, + onLine = false, + palettes = { + specify = true, + { + total = '24bpp', + limit = 255, + keys = 1, + }, + { + total = '32bpp', + limit = 256, + keys = 'alpha', + }, + { + total = '24bpp', + limit = '24bpp-1', + keys = 1, + }, + { + total = '32bpp', + limit = '24bpp', + keys = 'alpha', + }, + { + total = '48bpp', + limit = '48bpp-1', + keys = 1, + }, + { + total = '64bpp', + limit = '48bpp', + keys = 'alpha', + }, + }, + transform = { + move = true, + rotate = true, + scale = true, + shear = true, + affine = true, + }, + sizes = { + { + width = 'free', + height = 'free', + }, + }, + }, + tiles = { + layers = { + free = { + total = 8294400, + limit = false, + unique = true, + independent = true, + palettes = { + specify = true, + { + total = '24bpp', + limit = 256, + keys = false, + }, + { + total = '24bpp', + limit = 255, + keys = 1, + }, + { + total = '32bpp', + limit = 256, + keys = 'alpha', + }, + { + total = '24bpp', + limit = false, + keys = false, + }, + { + total = '24bpp', + limit = '24bpp-1', + keys = 1, + }, + { + total = '32bpp', + limit = '24bpp', + keys = 'alpha', + }, + { + total = '48bpp', + limit = false, + keys = false, + }, + { + total = '48bpp', + limit = '48bpp-1', + keys = 1, + }, + { + total = '64bpp', + limit = '48bpp', + keys = 'alpha', + }, + }, + mirror = true, + transform = { + individual = true, + move = true, + rotate = true, + scale = true, + shear = true, + affine = true, + }, + sizes = { + { + width = 'free', + height = 'free', + }, + }, + map = false, + }, + }, + }, +} |