libgfx: Merge in very early release.
authorTyler J. Stachecki <stachecki.tyler@gmail.com>
Sat, 30 Dec 2017 16:27:49 +0000 (11:27 -0500)
committerTyler J. Stachecki <stachecki.tyler@gmail.com>
Sat, 30 Dec 2017 16:27:49 +0000 (11:27 -0500)
commitf5208d420e97ec317267daec1567a9ca25720348
tree80e582d1254fde06feffb198c9bdac4ecd83536d
parent364c1075ad4d32bca73be5628c9058000fda4d55
libgfx: Merge in very early release.

This additional library (that gets linked in with the
cart's ELF, rather than libn64) will provide accelerated
graphics functionality.

It currently provides a ucode which can render RDP triangle
commands from 3 vertices in the ucode's vertex buffer.

None of this would would have been possible without krom's
and GreaseMonkey's invaluable help in reverse enginering
"how to triangle" (from below). krom also provided a sample
program which I used extensively while designing the RSP
ucode.

https://forums.cen64.com/viewtopic.php?f=14&t=237

Signed-off-by: Tyler J. Stachecki <stachecki.tyler@gmail.com>
12 files changed:
.gitignore
helloworld/Makefile
libgfx/Makefile [new file with mode: 0644]
libgfx/include/libgfx/init.h [new file with mode: 0644]
libgfx/include/libgfx/rspbuf.h [new file with mode: 0644]
libgfx/include/libgfx/vertex.h [new file with mode: 0644]
libgfx/src/init.c [new file with mode: 0644]
libgfx/src/rspbuf.c [new file with mode: 0644]
libgfx/ucodes/gfx.rsp [new file with mode: 0644]
libgfx/ucodes/gfx.rsps [new file with mode: 0644]
libn64/Makefile
threadtest/Makefile