Commit Graph

776 Commits

Author SHA1 Message Date
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
twinaphex
a23bc3a13f Control flow change for RGUI/RMENU - no longer have to invoke RARCH_QUIT_KEY to toggle menu 2013-03-07 19:02:44 +01:00
twinaphex
dfe7e760d7 (PS3) Add ability to set menu skin 2013-02-01 07:42:36 +01:00
twinaphex
10af790b21 (RARCH_CONSOLE) Remove HAVE_HDD_CACHE_PARTITION code 2013-01-22 13:09:18 +01:00
twinaphex
5f4813238a (PS3) Audio driver cleanup 2013-01-22 01:38:00 +01:00
twinaphex
06e25decfd (PS3) Get rid of one unused ifdef 2013-01-17 16:23:03 +01:00
twinaphex
d21e778c94 (PS3) Cleaup in osk_callback_enter_filename 2013-01-17 14:03:55 +01:00
twinaphex
95961d1ccb (PS3) Fixes OSK code 2013-01-17 10:40:35 +01:00
twinaphex
0f2e36d349 (RARCH_CONSOLE) Move default_binds 2013-01-13 03:17:13 +01:00
ToadKing
f33ed73671 (Consoles) re-add second timer for scroll delays 2013-01-07 23:58:00 -05:00
twinaphex
fe62828fb1 (RARCH_CONSOLE) Refactor timer code 2013-01-08 00:35:49 +01:00
twinaphex
466acac261 (PS3/360) Input changes - make local pointer variable and reuse it 2013-01-07 00:31:38 +01:00
twinaphex
6c4da75612 (RARCH_CONSOLE) Move Salamander files to frontend/salamander 2013-01-06 05:33:37 +01:00
twinaphex
011e740129 Move all frontend files to new dir 'frontend' 2013-01-06 05:22:21 +01:00
twinaphex
aaebc0be3d (RARCH_CONSOLE) Add #ifdef HAVE_DYNAMIC for libretro dynamic
library argv
2013-01-06 04:11:24 +01:00
twinaphex
66dfceabe1 (RARCH_CONSOLE) Build fixes + rarch_main_init_wrap needs to be
always compiled in and not ifndef HAVE_RARCH_MAIN_WRAP
2013-01-06 03:50:55 +01:00
twinaphex
3f537518e1 (RARCH_CONSOLE) Use g_extern.config_path 2013-01-06 03:09:51 +01:00
twinaphex
369477a15b (RARCH_CONSOLE) Add MODE_INIT 2013-01-06 01:28:39 +01:00
twinaphex
e06583a45c (RARCH_CONSOLE) Get rid of emulator_initialized - replace with main_is_init 2013-01-05 23:49:58 +01:00
twinaphex
c0c81bf22b (RARCH_CONSOLE) Move rarch_config_save to settings.c - rename to
config_save_file
2013-01-05 22:18:59 +01:00
twinaphex
2c26f92c7d (RARCH_CONSOLE) Cleanups 2013-01-05 21:56:19 +01:00
Themaister
0b4cf2d053 Update license headers to 2013. 2013-01-01 01:41:15 +01:00
twinaphex
269698661a (Console/Android) Simplify input_key_pressed implementation 2012-12-23 14:44:46 +01:00
twinaphex
7a67348b3c Change 1 << for bitmasks to 1ULL << 2012-12-15 18:00:30 +01:00
twinaphex
ffa5d4fa5f Rewrite do-while loops for console ports 2012-12-15 16:47:35 +01:00
twinaphex
dacab094f0 (RMenu) menu_loop renamed into rmenu_iterate - iterates menu code for one frame 2012-12-15 16:40:02 +01:00
twinaphex
8a271d318c Frame advance - get rid of unnecessary extern variables now 2012-12-15 02:25:48 +01:00
twinaphex
04674fbba7 (PS3/XDK) Better way to toggle frame advance 2012-12-15 02:13:58 +01:00
twinaphex
0261d934f2 (RARCH_CONSOLE) Rework how we do RARCH_QUIT_KEY - right now used
for ports that define HAVE_RMENU - made compiling in the RMenu
GUI separate from the HAVE_RMENU logic
2012-12-15 01:14:21 +01:00
twinaphex
dbb962e946 Streamline frame_count usage
(Android/Griffin) Fix build
2012-12-14 20:33:36 +01:00
twinaphex
cb334c63ce (PS3) Rewrite ps3_input_key_pressed 2012-12-14 18:37:18 +01:00
twinaphex
20bdef5d3b (PS3) Input refactoring (note - other console ports will need
refactoring too - will do that nexta)
2012-12-14 17:42:01 +01:00
Toad King
c6111a3259 [CONSOLE] Make separate timers for holding scroll and menu/exit button delay.
Fixes issues with exit/menu button combo not working on GC controllers occasionally
2012-11-28 19:55:08 -05:00
twinaphex
966cc93b5e Refactor of driver function hooks 2012-11-27 00:50:56 +01:00
twinaphex
4b3ac3c04e (PSP1) Now sets up paths correctly and more or less fleshed out
main.c
2012-11-26 07:03:31 +01:00
twinaphex
0dbcdb087d (Android) Rewrite of input code 2012-11-03 00:31:05 +01:00
twinaphex
174c7d9d98 (RARCH_CONSOLE) g_console struct removed now - console settings
now a part of g_extern and also compiled in for PC - will use
this for RMenu
2012-10-15 06:25:12 +02:00
twinaphex
fc17456581 (RMenu / RARCH_CONSOLE) Move more g_console state to g_extern 2012-10-14 20:34:16 +02:00
twinaphex
c6cf258b42 Simplify rarch_config_load 2012-10-04 20:09:23 +02:00
twinaphex
71443385e9 (PS3/XDK - Context) Some refactorings 2012-09-30 17:51:48 +02:00
TwinAphex51224
9a249ea996 (PS3) Freetype modules need to be loaded in different order +
added SYSMODULE_FONTFT
2012-09-27 18:19:10 +02:00
TwinAphex51224
5fad20121f (PS3) Add preliminary Freetype support for PS3 2012-09-27 18:16:06 +02:00
Twinaphex
b9320ff491 (PSL1GHT) Attempt to load test ROM - netlogger still not showing
anything so impossible to debug right now
2012-09-16 04:18:27 +02:00
Twinaphex
34ea7f18fc (PSL1GHT/PS3) Move more header includes/redefinitions to sdk_defines.h 2012-09-16 04:04:59 +02:00
Twinaphex
2cf02a50b7 (PSL1GHT) At last it links... now prepare for onslaught of trouble 2012-09-14 05:07:33 +02:00
Twinaphex
455f74ea46 (PS3) Fix build - GL side is totally screwed up now though -
investigate
2012-09-13 06:52:47 +02:00
Twinaphex
c09fa1c7af Revert "(Android) Set up rarch_main_init_wrap so that it can load dynamic" - revisit
later

This reverts commit 42f2d068a7.
2012-09-13 06:45:41 +02:00
Twinaphex
42f2d068a7 (Android) Set up rarch_main_init_wrap so that it can load dynamic
libretro cores if supported
2012-09-13 06:28:57 +02:00
Twinaphex
201f5fd135 (PSL1GHT) More PSL1GHT work 2012-09-11 12:34:07 +02:00
Twinaphex
e2348714ee (PSL1GHT) PSL1GHT gets further now due to changes made in gl
driver
2012-09-11 09:17:51 +02:00
Twinaphex
b710babeb2 Move 'set default controls' function call outside 'set default
settings' function
2012-09-10 01:48:39 +02:00
Twinaphex
1b9c554690 (PS3 Salamander) Fix logic bug if libretro_path is empty 2012-09-01 06:57:57 +02:00
Twinaphex
90b481acbd (Salamander PS3) Create config file with libretro_path if it doesn't exist 2012-08-23 00:09:51 +02:00
Twinaphex
5a07d757e9 (Libretro management) some cleanups 2012-08-22 22:04:46 +02:00
Twinaphex
207eea3954 (Salamander/RetroArch) Add default_paths.salamander_file 2012-08-22 19:30:20 +02:00
Twinaphex
3669de1228 (Salamander PS3) Fix set_first_file 2012-08-22 18:08:14 +02:00
Twinaphex
8adfd6e948 (RMenu/PS3/Xbox 1) Add D-pad emulation setting 2012-08-22 14:04:33 +02:00
Twinaphex
62aee43228 (RMenu) Refactored bloated menu stack code - should use less
memory now
2012-08-22 01:16:46 +02:00
Toad King
fa643ee56d (RARCH_CONSOLE) do not set core aspect ratio until ROM is loaded 2012-08-20 22:28:12 -04:00
Toad King
fda2dff40c (RARCH_CONSOLE) add core resolution (use aspect ratio provided by the emulation core) 2012-08-19 21:08:50 -04:00
Twinaphex
7c4189cdd5 (RMenu) Split up platform-specific code into Rmenu context files 2012-08-18 22:45:46 +02:00
Twinaphex
c14b560255 (RARCH_CONSOLE) Refactor some console-specific things 2012-08-18 21:50:44 +02:00
Twinaphex
0e86504097 (PS3) 'Return to Multiman' option fixed 2012-08-18 18:25:38 +02:00
Twinaphex
8c7e235e32 (PSL1GHT/Rgl) Compatibility changes 2012-08-15 13:15:12 +02:00
Twinaphex
a48376efd9 (PSL1GHT) Move GCM macro method defines to sdk_defines.h 2012-08-15 12:30:08 +02:00
Toad King
49922e730e (CONSOLE) port failed rom fix to other platforms 2012-08-09 23:52:51 -04:00
Twinaphex
6d87a1ab9f (PS3 Salamander) Build fix 2012-08-10 05:18:32 +02:00
Toad King
552180f276 (SALAMANDER) fix rarch_manage_libretro_set_first_file so it doesn't select the salamander executable 2012-08-09 22:58:38 -04:00
Twinaphex
77b2ed5514 Revert "(PSL1GHT) Add PSL1GHT semaphore redefinitions"
This reverts commit 04a5a17409.
2012-08-09 23:06:39 +02:00
Twinaphex
04a5a17409 (PSL1GHT) Add PSL1GHT semaphore redefinitions 2012-08-09 19:17:07 +02:00
Twinaphex
abebe492af (PSL1GHT) Added some PSL1GHT GCM Defines 2012-08-09 07:39:32 +02:00
Twinaphex
9f2e1a816b (PSL1GHT) Minor cleanup 2012-08-09 07:30:42 +02:00
Twinaphex
ddf33463ec (PSL1GHT) Add PSL1GHT ifdefs for input 2012-08-09 07:29:56 +02:00
Twinaphex
465c2f9e33 (Salamander) Custom versions of Salamander 2012-08-06 02:07:57 +02:00
Twinaphex
ac579f2d6a (RMenu) Move image files to console/rmenu/images 2012-08-05 15:32:20 +02:00
Twinaphex
d521edd86a (libretro mgmt) Get rid of rarch_configure_libretro function 2012-08-05 07:43:37 +02:00
Twinaphex
beb052dc37 (PS3/RMenu) Small changes to menu background 2012-08-05 03:22:44 +02:00
Twinaphex
3c85d9f386 (PS3 / RMenu) Graphic changes 2012-08-05 03:00:38 +02:00
twinaphex
104ff16169 (RMenu) New backgrounds 2012-08-04 20:57:59 +02:00
Twinaphex
275fdb104b (RMenu) Portable menu code - still WIP 2012-08-03 21:22:43 +02:00
Twinaphex
6071c25905 (Xbox 1/PS3) More changes 2012-08-03 21:06:52 +02:00
twinaphex
bc92cbc40a (Xbox 1/PS3) more menu compatibility tweaks 2012-08-03 19:36:11 +02:00
Twinaphex
a32fee16f4 (PS3) Add _XBOX1 defines to menu.c 2012-08-03 18:52:17 +02:00
twinaphex
bb338d07d7 (PS3/Xbox 1) Menu unification changes 2012-08-03 18:54:59 +02:00
twinaphex
8e71b62748 (PS3/Xbox 1) Menu changes 2012-08-03 18:27:38 +02:00
Twinaphex
9976b81f18 (PS3/Xbox 1) Menu changes 2012-08-03 17:54:22 +02:00
Twinaphex
9123da72ae (PS3/Xbox 1) Make menu code usable for both PS3/360 2012-08-03 06:34:33 +02:00
Twinaphex
c96608eadc (PS3) Make position values interchangeable between platform ports 2012-08-03 03:46:01 +02:00