Commit Graph

1022 Commits

Author SHA1 Message Date
fincs
20e542c2c8 Examples have been moved to https://github.com/devkitPro/3ds-examples 2015-12-24 12:39:26 +01:00
fincs
7defc9053f Merge pull request #230 from Lectem/patch-1
Added documentation link in the readme
2015-12-13 21:34:56 +01:00
Lectem
2d2cafcd86 Added documentation link in the readme 2015-12-13 14:50:41 -05:00
fincs
d4a24169c5 Bump version to 1.0.0 - with changelog 2015-12-07 11:44:36 +01:00
fincs
1951d3b793 Update Makefiles for devkitARM r45 2015-12-07 11:44:36 +01:00
fincs
a7a0613f38 Fix thread stack alignment 2015-12-07 11:44:36 +01:00
fincs
51709c69e2 Document thread API 2015-12-07 11:44:36 +01:00
fincs
9410a6db2b sdmc_dev.c: make string buffers thread local 2015-12-07 11:44:36 +01:00
fincs
3f9513e62c Add TLS (thread local storage) support 2015-12-07 11:44:36 +01:00
fincs
33d05f0fd0 Add basic multithreading example 2015-12-07 11:44:36 +01:00
fincs
12555d77a4 Revise APT/GSP/NDSP to use the new thread API 2015-12-07 11:44:36 +01:00
fincs
b1e97f2ca4 Add WIP thread wrapper API 2015-12-07 11:43:54 +01:00
fincs
05b8ce5b5d Implement devkitARM/newlib lock support & dynamic reent 2015-12-07 11:43:54 +01:00
fincs
1c18b0bffe Merge branch 'master' into great-refactor 2015-12-07 11:43:44 +01:00
Dave Murphy
46ebd3e1d8 fix warning 2015-12-07 08:44:50 +00:00
Dave Murphy
02f145b9e2 remove more greetz 2015-12-07 08:43:08 +00:00
Dave Murphy
02beea3ed7 remove greetz 2015-12-07 08:30:22 +00:00
fincs
e2037f5795 Merge pull request #227 from Cruel/great-refactor
Make ndspWaveBuf's vaddr const
2015-12-06 11:40:38 +01:00
Thomas Edvalson
4eff425593 Make ndspWaveBuf's vaddr const 2015-12-05 18:39:46 -05:00
fincs
c048221f86 Add shaderProgramSetGshMode() for configuring geoshader mode 2015-12-05 13:28:41 +01:00
fincs
c14634f323 Synchronize GPU register names with the 3dbrew Wiki, again 2015-12-05 13:27:02 +01:00
fincs
bd36f283fd Correct error in FSUSER_OpenArchive/FSUSER_CloseArchive 2015-12-04 18:36:09 +01:00
fincs
3657571591 Add proctex GPU register names and enumerations from the 3dbrew Wiki 2015-12-02 12:04:13 +01:00
fincs
33ba77db4d Revert "Revert "Dynamically determine heap sizes.""
This reverts commit cc8e0c29b6.
The bug was fixed in Citra.
2015-12-01 13:25:09 +01:00
fincs
f052d22ceb shaderProgram: manage GPUREG_SH_OUTATTR_MODE/CLOCK 2015-12-01 13:22:34 +01:00
fincs
f7798302ea Add new GPU register names and enumerations from the 3dbrew Wiki 2015-12-01 12:58:57 +01:00
fincs
50e804d4d2 Merge pull request #225 from Dazzozo/am-title-database
AM: implement external title database IPC functions
2015-12-01 11:33:49 +01:00
Daz Jones
5daecd8d24 AM: implement external title database IPC functions
Correct use of these functions allows applications that require
the external (SD) title database (e.g. title installers) to check
if it exists, and if not, have it created.
2015-12-01 02:09:50 +00:00
fincs
416cc38797 Add a few additional GPU enumerations 2015-11-25 21:49:26 +01:00
fincs
cc8e0c29b6 Revert "Dynamically determine heap sizes."
This reverts commit b96dd51d33.
The change completely broke homebrew on the Citra emulator.
2015-11-22 01:13:41 +01:00
fincs
19bca8177a Merge pull request #207 from Steveice10/great-refactor
Dynamically determine heap sizes.
2015-11-21 21:13:09 +01:00
Steven Smith
b96dd51d33 Dynamically determine heap sizes. 2015-11-21 10:43:50 -08:00
fincs
5ece63029a Merge pull request #222 from Steveice10/y2r-docs
Add to and clean up Y2R documentation.
2015-11-21 18:59:20 +01:00
fincs
58b0b9db4d Revise algorithm used by LightLock_Lock/Unlock to fix potential issues 2015-11-21 18:57:16 +01:00
Steven Smith
827bbba993 Add to and clean up Y2R documentation. 2015-11-21 09:26:50 -08:00
fincs
9b57720cee Add LightLock_TryLock and RecursiveLock_TryLock 2015-11-21 11:48:20 +01:00
fincs
e554f11999 Update template Makefile with the following changes:
- Add RomFS embedding support
- Add proper rules for assembling GPU shaders
- Use -ffunction-sections and --gc-sections by default
- Remove -ffast-math
2015-11-21 01:12:33 +01:00
fincs
5923112082 Several improvements to shaderProgram, see details:
- shaderProgramSetGshInputPermutation() was added
- shaderInstanceGetUniformLocation() return type corrected
- shaderInstanceSetBool bug fixed (true/false were incorrectly mapped)
- shaderInstance now has bitmasks indicating which int/bool uniforms are
  used by int/bool constants in the DVLE
- shaderProgramUse() was revamped:
  - Shader unit setup/code/opdesc upload code was separated into a new
    function called shaderProgramConfigure()
  - shaderProgramUse() calls shaderProgramConfigure() and afterwards
    uploads DVLE constants
  - GPU wrappers that perform uniform management will want to use
    shaderProgramConfigure() instead of shaderProgramUse() and later
    read the shaderInstance uniform usage bitmasks to set the constants.
2015-11-21 00:49:33 +01:00
fincs
10c7711ce5 Correct osConvertVirtToPhys/osConvertOldLINEARMemToNew parameter type 2015-11-20 17:24:02 +01:00
Michael Theall
699748da98 Merge branch 'great-refactor' of github.com:smealum/ctrulib into great-refactor 2015-11-20 09:45:26 -06:00
Michael Theall
a1157f7b8b Fix comparator for overflow check 2015-11-20 09:44:58 -06:00
fincs
f8dec9ec5c Fix FS_ATTRIBUTE bitmask values 2015-11-20 16:43:32 +01:00
fincs
b21fa8a57f Fix typo in documentation that broke generation for FS and CFGU 2015-11-19 23:08:18 +01:00
Michael Theall
c0f75ae42b Robustify UTF translation 2015-11-19 13:49:31 -06:00
fincs
3714fa3810 Merge branch 'master' into great-refactor
# Conflicts:
#	libctru/include/3ds/services/fs.h
#	libctru/source/os.c
#	libctru/source/romfs_dev.c
#	libctru/source/services/fs.c
2015-11-19 11:44:59 +01:00
fincs
3fbea733c6 Add fsUseSession/fsEndUseSession 2015-11-19 11:35:02 +01:00
fincs
f6ebc7f285 Merge pull request #221 from Steveice10/mic-fix
Fix order of memalign parameters in MIC example.
2015-11-19 01:12:50 +01:00
Steven Smith
d6dc1d52c5 Fix order of memalign parameters in MIC example. 2015-11-18 15:45:01 -08:00
fincs
6e3b2a4cd7 Merge pull request #219 from Steveice10/launcher
Reference count srv, cleanup launcher code.
2015-11-15 23:18:52 +01:00
Steven Smith
13a5a225b3 Reference count srv, cleanup launcher code. 2015-11-15 13:02:06 -08:00