Commit Graph

763 Commits

Author SHA1 Message Date
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
twinaphex
039fc644d5 Revert "Menu toggle without delay timers (more testing might be needed -"
This reverts commit 54a6175a55.
2013-03-11 02:07:50 +01:00
twinaphex
54a6175a55 Menu toggle without delay timers (more testing might be needed -
tested on PS3 RMenu and seemed to work well enough)
2013-03-11 01:12:19 +01:00
twinaphex
0b6e5a6388 Rename RARCH_RMENU_TOGGLE to RARCH_MENU_TOGGLE 2013-03-09 16:14:26 +01:00