Commit Graph

793 Commits

Author SHA1 Message Date
fincs
9bf546da45 () -> (void), again 2015-09-09 01:47:30 +02:00
fincs
62aa4d8ab0 Merge branch 'master' into great-refactor 2015-09-09 01:46:00 +02:00
fincs
ce59e60193 Merge pull request #161 from Steveice10/master
Add cam:u support and basic documentation.
2015-09-09 01:45:32 +02:00
Steven Smith
9d3b139255 Add cam:u support and basic documentation. 2015-09-08 16:26:56 -07:00
fincs
0ace45a746 Add some more GPU enum values from the 3dbrew wiki 2015-09-08 20:55:43 +02:00
fincs
428a837224 Merge branch 'master' into great-refactor 2015-09-08 20:54:37 +02:00
fincs
eb87524cd4 Merge pull request #163 from Megazig/master
added new NS_APPID values for latest apt module
2015-09-08 20:54:08 +02:00
fincs
c9ad04f70a Merge pull request #164 from Lectem/dsp
IPC stuff and DSP service commands
2015-09-08 20:53:29 +02:00
Lectem
d227918edc Added DSP service commands 2015-09-08 14:25:51 -04:00
Lectem
0d7072ecd2 Added IPC helpers 2015-09-08 14:25:39 -04:00
megazig
6d1f409dfd added new NS_APPID values for latest apt module 2015-09-08 12:02:45 -05:00
fincs
fded98b9ed Sync register names with 3dbrew wiki 2015-09-07 19:31:02 +02:00
fincs
c594170fca Rename GX commands 2015-09-07 12:53:37 +02:00
fincs
530849a4b0 Merge branch 'master' into great-refactor 2015-09-07 12:38:09 +02:00
fincs
e352f3befd Change default linear/VRAM mem alignment to 0x80 (for GPU textures) 2015-09-07 12:37:55 +02:00
fincs
06f7aeb7c4 Fix examples 2015-09-06 18:22:12 +02:00
fincs
0d7a7f4d7d Add missing (void) to functions without arguments 2015-09-06 18:13:31 +02:00
fincs
1817f90c6d Remove service handle parameter from GSPGPU IPC wrappers 2015-09-06 18:04:03 +02:00
fincs
053c71ad08 Remove service handle parameter from FSUSER IPC wrappers 2015-09-06 17:54:36 +02:00
fincs
9b1e6bfc39 Remove service handle parameter from APT IPC wrappers 2015-09-06 17:41:47 +02:00
fincs
15af3eff30 Merge branch 'master' into great-refactor
Conflicts:
	libctru/source/gpu/gpu.c
2015-09-05 22:14:34 +02:00
fincs
57eb921f1a Merge pull request #162 from yuriks/float-conversions
GPU: Clean up float conversion functions
2015-09-05 22:09:33 +02:00
Yuri Kunde Schlesner
407dcd141d GPU: Clean up float conversion functions 2015-09-05 16:55:45 -03:00
fincs
2707bfad93 Remove the broken GPU reset sequence which is never executed 2015-09-05 21:31:16 +02:00
fincs
604b1f4b43 Make some internal shader loading helper functions private/static 2015-09-05 20:30:24 +02:00
fincs
696ac996d1 Remove u32* gxbuf parameter in GX/GPU functions 2015-09-05 20:24:55 +02:00
fincs
5fd4a726ff Start the Great Refactor with some GPU refactoring/deprecating 2015-09-05 20:16:47 +02:00
fincs
11a5001f33 Correct GPU_DrawArray() parameter order, fix GPU examples 2015-09-05 18:02:06 +02:00
fincs
2e43fd1a40 Merge pull request #155 from Subv/vertex_offset
Use register 0x22A (GPUREG_DRAW_VERTEX_OFFSET) when using GPU_DrawArrays
2015-09-05 17:59:37 +02:00
fincs
6b45f5a01c Merge pull request #157 from endrift/master
Fix building on FreeBSD
2015-09-05 17:50:12 +02:00
fincs
e7e21fa9d5 Merge pull request #159 from Lectem/documentation
documentation for the soc service and svcCreateMemoryBlock
2015-09-05 17:46:49 +02:00
fincs
2a0e9655a6 Merge pull request #156 from Dazzozo/yay-svcs
svc: add a few more SVC bindings
2015-09-05 17:45:37 +02:00
fincs
50541234b4 Merge pull request #150 from Megazig/master
PS service key type and socket functionality
2015-09-05 17:44:26 +02:00
Lectem
98d937ebc1 Added getThreadStaticBuffers for IPC 2015-09-01 15:28:52 -04:00
Lectem
d10fc00786 Added pseudo handles for current proc and thread 2015-08-30 23:30:53 -04:00
Lectem
6ca0ab50dd documentation for svcCreateMemoryBlock 2015-08-28 14:55:49 -04:00
Lectem
84d368918e documentation for the soc service 2015-08-28 14:55:40 -04:00
fincs
6b3e38de77 Add RomFS example 2015-08-28 01:19:19 +02:00
fincs
a046b5a19f romfs_dev.c: use correct file closing function 2015-08-27 21:16:27 +02:00
fincs
570ea2ebd2 Add work in progress RomFS driver/devoptab 2015-08-27 20:53:08 +02:00
Jeffrey Pfau
0eac970aa1 Fix building on FreeBSD 2015-08-27 01:04:32 -07:00
Daz Jones
debe7a7553 svc: add a few more SVC bindings
Mostly debug and IPC related.
2015-08-23 20:29:23 +01:00
Subv
ad3dd538dc Use register 0x22A (GPUREG_DRAW_VERTEX_OFFSET) when using GPU_DrawArrays.
It will set the index of the first vertex to draw, akin to the "first" parameter of glDrawArrays.
2015-08-22 22:18:33 -05:00
fincs
24fd71c4ad GPU_KEEP -> GPU_STENCIL_KEEP in GPU examples 2015-08-22 23:14:38 +02:00
fincs
99cbb56491 Merge remote-tracking branch 'pr149/master' 2015-08-22 23:12:32 +02:00
fincs
6f9edd9bbe Merge pull request #154 from Subv/tev_buffer_color
GPU: Added code to manipulate the combiner buffer.
2015-08-22 21:20:37 +02:00
fincs
8ec9b514b0 Merge pull request #152 from Subv/stencil
Added the rest of the stencil operations and corrected their names.
2015-08-22 21:20:31 +02:00
Subv
1738893d05 GPU: Added code to manipulate the combiner buffer.
You can set an initial color value with GPUREG_TEXENV_BUFFER_COLOR, then use GPU_SetCombinerBufferWrite with GPU_TEV_BUFFER_WRITE_CONFIG to allow/disallow the TEV stages to write their color outputs to the buffer.

You can retrieve the previous buffer color using GPU_PREVIOUS_BUFFER as color source in the TEV config.
2015-08-22 11:28:30 -05:00
Subv
f1b641a4ad Added the rest of the stencil operations and corrected their names. 2015-08-21 15:10:13 -05:00
fincs
35a36b1885 Revert g_srv_handle change because srvGetSessionHandle() already existed 2015-08-19 13:29:24 +02:00