twinaphex
0da40fb3aa
Move all float settings
2017-04-28 14:57:55 +02:00
twinaphex
ed53be7c81
Move all bool settings
2017-04-28 14:11:34 +02:00
twinaphex
cc095e56fc
Start refactoring bool variables
2017-04-28 00:53:20 +02:00
twinaphex
2a13af52fc
Revert "video_init function - video_info_t should not be const -"
...
This reverts commit c8bcbad4a7
.
2017-04-24 12:25:14 +02:00
twinaphex
e5b38315fe
Revert "Add real_width and real_height to video_info struct - let"
...
This reverts commit 831ea1a507
.
2017-04-24 12:25:07 +02:00
twinaphex
8a215ce30e
Revert "Cut down on another video_driver_set_size call"
...
This reverts commit b951c84e01
.
2017-04-24 12:24:55 +02:00
twinaphex
b951c84e01
Cut down on another video_driver_set_size call
2017-04-24 12:23:09 +02:00
twinaphex
831ea1a507
Add real_width and real_height to video_info struct - let
...
the drivers set this depending on the video width/height they
get back from the video context driver
2017-04-24 12:18:28 +02:00
twinaphex
c8bcbad4a7
video_init function - video_info_t should not be const -
...
try to set video_driver_width/video_driver_height outside
of video driver init function
2017-04-24 12:03:21 +02:00
twinaphex
5a3b78bad3
Get rid of more performance counters
2017-04-24 11:24:16 +02:00
twinaphex
d06c963a19
Get rid of PERF_ENABLE blocks
2017-04-24 11:20:30 +02:00
twinaphex
365c7f9c8b
(Video drivers) Cleanups
2017-04-24 10:08:32 +02:00
twinaphex
8efa2b146e
Add this to d3d_alive
2017-04-24 09:44:15 +02:00
twinaphex
34852e159a
Cut down on amount of times video_driver_build_info is called
2017-04-23 22:20:11 +02:00
twinaphex
aea00f1e00
Use memcmp instead of string_is_equal for more instances
2017-04-23 12:17:51 +02:00
twinaphex
0f2a6f3dd2
Don't use performance counters in GL/Vulkan/video thread wrapper
...
unless PERF_ENABLE is defined
2017-04-23 11:31:11 +02:00
twinaphex
a88284897b
(D3D) Use C-style allocation for d3d->menu
2017-04-23 09:38:44 +02:00
twinaphex
aa2c29ac8b
(exynos_gfx.c) Use memcmp
2017-04-22 09:34:30 +02:00
twinaphex
6ebd4e139e
Rewrite more string_is_equal call invocations as memcmp
2017-04-22 08:51:16 +02:00
twinaphex
5bfc513af4
Buildfixes
2017-04-19 02:03:01 +02:00
twinaphex
7790fc3647
MOve renderchain files to dir
2017-04-19 01:51:05 +02:00
twinaphex
32c91baca6
Move read_viewport and viewport_info to render_chain_gl_legacy.c
2017-04-19 01:25:34 +02:00
twinaphex
0c5a87b1d7
Create scaler_ctx_scale_direct
2017-04-16 11:03:29 +02:00
twinaphex
257410d058
Turn matrix_4x4_multiply into macro
2017-04-16 07:55:02 +02:00
twinaphex
32cebbbcba
Turn more matrix_4x4 functions into macros
2017-04-16 04:00:20 +02:00
twinaphex
fbd6d0ebc6
Turn more matrix 4x4 functions into macros
2017-04-16 03:53:07 +02:00
twinaphex
7f4b490fdb
Prevent implicit memsets with struct video_viewport
2017-04-15 19:43:52 +02:00
twinaphex
55a0b7d1a9
Create default_ortho static variable
2017-03-25 10:22:57 +01:00
twinaphex
7d79e367f9
(GL) Prevent implicit memset; some other general cleanups
2017-03-25 10:18:24 +01:00
twinaphex
d77c209c85
Cleanups
2017-03-25 10:13:18 +01:00
twinaphex
a72cdb77ad
Update logs
2017-03-24 01:33:22 +01:00
twinaphex
396857db9a
Update logs
2017-03-24 01:28:58 +01:00
twinaphex
1b27c3dec1
Make some log messages more consistent
2017-03-24 00:28:21 +01:00
Twinaphex
b7b3b2cb5f
Try to prevent truckload of warnings on iOS
2017-02-26 10:33:03 +01:00
hunterk
a1124b8ded
(Vulkan) add bokeh menu shader for vulkan
2017-02-20 22:59:05 -06:00
twinaphex
0d873b6da1
(Vulkan) Add fancy snow for Vulkan
2017-02-20 21:51:58 +01:00
twinaphex
962149ef63
(Vulkan) Add pipeline_snow
2017-02-20 21:25:40 +01:00
Hans-Kristian Arntzen
2d88530c98
Vulkan: Simple snow pipeline works.
...
Some other fixes too.
2017-02-20 20:53:59 +01:00
aliaspider
461d6ed3e0
(WiiU) use the TV resolution instead of the gamepad resolution for
...
viewport settings. fixes #4655
2017-02-17 15:06:48 +01:00
vanfanel
0b75671c21
DISPMANX: Disable triple buffering for now, for stability reasons.
2017-02-12 19:27:59 +01:00
Nicolas Adenis-Lamarre
9993435cf9
sdl2 renderer: remove the random flashing black borders
...
on the batocera linux distribution (https://github.com/nadenislamarre/batocera.linux ),
retroarch gives some flashing black borders sometimes when running a game.
It looks like sometimes the rendering is done without clearing the screen causing
this flashing effect.
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2017-02-08 22:31:26 +01:00
Brad Parker
373535f329
DOS: improve color accuracy and scaling, thanks to aliaspider
2017-02-08 00:17:12 -05:00
Brad Parker
0bdcdac2da
DOS: scale menu frame to fit screen
2017-02-05 15:23:38 -05:00
Brad Parker
3dfe93b13f
DOS: swap red/blue in rgui menu frame
2017-01-31 18:10:27 -05:00
Brad Parker
2661d5556b
DOS: fix image scaling and colors for 16-bit core video
2017-01-30 13:51:41 -05:00
Brad Parker
343ac9fea7
DOS: scale 16-bit core video to fit screen
2017-01-29 00:48:22 -05:00
twinaphex
0d3703bc13
(Vita) Buildfix
2017-01-25 18:39:55 +01:00
twinaphex
0a7538f1b8
Create menu_display_get_fb_size
2017-01-25 18:32:16 +01:00
twinaphex
374fd57270
Remove the few performance counters that depend on runloop_ctl
2017-01-25 18:15:58 +01:00
twinaphex
a9164b7124
Try to use performance counter plus functions in most cases
2017-01-25 17:12:43 +01:00
twinaphex
6661c0fb94
Rewrite performance counter stop/start/init into macros
2017-01-25 16:53:06 +01:00
twinaphex
3a4963b474
(vita2d_gfx.c) Cleanups
2017-01-24 14:08:28 +01:00
twinaphex
19d2649c61
Update psp1_gfx.c
2017-01-24 14:04:12 +01:00
twinaphex
93812f58ba
We don't need the settings variable here
2017-01-24 14:02:09 +01:00
vanfanel
ae3cdaccb9
DISPMANX: Add missing include and remove redundant one.
2017-01-24 13:58:55 +01:00
Twinaphex
7aaf193810
Merge pull request #4492 from aliaspider/master
...
(Wii) another fix devkitpro r29.
2017-01-24 01:26:06 +01:00
aliaspider
3a6e49311f
(Wii) use C version of guMtxConcat (ps_guMtxConcat broken in devkitpro
...
r29).
2017-01-24 01:23:18 +01:00
Brad Parker
7c41903ecb
GDI: fix color rendering of RGUI menu
2017-01-23 14:50:31 -05:00
aliaspider
021b510452
(WiiU) refactors/cleanups.
2017-01-23 16:14:05 +01:00
The Last Cabra
0e542037d8
Merge branch 'master' into master
2017-01-23 15:16:19 +01:00
twinaphex
e0a560f60a
Turn C++ comments into C comments
2017-01-23 01:37:19 +01:00
twinaphex
a104c73738
Go back to this
2017-01-22 23:19:35 +01:00
twinaphex
8698525f86
Only show the frame when libretro_running is true
2017-01-22 21:42:42 +01:00
twinaphex
2f504b4057
(gfx/drivers) Get rid of remaining runloop.h / runloop_ctl
...
references inside gfx/drivers
2017-01-22 18:17:48 +01:00
twinaphex
d4b7edff4a
Cut down on menu_driver_ctl usage from within video drivers
2017-01-22 17:30:32 +01:00
Brad Parker
9d3c20929a
DOS: vga palette looks ok now
2017-01-22 10:47:11 -05:00
Brad Parker
5c83e993ba
DOS: use custom VGA color palette, rgui looks nice but still is not green
2017-01-22 10:47:11 -05:00
Brad Parker
89fc14d165
DOS: horizontal scale test
2017-01-22 10:47:11 -05:00
Brad Parker
c4bfa6b0d2
DOS: initial VGA int13 graphics driver
2017-01-22 10:47:11 -05:00
twinaphex
96c8ca5a09
Header update #1
2017-01-22 13:40:32 +01:00
twinaphex
57f8c637bf
Cut down on runloop_ctl calls inside gfx/drivers
2017-01-22 12:38:20 +01:00
Brad Parker
0290f4713c
caca: fix font alignment
2017-01-21 15:39:35 -05:00
twinaphex
b97b40af75
(vg.c) Buildfix
2017-01-21 18:54:13 +01:00
twinaphex
c8141123d6
(GX) Cleanup warnings
2017-01-21 00:55:21 +01:00
xhp-creations
577ee09727
(WIIU) fix rotation of menu
...
(WIIU) fix rotation of menu
2017-01-20 11:22:30 -05:00
xhp-creations
a8232f1b46
(WIIU) add rotation support
...
(WIIU) add rotation support
2017-01-20 10:29:53 -05:00
vanfanel
7ae7e2eaee
DISPMANX: now waiting for free pages after issuing flip, instead of before, to avoid input lag.
2017-01-20 14:59:14 +01:00
twinaphex
30c7754029
Buildfix
2017-01-20 14:37:02 +01:00
twinaphex
58a47e860a
Add use_rgba member to video_frame_info_t
2017-01-20 14:04:50 +01:00
twinaphex
0b8037d893
(360) Fix typo
2017-01-19 20:35:23 +01:00
Brad Parker
a54ea9ad88
show titlebar again for remaining drivers
2017-01-19 18:08:39 +00:00
Brad Parker
c0e55cba37
window title fix for SDL
2017-01-19 17:51:22 +00:00
twinaphex
7cce305c06
Add header for sdl_gfx.c
2017-01-19 17:48:03 +01:00
twinaphex
fe84312340
Add some header includes
2017-01-19 17:20:42 +01:00
twinaphex
27ae782a8e
(CTR) Add this header
2017-01-19 17:17:20 +01:00
twinaphex
0d33888a24
(dispmanx_gfx.c) Cleanups
2017-01-19 16:50:09 +01:00
twinaphex
e0ff0541a2
Pass video_info pointer to font drivers
2017-01-19 16:30:40 +01:00
Twinaphex
7961bf6d23
Merge pull request #4455 from libretro/refactor
...
Video driver changes
2017-01-19 15:59:23 +01:00
twinaphex
9d1de5c974
Rewrite video_context_driver_set_resize
2017-01-19 14:31:57 +01:00
Brad Parker
b44c8c9995
store buffer for window title, only update actual title when it changes
2017-01-19 00:33:52 -05:00
Twinaphex
78e06ca07f
Cleanup variables
2017-01-19 00:11:29 +01:00
twinaphex
1a30cfea09
Remove more video_driver_get_size calls
2017-01-18 23:13:19 +01:00
twinaphex
55b8b8c244
Reduce amount of calls to video_driver_get_size
2017-01-18 23:07:05 +01:00
twinaphex
c5445d2980
Reduce amount of times video_driver_get_size is called
2017-01-18 23:02:24 +01:00
twinaphex
f4adbd04ae
(gl.c) Reduce amount of time video_driver_get_size is called inside
...
gl_frame
2017-01-18 22:55:03 +01:00
twinaphex
1981c4b83e
Typo fix
2017-01-18 22:25:11 +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
Alcaro
31d93cc4b7
Fix #4449
2017-01-18 19:00:38 +01:00
twinaphex
a6a4808e94
Refactor frame monitor code
2017-01-18 17:41:27 +01:00
twinaphex
0354ced675
Style nits
2017-01-17 19:02:49 +01:00
twinaphex
4743230b09
Some header includes shouldn't be system includes
2017-01-17 18:15:11 +01:00
twinaphex
7931436f5b
Apply xerpi diff
2017-01-17 18:12:23 +01:00
twinaphex
724b68d5cb
(gdi_gfx.c) Style nits
2017-01-17 10:54:48 +01:00
Brad Parker
5eaf00b39d
GDI: fix rendering of 32-bit color cores
2017-01-16 20:41:09 -05:00
Brad Parker
e4bdc5ce8b
GDI: remove unused code and fix menu toggle in rgui and xmb
2017-01-16 20:41:09 -05:00
Brad Parker
e1f4db8081
Win2000 buildfixes
2017-01-16 20:41:08 -05:00
Brad Parker
7acfa39fb9
GDI: MSVC2010 build fix
2017-01-16 20:41:08 -05:00
Brad Parker
8d9a43eec6
GDI: pitch seems to be reported wrong? this looks correct now
2017-01-16 20:41:07 -05:00
Brad Parker
c09996cd22
GDI: don't need to store the padding
2017-01-16 20:41:07 -05:00
Brad Parker
d6300a7946
GDI: video correctly fills the screen now, but resolution is poor. why is it scaled down by half?
2017-01-16 20:41:07 -05:00
Brad Parker
0ee3f39d76
GDI: no more flicker
2017-01-16 20:41:07 -05:00
Brad Parker
f51472395a
GDI: fix bad color due to reading as RGB555 instead of 565
2017-01-16 20:41:07 -05:00
Brad Parker
6b89064242
GDI: no more alternating black lines, but now video only takes up half the window
2017-01-16 20:41:07 -05:00
Brad Parker
acd6826df9
GDI: stretch video output to fill window
2017-01-16 20:41:07 -05:00
Brad Parker
69bac11f02
GDI: fix window not clearing on every frame, requires both FillRect calls and InvalidateRect
2017-01-16 20:41:06 -05:00
Brad Parker
6c62901ae5
GDI: fix window not responding, but menu corruption still happens if set_gdi_pixel_format is called
2017-01-16 20:41:06 -05:00
Brad Parker
bdc68e679f
GDI: flip image and render text after other graphics
2017-01-16 20:41:06 -05:00
Brad Parker
6fe2a974a5
GDI: does not freeze after a few seconds anymore, but the window still freezes when moving the mouse into it
2017-01-16 20:41:06 -05:00
Brad Parker
8eba18a54f
GDI: xmb draws for a few seconds and then freezes
2017-01-16 20:41:06 -05:00
Brad Parker
90ef57948c
GDI testing
2017-01-16 20:41:06 -05:00
Brad Parker
177d811475
GDI driver partially visible with RGUI/game now, need to figure out why it isn't totally visible. Also need to stretch the frame, swap red/blue and flip vertically.
2017-01-16 20:41:05 -05:00
Brad Parker
49d7be9813
MSVC GDI buildfix
2017-01-16 20:41:05 -05:00
Brad Parker
2c6a24653c
testing
2017-01-16 20:41:04 -05:00
Brad Parker
e6d7116da0
create GDI window
2017-01-16 20:41:04 -05:00
Brad Parker
05c37bd39f
initial GDI driver skeleton
2017-01-16 20:41:04 -05:00
Brad Parker
c283c1eaf4
disable shader dialog until video_threaded issues are fixed
2017-01-16 19:26:28 -05:00
Twinaphex
105fa863ec
Merge pull request #4418 from vanfanel/master
...
DISPMANX: Put guard back in to avoid potential lockups!
2017-01-15 13:55:58 +01:00
vanfanel
5a1e8d55fb
DISPMANX: Put guard back in to avoid potential lockups!
2017-01-15 13:47:30 +01:00
Twinaphex
35df333ac4
Merge pull request #4417 from vanfanel/master
...
DISPMANX: implement pitch alignment for better videocore blitting per…
2017-01-14 23:08:07 +01:00
vanfanel
869a050a18
DISPMANX: implement pitch alignment for better videocore blitting performance
2017-01-14 23:01:05 +01:00
twinaphex
69ebda74c4
FIx shader
2017-01-14 22:48:02 +01:00
radius
33863714ab
speed this up a bit
2017-01-14 15:54:56 -05:00
vanfanel
8640522073
DISPMANX: remove commented line
2017-01-14 15:56:54 +01:00
vanfanel
da640aaa28
DISPMANX: Honor swapchain setting properly
2017-01-14 15:54:20 +01:00
vanfanel
f0c2826994
DISPMANX: Fix refreshrate calculation by updating menu surface asynchronously
2017-01-14 14:38:18 +01:00
twinaphex
8c9e0405fb
Create video_driver_build_info
2017-01-13 16:09:32 +01:00
Matthew Wolff
f6284721d8
Fix forgotten parameter of video_monitor_get_fps
2017-01-12 23:40:58 -06:00
twinaphex
c1c35c5120
More platform build fixes
2017-01-10 21:15:52 +01:00
twinaphex
f233745483
(SDL gfx) Buildfix
2017-01-10 21:01:13 +01:00
twinaphex
f1ef1a6a59
(GX) Buildfix
2017-01-10 20:18:49 +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
0b03e95d95
We no longer need the settings struct inside gl_init
2017-01-10 18:08:05 +01:00
twinaphex
8bd12368ef
Pass joypad_driver name to input_driver_init function and make
...
sure we don't need to access the settings struct from the
input driver
2017-01-10 17:59:48 +01:00
twinaphex
c086a18ceb
video_driver_frame_filter no longer needs to grab pointer to
...
settings
2017-01-09 15:46:40 +01:00
twinaphex
36fb6776b2
Don't grab settings pointer in video_monitor_get_fps function
2017-01-09 15:42:14 +01:00
twinaphex
35fefb1c09
Do away with yet more pointer grabbing of settings
2017-01-09 15:14:16 +01:00
twinaphex
6b3cc9068d
Pass video_info to swap_buffers too
2017-01-09 14:59:15 +01:00
twinaphex
3d92ce140e
Pass video_frame_info_t to update_window_title
2017-01-09 14:42:07 +01:00
twinaphex
be2f921ee2
Don't use settings pointer inside video_frame function
2017-01-09 14:25:59 +01:00