diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-01-24 18:00:01 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2013-01-24 18:08:17 +0100 |
commit | 3b96379ab4235d70245e1905b31cc9722a3c7963 (patch) | |
tree | f947235e56a1e8ef03f24af80cc129e5c29ef0a5 /README.md | |
parent | 0898ca746b6ab47dbc2dc34476f378427291612c (diff) |
add ETC1 support to fb/mipcube demo, figure out supertiling
Also figure out some other resolve state.
Add a tool (genmipmaps_etc1.py) to generate a dds file with ETC1 texture
compression and auto-generate mipmaps (GIMP dds plugin cannot do ETC1).
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 13 insertions, 4 deletions
@@ -37,7 +37,6 @@ Framebuffer tests ------------------ ![cube_rotate output](https://raw.github.com/laanwj/etna_viv/master/native/replay/cube_replay.png) - ![cube_companion output](https://raw.github.com/laanwj/etna_viv/master/native/replay/cube_companion_replay.png) ![mip_cube output](https://raw.github.com/laanwj/etna_viv/master/doc/images/mipmap.png) @@ -67,6 +66,9 @@ the proof-of-concept `etna` command stream building API. color and number on each mipmap level, to explicitly show interpolation between mipmap levels as the surface goes nearer or farther from the camera. + - Mipmapping + - DXT1 / DXT3 / DXT5 / ETC1 compressed textures + If you are executing these demos on an Android device, make sure that you are root, otherwise the framebuffer is not accessible. @@ -196,6 +198,8 @@ Three GPL kernel driver versions, `gc600_driver_dove`, `v2` and `v4`, are provid interface, and the hardware at a basic level. As open source drivers for the kernel are available, there are currently no plans to write a DRM/DRI kernel driver for Vivante. +(There may be other reasons to do this anyway, such as allowing the driver to work without losing a fixed 128MB amount of memory +to the GPU) Envytools fork --------------- @@ -235,7 +239,7 @@ Run make in `native/replay` and `native/egl` separately. Compatibility ================ -My primary development device is an Android tablet based on Rockchip RK2918, containing a GC800 GPU. +Wladimir's primary development device is an Android tablet based on Rockchip RK2918, containing a GC800 GPU. It has pretty ancient Vivante kernel driver 2.2.2. I do not currently have a device with a newer chip or driver, so every statement about those devices @@ -252,8 +256,6 @@ some modifications to the build system may be necessary to make it compatible. L The command stream on different device GCxxx variants will also likely be slightly different; the features bit system allows for a ton of slightly different chips. When porting it, look for: -- Tile size for textures and render targets (this may result in messed-up rendering and/or broken textures) - - Number of bits per tile (2 on my hw), depends on `2BIT_PER_TILE` feature flag - depth buffer (hierarchical or normal) @@ -261,6 +263,13 @@ allows for a ton of slightly different chips. When porting it, look for: - location of shader memory in state space (will be at 0x0C000/0x08000 or 0x20000 for recent models with more than 256 shader instructions support) +Miscellaneous +============= +There is currently no mailing list for this project, and looking at other GPU reverse engineering projects the mailing lists +usually see very little traffic, so I won't bother. + +We usually hang out in `#lima` on `irc.freenode.net`. + Authors ======== |