Commit Graph

33 Commits

Author SHA1 Message Date
Francisco Javier Trujillo Mata
55714928f0 Some clean ups and defines 2025-05-10 19:17:10 +02:00
Francisco Javier Trujillo Mata
4743678478 Improvements around STALL 2025-05-10 00:11:14 +02:00
Francisco Javier Trujillo Mata
2ecbb9d8b8 Fixing remaining magic numbers 2025-05-08 20:48:18 +02:00
Francisco Javier Trujillo Mata
36a4b80f91 Clean ups around sceGu
- Fix sceGuBreak
- Fix sceGuContinue
- Fix sceGuDrawArrayN
- Fix sceGuMorphWeight
- Remove unnecessary 0xffffff as it is done by sendCommandi
- Improve the name of some parameters
- Create and use GU_MAX_STATUS
- Remove magic numbers in `sceGuMaterial`
- Remove magic numbers in `sceGuMorphWeight`
- Remove magic numbers in `sceGuSetMatrix`
- Remove magic numbers in `sceGuSignal`
2025-05-04 22:09:01 +02:00
Francisco Javier Trujillo Mata
915acbd4d2 Improve sceGuStart 2025-05-03 16:25:04 +02:00
Francisco Javier Trujillo Mata
86f7e0deed Stop using magic numbers for sceGuSync 2025-04-10 20:15:47 +02:00
Francisco Javier Trujillo Mata
6364b27f57 Use proper values for sceGuSync 2025-04-10 20:15:35 +02:00
Francisco Javier Trujillo Mata
b1fcb2b738 Improve finish 2025-04-10 20:15:16 +02:00
Wouter Wijsman
a79285ce1d Use define to set alignment for vram assignment 2024-12-04 11:01:22 +01:00
Wouter Wijsman
28c294881d Align memory to 16 when giving out vram for textures and buffers 2024-12-04 11:01:22 +01:00
Francisco Javier Trujillo Mata
bffb51b4a1 Fix return value for sceGuSendList 2024-08-19 14:30:03 +02:00
Francisco Javier Trujillo Mata
0f124ac986 Use texture int for TextFlush 2024-08-18 19:30:42 +02:00
Francisco Javier Trujillo Mata
c75a9c89dc Clean up some methods 2024-08-18 13:51:46 +02:00
Francisco Javier Trujillo Mata
a04e1a79ae Use the same GU Init as official doc 2024-08-09 16:53:20 +02:00
Francisco Javier Trujillo Mata
191880f973 Improving SCE GU readability 2024-08-09 08:25:54 +02:00
Wouter Wijsman
76bae20779 Add guGetDisplayState function to libgu
This function allows users to get if the display is turned on in libgu.
This can be useful for libraries like SDL, which want a way to check if
it is before trying to display the on-screen keyboard or a native
message dialog, since those do not work before libgu has been fully
initialized.
2024-07-15 12:30:24 +02:00
Wouter Wijsman
ff07d84723 Add gu in front of vram functions 2024-07-14 17:01:20 +02:00
Wouter Wijsman
7b39035744 Remove incorrect part of a comment in pspgu.h 2024-07-12 21:12:37 +02:00
Wouter Wijsman
0e89eea634 Improve wording in documentation for getStaticVramTexture 2024-07-12 13:33:38 +02:00
Wouter Wijsman
cf3894d3e5 Add getStaticVramBuffer getStaticVramTexture 2024-07-12 13:22:13 +02:00
Sokus
fa9b2c7f25 Refactor vertex data layout description for sceGuDrawArray 2024-02-12 22:48:33 +01:00
Sokus
c992832f0b Fix documentation on vertex layout for sceGuDrawArray 2024-02-11 11:06:17 +01:00
Crow-bar
d71a9da389 gu: speedup 2024-02-02 14:49:12 +03:00
Beyley Thomas
a5473d0451 Use builtin_clz on all codepaths 2023-12-22 09:45:10 -08:00
Beyley Thomas
04756ae9bc Move clang path to __builtin_clz 2023-09-17 00:55:12 -07:00
Beyley Thomas
fcf9ed6d35 gu: Add clang-friendly codepath 2023-09-15 12:03:57 -07:00
Nathan Bourgeois
3f22a7ec08 Fixed documentation -- added 8 bit notes. 2023-06-27 08:08:05 -04:00
Nathan Bourgeois
09d3a7fd39 Documentation: Update sceGuDrawArray() for 16-bit vertices. 2023-06-26 23:57:38 -04:00
Paul Sajna
1f37590ef4 fix doxygen addgroup syntax 2020-10-03 13:02:09 -07:00
Carsten Teibes
6f8e67656e Silence build output
Do not pass CPPFLAGS twice
2020-05-16 02:58:04 +02:00
Carsten Teibes
8c50361674 Modernize autotools usage (fix warnings) 2020-05-16 01:10:40 +02:00
Carsten Teibes
7c6e46b487 Remove outdated svn ids, change url, fix permissions
Convert to unix line endings
2020-05-08 00:50:41 +02:00
Dan Peori
8a3bef9012 first commit 2010-10-18 12:54:49 -03:00