Commit Graph

748 Commits

Author SHA1 Message Date
Daz Jones
debe7a7553 svc: add a few more SVC bindings
Mostly debug and IPC related.
2015-08-23 20:29:23 +01: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
smea
c49d5f49c2 Merge branch 'master' of github.com:smealum/ctrulib 2015-08-17 21:31:04 -07:00
smea
91c98308e2 am:sys stuff, g_serv_handle non static and qtm example label 2015-08-17 21:31:00 -07:00
Luke Street
1a1f3bb932 Fix gpu example Makefiles for latest picasso 2015-08-17 12:01:34 -04:00
fincs
7d63ab5050 Merge pull request #146 from Lectem/fixy2r
Fixed transfer unit and gap type and added a warning
2015-08-10 00:58:54 +02:00
Lectem
8d36f3f03b Fixed transfer unit and gap type and added a warning 2015-08-10 00:44:55 +02:00
fincs
40d972d5ba Revert 73e0267a because it breaks all existing GPU code 2015-08-04 19:31:46 +02:00
smea
9f6f7a57ec Merge pull request #143 from aroulin/fix-gpu-reset
Fix GPU_Reset having wrong GSP command buffer
2015-07-24 13:15:58 -07:00
aroulin
73e0267ae4 Fix GPU_Reset having wrong GSP command buffer 2015-07-24 21:49:49 +02:00
fincs
cc8d6d7427 Merge pull request #142 from Lectem/documentation
Some documentation
2015-07-23 22:55:24 +02:00
Lectem
ea7b0eac5d added gpu examples to doc 2015-07-23 22:41:13 +02:00
Lectem
2d7a53d75f Documented GX TRANSFER_SCALE and FILL_CONTROL 2015-07-23 21:54:48 +02:00
Lectem
894d5342a1 fixed y2r doc and added csnd pan/vol ranges 2015-07-23 21:26:37 +02:00
fincs
bf7d686e88 Add new GPU examples 2015-07-22 19:41:59 +02:00
fincs
10b81077e3 Merge pull request #140 from Lectem/patch-3
Fixed wrap_s and wrap_t
2015-07-20 00:52:10 +02:00
Lectem
4109bf5b66 Fixed wrap_s and wrap_t
Those were swapped.
2015-07-20 00:20:35 +02:00
smea
096bbdf401 added ac:i support 2015-07-15 23:40:11 -07:00
smea
acdb6e5c72 added support for qtm:s and qtm:sp 2015-07-13 23:01:50 -07:00
smea
00eb8c38dc added hid:SPVR support 2015-07-13 23:00:52 -07:00
smea
e539c83d58 Merge branch 'master' of github.com:smealum/ctrulib 2015-07-12 15:31:57 -07:00
smea
ea88f92464 fixed SOC device madness 2015-07-12 15:19:36 -07:00
fincs
d861ec4157 Merge pull request #137 from Lectem/patch-2
Fixed command code for Y2RU_SetConversionParams
2015-07-11 16:00:26 +02:00
Lectem
d0dd07d8f4 Fixed command code for Y2RU_SetConversionParams 2015-07-11 15:51:06 +02:00
smea
9fac0a0ea1 socMemhandle should be closed even if shutdown command fails 2015-07-07 19:52:18 -07:00
fincs
e9651a2869 Merge pull request #136 from Lectem/wrap_modes
added texture border color
2015-07-08 00:48:23 +02:00
Lectem
a204c0def7 added texture border color 2015-07-08 00:17:25 +02:00
Lectem
0774378190 added texture border color 2015-07-08 00:03:01 +02:00
fincs
c46562d54b Clean up libapplet_launch example 2015-07-07 23:46:08 +02:00
fincs
1ff4bb5e92 Merge pull request #135 from Lectem/sound_example_update
updated sound example for new API
2015-07-07 23:26:50 +02:00
Lectem
44db57bd6d updated sound example for new API 2015-07-07 22:48:03 +02:00
fincs
17b0f88dcb Merge pull request #134 from Lectem/wrap_modes
Added GPU_CLAMP_TO_BORDER and GPU_MIRRORED_REPEAT
2015-07-07 22:41:20 +02:00
Lectem
594215e5e5 Added GPU_CLAMP_TO_BORDER and GPU_MIRRORED_REPEAT 2015-07-07 22:25:00 +02:00
yellows8
8e620c269d Fixed socket() error handling when cmdbuf[2] is actually an error-code, not a handle. In socket(), write SYNC_ERROR to errno when an error occurs due to cmdbuf[1]. 2015-07-02 18:53:16 -04:00
fincs
585f84276a Merge pull request #133 from linkmauve/cube-directions
Use more sensible input to move the cube in the gpu example
2015-06-28 19:01:53 +02:00
fincs
a7e9a858dd Merge pull request #132 from Lectem/documentation
Documentation
2015-06-28 19:01:46 +02:00
Emmanuel Gil Peyrot
986f1a7068 Use more sensible input to move the cube in the gpu example. 2015-06-28 17:34:16 +01:00
Lectem
63472635ff added examples to documentation 2015-06-28 14:13:57 +02:00
fincs
ee210d1963 Merge pull request #131 from Lectem/fix_heaps_warning
fix warning types not matching
2015-06-28 13:36:09 +02:00
Lectem
c62d54d831 fix arning types not matching 2015-06-28 13:33:26 +02:00
fincs
68fbd06375 Do not signal APTHOOK_ONRESTORE when the app is being closed 2015-06-28 11:30:57 +02:00
Lectem
2b385581b9 svc.h : updated MemOp enum and documented half of the file 2015-06-28 02:12:25 +02:00
Lectem
0c8c272bf4 updated y2r documentation 2015-06-26 23:00:12 +02:00
Lectem
ac9b5dbb61 os documentation 2015-06-26 22:58:22 +02:00