diff options
author | Stephane Marchesin <stephane.marchesin@gmail.com> | 2010-04-25 01:53:08 +0200 |
---|---|---|
committer | Stephane Marchesin <stephane.marchesin@gmail.com> | 2010-04-25 01:53:08 +0200 |
commit | 4a8781b2bab6f8e1087a89acfca3fbf222a79523 (patch) | |
tree | 05958263ed502e75cc83eab429e5455c7906d2aa |
Import.
-rw-r--r-- | tegra.txt | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/tegra.txt b/tegra.txt new file mode 100644 index 0000000..c272956 --- /dev/null +++ b/tegra.txt @@ -0,0 +1,49 @@ + +Tegra/Tegra2 reverse engineering notes. + +Tegra uses PIO fifos. The design is fairly recent but I can't match it to a +specific nv** version yet. Of course the offsets don't match other graphics +objects, seemingly those are much smaller. Still, they speak OpenGL (ES) at +the hardware level though. Color constants seem to be given as float values +always. + +The graphic object layout: +0x044 put +0x264 current program addr +0x3d4 active texture 0 +0x3d8 active tex 1 +... +0x3e8 pixel store +0x3ec pixel store +0x3f4 utilisé dans glHint +0x3f5 utilisé dans glHint +0x4ec vertex attribute +0x4f4 glRenderbufferPparameteriv +0x4f8 blend eq separate +0x4fc blend eq separate +0x500 Blend func src RGB +0x504 Blend func dst RGB +0x508 Blend func src A +0x50c Blend func dst A +0x512 blend color +0x514 blend color +0x518 blend color +0x51c blend color +0x520 clear color +0x524 clear color +0x528 clear color +0x52c clear color +0x538 depthfunc +0x53c clear depth +0x540 depth mask +0x544 stencil mask +0x548 stencil mask separate +0x550 clearstencil +0x5a4 line width +0x5a8 scissor X +0x5ac scissor Y +0x5b0 scissor width +0x5b4 scissor height +0x5c8 depth near +0x5cc depth far + |