Commit Graph

866 Commits

Author SHA1 Message Date
twinaphex
4e800574c0 (PS3) Audio - fix initializer 2013-11-18 10:55:28 +01:00
twinaphex
f03c53a646 (PS3 RGL) Use rglGcmSetNopCommand instead of cellGcmSetNopCommandUnsafeInline 2013-11-18 10:52:53 +01:00
twinaphex
673d4ed2b9 (PS3) ps3_audio.c - Simplify initializer 2013-11-18 10:52:53 +01:00
twinaphex
46d2c31cd8 (RGL PS3) rglDeallocateBuffer - turn into macro 2013-11-17 22:58:01 +01:00
twinaphex
ccb81396e6 (RGL PS3) GCM_FUNC no longer being used in rgl_ps3.cpp 2013-11-17 22:39:40 +01:00
twinaphex
014c1fff44 (RGL PS3) Make macro wrapper around cellGcmFlush 2013-11-17 22:12:45 +01:00
twinaphex
09f5037ca6 (RGL PS3) Turn into do { } while 2013-11-17 21:14:02 +01:00
twinaphex
920d46323f (RGL PS3) Don't use CPU sleep anymore 2013-11-17 21:07:04 +01:00
twinaphex
dfddb4a530 (RGL PS3) Simplify gmmAlloc 2013-11-17 20:47:46 +01:00
twinaphex
ba250d1ca5 (PS3 RGL) Simplify gmmAlloc 2013-11-17 19:14:52 +01:00
twinaphex
1c6a0642d6 (PS3 RGL) Pallocator - change size to only one GmmAllocator 2013-11-17 18:29:51 +01:00
twinaphex
2ee221e7c6 (RGL PS3) No more GCM_FUNC calls inside rgl_ps3_raster.cpp 2013-11-17 16:23:48 +01:00
twinaphex
7167ccb5b9 (RGL PS3) Replace more GCM_FUNC entries 2013-11-17 04:57:19 +01:00
twinaphex
41a65eb32a (PS3 RGL) Replace more GCM_FUNC calls 2013-11-17 00:49:34 +01:00
twinaphex
5312ac8c29 (PS3 RGL) Don't call cellGcmSetAntialiasingControl 2013-11-16 20:50:32 +01:00
twinaphex
1850428ef6 (RGL PS3) Using namespace cell::Gcm can go now 2013-11-16 18:01:30 +01:00
twinaphex
5c89e9106a (RGL PS3) Turn rglGcmFifo into a struct instead of a C++-style struct
(ie. class)
2013-11-16 17:48:11 +01:00
twinaphex
f0ab69b115 (PS3) Split up OSK code into separate file 2013-11-16 16:02:04 +01:00
twinaphex
9558a47ada (PS3 RGUI) Working OSK input 2013-11-15 23:19:44 +01:00
twinaphex
d06eebf9e6 (RGL PS3) cleanups 2013-11-15 17:21:30 +01:00
twinaphex
d87c20feee (PS3) Get rid of ps3_input.h 2013-11-13 00:41:03 +01:00
twinaphex
aec049c803 (OSK) Refactor - (Onscreen Keyboard) - PS3-only backend for now -
I will make an overlay-based backend soon too for all other platforms
2013-11-13 00:27:31 +01:00
twinaphex
8ce8051654 (OSK PS3) Refactor OSK PS3 input 2013-11-12 17:16:30 +01:00
twinaphex
a5c0009475 (RGL PS3) Remove more unneeded Cg functions 2013-11-12 13:18:43 +01:00
twinaphex
d59bdf880f (RGL PS3) Remove unneeded Cg functions 2013-11-12 13:01:43 +01:00
twinaphex
fde4311ef5 (PS3) Refactor OSK code - next thing should be abstracting it 2013-11-11 16:58:12 +01:00
twinaphex
c67fc23778 (PS3) input driver - add missing breaks 2013-11-11 12:36:34 +01:00
twinaphex
4405d08ae4 (RGL PS3) Cleanups 2013-11-10 03:16:03 +01:00
twinaphex
8ab88a5272 (RGL PS3 Cg) Take out unused shared parameters 2013-11-08 16:14:23 +01:00
twinaphex
dc7a98f48c (RGL PS3) Group more cases together in switches 2013-11-08 15:57:42 +01:00
twinaphex
bbf7335bd3 (PS3) header includes for rgl_ps3.cpp 2013-11-08 05:22:15 +01:00
twinaphex
da8f8b6d63 Get rid of lifecycle_mode_state and use g_extern.lifecycle_state
instead
2013-11-07 21:44:44 +01:00
twinaphex
ab0d1a2e65 (RGL PS3) Slim down headers 2013-11-07 19:11:25 +01:00
twinaphex
68fbbbd7f4 (PS3) No longer crashes on loading overlays 2013-11-07 05:21:09 +01:00
twinaphex
1a7789974c (PS3) Analog revisions - still borked though (tested with Quake) 2013-11-06 23:10:12 +01:00
twinaphex
d7e01cdf2a (RGL PS3) Get rid of unused function pointers in function pointier table 2013-11-04 00:45:39 +01:00
twinaphex
59c44a7e17 (RGL PS3) Use malloc instead of new for buffer 2013-11-04 00:00:36 +01:00
twinaphex
124022bd69 (PS3) Implement rumble in input driver 2013-11-03 20:55:07 +01:00
twinaphex
b8641af4c3 (PS3) Expose Sixaxis accelerometer to input driver 2013-11-03 20:25:15 +01:00
twinaphex
ae981ab946 (PS3) Add preliminary analog stick support 2013-11-03 19:39:43 +01:00
twinaphex
c0e02d3957 (Android/General) Add preliminary sensor support to libretro API /
add accelerometer support to Android input driver
2013-11-03 00:27:58 +01:00
twinaphex
c9dc5e62d2 (RGL PS3) Reimplement glpixelStorei 2013-11-02 22:46:56 +01:00
twinaphex
3e8166bfa5 (Input) Add new function to input driver - get_capabilities 2013-11-02 21:16:57 +01:00
twinaphex
c473ffeb39 (RGL PS3) Get rid of setMatrixSharedvpindex 2013-11-02 17:27:47 +01:00
twinaphex
000b424d75 (RGL PS3) We don't use shared parameters for vertex and fragment shader 2013-11-02 17:19:18 +01:00
twinaphex
3c17d18904 (RGL PS3) Remove default parameter 2013-11-02 16:08:38 +01:00
twinaphex
3661fcee20 (RGL PS3) Cleanups 2013-11-02 15:54:36 +01:00
twinaphex
0a22300570 (RGL PS3) Remove fence object namespace 2013-11-02 14:57:25 +01:00
twinaphex
bef038e73e (RGL PS3) Optimizations for glBufferSubData 2013-11-02 14:44:13 +01:00
twinaphex
ee89f3b711 (PS3 RGL) Optimization - don't invalidate vertex cache when doing
glMapBufferTextureReferenceRA/glUnmapBufferTextureReferenceRA
2013-11-02 04:05:08 +01:00
twinaphex
1ce7bed027 (RGL PS3) GMM allocator optimizations 2013-11-02 03:40:41 +01:00
twinaphex
3e914f42b3 (RGL PS3) Optimizations 2013-11-02 03:03:48 +01:00
twinaphex
0597b6e7c8 (PS3) Fixes input - turbo key shenanigans 2013-11-02 01:25:25 +01:00
twinaphex
7be9b2df18 (RGL PS3) Cleanups 2013-11-02 01:13:25 +01:00
twinaphex
484dd5c828 (RGL PS3) Cut down on bloat 2013-11-02 00:41:52 +01:00
twinaphex
c06871405d (PS3 RGL) Remove bloat 2013-11-02 00:28:59 +01:00
twinaphex
a6df31479a (RGL PS3) Cleanup unused stuff 2013-11-01 23:12:15 +01:00
twinaphex
727dc76db8 (Console/Android) Init input driver from context driver/graphics
driver from now on - just like PC - input driver initing can be
hoisted out of global_drivers_init that way
2013-11-01 16:33:32 +01:00
Lioncash
83da083a24 Fix a memory leak in function rglCgCreateProgramGroupFromFile in rgl_ps3_cg.cpp. 2013-10-13 23:19:50 -04:00
twinaphex
bcbb60824c (PS3) Take out some D-pad emulation binds 2013-10-07 16:22:41 +02:00
twinaphex
99f387e959 (PS3) Cleanup ps3_input.c 2013-10-06 20:28:39 +00:00
twinaphex
fd053086ef (RARCH_CONSOLE) Remove DECREMENT_BIND/INCREMENT_BIND 2013-10-06 20:01:44 +00:00
twinaphex
abb829283b Take out messy Dpad emulation code - this will require an entire
rewrite where we come up with a solution that works the same across
console/PC/mobile
2013-10-05 20:55:37 +00:00
twinaphex
cf3fa07c4a (RARCH_CONSOLE) Reduce code duplication for default input binds 2013-10-01 18:38:12 +02:00
twinaphex
a9d4af4f70 (PS3/Altivec) Fix some altivec_mem compiler warnings 2013-09-27 18:38:20 +02:00
twinaphex
29f0fd27bf (RGL PS3) Speedhacked render path for rglGcmSetDrawArrays 2013-07-28 02:51:47 +02:00
twinaphex
bdf9c5eecd (RGL PS3) More magic number dehardcoding 2013-07-28 02:31:21 +02:00
twinaphex
49f3078e72 (RGL PS3) Dehardcode some magic numbers 2013-07-28 01:34:29 +02:00
twinaphex
248d4e8084 Get rid of MODE_OSK_DRAW 2013-07-27 20:12:46 +02:00
twinaphex
f03dc4cb62 Cleanups 2013-06-03 00:44:09 +02:00
twinaphex
a581c9ac86 (PS3) Libfreevec/Altivec implementations of memcpy/memset -
use redefine macros in RGL and RetroArch for them - nice speedup
2013-06-02 18:35:13 +02:00
twinaphex
fa50efa93b (PS3/XDK) Don't rely on frame_count anymore for menu toggle 2013-04-18 23:54:15 +02:00
twinaphex
80d249cd61 (RGL PS3) Opts 2013-04-15 22:00:52 +02:00
twinaphex
e91f8f1c82 Revert "(RGL PS3) Implement our own version of cellGcmSetVertexProgramParameterBlock"
This reverts commit 80a56bedae.
2013-04-15 19:49:09 +02:00
twinaphex
2b10d2bf0c Revert "(RGL PS3) Inline SetVertexProgramParameter blocks for some instances"
This reverts commit 9b56355577.
2013-04-15 19:48:55 +02:00
twinaphex
9b56355577 (RGL PS3) Inline SetVertexProgramParameter blocks for some instances 2013-04-15 19:31:12 +02:00
twinaphex
80a56bedae (RGL PS3) Implement our own version of cellGcmSetVertexProgramParameterBlock 2013-04-15 16:40:40 +02:00
twinaphex
d859189ab6 (RGL PS3) Get rid of GCM_FUNC_BUFFERED 2013-04-15 16:20:34 +02:00
twinaphex
c4fc76440e (RGL PS3) Inline version of cellGcmSetSurface 2013-04-15 15:44:45 +02:00
twinaphex
0a22511b4e (RGL PS3) opts 2013-04-15 15:13:54 +02:00
twinaphex
3de761ba13 (RGL PS3) Target Cg function pointer table 2013-04-15 12:46:11 +02:00
twinaphex
8049687c2d (RGL PS3) Replace more GCM_FUNC instances 2013-04-15 12:07:49 +02:00
twinaphex
1c9ad648a8 (RGL PS3) More opts. 2013-04-14 23:16:59 +02:00
twinaphex
0af13a9059 (RGL PS3) More replacements of GCM_FUNC 2013-04-14 22:11:12 +02:00
twinaphex
9d1eab4b0e (RGL PS3) Reimplement more cellGcm functions 2013-04-14 21:24:33 +02:00
twinaphex
09ad685541 (RGL PS3) Reimplement cellGcmSetTransferLocation, cellGcInlineTransfer,
cellGcmSetClearColor
2013-04-14 20:42:34 +02:00
twinaphex
aed81d2dad (RGL PS3) Implement our own versions of cellGcmSetDrawArrays,
cellGcmSetClearSurface, cellGcmSetTextureControl, and
cellGcmSetTextureRemap
2013-04-14 19:16:54 +02:00
twinaphex
964aff3773 (RGL PS3) Implement our own version of cellGcmSetInvalidateVertexCache 2013-04-14 18:43:38 +02:00
twinaphex
90cd21821f (RGL PS3) Implement our own versions of SetWriteBackEndLabel and SetWaitLabel 2013-04-14 18:20:26 +02:00
twinaphex
3d346ca532 (RGL PS3) Implement cellGcmSetTransferImage for our own purposes 2013-04-14 17:58:50 +02:00
twinaphex
0bfc16941e (RGL PS3) Optimization to rglGcmTransferData 2013-04-14 17:16:46 +02:00
twinaphex
d313e9b8f9 (PS3 RMenu) RMenu now renders background texture the same way
as RGUI
2013-04-10 06:22:37 +02:00
twinaphex
950371bd0f (RGL PS3) Don't spam invalidateVertexCache for every texture upload 2013-04-07 06:55:15 +02:00
twinaphex
0828aaf995 (PS3) Get rid of presets/input folder 2013-04-07 05:25:12 +02:00
twinaphex
469199a017 (RGL PS3) Integrate rglGcmCopySurface into rglPlatformValidateTextureResources 2013-03-30 23:49:54 +01:00
twinaphex
8552a179b8 (RGL PS3) Optimize rglGcmCopySurface 2013-03-30 22:56:02 +01:00
twinaphex
6c2efb1384 (RGL PS3) Get rid of rglMemcpy 2013-03-30 22:16:04 +01:00
twinaphex
6f88474985 (RGL PS3) Cleanups 2013-03-30 21:14:21 +01:00
twinaphex
121aaf66c0 (RGL PS3) Combine files 2013-03-30 17:06:19 +01:00
twinaphex
39c0ed745c (PS3) Get rid of QUICKMENU_TOGGLE define - was surpassing 64 entries
on PS3 - now going to do 'menu toggle behavior' logic instead -
menu toggle now triggers ingame menu - will be configurable
2013-03-30 07:19:42 +01:00
twinaphex
4e86a05225 (RGL PS3) Integrate rglFifoGlVertexAttribPointer into glDrawArrays 2013-03-30 06:36:04 +01:00
twinaphex
2bae3372e6 (RGL PS3) Integrate SetColorDepthFormats and SetColorDepthBuffers into
main function
2013-03-30 05:37:37 +01:00
twinaphex
b4fc13b0cc (RGL PS3) Faster glClear 2013-03-30 03:21:54 +01:00
twinaphex
8ac2ad16c8 (RGL PS3) Combine ChooseInternalFormat and ExpandInternalFormat 2013-03-30 00:09:51 +01:00
twinaphex
76ddce84a3 (RGL PS3) Cleanups - we don't need string/enum reporting 2013-03-29 18:58:50 +01:00
twinaphex
f0c5499bbc (RGL PS3) Group more switch case statements together for vertex program 2013-03-28 17:59:54 +01:00
twinaphex
2e3d77e8f2 (RGL PS3) Optimize FIFO out of space callback 2013-03-28 16:21:32 +01:00
twinaphex
ea916d95d5 (RGL PS3) Disable RGB remap - was never used up to now - set gamma to 0 -
call GCM functions directly - some other ghetto inlining tweaks
2013-03-28 07:24:44 +01:00
twinaphex
e6bc99f929 (RGL PS3) Faster texture upload 2013-03-28 01:14:30 +01:00
twinaphex
3593501003 (RGL PS3) Clean up what we no longer need 2013-03-27 23:32:27 +01:00
twinaphex
acdbd054e9 (RGL PS3) Remove ifndef __CELLOS_LV2__ code in rgl_ps3_cg.cpp 2013-03-27 22:46:17 +01:00
twinaphex
05e94a2326 (RGL PS3) Don't set embedded constants to default values - we presume shader
already does this
2013-03-27 22:12:26 +01:00
twinaphex
8aaf6bea39 (RGL PS3) Remove runtime semantics 2013-03-27 20:51:03 +01:00
twinaphex
5a43f485d9 (RGL PS3 Cg) Remove runime created parameters (CG_RT) and
connection parameters
2013-03-27 20:27:55 +01:00
twinaphex
a3692f8854 (RGL PS3) Slim down Cg implementation 2013-03-27 19:18:48 +01:00
twinaphex
949e2c3cae (RGL PS3) Remove cgGLSet/GetManageTextureParameters - take away more state
code associated to it (and speed up cgGLBindProgram in the process)
2013-03-27 17:07:42 +01:00
twinaphex
b8178a60eb (RGL PS3) Take out ppuData from struct 2013-03-27 06:51:55 +01:00
twinaphex
6823e6ca98 (RGL PS3) Get rid of RGLCLAMP macro 2013-03-27 06:35:15 +01:00
twinaphex
97fc410df2 (RGL PS3) Optimizations - significant lag reduction / fps improvement (+2fps average) 2013-03-27 05:56:58 +01:00
twinaphex
b4721106f6 (RGL PS3) Main memory is not managed 2013-03-27 02:53:52 +01:00
twinaphex
fcfaaa7c55 (RGL PS3) Cleanups / optimizations 2013-03-27 01:55:10 +01:00
twinaphex
0ca24db260 (RGL) Cleanups 2013-03-26 22:16:04 +01:00
twinaphex
443c18d7cc (RGL) Optimize for 1 faced, 1 level images 2013-03-26 20:17:17 +01:00
twinaphex
da91b64b45 (RGL) Cleanups pt. 2 2013-03-26 18:05:42 +01:00
twinaphex
febbfc44b7 (RGL) Cleanups - cut down on feature set 2013-03-26 17:10:42 +01:00
twinaphex
c4da6dcf35 (RGL PS3) Cleanups to glDrawArrays 2013-03-26 07:47:25 +01:00
twinaphex
150f38f884 (RGL) Cleanups 2013-03-26 07:38:55 +01:00
twinaphex
538797d4fd (RGL) Ghetto inline functions that are only used once 2013-03-26 07:04:17 +01:00
twinaphex
22cd6a0511 (RGL PS3) Make functions static and make macros out of small inline
functions
2013-03-26 06:17:05 +01:00
twinaphex
2dc77c570b (RGL PS3) Combine some files 2013-03-26 05:31:04 +01:00
twinaphex
83ddddf3bc (RGL PS3) Optimizations pt. 2 2013-03-26 04:30:19 +01:00
twinaphex
4938145c10 (RGL PS3) RGL optimizations - faster video update 2013-03-26 03:14:58 +01:00
twinaphex
8621d78776 (RGL PS3) Move RGL to /ps3 folder - unlikely to use it for '3D libretro' 2013-03-18 16:55:09 +01:00
twinaphex
ad2cd4e492 Revert "Remove platform-specific MAX_PADS - use global define MAX_PLAYERS"
This reverts commit fb1355b975.
2013-03-16 17:51:45 +01:00
twinaphex
f028a8555e Revert "Move set_keybinds autoconfiguration (that is done on every console"
This reverts commit c26653fca8.
2013-03-16 17:51:37 +01:00
twinaphex
c26653fca8 Move set_keybinds autoconfiguration (that is done on every console
port) to driver.c - reducing lots of duplicate code
2013-03-16 17:24:24 +01:00
twinaphex
fb1355b975 Remove platform-specific MAX_PADS - use global define MAX_PLAYERS
instead and customize it for certain ports
2013-03-16 17:13:28 +01:00
twinaphex
375aa08e58 Remove rarch_conole_input - runtime button remapping should have
no more RARCH_CONSOLE dependencies
2013-03-14 21:55:10 +01:00
twinaphex
477b6ed893 Bugfix to previous commit 2013-03-14 18:04:16 +01:00
twinaphex
44ccbe0122 Implement KEYBINDS_ACTION_GET_BIND_LABEL - will be used through
set_keybinds
2013-03-14 18:02:19 +01:00
twinaphex
fd05b5a25c rarch_input_set_keybind refactored away - input driver's set_keybinds
function now provides the functionality
2013-03-14 15:01:36 +01:00
twinaphex
ede829c354 Refactor set_default_keybinds callback into set_keybinds - remove
set_analog_dpad_mapping and have it go through set_keybinds - expand
functionality of set_keybinds
2013-03-14 02:24:57 +01:00
twinaphex
4fa8d0f3c6 (Android) Rewritten input_autodetect- now implements set_default_keybinds 2013-03-13 23:17:33 +01:00
twinaphex
ece717f2cc Rename set_default_keybind_lut to set_default_keybinds 2013-03-13 16:30:01 +01:00
twinaphex
4bd0999940 Remove rarch_input_set_default_keybinds - merge with function
pointer set_default_keybind_lut
2013-03-13 16:06:13 +01:00
twinaphex
8f5a49dc7e Refactor default_binds - now becomes a member ni retro_keybind
called def_joykey
2013-03-13 15:34:33 +01:00
twinaphex
31998880f6 (Input) Remove max_pads member variable (was RARCH_CONSOLE only -
not needed)
2013-03-13 00:39:01 +01:00
twinaphex
545911d4da (Input) Remove post_init and make it part of input_init 2013-03-13 00:34:46 +01:00
twinaphex
42bdd80ec4 Combine rarch_input_set_controls_default and post_init 2013-03-13 00:12:29 +01:00
twinaphex
8edab3d970 Skip D-pad emulation polling when dpad_emulation is disabled 2013-03-12 23:45:47 +01:00