VelocityRa
ad35e0d369
[gxm/types] Use SceGxmProgram from psvgxp
...
Reversed by @motoharu-gosuto
2018-04-09 16:39:59 +03:00
VelocityRa
51740ffebf
[gxm/types] Pack SceGxmProgramParameter fields with new bitfield class
2018-04-09 16:39:59 +03:00
VelocityRa
f28fa33b4e
Add BitField helper class from RPCS3
...
With a change in line 61 that was needed to work.
2018-04-09 16:39:59 +03:00
VelocityRa
69b69e45c1
[gxm] Add warnings for untested/unsupported texture formats
...
Rin accidentally reverted this on the last PR.
2018-04-09 16:39:59 +03:00
VelocityRa
2719ee823c
[clang-format] Remove deprecated option
...
Doesn't apply to us anyway since braces are on the same line.
2018-04-09 16:39:59 +03:00
VelocityRa
fa0d80ae5a
[gxm] Translate texture format type
2018-04-09 16:39:59 +03:00
VelocityRa
e282c0da8a
[log] Delete log file on init
2018-04-09 16:39:59 +03:00
VelocityRa
1d8b91710a
[log] Shorten log format
2018-04-09 16:39:59 +03:00
VelocityRa
11eb4a7705
[io] Don't print extra newline in TTY messages
2018-04-09 16:39:59 +03:00
VelocityRa
13ee86fa51
[io] Refactoring
...
- VitaPartition enum class, translation function instead of string compares
- Joined ux0/uma0 code paths
- Run clang-format
2018-04-08 19:53:01 +03:00
Peter Mackay
e28cb5a718
Shader robustness fixes ( #123 )
...
* Log missing shaders.
* Remove vertex program from fragment program cache key.
* Put vertex and fragment programs in variables for debugging.
* Don't crash when the current shaders could not be compiled.
* Fix a couple of asserts.
* Use error() function to log and return errors.
2018-04-07 12:39:37 +01:00
Peter Mackay
4c0799fdd1
Merge pull request #120 from Vita3K/sfo
...
Display Game title and Title ID on Window title
2018-04-06 16:33:02 +01:00
Rinnegatamante
e188935e88
[gxm] Using error() whenever an error is returned.
2018-04-05 18:47:56 +03:00
bentokun
d31d6b707f
Remove unneeded function
2018-04-05 05:15:22 +07:00
Rinnegatamante
01165f97bc
Setting min/mag filters to linear filtering on init. ( #121 )
2018-04-04 20:25:44 +01:00
Rinnegatamante
220e2e5d51
[sceNet] Using correct errorcode ranges. ( #119 )
2018-04-04 19:38:12 +01:00
bentokun
770b1eaa9a
Add SFO parser to CMakeList
2018-04-04 19:55:09 +07:00
bentokun
91d479ce69
Display game title and title id on Window title
2018-04-04 19:45:29 +07:00
Rinnegatamante
8c45c4dbbd
Implemented min/mag filter changing support. ( #117 )
2018-04-04 09:56:13 +01:00
Rinnegatamante
35717470f0
Moving to original SceGxmTexture struct. ( #112 )
2018-04-02 15:33:00 +01:00
Peter Mackay
06b2fc3b9d
Rename fragment and vertex shaders to .frag and .vert respectively. ( #114 )
2018-03-31 22:54:57 +01:00
Nick Renieris
4cb59cdaa5
Implement sceRtcGetTime*_t ( #107 )
...
* [modules] Fix GCC build.
* [rtc] Implement sceRtcGetTime*_t
* [rtc/refactor] Move function implementations to a cpp file
2018-03-30 19:18:01 +02:00
Peter Mackay
c3e420224e
Shorten the log format a little. ( #115 )
...
My Mac has a small screen.
2018-03-30 07:48:54 +01:00
Peter Mackay
47e95153ed
Fix compile error.
2018-03-28 20:43:14 +01:00
Peter Mackay
bdef066036
Support SCE_GXM_TEXTURE_FORMAT_U8U8U8_BGR
textures.
2018-03-28 20:43:14 +01:00
Peter Mackay
70ac97efd8
Merge pull request #105 from VelocityRa/gxm-palette
...
Support all 16 paletted texture formats (fixes VitaDoom)
2018-03-26 15:28:19 +01:00
VelocityRa
45f52b4588
gxm/refactor: Remove trailing whitespace
2018-03-22 23:11:21 +02:00
VelocityRa
0c2eee909e
gxm: Support all 16 paletted texture formats
...
- Extend support of SCE_GXM_TEXTURE_FORMAT_P8_ABGR to the 15 more formats.
- Only tested ones are SCE_GXM_TEXTURE_FORMAT_P8_ABGR and SCE_GXM_TEXTURE_FORMAT_P8_1BGR.
- A warning message is generated if one of the untested ones is used, just to be sure.
Can be removed in the future when more of them are tested.
- Fixes VitaDoom (doom.wad, doom2.wad, and some other fan wads work)
2018-03-22 23:11:21 +02:00
Peter Mackay
497d45352a
More work on shaders and uniform buffers ( #102 )
...
* Split vertex and fragment program state.
* Set uniforms from uniform buffers.
2018-03-20 13:07:50 +00:00
Rinnegatamante
d147ac6bec
Properly implemented some battery related functions ( #103 )
...
* Properly implemented some battery related functions
* Made 10 as a preprocessor macro.
* Modifications as per request.
2018-03-20 14:02:23 +01:00
Rinnegatamante
519b53d838
Added vitaQuake shaders. ( #99 )
2018-03-17 00:38:50 +00:00
Rinnegatamante
c77ec58ccf
Fix for Unix build. ( #98 )
...
EOPNOTSUPP is the same as ENOTSUP on Unix/Linux.
This fixes https://github.com/Vita3K/Vita3K/issues/75
2018-03-17 00:37:26 +00:00
Talkashie
f50b077e18
Stubs some things to let some homebrew render battery information ( #101 )
...
Probably doesn't fix any games, but this should at least help clean up the log of useless stuff. I did notice that the homebrew "FlppyBird" now correctly draws the battery icon instead of complaining in the log about an unimplemented function.
2018-03-17 00:36:51 +00:00
Francisco José García García
13df4e2159
Threads refactoring ( #80 )
...
* Extract common thread code (create, start)
* Reviewed Code
* main thread in background
* WIP queues
* Fix usleep on Win32
* More wip code
* Working threads
* Fix deadlocks on thread exit and fps counter
* Format code
* Remove warnings and private deps
* Fix wrong shift direction
* Update queue.h
2018-03-16 20:59:08 +01:00
VelocityRa
7ce0208e9a
[sceKernel] Implement sceKernelLibcGettimeofday
2018-03-16 18:14:35 +02:00
VelocityRa
e89028ddfb
[rtc] A bit of refactoring
2018-03-16 18:14:35 +02:00
Peter Mackay
b551201e62
Fix space/underscore mismatch.
2018-03-16 09:25:39 +00:00
Rinnegatamante
02c100e6c8
Added macOS nightlies support. ( #87 )
2018-03-16 07:40:27 +00:00
Peter Mackay
4d17b7c6dc
Don't crash when missing shaders, some caching ( #83 )
2018-03-15 08:23:17 +00:00
Rinnegatamante
b5a7f3da6d
Added several implementations in sceRtc. ( #60 )
2018-03-12 08:32:30 +00:00
Rinnegatamante
f4b6d25774
Updated vita-headers to master ( #88 )
...
* Updated vita-headers to master.
* Removed statically linked library files.
* Removing trash.
2018-03-06 18:39:08 +00:00
Francisco José García García
e7ee043106
Merge pull request #85 from frangarcj/fix_start_thread
...
Fix typo on setting address for start thread
2018-03-01 11:25:49 +01:00
Francisco José García García
791bc9222e
Work around for sceIoLseek using 64bit argument ( #84 )
2018-03-01 09:24:10 +00:00
Francisco José García García
87877be974
Fix typo on setting address for start thread
2018-03-01 09:22:06 +01:00
Do Trong Thu
32aa435b47
Add ability to seek app0 files ( #76 )
...
* Implement InMemoryFile
* Add ability to seek app0 files
* Fix format
2018-02-21 08:56:05 +00:00
Peter Mackay
c7cc5e15a4
Hash shader binaries using SHA-256 rather than FNV-1a. ( #77 )
...
* Add crypto-algorithms submodule.
* Add crypto-algorithms external library.
* Hash shaders using SHA-256.
* Dump missing shader GXPs.
* Move SHA-256 function to `crypto` library, and split hex encoding.
2018-02-20 23:30:25 +00:00
Nick Renieris
4a34fc774f
Add Linux build instructions ( #73 )
2018-02-19 00:02:43 +00:00
Peter Mackay
6d69ed6f10
Revert "Added vitaQuake/vitaQuakeII shaders. ( #71 )" ( #74 )
...
This reverts commit a207ba0850
.
2018-02-18 23:52:36 +00:00
Peter Mackay
0d56f6abf8
Implement sceGxmShaderPatcherGetProgramFromId.
2018-02-18 23:42:46 +00:00
Rinnegatamante
a207ba0850
Added vitaQuake/vitaQuakeII shaders. ( #71 )
...
* Added vitaQuake/vitaQuakeII shaders.
* Newline fixes.
2018-02-18 22:42:35 +00:00