Commit Graph

197 Commits

Author SHA1 Message Date
twinaphex 27ae782a8e (CTR) Add this header 2017-01-19 17:17:20 +01:00
twinaphex e0ff0541a2 Pass video_info pointer to font drivers 2017-01-19 16:30:40 +01:00
twinaphex d010a852e4 Call menu_driver_frame once per video_frame call 2017-01-18 22:20:47 +01:00
twinaphex bf511b72e6 Create menu_driver_frame 2017-01-18 21:23:18 +01:00
twinaphex a6a4808e94 Refactor frame monitor code 2017-01-18 17:41:27 +01:00
twinaphex c1c35c5120 More platform build fixes 2017-01-10 21:15:52 +01:00
twinaphex 76ae7ac4a0 Cleanup some of the video drivers - add some members to
video_info_t to reduce the need for accessing the settings
struct
2017-01-10 18:16:22 +01:00
twinaphex be2f921ee2 Don't use settings pointer inside video_frame function 2017-01-09 14:25:59 +01:00
twinaphex 5fc1b0c88e Remove obsolete font_driver_has_render_msg 2016-11-20 17:51:16 +01:00
Higor Eurípedes 6f2cb9742d (font) Create font_data_t and update font_driver_init_first() 2016-10-18 20:07:00 -03:00
aliaspider f9e7d4dc3f (3DS) fix gfx corruption when closing content. 2016-10-13 12:16:07 +01:00
aliaspider d48445fc1e (3DS) video driver:
- texture handling improvement.
- flush pending tasks while waiting for vsync.
2016-10-10 22:25:25 +01:00
aliaspider 4edbb48f34 (3DS) missing return value. 2016-10-08 01:17:48 +01:00
aliaspider d87adcd226 (3DS) fix texture combiner stages in 32bit mode. 2016-10-04 20:38:00 +01:00
aliaspider 23eef2c6ee (3DS) video driver: (cont.) 2016-10-04 15:55:30 +01:00
aliaspider c4daa087d4 (3DS) video driver: add some checks for the validty of incoming data. 2016-10-04 15:49:55 +01:00
twinaphex 23ed63f33a move device_aspect variable 2016-10-02 20:37:14 +02:00
aliaspider 056224bf50 (3DS) avoid using ctrGuCopyImage during font init for now. (fixes freeze
on cia builds)
2016-09-30 16:16:18 +01:00
aliaspider afd5e85a31 (3DS) add experimental font and menu_display drivers. 2016-09-29 20:14:12 +01:00
aliaspider 5db13323f6 (3DS) create gfx/common/ctr_common.h.
remove depthbuffer.
use vramalloc.
2016-09-28 20:59:54 +01:00
aliaspider dc16477c46 (3DS) fix tearing, the displayed framebuffer was being set to the
currently selected drawbuffer.
2016-09-28 18:34:38 +01:00
aliaspider 8266a423cd (3DS) update for latest ctrulib. 2016-09-28 18:09:17 +01:00
twinaphex 3cf24afc44 (CTR) Buildfix 2016-09-11 16:43:56 +02:00
twinaphex 51b0e61712 Cleanups 2016-09-11 16:24:02 +02:00
twinaphex 202e3e796e Get rid of more general.h includes 2016-09-11 14:46:53 +02:00
twinaphex acd4dd527b Header include cleanups 2016-09-05 18:31:32 +02:00
twinaphex 281a33d61f Rename function to performance_counter_init 2016-05-16 09:58:45 +02:00
twinaphex f5bc75c640 Rename retro_perf_start/retro_perf_stop 2016-05-16 09:53:54 +02:00
twinaphex 18355d4748 Rename retro_perf_stop 2016-05-16 09:48:14 +02:00
twinaphex b79b2dca13 Create performance_counters 2016-05-10 08:53:14 +02:00
twinaphex 2691ab0c7d Rename command_event enums 2016-05-09 20:51:53 +02:00
twinaphex 523ebed112 Combine command_event.c and command.c 2016-05-09 20:30:47 +02:00
twinaphex a98ef36d36 Rename event_cmd_ctl to command_event 2016-05-09 20:20:50 +02:00
Hans-Kristian Arntzen 66c4f608e6 Clear out rest of video_driver_ctl use. 2016-05-08 14:10:28 +02:00
aliaspider 0ffba39280 (3DS) restore state correctly when suspending/exiting app. (fixes #2207) 2016-04-18 16:38:32 +01:00
aliaspider 4f54025a50 (3DS) 3D slider display mode selection tweaks. 2016-04-18 15:55:34 +01:00
aliaspider 4994de806a (3DS) add more display modes for the top screen that can be controlled
by the 3D slider.
2016-04-17 20:10:21 +01:00
aliaspider 1465cf1ffc (3DS) allow setting a start offset in the texture 2016-04-17 15:30:44 +01:00
aliaspider ad0d73d8f0 (3DS) refactor shaders. simplify texture combiner usage. 2016-04-16 22:38:13 +01:00
aliaspider c370afd861 (3DS) start porting shaders to the picasso format. 2016-04-16 20:26:05 +01:00
twinaphex 372d673a26 Rename event_command to event_cmd_ctl - add second parameter 2016-01-22 15:34:43 +01:00
twinaphex 54f46f4ee3 Update headers 2016-01-10 04:41:52 +01:00
thedax 0565a92486 Update CTR (3DS) driver for the latest ctrulib SDK, fix a typo, and fix compilation errors. 2015-12-21 13:43:05 -05:00
twinaphex aa488dda25 Create video driver poke load_texture / unload_texture 2015-12-20 20:52:23 +01:00
twinaphex 1b768f7dcd Create RARCH_DRIVER_CTL_SET_REFRESH_RATE 2015-12-11 11:00:12 +01:00
twinaphex e8a3bd99d8 (3DS/CTR) Buildfix 2015-12-07 09:32:58 +01:00
aliaspider be5755fe59 (3DS) build fix. 2015-11-24 12:02:02 +01:00
Twinaphex 0958acd0b1 Merge pull request #2455 from aliaspider/master
(3DS) update.
2015-11-24 11:36:00 +01:00
aliaspider 38579e56ff (3DS) gfx driver: add missing d-cache flush. 2015-11-24 11:25:28 +01:00
twinaphex 85dbeeb8f9 No more video_monitor.h 2015-11-22 13:32:46 +01:00
twinaphex 892d99b3a6 Add SET_VIEWPORT_CONFIG 2015-11-21 13:13:55 +01:00
twinaphex 806c124eae Merge video_viewport.c and video_driver.c 2015-11-21 13:01:23 +01:00
twinaphex 5b44bd0e6b Create RARCH_DISPLAY_CTL_SET_VIEWPORT_SQUARE_PIXEL 2015-11-21 12:54:38 +01:00
twinaphex 4db97a5300 Refactor away video_viewport_set_core 2015-11-21 12:45:36 +01:00
aliaspider 7f5ae4bdba (3DS) can compile with latest ctrulib/great-refactor.
fix some warnings.
2015-11-19 23:15:48 +01:00
aliaspider 13699280b4 (3ds) video driver:
- fix frame dupes
- bypass DMA for small frames.
2015-11-12 15:00:53 +01:00
aliaspider 8741ec48d5 (3DS) implement dynamic memory management.
heap/linear heap and stack sizes can now change dynamically at runtime,
depending on usage, no need to specify those on a per-core basis
anymore.
2015-11-02 01:24:11 +01:00
aliaspider aeeb2a62d6 (3DS) - add an audio driver using the DSP.
- add some hooks to inspect memory usage.
2015-10-27 01:06:34 +01:00
aliaspider ac119b04f6 (CTR/3DS) improve memory management.
- use a custom crt0 to allow overriding __heap_size and
__linear_heap_size
- add a setting for maximum heap size. unallocated memory can be freely
mapped by the core.
- add better detection of the extra memory available when running from
the HBL.
2015-10-22 20:35:22 +01:00
aliaspider 339acfecf1 (CTR/3DS) update code to use ctrulib/great-refactor 2015-10-21 15:41:06 +01:00
aliaspider 3a30baab57 (CTR/3DS) add support for RETRO_PIXEL_FORMAT_XRGB8888 2015-10-20 16:03:39 +01:00
aliaspider 8cc805c38a (CTR/3DS) reduce memory usage.
build fix.
2015-10-20 12:34:53 +01:00
aliaspider fc1524be5d (CTR/3DS) nit. 2015-10-06 19:57:46 +01:00
aliaspider 44dc270c87 (CTR/3DS) use an aptHook to enable the LCD when the app is suspended. 2015-10-06 19:56:11 +01:00
aliaspider b9978317cc (CTR/3DS) video driver: increase texture width. 2015-10-04 19:22:23 +01:00
aliaspider 71efe15bce (CTR/3DS) don't turn off the LCD for 2DS models. 2015-10-03 19:37:01 +01:00
aliaspider 68e2c306a9 (CTR/3DS) video driver: better detection of frames allocated with
linearAlloc.
2015-10-02 04:59:16 +01:00
aliaspider c9acd9156c (CTR/3DS) gfx driver: remove useless printf. 2015-10-01 18:28:27 +01:00
aliaspider 63ab3b02b8 (CTR/3DS) shut down the LCD backlight when toggling the buttom display
off.
courtesy of @thedax.
2015-10-01 18:12:59 +01:00
twinaphex 87d44af218 Static code analysis cleanups 2015-09-29 18:08:33 +02:00
aliaspider 48ec5190ba (CTR/3DS) improve audio/video sync. 2015-09-28 20:09:07 +01:00
aliaspider a2d552a819 (CTR/3DS) allow toggling the console on/off.
the upper part of the touchscreen toggles the console, the lower part
the main menu.
2015-09-28 14:54:48 +01:00
twinaphex 2b840c0384 Refactor perf counters 2015-09-20 10:02:59 +02:00
aliaspider 9c6ce3b28b (CTR/3DS) start with bilinear filtering set to ON. 2015-09-14 01:59:58 +01:00
aliaspider 591ecae208 (CTR/3DS) add support for viewport/filtering settings.
rotation doesn't work correctly yet.
2015-09-14 00:19:38 +01:00
aliaspider c3ac725269 (CTR/3DS) improve vsync.
gfxSwapBuffersGpu needs to be called immediately after initiating a
display transfer.
2015-09-13 22:27:28 +01:00
aliaspider 3b85e0dd5a (3DS) fix build to work with the latest ctrulib. 2015-09-07 18:31:30 +01:00
twinaphex 0c023dcb68 Reimplement frame count 2015-08-03 23:01:07 +02:00
twinaphex ae408a1d41 Create video_poke get_frame_count function 2015-05-09 15:52:06 +02:00
twinaphex 4ecfe639b3 Create local frame_count variables again in video_drivers 2015-05-09 15:41:10 +02:00
twinaphex a9dee4877e Create set_viewport wrapper function - threaded video mode's
set_viewport function does not work yet
2015-04-26 19:46:59 +02:00
twinaphex c22535b7e1 Reduce HAVE_FBO ifdefs 2015-04-25 02:35:06 +02:00
aliaspider 2076846a5c (CTR/3DS) disable v-sync blocking after a missed vblank-start event.
will prevent cores running under 60fps from slowing down even more.
2015-04-17 19:45:07 +01:00
twinaphex 0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
Twinaphex 56a348e9bd Merge pull request #1624 from aliaspider/master
(3DS) video driver: performance improvements.
2015-04-13 02:52:32 +02:00
aliaspider e754c328b0 (3DS) video driver: performance improvements. 2015-04-13 01:50:00 +01:00
twinaphex 54b10d8eca (gfx/drivers) Style nits 2015-04-11 08:39:37 +02:00
aliaspider a7c63f973b (3DS) update video driver:
use a gemotry shader to simulate sprite primitives.
move gpu state commands to the initial display list.
2015-04-08 18:59:41 +01:00
aliaspider e06a7d5f7e (3DS) set the content frame to fullscreen for now, until aspect ratio
settings are implemented.
2015-04-05 21:06:24 +01:00
aliaspider fe923dff98 (3DS) video driver rewrite. 2015-04-05 20:40:35 +01:00
Lioncash 5102339e84 ctr_gfx: Fix a missing printf formatting specifier 2015-04-02 12:41:07 -04:00
aliaspider d842697863 (3DS) can display loaded content.
add an fps counter.
2015-04-02 04:00:26 +01:00
aliaspider 948e637e22 (3DS/CTR) shutdown hack not needed anymore. 2015-04-02 02:28:56 +01:00
aliaspider 27bd10b21d implement a very basic input driver, will need to be implemented
correctly later.
2015-04-02 02:19:21 +01:00
twinaphex 5612545b25 (CTR/3DS) Update copyright headers 2015-04-02 01:43:28 +02:00
aliaspider 2045cee432 preliminary 3DS port. 2015-04-01 22:14:13 +01:00