Brad Parker
7c6bf6aaf7
fix msys2 compilation when opengl, vulkan and d3d9 are disabled
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
dd2778fb32
GDI text testing
2017-01-16 20:41:05 -05:00
Brad Parker
49d7be9813
MSVC GDI buildfix
2017-01-16 20:41:05 -05:00
Brad Parker
6df175bd31
GDI paint test
2017-01-16 20:41:05 -05:00
Brad Parker
bc8f9f7f3f
add SwapBuffers() for gdi
2017-01-16 20:41:05 -05:00
Brad Parker
fb7c3f4c37
set pixel format for GDI driver
2017-01-16 20:41:05 -05:00
Brad Parker
33520fca6f
set win32_hdc for gdi
2017-01-16 20:41:05 -05:00
Brad Parker
a7a1f093c0
add GDI message loop
2017-01-16 20:41:04 -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
1c82287e10
(video_state_tracker.c) Don't need header include
2017-01-16 21:33:25 +01:00
twinaphex
9feb430b58
Don't pass video_info_t as pointer
2017-01-16 18:03:00 +01:00
bparker06
b5403da862
use name instead of joypad_name
2017-01-15 23:04:56 -05:00
twinaphex
666534cc74
Grab settings pointer only once inside wrapper 'input_driver' function
2017-01-16 00:14:10 +01:00
twinaphex
4a9ca66389
(WGL) Check if settings struct is non-NULL
2017-01-15 23:58:14 +01: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
twinaphex
c875d95f7a
Revert "Free font data inside gfx/font_driver.c's free function"
...
This reverts commit b3f1bbc15e
.
2017-01-14 21:02:30 +01: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
b3f1bbc15e
Free font data inside gfx/font_driver.c's free function
2017-01-14 14:26:56 +01:00
twinaphex
08e9f64e43
Get rid of early return in video_driver_build_info
2017-01-14 14:00:39 +01:00
twinaphex
326e1e3fac
Cleanup video_driver_frame
2017-01-14 13:55:49 +01:00
twinaphex
4230662572
(X context) Use better swap control method if GLX_OML_sync_control
...
and GLX_MESA_swap_control are supported
2017-01-14 12:24:56 +01:00
twinaphex
a4523e0b2b
Initialize variable
2017-01-13 18:17:36 +01:00
twinaphex
23017e0b45
Cleanups
2017-01-13 16:57:57 +01:00
twinaphex
1fa3475d79
Add parameter to video_context_driver's 'init' function
2017-01-13 16:52:07 +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
24dc890b78
(gfx) Cleanups/style nit
2017-01-12 10:52:04 +01:00
twinaphex
1d59bc3452
(gfx) Style nits
2017-01-12 10:41:11 +01:00
twinaphex
0ee34b0076
(glslang_util.cpp) Cleanups/style nits
2017-01-12 10:32:57 +01:00
twinaphex
52ad8fb125
(gfx/drivers_font) Style nits
2017-01-12 10:26:12 +01:00
twinaphex
7d0056d422
Minimize dependence on settings struct from within context drivers
2017-01-11 06:44:41 +01:00
twinaphex
80f79130c0
Update set_video_mode context driver callback function
2017-01-11 06:35:50 +01:00
twinaphex
34d5f609f7
(x11_common.c) Cleanups
2017-01-10 21:54:48 +01:00
twinaphex
a153d600e4
(font_renderer) Cleanups
2017-01-10 21:50:59 +01:00
twinaphex
20b5543420
(gl_raster_font.c) Cleanups
2017-01-10 21:43:45 +01:00
twinaphex
d20bdabc20
Cleanup gl_raster_font_render_msg
2017-01-10 21:37:45 +01:00
twinaphex
6e696d8560
Rename g_osd_font to video_font_driver
2017-01-10 21:26:48 +01: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
59a07d73b5
(PS3) Buildfix
2017-01-10 20:19:58 +01:00
twinaphex
f1ef1a6a59
(GX) Buildfix
2017-01-10 20:18:49 +01:00
twinaphex
db725155c1
(D3D) Another buildfix
2017-01-10 19:55:31 +01:00
twinaphex
bc50f99e40
(WGL) Add header include
2017-01-10 19:51:06 +01:00
twinaphex
a835149f69
(WGL) Buildfix
2017-01-10 19:48:19 +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
d48141041d
Pass joypad_info to input_state function callback - less
...
settings pointer grabbing
2017-01-10 17:40:21 +01:00
twinaphex
b9945f05f1
Pass joypad_info to input_joypad_analog
2017-01-10 03:53:57 +01:00
twinaphex
6376f2af68
Add rarch_joypad_info_t
2017-01-10 03:44:53 +01:00
Josh Palmer
b85e2a8897
Fix references to bbctx-qnx post-rebase
2017-01-09 20:26:09 +00:00
Josh Palmer
5ed17c1ffd
Reorganize QNX directory structure, rename bbqnx_ctx.c to qnx_ctx.c for consistency
...
Added OpenGL ES3 support to qnx_ctx.c
Finalize momentics project setup
2017-01-09 20:26:09 +00:00
Josh Palmer
e1d3493a9d
Handle more cases for EGL error reporting
2017-01-09 20:26:09 +00:00
Twinaphex
476c047f85
(OSX) Buildfix
2017-01-09 16:16:59 +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
twinaphex
a90cf337c7
C buildfix
2017-01-09 01:56:36 +01:00
twinaphex
c87ef25133
CXX_BUILD fix
2017-01-09 01:54:15 +01:00
Twinaphex
6b2601eb91
Merge pull request #4384 from fr500/master
...
small optimization by @aliaspider
2017-01-09 00:39:10 +01:00
radius
86e8c409fe
small optimization by @aliaspider
2017-01-08 18:36:06 -05:00
twinaphex
68d484bf60
Set supports_rgba before calling image_texture_load
2017-01-08 21:49:23 +01:00
twinaphex
9b6b055047
avoid some implicit memsets
2017-01-08 19:35:24 +01:00
radius
f87f7d026d
improve readability a bit
2017-01-07 22:47:55 -05:00
twinaphex
c8bc6c7120
(XMB) Add Bokeh menu pipeline
2017-01-08 03:56:47 +01:00
twinaphex
c57ab8f37a
Add pipeline_bokeh to shader_glsl.c
2017-01-08 02:16:47 +01:00
twinaphex
09a83525a9
Add pipeline_bokeh.glsl.frag.h
2017-01-08 02:13:36 +01:00
Twinaphex
faa8ddf413
Remove unused variables
2017-01-07 08:11:23 +01:00
vanfanel
7ba3ff9c12
DISPMANX: Fix hang when null frame is passed (TyrQuake core)
2017-01-05 23:47:33 +01:00
twinaphex
bbcdc18801
Remove unused variables
2017-01-05 22:18:09 +01:00
Logan McNaughton
017d9cea9d
This fixes the XMB menu for me
...
When using threaded video and shared context
Threaded video gets disabled for GL contexts, so you can't rely on the settings value
2017-01-05 12:53:55 -08:00
twinaphex
c028f56016
Turn video_driver_is_threaded into a static function
2017-01-05 08:52:30 +01:00
twinaphex
e75633064a
Add 'Y button' callback function for input binds
2017-01-05 04:52:04 +01:00
twinaphex
7ec6dc0bde
(x_ctx.c) Cleanup
2017-01-04 09:44:08 +01:00
twinaphex
b13d069578
- Silence Coverity warning in platform_linux.c
...
- Don't do settings lookup when calling runloop_msg_queue_push
2017-01-03 18:47:34 +01:00
twinaphex
b243fec095
Simplif gfx_ctx_drm_queue_flip
2017-01-01 06:06:44 +01:00
Logan McNaughton
35792721e5
Attempt to fix some issues with BGRA textures
2016-12-30 21:14:30 -07:00
Logan McNaughton
34ad1555f1
Use this code for GLES2 and GLES3
2016-12-30 13:56:54 -07:00
Logan McNaughton
8953bce122
Found a combination that doesn't work
2016-12-30 10:42:26 -07:00
Logan McNaughton
f94e944723
Update gl_common.c
2016-12-30 10:30:21 -07:00
Logan McNaughton
c0bdc67458
One more sized format
2016-12-30 10:29:26 -07:00
Logan McNaughton
90a1c76abb
This wasn't working on Android
2016-12-30 10:22:12 -07:00
Twinaphex
2174ba5e27
Merge pull request #4321 from loganmc10/glupen
...
Use RGBA for internal format
2016-12-30 16:18:40 +01:00
twinaphex
9657bbd998
Get rid of set_rgba/unset_rgba inside image_texture.c
2016-12-29 23:22:40 +01:00
twinaphex
6a166faa0c
Revert "Remove supports_rgba varaible from image_texture.c"
...
This reverts commit bd0c97fdc4
.
2016-12-29 22:53:10 +01:00
twinaphex
bd0c97fdc4
Remove supports_rgba varaible from image_texture.c
2016-12-29 22:39:52 +01:00
twinaphex
f067ecce50
(video_driver.c) Cleanups
2016-12-27 14:48:04 +01:00
Logan McNaughton
f45a75fa98
Use RGBA for internal format
2016-12-26 13:00:38 -07:00
hunterk
5ec5b199f6
less invasive revert for blue/red swap
2016-12-25 20:22:28 -06:00
twinaphex
bb4888ae22
Be more careful with allocations
2016-12-25 01:52:40 +01:00
twinaphex
77e5cdbfde
Revert "Rename runloop_msg_queue_push to video_driver_msg_queue_push"
...
This reverts commit ad7386913c
.
2016-12-22 23:36:11 +01:00
twinaphex
b07fd17258
Revert "Initialize message queue first"
...
This reverts commit b0c97e901f
.
2016-12-22 23:34:21 +01:00
Brad Parker
42307a322a
missing ../
2016-12-22 11:25:49 -05:00
twinaphex
b0c97e901f
Initialize message queue first
2016-12-22 14:31:19 +01:00
twinaphex
ad7386913c
Rename runloop_msg_queue_push to video_driver_msg_queue_push
...
and move code to video_driver.c
2016-12-22 13:15:02 +01:00
twinaphex
5d6067159c
gl_common.c - config.h include
2016-12-21 16:09:29 +01:00
twinaphex
19810233fa
Comment this out for PSGL
2016-12-21 16:06:42 +01:00
twinaphex
9dd7d7804e
Turn size_format into gl_size_format, and add a FIXME note
2016-12-21 15:47:38 +01:00
twinaphex
58716e5f3c
Silence some Coverity warnings
2016-12-21 01:34:28 +01:00
Twinaphex
d23beed9bb
Merge pull request #4288 from Themaister/master
...
Vulkan: Fix menu shader parameters for slangp.
2016-12-21 00:20:06 +01:00
Logan McNaughton
21779c87b8
Missed one of the texture formats
2016-12-20 10:10:23 -07:00
Logan McNaughton
3392f3996b
Fix up some texture format code
2016-12-20 08:57:13 -08:00
Hans-Kristian Arntzen
4e9fe4bd54
Vulkan: Fix menu shader parameters for slangp.
...
video_shader_resolve_parameters did not take #includes into account
while the Vulkan implementation did. Added a helper function which
parses a shader file and figures out the shader parameters in the same
way.
2016-12-20 15:58:37 +01:00
twinaphex
5ca7344436
Get rid of more implicit memsets
2016-12-19 19:17:23 +01:00
twinaphex
31b87594aa
Get rid of some implicit memsets for state tracker
2016-12-19 19:08:37 +01:00
Hans-Kristian Arntzen
c48bb6284e
Wayland: Cursor toggling.
2016-12-17 21:34:51 +01:00
Hans-Kristian Arntzen
313ac63c33
Make use of xkb_state_update_mask.
...
Fixes mod keys in Wayland it seems.
2016-12-17 20:42:48 +01:00
Hans-Kristian Arntzen
b2059dcb79
Implement basic Wayland keyboard and mouse.
2016-12-17 20:28:08 +01:00
twinaphex
feae0823ce
Prevent some implicit memsets
2016-12-17 14:40:06 +01:00
twinaphex
96ffd8e025
Revert "Remove HAVE_COMPRESSION ifdefs in file_path.c"
...
This reverts commit 4103b70833
.
2016-12-17 12:55:38 +01:00
Twinaphex
accf137020
Merge pull request #4260 from Themaister/master
...
Vulkan: Fix VSync toggling on Windows.
2016-12-17 12:23:15 +01:00
twinaphex
4103b70833
Remove HAVE_COMPRESSION ifdefs in file_path.c
2016-12-17 12:20:49 +01:00
Hans-Kristian Arntzen
4c99809cde
Vulkan: Fix VSync toggling on Windows.
...
Retarded bug, but haven't actually had access to a Windows machine until
now.
2016-12-17 12:06:43 +01:00
Twinaphex
b48d896c1e
Merge pull request #4249 from joolswills/mali_fbdev_ctx_warning
...
added stdlib.h - fixes warning with free / system
2016-12-15 20:01:18 +01:00
Jools Wills
4153785130
added stdlib.h - fixes warning with free / system
2016-12-15 18:59:20 +00:00
twinaphex
a5d4032d01
(X11) Cleanups
2016-12-15 12:37:14 +01:00
twinaphex
97c9eab9ba
(menu_displaylist.c) Indenting breaks syntax formatting for vim
2016-12-15 08:36:28 +01:00
twinaphex
6807ef007b
(gl_common.c) Cleanups
2016-12-14 19:29:14 +01:00
Logan McNaughton
fc4c7529a1
Fix internal formats used with texture creation
2016-12-14 09:54:55 -08:00
twinaphex
f9b019c83a
Rename loadTexture to gl_load_texture_image
2016-12-14 16:59:16 +01:00
Logan McNaughton
8cd2566128
Simplify glTexImage2D/glTexStorage2D calls
...
Also add support for glTexStorage2DEXT (GLES2)
2016-12-14 07:29:37 -08:00
twinaphex
6a45541f24
(Vulkan) Rename pipeline files
2016-12-12 13:17:20 +01:00
twinaphex
8042c2ac62
Move config_file_userdata.c to libretro-common
2016-12-12 12:36:46 +01:00
twinaphex
a94b15ac86
(Vulkan) Add pipeline snow simple shader
2016-12-12 05:21:38 +01:00
Arzed Five
18392a5e40
(XMB VK snow) Attempt to fix the Vulkan snow menu shader
2016-12-12 03:46:26 +00:00
twinaphex
c0caae124e
Prevent warning
2016-12-11 22:11:03 +01:00
Brad Parker
7c176c3d14
replace simple snow with fancy snow code with different parameters
2016-12-11 13:00:12 -05:00
aliaspider
5cf8391c5a
replace the glsl snow shader with a more lightweight version.
...
(gpu usage is approximately 25% compared to the original.)
2016-12-11 15:52:32 +01:00
barbudreadmon
ad273d6299
Fix for issue #4165
...
vulkan video driver don't rotate the same way as gl video driver without this.
2016-12-11 10:53:02 +01:00
twinaphex
a210e4f6fe
(PS3) Some build fixes
2016-12-10 09:39:07 +01:00
twinaphex
1b29d41661
(render_chain_gl_legacy.c) Cleanups
2016-12-10 07:30:14 +01:00
twinaphex
be459a6281
Cleanups
2016-12-10 07:28:08 +01:00
twinaphex
aa5730dbc9
(render_chain_gl_legacy.c) Cleanups
2016-12-10 07:26:50 +01:00
Brad Parker
1f39426195
only use fancy ribbon on GLES if GL_OES_standard_derivatives extension is detected
2016-12-09 19:32:55 -05:00
Logan McNaughton
1d69baca82
Use glTexStorage2D for FBO textures
2016-12-08 21:14:10 -07:00
Logan McNaughton
b275b2e113
Use RGBA8 for FBO texture internal format on GLES3
...
GLES3 supports GL_RGBA8 as an internal format for textures.
Using the sized format (RGBA8 instead of RGBA) allows more flexibility. In my case I am trying to use glCopyImageSubData and it only works on textures with sized internal formats.
2016-12-07 11:22:24 -07:00
twinaphex
6200c3a1e0
Clean up mutex functions
2016-12-07 08:51:38 +01:00
twinaphex
a12d0d082d
Move input_translate_coord_viewport to video_driver.c
2016-12-07 08:07:11 +01:00
twinaphex
bcfb80072c
(XDK) Remove this - would have to be reimplemented
2016-12-07 07:02:41 +01:00
twinaphex
700365c433
(XDK) Another buildfix
2006-05-14 14:08:32 +02:00
twinaphex
0b0a5b7890
Add HAVE_D3D9 ifdef
2016-12-07 06:59:46 +01:00
twinaphex
de94f77629
(XDK) Buildfixes
2006-05-14 14:02:54 +02:00
twinaphex
2b262c6b32
(render_chain_xdk.cpp) Add d3d.h include
2016-12-07 06:48:04 +01:00
twinaphex
ec676e3e62
Add header include
2016-12-07 06:46:15 +01:00
twinaphex
ccacfcda60
(render_chain_xdk.cpp) Add header include
2016-12-07 06:34:22 +01:00
twinaphex
e0c3626791
Turn this into _XBOX360 ifdef
2016-12-07 06:32:05 +01:00
twinaphex
28fa2a240a
(XDK) Buildfixes
2006-05-14 13:36:54 +02:00
twinaphex
adb39cc844
Turn last param of d3d_set_texture into void *
2016-12-07 06:26:24 +01:00
twinaphex
53ca2f0a53
Add runloop.h include
2016-12-07 06:22:57 +01:00
Brad Parker
32a3026654
enable standard derivatives extension for GLES, adds support for complex XMB ribbon
2016-12-06 21:04:12 -05:00
Brad Parker
12294c96aa
check for high precision floats on GLES, then enable if supported
2016-12-06 21:04:12 -05:00
Brad Parker
f90ab6e189
default to highp precision for GLES
2016-12-06 21:04:12 -05:00
twinaphex
d3db3a7ec4
(Vulkan) Add pipeline simple snow
2016-12-06 00:51:48 +01:00
twinaphex
9f470c53ae
Add 'Simple Snow' shader to GLSL backend
2016-12-06 00:48:36 +01:00
twinaphex
abaa6eda62
Rename VIDEO_SHADER_MENU_SEC to VIDEO_SHADER_MENU_2
2016-12-06 00:34:38 +01:00
twinaphex
94528ed28d
(Drivers) Cleanups/style nits
2016-12-05 02:09:32 +01:00
twinaphex
9e2717e927
Revert "Create drivers_data array and no longer use recording_data"
...
This reverts commit e049b7e1f0
.
2016-12-05 02:02:59 +01:00
twinaphex
e049b7e1f0
Create drivers_data array and no longer use recording_data
2016-12-05 01:56:06 +01:00
twinaphex
bbbcc97f57
Simplify input_push_analog_dpad
2016-12-04 22:20:47 +01:00
twinaphex
85aa88f665
Simplify input_push_analog_dpad
2016-12-04 21:30:50 +01:00
twinaphex
59c317dc1d
Pass pointers to input_push_analog_dpad
2016-12-04 20:20:35 +01:00
Twinaphex
ea5b0bd6c9
Merge pull request #4154 from fr500/master
...
review: make preset loading more robust
2016-12-04 19:40:37 +01:00
radius
ddf10e93f0
remove filestream, use path_file_exists instead
2016-12-04 12:38:46 -05:00
radius
c2acadb979
instead of writing absolute paths, try to resolve absolute paths when loading, if not fallback to relative paths
2016-12-04 02:09:19 -05:00
radius
5e1ed323bd
make shaders paths absolute for now
2016-12-04 01:12:57 -05:00
twinaphex
eea1b3790b
Try to prevent superfluous calls to recording functions
...
if not necessary
2016-12-04 06:31:29 +01:00
twinaphex
2c7af649cf
(Wayland) Cleanups
2016-12-04 03:54:11 +01:00
twinaphex
49c78ea2ff
(Drivers context) Cleanups
2016-12-04 03:51:12 +01:00
twinaphex
cd8fad87fc
(Mali) Cleanups
2016-12-04 03:48:05 +01:00
twinaphex
4b2a906148
(gfx/common) Cleanups
2016-12-04 03:45:46 +01:00
twinaphex
2f171c4b5d
(x11_common.c) Cleanups
2016-12-04 03:39:51 +01:00
Twinaphex
32423b9e4b
Merge pull request #4148 from spec-chum/MSVC
...
Fix silly typo
2016-12-03 19:50:51 +01:00
Spec-Chum
f648b1cfbc
Fix silly typo
2016-12-03 18:43:12 +00:00
Twinaphex
91550b6ba3
Merge pull request #4147 from spec-chum/MSVC
...
Fix MSVC compilation
2016-12-03 19:37:42 +01:00
Spec-Chum
7a6a0ee7af
Fix MSVC compilation
2016-12-03 18:24:49 +00:00
Hans-Kristian Arntzen
eb7870db5a
Vulkan: Check for more cases in vulkan_load_texture().
...
*Sigh*
2016-12-03 18:54:34 +01:00
Hans-Kristian Arntzen
b96f1fa067
Vulkan: Load a dummy texture if needed.
2016-12-03 17:48:48 +01:00
Hans-Kristian Arntzen
53c30cacd5
Correctly check errors if preset cannot be found.
2016-12-03 16:05:04 +01:00
Brad Parker
e39031cbd0
revert rest of unicode changes
2016-12-03 00:15:29 -05:00
Brad Parker
f725b48555
starting to revert unicode changes
2016-12-03 00:15:29 -05:00
Brad Parker
cc7bf6b4fa
more unicode fixes
2016-12-02 21:11:55 -05:00
Brad Parker
5be05b3f61
Merge branch 'msvc'
2016-12-02 14:36:48 -05:00
Brad Parker
3b8a81dd31
make existing hard-coded unicode calls switchable back to ansi
2016-12-02 14:34:29 -05:00
Brad Parker
d891f1c90b
remove explicit unicode def/undefs
2016-12-02 14:34:29 -05:00
Brad Parker
a109df9271
make existing hard-coded unicode calls switchable back to ansi
2016-12-02 14:15:39 -05:00
twinaphex
5547b3fa3e
Rename some variables in wgl_ctx.cpp and cahnge prefix 'g_' to 'win32_'
2016-12-02 19:58:55 +01:00
Brad Parker
f64fb911b8
remove explicit unicode def/undefs
2016-12-02 12:46:32 -05:00
twinaphex
45407f9b52
(shader_glsl.c) Small cleanups
2016-12-02 16:50:08 +01:00
twinaphex
65ba82ca4b
(shader_gl_cg.c) Cleanups
2016-12-02 16:45:58 +01:00
twinaphex
5e10dbf348
Move more runloop.h includes
2016-12-02 16:01:06 +01:00
twinaphex
a911c24ba3
Remove runloop.h header includes
2016-12-02 06:26:41 +01:00
twinaphex
4ee5fcae47
Buildfixes
2016-12-02 01:51:26 +01:00
twinaphex
0284853681
(xbox OG) Use flicker_filter_index
2016-12-02 01:04:46 +01:00
twinaphex
2eeb8912e8
(xdk1_xfonts.c) Add header include
2016-12-02 01:03:14 +01:00
twinaphex
e5072c8e7f
Put this behind #ifndef _XBOX ifdef
2016-12-02 00:59:01 +01:00
Brad Parker
ba54f20626
initial libcaca video driver
2016-12-01 12:13:45 -05:00
Brad Parker
367dea6723
unicode-ify a couple other windows files, start changing function names to W version explicitly
2016-11-29 20:32:24 -05:00
Brad Parker
8adafa9249
use UTF8/16 conversion functions instead of codepage ones
2016-11-29 14:34:36 -05:00
Brad Parker
cd9d09d1f3
use unicode versions of windows functions
2016-11-29 14:34:35 -05:00
twinaphex
d57d672d15
Remove unused variable
2016-11-28 02:25:38 +01:00
twinaphex
cd0bf8f31a
Prefer to use strlcpy instead of strcpy
2016-11-26 17:11:30 +01:00
Lioncash
d34202aea6
vulkan: Move vk_t pointer dereferences after the null check
2016-11-25 23:21:31 -05:00
twinaphex
88b1c3ed4c
Initialize char variables
2016-11-25 18:26:11 +01:00
Alcaro
b0cae5eafb
Merge pull request #4066 from lioncash/endif
...
opendingux: Properly close #ifdef macro
2016-11-25 18:25:25 +01:00
Lioncash
5a5a54ef91
opendingux: Properly close #ifdef macro
2016-11-25 12:23:35 -05:00
Lioncash
918710cb2e
drm_gfx: Fix typo in log message
2016-11-25 12:19:09 -05:00
Lioncash
bc28d46bbb
drm_gfx: Fix memory leak in fail case
2016-11-25 12:17:53 -05:00
radius
8a16ec393c
remove WIN32 ifdefs
2016-11-23 20:37:29 -05:00
radius
8cb5ed0d95
(win) add fixed window size mode
2016-11-23 19:43:50 -05:00
aliaspider
e2f7145112
(WiiU) video driver: set the correct monitor refresh rate on init.
...
- add a performance counter.
2016-11-22 22:47:06 +01:00
twinaphex
b93c759d3c
(gfx/video_driver.c) Simplifications
2016-11-21 13:31:04 +01:00
twinaphex
6c3a5fe634
Buildfix
2016-11-21 13:23:36 +01:00
twinaphex
05d6735720
Simplify video_driver.c code - turn some functions into macros
2016-11-21 13:17:28 +01:00
FIX94
8a62d5ea96
(WiiU) massive changes in the audio driver, this should hopefully work better
...
(WiiU) making sure the menu is properly drawn before swapping buffers, fixes visible menu drawing lines
2016-11-21 03:18:48 +01:00
twinaphex
5fc1b0c88e
Remove obsolete font_driver_has_render_msg
2016-11-20 17:51:16 +01:00
twinaphex
1b00796f64
Turn video_shader_driver_set_parameter to macro
2016-11-20 17:28:51 +01:00
twinaphex
856d6b37be
Turn video_shader_driver_set_coords into macro
2016-11-20 16:48:54 +01:00
twinaphex
ef610312e7
Turn video_shader_driver_set_mvp into macro
2016-11-20 16:45:06 +01:00
twinaphex
dd0a8d1778
Turn video_shader_driver_set_parameters into macro
2016-11-20 16:40:08 +01:00
twinaphex
2deb306967
Turn video_shader_driver_use into macro
2016-11-20 16:31:45 +01:00
twinaphex
c9206d3cb3
video_shader_driver.c - simplifications
2016-11-20 16:21:33 +01:00
twinaphex
69b57bad34
Fix comment
2016-11-20 15:23:43 +01:00
twinaphex
011f1012fb
Cleanup
2016-11-20 15:21:02 +01:00
twinaphex
2dcf79bb4e
Cleanups
2016-11-20 15:14:00 +01:00
twinaphex
1dcef5e429
Turn some video context driver functions into macros
2016-11-20 15:06:28 +01:00
twinaphex
06c86f0852
(video_context_driver.c) Simplifications
2016-11-20 14:52:50 +01:00
twinaphex
e27940e646
Fixes Android 2.4 compatibility
2016-11-19 03:54:21 +01:00
Jean-André Santoni
d4296b016f
Make shader names consistent, step 5
2016-11-19 00:30:56 +01:00
Jean-André Santoni
9c83658368
Make shader names consistent, step 4
2016-11-19 00:29:13 +01:00
Jean-André Santoni
d1bf61076d
Make shader names consistent, step 3
2016-11-19 00:27:54 +01:00
Jean-André Santoni
35d8ec12c5
Make shader names consistent, step 2
2016-11-19 00:23:07 +01:00
Jean-André Santoni
3b2b7580db
Make shader names consistent, step 1
2016-11-19 00:20:52 +01:00
Jean-André Santoni
4e74375356
Replace the modern snow glsl vertex shader
2016-11-19 00:08:59 +01:00
twinaphex
2be4ca1755
Simplify vertex snow shaders
2016-11-18 09:54:19 +01:00
twinaphex
df7ffe1822
Don't use legacy vertex shader for snow for OpenGLES
2016-11-17 21:25:02 +01:00
twinaphex
547cb83652
Add third menu shader program
2016-11-17 21:14:19 +01:00
twinaphex
20c1ef83d6
First stab at getting snow shader to work
2016-11-17 21:08:50 +01:00
twinaphex
a2c69ec254
Added snow shader hooks - doesn't work yet though - shader driver
...
system is very limited in terms of how we can set custom menu
shaders - will require a rethink
2016-11-17 20:54:29 +01:00
twinaphex
23aa03fcdd
Start adding snow shaders
2016-11-17 20:21:20 +01:00
aliaspider
ec8fd655b0
(WiiU) add support for 32bpp mode.
2016-11-16 19:03:01 +01:00
Alcaro
a3e9addd80
Clean this one up a little
2016-11-14 17:23:38 +01:00
aliaspider
e23ead0b17
(WiiU) video driver: check data pointer validity before using it. member
...
functions seem to be called before driver init.
2016-11-14 15:09:53 +01:00
Twinaphex
d978a0aa90
Merge pull request #3991 from aliaspider/master
...
(WiiU) implement viewport/filtering options.
2016-11-13 19:23:32 +01:00
aliaspider
975c442b1a
(WiiU) implement viewport/filtering options.
2016-11-13 18:43:22 +01:00
Twinaphex
d4eba0ab96
Merge pull request #3985 from aliaspider/master
...
(WiiU) update.
2016-11-13 02:22:18 +01:00
Higor Eurípedes
8977968b6d
(shader_glsl.c) Don't allocate/clear more than needed in gl_glsl_set_coords()
2016-11-12 08:23:06 -03:00
twinaphex
8551cc4f9b
Remove if 0 for memcpy
2016-11-11 22:54:13 +01:00
Jean-André Santoni
72161acbd3
Smoother ribbon
2016-11-11 20:04:55 +01:00
Jean-André Santoni
02be74b9c4
Revert "New ribbon noise. Will have to be ported to GLSL modern, Vulkan and Cg"
...
This reverts commit 1fa5b66a23
.
2016-11-11 19:59:27 +01:00
twinaphex
849cc591bc
Revert "Use GL_STREAM_DRAW"
...
This reverts commit df4107b541
.
2016-11-11 18:34:06 +01:00
neville
df4107b541
Use GL_STREAM_DRAW
2016-11-11 00:52:43 +01:00
neville
12804431db
(GLSL) Avoid memsets - good for about a +1fps speedup with simplified
...
ribbon on PowerPC Mac
2016-11-10 18:35:47 +01:00
aliaspider
9ecd8b18e0
(WiiU) set swap interval to 1 when vsync is active.
2016-11-10 15:11:33 +01:00
aliaspider
158fd3404e
(WiiU) enable blending.
2016-11-10 14:24:44 +01:00
aliaspider
6f7f6a363b
(WiiU) only wait for vsync when not missed.
2016-11-10 14:24:20 +01:00
twinaphex
3f29eed928
According to enygmata's findings we can comment this out
2016-11-10 02:09:25 +01:00
Jean-André Santoni
1fa5b66a23
New ribbon noise. Will have to be ported to GLSL modern, Vulkan and Cg
2016-11-09 11:59:43 +01:00
twinaphex
a7585f9988
Move video_frame.h to libretro-common
2016-11-08 15:35:24 +01:00
twinaphex
a0e1413ecc
Remove video_frame.c
2016-11-08 15:30:28 +01:00
twinaphex
279a90a01b
Remove dependencies from gfx/video_frame.c
2016-11-08 15:26:15 +01:00
aliaspider
79192c0ead
(WiiU) video: set swap interval to 0 when nonblocking.
...
add an fps log.
2016-11-08 10:51:07 +01:00
FIX94
4a285fd4e1
(WiiU) fixed random pixels being displayed on game start/close and exit
...
(WiiU) fixed touchscreen sending invalid data which broke the menu toggle
2016-11-07 02:42:12 +01:00
FIX94
11db939b9b
-(WiiU) added in option to disable vsync
2016-11-06 23:29:54 +01:00
aliaspider
0de5019fab
(WiiU) clear textures on init.
2016-11-06 22:13:07 +01:00
Twinaphex
38b3e4042d
Merge pull request #3953 from aliaspider/master
...
(WiiU) working sound.
2016-11-06 19:18:11 +01:00
aliaspider
e5a07a406a
(WIIU) cleanup debug code from the video driver.
2016-11-06 18:59:50 +01:00
twinaphex
aaefa8d59e
(wayland_ctx.c) Prevent implicit memsets
2016-11-06 18:47:50 +01:00
twinaphex
695ff2a299
(sdl_gl_ctx.c) Prevent some implicit memsets
2016-11-06 18:44:55 +01:00
twinaphex
027a194346
(xegl_ctx.c) Style nit
2016-11-06 18:41:59 +01:00
twinaphex
8e941ee77a
(android_ctx.c) Prevent implicit memsets
2016-11-06 18:39:38 +01:00
twinaphex
219880a72b
Prevent implicit memsets for WGL context update_window_title
...
function
2016-11-06 18:36:58 +01:00
twinaphex
64154f6060
win32_common.cpp - turn function static
2016-11-06 18:35:00 +01:00
Alcaro
85cbb53a44
Merge pull request #3952 from Themaister/master
...
Vulkan: Workaround warning from validation layers.
2016-11-06 16:55:44 +01:00
Hans-Kristian Arntzen
0d718a9365
Vulkan: Workaround warning from validation layers.
2016-11-06 16:07:44 +01:00
twinaphex
7e5d2321c5
Create video_driver_reinit
2016-11-06 14:18:29 +01:00
twinaphex
feacc56fff
Prevent crash by checking if msg is NULL before doing strlcpy call
2016-11-06 14:10:25 +01:00
twinaphex
9a87dabca1
One less leaf function inside video_driver_frame
2016-11-06 14:06:47 +01:00
twinaphex
fbcefd02b9
(video_driver.c) Copy message if runloop_ctl returns true
2016-11-06 14:05:00 +01:00
twinaphex
49893c10f5
Prevent early returns for video_frame_pixel_scale
2016-11-06 13:57:27 +01:00
twinaphex
483cd0077c
Move code
2016-11-06 13:42:34 +01:00
twinaphex
777f2df35c
Remove video_driver_unset_active
2016-11-06 13:38:31 +01:00
twinaphex
8acb4cac78
video_driver_frame_filter - make early returns unnecessary
2016-11-06 13:34:48 +01:00
Alcaro
506c14dcc4
No need for inconsistency, let's just not have this at all.
2016-11-06 12:09:08 +01:00
twinaphex
05f1657048
(win32_common.cpp) Cleanup
2016-11-06 11:52:03 +01:00
twinaphex
89ed02cd01
(stb_unicode.c) Style nits
2016-11-06 11:44:21 +01:00
twinaphex
f7378be00f
Fix C89_BUILD warnings
2016-11-06 11:42:35 +01:00
twinaphex
ad5d78b63e
Define this too
2016-11-05 20:50:13 +01:00
twinaphex
37ff8cb66f
Prevent stb_truetype from being included twice for Griffin
2016-11-05 20:45:23 +01:00
twinaphex
0dbf7b21b6
Enable STB unicode font for Android and Win32 too
2016-11-05 19:33:07 +01:00
Francisco José García García
14c9eb47c4
(VITA) Add uft8 support
2016-11-05 16:21:21 +01:00
Twinaphex
92b3a24943
Merge pull request #3940 from aliaspider/master
...
(WIIU) GX2
2016-11-05 15:07:31 +01:00
aliaspider
d3b3c18a6f
(WIIU) GX2 rendering.
2016-11-05 15:05:46 +01:00
Twinaphex
103a22b3db
(CoreText) Preliminary font work/updating
2016-11-04 16:45:09 +01:00
twinaphex
ea46c4a532
Turn video_driver_lock functions static
2016-11-04 14:16:55 +01:00
twinaphex
5214c29295
gfx/video_driver.c - get rid of struct
2016-11-03 23:03:50 +01:00
twinaphex
d4809d310a
Fix for previous bugged Xorg GL drivers
2016-11-03 13:25:44 +01:00
Logan McNaughton
06eca5d530
Define some EGL constants
...
Missing from the Android headers
2016-11-01 07:09:58 -06:00
Logan McNaughton
200cf15044
Add egl debug context option for Android
...
According to https://www.khronos.org/registry/egl/extensions/KHR/EGL_KHR_create_context.txt
"The default value of EGL_CONTEXT_FLAGS_KHR is zero"
So this should keep it at 0 if debug=false, and set it to EGL_CONTEXT_OPENGL_DEBUG_BIT_KHR is debug=true
Fixes https://github.com/libretro/RetroArch/issues/3910
2016-10-31 15:28:45 -06:00
twinaphex
f707d39c54
Let's just get rid of this problematic check instead
2016-10-31 15:30:20 +01:00
twinaphex
de3c1a04db
Simplifications
2016-10-31 15:24:03 +01:00
twinaphex
4ff6d8c108
Add more logging
2016-10-31 15:12:34 +01:00
Twinaphex
92a9f8aec7
Merge pull request #3887 from aliaspider/master
...
(WIIU) cleanup. adapt dynamic symbol loading to be able to use headers
2016-10-29 04:02:54 +02:00
aliaspider
e055b7cbc1
(WIIU) cleanup. adapt dynamic symbol loading to be able to use headers
...
from WUT.
2016-10-29 02:56:40 +01:00
twinaphex
01bbca9c95
Cleanup
2016-10-28 08:23:54 +02:00
Twinaphex
453155ade3
Merge pull request #3877 from aliaspider/master
...
(WIIU) update.
2016-10-28 01:53:43 +02:00
aliaspider
afdaf9afbd
(WIIU) display core frames.
2016-10-27 23:02:40 +01:00
Brad Parker
d1d5584d18
update copyright
2016-10-27 11:47:10 -04:00
twinaphex
00e68ccd0e
Reduce char variables size
2016-10-27 10:16:26 +02:00
aliaspider
a4d745a471
preliminary port to the wiiu platform
2016-10-27 01:34:10 +01:00
twinaphex
2d2628dbbf
Update ST_UINT settings too dynamically
2016-10-26 09:08:02 +02:00
twinaphex
7a09ffe6bc
Values start changing now upon language switch
2016-10-26 09:03:56 +02:00
twinaphex
71a1e4eca7
Cleanups
2016-10-26 08:30:56 +02:00
twinaphex
170febb72c
(NGC/Wii) Buildfix
2016-10-26 06:04:42 +02:00
twinaphex
24e9f8dc09
Simplify CONFIG_BOOL/menu_setting.c
2016-10-26 05:04:24 +02:00
twinaphex
9ddad48744
Create gfx/video_defines.h
2016-10-25 20:18:31 +02:00
Francisco José García García
e685876f15
(VITA) Fix line height
2016-10-25 17:18:09 +02:00
twinaphex
456c4c4d58
Remove video_driver_cached_frame_render wrapper function
2016-10-25 00:42:26 +02:00
aliaspider
ca2b9cb97c
freetype: fix invalid write.
2016-10-24 20:25:21 +01:00
Twinaphex
df646ae32d
Implement get_line_height function for OSX/iOS font renderer
2016-10-24 08:26:55 +02:00
twinaphex
7a18b053c4
C89_BUILD fixes
2016-10-24 05:57:13 +02:00
twinaphex
12ab2d5e7d
(Android) Buildfix
2016-10-24 05:53:16 +02:00
twinaphex
213e357918
Move gl_capabilities to libretro-common
2016-10-24 04:06:05 +02:00
twinaphex
09067e67c3
Create gl_symlinks.h
2016-10-24 04:02:03 +02:00
twinaphex
e512065d7d
Start making gl_capabilities.c more usable by libretro-common
2016-10-24 03:55:14 +02:00
twinaphex
3702fde113
Simplify some input/video functions
2016-10-24 03:05:55 +02:00
aliaspider
c4d6a89067
freetype font renderer: less memory usage and full unicode support.
2016-10-23 18:14:07 +01:00
twinaphex
8cc5b09428
Get rid of slow wrapper function input_driver_state
2016-10-23 04:38:08 +02:00
aliaspider
5d36ccc60e
gl_raster_font: fix line height when drawing multiple lines.
2016-10-22 11:42:36 +01:00
twinaphex
ee8176772d
Move state tracker nput code to input/input_driver.c
2016-10-21 22:19:35 +02:00
aliaspider
1a60b77749
remove unused variable.
2016-10-21 20:57:37 +01:00
aliaspider
150a0138d5
freetype.c: fix some memory corruption issues.
2016-10-21 20:55:36 +01:00
twinaphex
b95ec0d28e
Make sure this string is null-terminated
2016-10-21 20:14:51 +02:00
twinaphex
35ba7fb2c4
Prevent implicit and superfluous memset
2016-10-21 20:04:56 +02:00
twinaphex
0ef96ddbbc
Try to avoid memset in font_renderer_update_atlas
2016-10-21 19:25:37 +02:00
Twinaphex
6a404b0c42
Prevent warning with CoreText font driver
2016-10-21 19:15:57 +02:00
twinaphex
aca8970e79
CXX_BUILD fixes
2016-10-21 19:14:48 +02:00
twinaphex
56d427df65
C89_BUILD fixes
2016-10-21 19:12:06 +02:00
Twinaphex
7050ecf287
Remove unneeded variables
2016-10-21 19:07:28 +02:00
aliaspider
28c2dcf253
(font driver) update freetype with unicode support (up to U+FFFF) using
...
a dynamic atlas.
2016-10-21 17:31:53 +01:00
aliaspider
6f81a19f60
(GL) update font driver to support a dynamic atlas.
2016-10-21 17:28:44 +01:00
aliaspider
e3bfb617e4
(font driver) add a .dirty flag to struct font_atlas.
2016-10-21 17:25:21 +01:00
twinaphex
f3ad815dd9
Prevent implicit memsets
2016-10-21 06:15:20 +02:00
twinaphex
546845c577
Prevent implicit memsets
2016-10-21 06:10:58 +02:00
twinaphex
c3ab8800f4
Prevent implicit memsets
2016-10-21 05:57:40 +02:00
Logan McNaughton
1717e8c938
Fix for zarch menu
2016-10-20 20:29:46 -06:00
twinaphex
7ebac14e47
(D3D) Cleanups
2016-10-20 05:36:02 +02:00
twinaphex
41212b40c5
Remove DONT_HAVE_STATE_TRACKER
2016-10-20 05:11:35 +02:00
twinaphex
648877757f
Revert "(D3D) Cleanups"
...
This reverts commit e50f8b061d
.
2016-10-20 05:07:03 +02:00
twinaphex
e50f8b061d
(D3D) Cleanups
2016-10-20 05:05:37 +02:00
twinaphex
2cb7cc01bf
(D3D) Cleanups
2016-10-20 05:00:20 +02:00
twinaphex
e71f8baa5f
d3d_overlay_render - cleanup
2016-10-20 04:51:48 +02:00
twinaphex
2b576ebc1c
Get rid of _XBOX defines
2016-10-20 04:37:13 +02:00
twinaphex
275814e291
Replace font_driver_free(NULL) calls with font_driver_free_osd()
...
inside video drivers
2016-10-20 00:39:33 +02:00
twinaphex
86eed6706e
Prevent some null pointer dereferences
2016-10-20 00:30:34 +02:00
twinaphex
310de4698c
Prevent some potential NULL pointer dereferences
2016-10-19 18:06:21 +02:00
Higor Eurípedes
46fe9fa29e
Add multiple font support to material and xmb
2016-10-18 20:36:54 -03:00
Higor Eurípedes
6f2cb9742d
(font) Create font_data_t and update font_driver_init_first()
2016-10-18 20:07:00 -03:00
twinaphex
d1b90a8b6d
Get rid of unused variable
2016-10-18 04:11:31 +02:00
twinaphex
778e742470
Make video_driver_is_threaded a public function
2016-10-18 04:05:51 +02:00
twinaphex
911acb8ead
Create video_driver_is_threaded
2016-10-18 04:04:40 +02:00
Francisco José García García
81e7a60759
(VITA) Try to use NEON
2016-10-17 18:39:53 +02:00
Twinaphex
dd2c3ab1ee
Merge pull request #3815 from Brunnis/master
...
Implement support for video_max_swapchain_images setting
2016-10-17 16:21:53 +02:00
Mikael Brunnhede
2cb9c912f4
Implement support for video_max_swapchain_images setting.
2016-10-17 11:23:34 +02:00
Francisco José García García
8e631df6c4
(VITA) Temporal fix for clear screen
2016-10-16 17:45:06 +02:00
twinaphex
f75a604ae8
Fix C89_BUILD
2016-10-16 01:51:07 +02:00
Mikael Brunnhede
80dc3bec09
if 0 missed Vblank log printout code, since it may cause performance degradation.
2016-10-14 12:45:00 +02:00
Mikael Brunnhede
ca5e20bcaf
Remove missed Vblank log printout, since it may cause performance degradation.
2016-10-14 08:59:07 +02: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
c78f697c16
(3DS) wrap texture coordinate swizzeling in a function.
2016-10-10 22:22:08 +01:00
Twinaphex
6865689dad
Merge pull request #3770 from t-paul/xdg-screensaver-fix
...
Fix handling of enable flag for xdg-screensaver.
2016-10-10 19:54:10 +02:00
Francisco José García García
bcfa865569
(VITA) Wait for rendering before free overlays
2016-10-10 19:35:14 +02:00
Torsten Paul
d4a90f267d
Fix handling of enable flag for xdg-screensaver.
2016-10-10 19:01:41 +02:00
twinaphex
940fbcd4fa
(D3D W32 fonts) Fix fonts
2016-10-09 16:58:51 +02:00
twinaphex
3b1cf79c63
(X contexts) Cleanups
2016-10-08 14:37:26 +02:00
twinaphex
f698e0cfac
Add GL_CAPS_GLES3_SUPPORTED
2016-10-08 14:11:12 +02:00
twinaphex
1f99df6740
(GLX) Start adding hooks for MSAA
2016-10-08 14:00:06 +02:00
twinaphex
601aba72ea
Start adding GLX_SAMPLE_BUFFERS/GLX_SAMPLES to X context
2016-10-08 10:05:58 +02:00
twinaphex
d71a688685
(D3D9/Cg) Cleanups
2016-10-08 08:39:44 +02:00
aliaspider
4729c2be76
(3DS) font renderer: prevent calling DrawArray() with count==0.
2016-10-08 04:24:32 +01:00
aliaspider
4edbb48f34
(3DS) missing return value.
2016-10-08 01:17:48 +01:00
Twinaphex
49d520c5d5
Merge pull request #3736 from aliaspider/master
...
(3DS) more fixes.
2016-10-04 21:50:15 +02:00
aliaspider
d87adcd226
(3DS) fix texture combiner stages in 32bit mode.
2016-10-04 20:38:00 +01:00
Brad Parker
1f27773fe0
C89_BUILD fix
2016-10-04 12:15:46 -04: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
f66e447139
Get rid of path_get_content
2016-10-03 15:43:03 +02:00
twinaphex
91b1889873
(X11) Mouse input is no longer registered when we are on the
...
titlebar of the window or we are no longer inside the window
2016-10-03 06:50:00 +02:00
twinaphex
5b6f1642f0
(D3D) Buildfix
2016-10-03 05:13:39 +02:00
twinaphex
5d77cd431c
(d3d_common.cpp) Cleanups
2016-10-03 04:19:19 +02:00
twinaphex
23ed63f33a
move device_aspect variable
2016-10-02 20:37:14 +02:00
twinaphex
7bd38d93f0
(X11) Cleanup x11_alive
2016-10-01 12:12:58 +02:00
twinaphex
bf035b634b
Updates
2016-10-01 09:49:15 +02:00
twinaphex
0f26cade79
Revert "Update GX/WIn32 builds"
...
This reverts commit 28a96fbb05
.
2016-10-01 08:17:07 +02:00
twinaphex
4fe8cf3811
Revert "(Win32) Buildfix"
...
This reverts commit b73d183c44
.
2016-10-01 08:13:41 +02:00
twinaphex
a777f52423
(video_driver.c) Simplify
2016-10-01 04:28:18 +02:00
twinaphex
35c52b1602
Move frame_cache variables outside of video_driver_state struct
2016-10-01 04:24:57 +02:00
twinaphex
ae607a29b7
Take variables out of video_state
2016-10-01 04:21:33 +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
twinaphex
d53d1faad5
Use string_is_empty
2016-09-30 09:00:04 +02:00
twinaphex
91170722e6
Try to silence Coverity warning
2016-09-30 08:58:57 +02:00
twinaphex
b73d183c44
(Win32) Buildfix
2016-09-30 08:19:36 +02:00
twinaphex
28a96fbb05
Update GX/WIn32 builds
2016-09-30 06:39:47 +02:00
Twinaphex
03215a831f
Merge pull request #3690 from aliaspider/master
...
(3DS) add experimental font and menu_display drivers.
2016-09-29 21:33:08 +02:00
aliaspider
afd5e85a31
(3DS) add experimental font and menu_display drivers.
2016-09-29 20:14:12 +01:00
Brad Parker
b83d2529e2
break early if we run past the message length
2016-09-29 12:25:20 -04:00
twinaphex
32220c042b
(video_driver.c) Style nit
2016-09-29 10:27:49 +02:00
twinaphex
be81edad84
Create path_get
2016-09-29 08:23:41 +02:00
Francisco José García García
f6a7aa95e7
(VITA) Fix crash in gambatte
2016-09-29 00:20:14 +02:00
aliaspider
5db13323f6
(3DS) create gfx/common/ctr_common.h.
...
remove depthbuffer.
use vramalloc.
2016-09-28 20:59:54 +01:00
Twinaphex
bcc864d48f
Merge pull request #3681 from loganmc10/patch-3
...
Yet another fix for glUniformMatrix4fv
2016-09-28 19:56:02 +02: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
Logan McNaughton
d360bf17d5
Yet another fix for glUniformMatrix4fv
...
This should fix fullscreen toggling/context resets.
2016-09-28 08:18:32 -06:00
aliaspider
4ebe84d89c
(3DS) use Makefile.commmon for non griffin builds
2016-09-28 15:01:46 +01:00
Twinaphex
b7ab9a1581
Merge pull request #3675 from frangarcj/master
...
(Vita) Add get framebuffer
2016-09-28 00:53:40 +02:00
Logan McNaughton
01a03abdc5
Fix glUniformMatrix4fv call
2016-09-27 16:03:54 -06:00
Francisco José García García
8a6625753d
(Vita) Add get framebuffer
2016-09-27 23:39:24 +02:00
Logan McNaughton
0d3e9875b1
Only call glUniformMatrix4fv if needed
2016-09-27 08:56:36 -06:00
Twinaphex
7672288fcd
Revert "Only call glUniformMatrix4fv if needed"
2016-09-27 02:59:58 +02:00
Logan McNaughton
fa48e95946
Only call glUniformMatrix4fv if needed
2016-09-26 14:24:27 -06:00
twinaphex
b3ec735e75
Silence some more scan-build warnings
2016-09-25 15:25:20 +02:00
Logan McNaughton
4f002f2316
Specify EGL_DEPTH_SIZE for emscripten
...
Some drivers require it to provide a depth buffer.
2016-09-24 19:53:45 -06:00
twinaphex
764a4319a0
(shader_glsl.c) Continue with iteration if pass is NULL
2016-09-24 17:04:49 +02:00
twinaphex
b5416e4041
Change false to 0
2016-09-24 17:04:21 +02:00
twinaphex
5b5ad03ec3
Attempt to fix Coverity warnings
2016-09-24 17:04:01 +02:00
twinaphex
83be6daa93
Try to prevent input driver from being set with Emscripten EGL context driver if HAVE_SDL2 is defined
2016-09-24 05:57:02 +02:00
radius
f58f7a5923
Revert "Make emscripten_egl default context for emscripten"
...
fixes gamepad support. It seems it only works when we use the SDL2 video context
This reverts commit 1177edf825
.
2016-09-23 22:38:37 -05:00
Francisco José García García
e654c39944
(VITA) Fix utf8
2016-09-23 21:27:06 +02:00
twinaphex
2d11ea71cc
Move runloop_fullpath to paths.c
2016-09-23 03:39:44 +02:00
Logan McNaughton
1177edf825
Make emscripten_egl default context for emscripten
2016-09-22 15:22:08 -06:00
twinaphex
6d702f3538
Remove unused buf_fps variable
2016-09-22 21:51:22 +02:00
twinaphex
0d49ed5877
drm_ctx.c - remove dead assignment
2016-09-22 20:56:42 +02:00
twinaphex
8d9eccfd65
(xvideo.c) Prevent null pointer dereferences for geom variable
2016-09-22 20:54:06 +02:00
Twinaphex
a69b958a1f
Merge pull request #3623 from frangarcj/master
...
(VITA) New font renderer with stb by default
2016-09-20 13:22:59 +02:00
frangarcj
608d13c321
(VITA) Add some default fonts
2016-09-20 10:58:14 +02:00
hizzlekizzle
9fe3bd9b62
add 9:16 AR and fix typo
...
9:16 is useful for people with widescreen monitors running in portrait mode. I replaced 4:4 with it because 4:4 was redundant with 1:1 anyway, and I fixed the double-close-parentheses typo in the 1:1 PAR's DAR string.
2016-09-19 08:31:08 -05:00
frangarcj
bc90dd2927
(VITA) Another UTF8 Fix
2016-09-19 14:17:19 +02:00
frangarcj
ab0dad99fc
(VITA) Remove old font driver
2016-09-19 14:15:13 +02:00
frangarcj
d46a40e3c4
(VITA) USE STB FONT
2016-09-19 14:14:11 +02:00
twinaphex
88c2ec5819
Prevent this error (caught with SANITIZER=undefined)
2016-09-18 22:39:18 +02:00
Higor Eurípedes
c08650f1f9
Remove trailing whitespace
2016-09-17 21:20:27 -03:00
Higor Eurípedes
d4305d65d9
(gl) Fix gl_check_error()
...
gl_check_error() was leaking memory and the error message was never
returned to the calling context.
2016-09-17 21:19:57 -03:00
twinaphex
12949420b6
(Windows) Buildfix
2016-09-17 15:07:45 +02:00
twinaphex
6002fd9f2a
(shader_vulkan.cpp) Nits
2016-09-16 17:50:57 +02:00
twinaphex
99aae8537b
Use string_is_equal/stdstring.h
2016-09-16 17:33:18 +02:00
twinaphex
cb17c0f493
Style nits
2016-09-16 13:31:18 +02:00
Bastien Nocera
5afdd35e54
x11: Only call out to xdg-screensaver when D-Bus failed
2016-09-16 13:03:48 +02:00
Bastien Nocera
a061b4a801
x11: Implement xdg-screensaver uninhibition
2016-09-16 13:03:37 +02:00
Bastien Nocera
e563bd5512
x11: Flatten D-Bus (un)inhibit functions
...
Instead of nesting, try to exit as soon as possible in case of errors.
Also make sure to tell the caller whether the call succeeded and a
fallback should be attempted.
2016-09-16 12:59:16 +02:00
Bastien Nocera
297c9a8613
x11: Reset dbus_connection global variable on exit
...
To ensure that the state of the variable is correct. This won't be
needed if X11 is never reinitialised.
2016-09-16 12:34:15 +02:00
Bastien Nocera
6ab7fab326
x11: Lower the severity of D-Bus not being accessible
...
As there is a fallback through xdg-screensaver, no need to make this any
more important than a log message.
2016-09-16 12:32:22 +02:00
Bastien Nocera
65fa874c3a
x11: Rename function fetching the D-Bus connection
...
You'd expect a "get" function to return the variable in question. This
doesn't, and simply sets a global variable.
2016-09-16 12:32:15 +02:00
Alcaro
f6b7fc17f6
Those checks aren't needed.
2016-09-16 00:45:00 +02:00
Alcaro
9485263555
Fix implicit strstr
2016-09-15 21:16:25 +02:00
Alcaro
1964491e5f
Fix Linux-MinGW build
2016-09-15 20:54:14 +02:00
twinaphex
7d5b9f172a
Cleanups
2016-09-14 22:46:29 +02:00
twinaphex
1b46f3c344
Nits
2016-09-14 15:58:53 +02:00
twinaphex
f87dbe7946
Style nits/cleanups
2016-09-14 15:58:03 +02:00
twinaphex
ca673b4fc8
C89_BUILD fixes etc.
2016-09-14 15:56:14 +02:00
Twinaphex
09ccef1684
Merge pull request #3547 from nguillaumin/wip-screensaver-dbus
...
WIP: Fixes #2026 Screensaver suspend on Linux via Dbus
2016-09-14 15:48:43 +02:00
twinaphex
1b9a067bcc
Move code to apple_compat.h
2016-09-14 14:10:39 +02:00
twinaphex
d2dbe63b2b
Cleanup
2016-09-12 18:37:32 +02:00
twinaphex
d4be224ea6
Header include cleanups
2016-09-12 18:34:57 +02:00
twinaphex
b4d75fbafd
Cleanups
2016-09-12 17:29:01 +02:00
twinaphex
93d98069b2
Cleanups
2016-09-12 16:45:26 +02:00
twinaphex
1fea80c630
Another header cleanup
2016-09-11 18:49:38 +02:00
twinaphex
d3f7bf8527
Move video_state_python to gfx/drivers_tracker
2016-09-11 17:59:10 +02:00
twinaphex
22022f8133
Cleanup
2016-09-11 17:55:46 +02:00
twinaphex
e427a2d2fa
Move enums to gfx/video_thread_wrapper.c
2016-09-11 17:42:53 +02:00
twinaphex
88c7976104
Rename CMD_NONE to CMD_VIDEO_NONE
2016-09-11 17:40:26 +02:00
twinaphex
4b63af59a2
video_thread_wrapper.h - get rid of some ifdefs
2016-09-11 17:24:22 +02:00
twinaphex
d4797781ea
(GX) Buildfix
2016-09-11 16:44:29 +02:00
twinaphex
3cf24afc44
(CTR) Buildfix
2016-09-11 16:43:56 +02:00
twinaphex
6d7602d47f
Fix C89_BUILD
2016-09-11 16:43:28 +02:00
twinaphex
7290c7e3c2
(Emscripten) Buildfix
2016-09-11 16:39:13 +02:00
Alcaro
0720d5ad77
Kill warning
2016-09-11 16:38:36 +02:00
twinaphex
51b0e61712
Cleanups
2016-09-11 16:24:02 +02:00
twinaphex
7e83162c60
Remove general.h
2016-09-11 15:10:58 +02:00
twinaphex
606e37fcbd
Cleanups
2016-09-11 15:07:07 +02:00
twinaphex
7ac1ed7e10
Cleanups
2016-09-11 14:54:34 +02:00
twinaphex
202e3e796e
Get rid of more general.h includes
2016-09-11 14:46:53 +02:00
nguillaumin
c69c488fdf
Address code review comments
2016-09-09 18:08:54 -07:00
twinaphex
164d3b034c
Get rid of OSX_PPC
2016-09-09 15:56:56 +02:00
Nicolas Guillaumin
05df632bd8
WIP: Fixes #2026 Screensaver suspend on Linux via Dbus
...
One some systems (tested with Gnome 3 on Arch Linux) the current method
of using `xdg-screensaver` to suspend the screensaver does not work.
Instead, using DBus to issue an `Inhibit` request is recommended.
The request returns a cookie that needs to be re-used to un-inhibit the
screensaver later. Additionally if the DBus connection is closed the
current inhibition is discarded. Thus, the DBus connection needs to stay
connected for the duration of the screenshot inhibition.
The code is heavily inspired from the [SDL 2.x
code](http://hg.libsdl.org/SDL/file/default/src/core/linux/SDL_dbus.c#l172 ).
I didn't call the SDL 2 code though since this it to fix the issue with
the GL driver, and I assume one would want to have screensaver inhibited
even when SDL 2 is not available (but GL is).
I've set "WIP" because:
* I haven't done C in a long time so my code is probably not great
* There's a dependency on DBus which I don't know is acceptable or
not
* I've put my code where I could to check it works, but `x11_common` may
not be the best place
* The code need and "init" and "deinit" kind of method as it needs to
initialise the DBus connection, and on deinit close it properly. I've
used `x11_connect` and `x11_window_destroy` but they don't sound like
the best choices.
* I'm a bit unclear as to what happens when "suspend screensaver" is
ticked on/off in the menu. This doesn't seem to call
`x11_suspend_screensaver` everytime, so I'm not sure if there's a hook
somewhere (as disabling screensaver suspend in the menu should cause a
DBus unhinibit request to be sent).
* Should I just call the SDL 2.x code (meaning that the GL driver would
depend on SDL 2.x at runtime)?
So, first of all are you ok with the approach, and if yes I'd gladly get
feedback about the code, how to architecture it and the best place to
put it.
Thanks!
2016-09-08 15:23:41 -07:00
twinaphex
db6171676a
Use retro_assert everywhere
2016-09-08 11:59:44 +02:00
twinaphex
b43f786f89
Cleanups
2016-09-08 08:15:40 +02:00
twinaphex
8a9ae155a2
Cleanups
2016-09-08 08:10:31 +02:00
twinaphex
7a36ea7d1c
Silence warnings
2016-09-08 06:11:02 +02:00
Twinaphex
ac2676b25f
(glcapabilies.h) Add HAVE_CONFIG_H ifdef
2016-09-08 05:51:20 +02:00
Francisco José García García
04b5dbdb5c
(VITA) Silence texture load
2016-09-07 23:53:20 +02:00
Alcaro
37a907eb51
These aren't needed.
2016-09-07 14:40:10 +02:00
Alcaro
3f105fe71f
Perform evil experiments (run this driver in a completely different program)
2016-09-07 14:30:27 +02:00
twinaphex
cc6fe3159f
Some comments
2016-09-07 14:12:40 +02:00
twinaphex
ab325e54a1
gfx/video_driver.h - add comments
2016-09-07 13:55:46 +02:00
twinaphex
e880a3b248
vfilter is for Wii/Gekko only
2016-09-07 13:54:01 +02:00
Alcaro
e243614db8
Create half-broken XShm driver, to perform evil experiments on
2016-09-07 13:39:00 +02:00
Brad Parker
81090720c8
context must be current, not released, to use GL
2016-09-06 21:47:08 -04:00
mudlord
b1833c2d52
account for if people have core id files but not the actual cores.
2016-09-07 09:44:07 +10:00
twinaphex
245a65a0d7
Change this
2016-09-07 01:12:35 +02:00
twinaphex
642e46779b
Cleanups
2016-09-06 23:59:43 +02:00
twinaphex
ffcf96dd24
Add config.h includes
2016-09-06 23:47:05 +02:00
twinaphex
e6a114a95a
Create gfx/video_frame.c
2016-09-06 23:41:09 +02:00
twinaphex
50bd1c38be
Header cleanup
2016-09-06 23:34:55 +02:00
twinaphex
226460530c
Header include cleanup
2016-09-06 23:34:27 +02:00
twinaphex
671063aec2
Silence warnings
2016-09-06 23:17:16 +02:00
dankcushions
cdc4bff3fb
Fix build on Raspberry Pi (3)
2016-09-06 21:54:53 +01:00
mudlord
f3a0d8518e
mudlord is a fucking clot/hack and needs to be shot.
...
Should have tested on other drivers than Nvidia Windows.
2016-09-07 05:56:07 +10:00
twinaphex
6f47289ba6
Start adding HAVE_CONFIG_H to gfx/drivers_context
2016-09-06 19:39:02 +02:00
Alcaro
23dc89168a
are those HAVE flags not set up there or something?
2016-09-06 19:21:33 +02:00
twinaphex
c3ba0ba4e9
Revert "Refactor core_system_info_* functions"
...
This reverts commit f637805c9e
.
2016-09-06 08:38:26 +02:00
Brad Miller
94be5a8651
Update modern_pipeline_xmb_ribbon.glsl.vert.h
...
nit
2016-09-06 15:58:37 +10:00
mudlord
d77759cc1b
change
2016-09-06 15:45:57 +10:00
mudlord
73a1cd4631
greatly optimized modern vertex shader for ribbon.
2016-09-06 15:42:16 +10:00
twinaphex
f637805c9e
Refactor core_system_info_* functions
2016-09-06 07:08:38 +02:00
twinaphex
82d82110ae
Merge system.h with core.h
2016-09-06 06:11:54 +02:00
twinaphex
3e9df72123
Try to fix ARM build
2016-09-06 03:14:20 +02:00
twinaphex
075aea2289
Header include cleanups
2016-09-06 00:56:00 +02:00
twinaphex
266a06ffb1
Revert "Expose GPU Hard Sync for GLES 3 too"
...
This reverts commit a74813c9ea
.
2016-09-05 21:43:02 +02:00
twinaphex
bd45d7a707
gl_capabilities.c - cleanups
2016-09-05 21:25:38 +02:00
twinaphex
67c2965612
OpenGL ES should not reach this code
2016-09-05 21:22:38 +02:00
twinaphex
a74813c9ea
Expose GPU Hard Sync for GLES 3 too
2016-09-05 21:16:30 +02:00
twinaphex
280aa831b5
Remove verbosity.h header dependency on gl_capabilities.c
2016-09-05 21:12:44 +02:00
twinaphex
43edd76736
Add headers
2016-09-05 21:09:21 +02:00
twinaphex
86d2a36407
(Win32) Buildfixes
2016-09-05 18:43:32 +02:00
twinaphex
acd4dd527b
Header include cleanups
2016-09-05 18:31:32 +02:00
twinaphex
f0702ac72c
(PS3) Buildfix
2016-09-05 07:59:26 +02:00
twinaphex
f30deb9cd0
Header cleanup
2016-09-05 07:47:11 +02:00
twinaphex
e6ef3662ac
Header include changes
2016-09-05 07:44:17 +02:00
twinaphex
76732249b6
Cleanups
2016-09-05 07:30:44 +02:00
Twinaphex
ef43a573a3
Silence warnings
2016-09-05 07:28:55 +02:00
twinaphex
1edaa20029
header cleanups for gl_capabilities.c
2016-09-05 07:26:32 +02:00
twinaphex
1bed2dc3c4
Buildfix
2016-09-05 07:22:44 +02:00
twinaphex
1a241fa9ce
Rewrite this
2016-09-05 07:22:44 +02:00
twinaphex
7af3b79416
Create gl_capabilities.c/gl_capabilities.h
2016-09-05 07:04:56 +02:00
Brad Parker
0eb1777a1f
remove extra semicolons
2016-09-03 10:30:21 -04:00
twinaphex
064f74825a
CXX_BUILD buildfix
2016-09-01 18:26:01 +02:00
twinaphex
467451fccc
Cleanup more header includes
2016-09-01 18:18:55 +02:00
twinaphex
ddb9cff2af
More header include cleanups
2016-09-01 18:10:59 +02:00
twinaphex
e106fd4374
Get rid of more general.h includes
2016-09-01 18:01:41 +02:00
twinaphex
b7fd9bef60
Add configuration.h
2016-09-01 17:34:24 +02:00
twinaphex
3a72479699
Add retro_miscellaneous.h to gfx/video_filter.c
2016-09-01 17:08:13 +02:00
twinaphex
aff2812fde
Try to get rid of double definition of type
2016-09-01 06:08:06 +02:00
twinaphex
815c0eb3ee
Remove header includes
2016-09-01 05:46:10 +02:00
twinaphex
562c1e996c
Get rid of more header includes
2016-09-01 05:38:26 +02:00
twinaphex
a608f2350a
(Freetype) Add another fallback font
2016-09-01 02:09:15 +02:00
twinaphex
47eef317bb
(video filters) Update exp_generic_rgb565
2016-09-01 02:03:43 +02:00
Alcaro
d1b7cdef57
Kill some signed integer overflow warnings
2016-08-31 23:57:06 +02:00
twinaphex
12cfb3bfce
Rewrite gfx_ctx_x_make_current a bit and turn it into a
...
static function
2016-08-31 15:24:56 +02:00
twinaphex
aa15fb3f91
Update remaining video context drivers
2016-08-31 15:02:07 +02:00
Brad Parker
2afd72252c
make GLX context current when creating font textures with threaded video
2016-08-31 01:33:35 -04:00
Logan McNaughton
78337bae4b
EGL_DEPTH_SIZE should be set
...
Same reasoning as Android.
2016-08-30 15:32:25 -06:00
Logan McNaughton
1beb9e9ffd
EGL_DEPTH_SIZE should be set
...
EGL_DEPTH_SIZE needs to be set in order to have an FBO with a depth buffer. Some drivers aren't as strict about this but many are.
2016-08-30 15:29:17 -06:00
twinaphex
d5f14a6caa
Fix C89_BUILD warnings
2016-08-30 05:03:46 +02:00
twinaphex
ba7d638b99
Use string_is_equal
2016-08-29 18:46:41 +02:00
Brad Parker
c3b164de88
fix utf8 strings being cut off in xmb/glui when multibyte chars are present, rgui not affected
2016-08-29 12:33:28 -04:00
Brad Parker
96c96dca3b
fix rendering of utf8 glyphs
2016-08-29 11:02:28 -04:00
Brad Parker
13ad3a4fce
fix glyph rendering of long messagebox strings
2016-08-29 02:25:42 -04:00
twinaphex
24075fd52f
(osmesa_ctx.c) Cleanups
2016-08-28 18:26:53 +02:00
twinaphex
5f4ee2567c
(sdl_gl_ctx.c) Cleanup
2016-08-28 18:20:31 +02:00
Alcaro
6cb656bcc9
Doublekill warning
2016-08-28 18:06:57 +02:00
Alcaro
c4d4c51a5f
Kill warning
2016-08-28 17:59:43 +02:00
Twinaphex
754cc1feed
Merge pull request #3448 from bparker06/hidden_files
...
add configuration option to toggle showing hidden files (default on)
2016-08-28 04:05:28 +02:00
Brad Parker
cf4bf344a9
add configuration option to toggle showing hidden files (default on), fixes issue #2769
2016-08-27 21:48:55 -04:00
Twinaphex
b3dc1afcbe
Merge pull request #3445 from orbea/configure
...
Align ./configure --help options.
2016-08-28 02:59:59 +02:00
hizzlekizzle
20a27822f3
make 1:1 PAR option more descriptive
...
should help avoid confusion about what it actually does.
2016-08-27 19:25:36 -05:00
orbea
698579c2b5
Shorten HAVE_VULKAN_KHR_DISPLAY
2016-08-27 16:48:13 -07:00
twinaphex
0f5118d895
feedback_pass - change to 0
2016-08-27 16:02:21 +02:00
Alcaro
cad2eee9e0
Fix some PS3 derps
2016-08-27 13:54:02 +02:00
Twinaphex
89d0798e68
Merge pull request #3423 from bparker06/utf8
...
Initial UTF-8 support for rgui/xmb/glui. Enables first 256 codepoints.
2016-08-26 17:27:20 +02:00
twinaphex
82fecdbc70
(Vita) silence some warnings
2016-08-24 14:04:22 +02:00
Brad Parker
30e99927d2
undo previous new files and use existing encoding_utf header
2016-08-23 19:16:18 -04:00
Brad Parker
d063cb9283
do not make UTF-8 the default, simplify/centralize the common string functions, make sure rgui/materialui use utf8 strlen when available
2016-08-23 19:00:53 -04:00
Brad Parker
35e67e69e5
Initial utf8 support for rgui/xmb. Only supports first 256 codepoints due to current freetype atlas limitation
2016-08-23 14:49:44 -04:00
Francisco José García García
4221374072
(VITA) Add XMB support
2016-08-23 02:49:53 +02:00
twinaphex
035d006d62
Set attrib to EGL_OPENGL_ES3_BIT_KRH if g_es3 is true
2016-08-23 00:09:33 +02:00
Brad Parker
cc582db6fb
recursively scan directories for database content, fixes issue #3139
2016-08-21 00:59:41 -04:00
Francisco José García García
70f16cddda
(VITA) Fix setting aspect ratio
2016-08-15 02:39:34 +02:00
twinaphex
b622e60e45
Add D3D9 headers
2016-08-12 01:17:54 +02:00
twinaphex
4791174ea3
(MSVC 2003) Fixes
2006-01-17 06:11:55 +01:00
twinaphex
d4eca3aeb7
Move glext.h header to gfx/include/GL/glext.h
2016-08-11 23:34:05 +02:00
twinaphex
9777e9d9ef
(MSVC 2003) Add MSVC 2003 compatibility
2006-01-17 04:36:32 +01:00
Twinaphex
50afc567b3
Prevent unused variable
2016-08-10 07:20:49 +02:00
twinaphex
04e7e51845
Move log message
2016-08-08 18:44:12 +02:00
twinaphex
8da3054968
Change this to HAVE_OPENGLES instead of HAVE_OPENGLES2
2016-08-08 18:40:58 +02:00
twinaphex
becf96837e
Allow for GL_DEBUG on GLES3/GLES 3.1/GLES 3.2
2016-08-08 18:37:46 +02:00
Logan McNaughton
2daf102111
Fix GLES3 compling
2016-08-07 22:33:07 -06:00
Francisco José García García
cddef9827d
(VITA) Fix rgb32
2016-08-08 01:51:23 +02:00
Logan McNaughton
47227c829b
GLES3 fixes
2016-08-06 21:45:35 -06:00
twinaphex
fb9a2eea95
Remove one useless HAVE_OPENGLES2 ifdef, and remove some wrong
...
defines
2016-08-07 04:35:38 +02:00
Hans-Kristian Arntzen
96818a297c
Vulkan: Fix validation errors with OriginalHistory.
...
For some reason, OriginalHistory blit happened inside a render pass.
Also add more TRANSFER_SRC_BIT caps to images as they might have to be
copied to history.
2016-08-07 01:09:15 +02:00
twinaphex
0164ce3725
Move comments
2016-08-06 17:31:01 +02:00
twinaphex
ef74742078
Change GL_CAPS_FBO
2016-08-06 17:28:15 +02:00
twinaphex
083bc4eed3
Cut down on some HAVE_FBO ifdefs
2016-08-06 03:18:19 +02:00
Higor Eurípedes
529031270b
(osmesa) Cleanup and minor fixes
2016-08-05 20:54:35 -03:00
twinaphex
444d957978
(PSGL) Fix 32bit color
2016-08-03 17:07:38 +02:00
twinaphex
b8de32587b
(GL) Fix PSGL build
2016-08-03 16:47:01 +02:00
twinaphex
afce6fccc5
(GL) Fix statement is unreachable warnign
2016-08-03 16:28:52 +02:00
Francisco José García García
d514963a95
(VITA) Show fps
2016-08-03 02:02:44 +02:00
twinaphex
b7b5ffe28c
Above case should handle this already
2016-08-03 00:24:03 +02:00
twinaphex
02f0b4a428
GL_CAPS_BGRA8888 - Query for Apple extension GL_APPLE_texture_format_BGRA8888 too
2016-08-03 00:21:48 +02:00
twinaphex
a517b39cfb
Implement CAPS_PACKED_DEPTH_STENCIL for non-GLES too
2016-08-03 00:19:44 +02:00
twinaphex
36963b91c7
(GL capabilities) Packed depth stencil - if GLES is 3 or higher,
...
assume yes, also query EXT_packed_depth_stencil
2016-08-03 00:15:47 +02:00
twinaphex
23f4e8bdfa
(Android/GLES) Should work with HW render context again
2016-08-03 00:08:50 +02:00
twinaphex
871b1740a8
Rename render_chain_driver.h to render_chain_gl.h
2016-08-02 16:22:57 +02:00
twinaphex
fb641dabd1
(Griffin ) Buildfix
2016-08-02 15:01:34 +02:00
Hans-Kristian Arntzen
fb407796e9
Vulkan: Add push constant support to slang.
...
Usually, the UBO is very small, so we can fit everything in fast-access
uniforms.
2016-08-02 12:51:30 +02:00
twinaphex
84588a1527
(GL) Move more code
2016-08-02 03:12:48 +02:00
twinaphex
9b06ec6c4e
(GL) Move more FBO functions to render_chain_gl_legacy
2016-08-02 03:10:55 +02:00
twinaphex
bd3cd08be8
(GL/FB) Still compiles and links with --disable-fbo
2016-08-02 03:04:27 +02:00
twinaphex
d391159f39
Move more HAVE_FBO code to render_chain_gl_legacy
2016-08-02 02:56:44 +02:00
twinaphex
85ec02ba6b
(GL) Move more renderchain code over to render_chain_gl_legacy
2016-08-02 02:54:38 +02:00
twinaphex
78806bf33c
Move more renderchain code over to render_chain_gl_legacy.c
2016-08-02 02:38:46 +02:00
twinaphex
a8e74f0aa2
(GL) Start moving renderchain code over to separate files
2016-08-02 02:27:23 +02:00
twinaphex
a07ce85086
(OSMesa) No C++ comments
2016-08-02 02:19:06 +02:00
Higor Eurípedes
8752313961
(gfx) Add OSMesa context
2016-08-02 02:16:02 +02:00
twinaphex
ab8471959e
(D3D) 80-char style nits
2016-08-02 01:47:11 +02:00
twinaphex
a0d3a148e7
Move force SRGB disable check at beginning of capability check
2016-08-02 00:56:21 +02:00
twinaphex
31ca6ca5ea
(GL) Rename another function
2016-08-02 00:42:03 +02:00
twinaphex
188dd9bd69
Create gl_renderchain_add_lut
2016-08-02 00:31:04 +02:00
twinaphex
ec91878187
(GL) rename to gl_recompute_pass_sizes
2016-08-02 00:25:28 +02:00
twinaphex
9c1155283b
(GL) Create gl_renderchain_convert_geometry
2016-08-02 00:23:38 +02:00
twinaphex
e8480a72a6
(D3D) Correct one shader
2016-08-01 22:45:07 +02:00
twinaphex
c314077f1d
(D3D) Cleanups of shaders
2016-08-01 22:43:51 +02:00
twinaphex
51eba5a3e7
(D3D) Header fix pt. 4
2016-08-01 22:22:23 +02:00
twinaphex
6e644223a8
(D3D) Header fix pt. 3
2016-08-01 22:21:50 +02:00
twinaphex
a2bbbee713
(D3D) Header fix pt. 2
2016-08-01 22:21:11 +02:00
twinaphex
fd6a9fd3bd
(D3D) Fix include
2016-08-01 22:18:42 +02:00
Hans-Kristian Arntzen
00de5aa2f0
Vulkan: Filter out duplicated parameters.
2016-08-01 22:10:14 +02:00
Hans-Kristian Arntzen
efd3067903
Vulkan: Hook up shader parameters.
2016-08-01 22:10:14 +02:00
Hans-Kristian Arntzen
8b14941a94
Refactor out resolve_current_parameters.
2016-08-01 22:10:14 +02:00
Hans-Kristian Arntzen
a50c204d5e
Vulkan: Begin parsing parameters.
2016-08-01 22:10:14 +02:00
twinaphex
8d186dab88
Relocate D3D drivers
2016-08-01 22:05:57 +02:00
twinaphex
124454430b
(GL) Go through gl_query_core_context_in_use
2016-08-01 21:58:18 +02:00
Twinaphex
becef95dc2
(GL) Silence unused variable
2016-08-01 21:55:02 +02:00
Francisco José García García
95b630636d
(VITA) Rotation workaround
2016-08-01 20:26:29 +02:00
twinaphex
563842945c
(gl_common.h) Start catering towards GLES3/GLES3.1/GLES3.2 too
2016-08-01 18:15:14 +02:00
twinaphex
e3dc0261c0
(GL) Cleanups
2016-08-01 18:10:34 +02:00
twinaphex
46c8bba59e
(GL) Cut down on ifdefs
2016-08-01 18:08:18 +02:00
twinaphex
10ceec4c99
(GL) Cleanups
2016-08-01 17:46:02 +02:00
twinaphex
b7458f5523
(GL) Cleanups
2016-08-01 17:40:53 +02:00
twinaphex
34488802d9
Create GL_CAPS_SRGB_FBO_ES3
2016-08-01 17:36:07 +02:00
twinaphex
09ea570dcb
Create GL_CAPS_FP_FBO
2016-08-01 17:33:50 +02:00
twinaphex
3d76f6e79f
gl_check_capability - cleanups
2016-08-01 17:30:58 +02:00
twinaphex
76c021df09
Create GL_CAPS_SRGB_FBO
2016-08-01 17:28:43 +02:00
twinaphex
9b5703c9f3
Create GL_CAPS_FULL_NPOT_SUPPORT
2016-08-01 17:23:01 +02:00
twinaphex
91bef22613
EGL images should be usable with GLES3 and later too
2016-08-01 16:47:24 +02:00
twinaphex
a45239359c
(GL) Create GL_CAPS_UNPACK_ROW_LENGTH
...
(GL) Cut down on HAVE_OPENGLES2 ifdefs and try to use
HAVE_OPENGLES instead
2016-08-01 16:36:57 +02:00
twinaphex
6d76a04b0f
(GL) Cleanups
...
(Emscripten) Add HAVE_RPNG/HAVE_RJPEG
2016-08-01 16:25:02 +02:00
twinaphex
78217ca32b
(GL) Create GL_CAPS_ES2_COMPAT
2016-08-01 16:19:41 +02:00
twinaphex
bbc303c7f2
(GL) Create GL_CAPS_PACKED_DEPTH_STENCIL
2016-08-01 16:11:35 +02:00
twinaphex
375a2f2480
Create GL_CAPS_DEBUG
2016-08-01 16:06:19 +02:00
twinaphex
4b1ab53361
Create gl_check_capability
2016-08-01 16:01:21 +02:00
twinaphex
087e378bf7
Use 0 parameter index
2016-08-01 15:43:34 +02:00
twinaphex
1aac393f73
(GL) Cut down on some forward declarations
2016-08-01 15:40:02 +02:00
twinaphex
94763e1db4
(GL) Remove one unnecessary HAVE_MENU ifdef
2016-08-01 15:31:29 +02:00
Hans-Kristian Arntzen
efee5d131a
Vulkan: Make glslang shaders debuggable.
...
Properly handle file names, includes, etc to make
error reports somewhat more sane.
2016-08-01 14:27:23 +02:00
Twinaphex
ec82db21d2
Merge pull request #3301 from frangarcj/master
...
(VITA) Fix rotation
2016-07-31 20:31:08 +02:00
Hans-Kristian Arntzen
bdcbc56507
Vulkan: Fix validation errors.
2016-07-31 19:59:36 +02:00
Hans-Kristian Arntzen
e61ec38543
Vulkan: Mipmapped FBOs work.
2016-07-31 19:52:15 +02:00
Francisco José García García
b4bd9cf830
(VITA) Fix rotation
2016-07-31 19:48:55 +02:00
Hans-Kristian Arntzen
a48ba6c68b
Vulkan: Add mipmapping support to Framebuffer class.
2016-07-31 19:23:42 +02:00
Hans-Kristian Arntzen
9a613ef8bf
Vulkan: Actually bind correct part of the UBO.
2016-07-31 18:25:42 +02:00
Hans-Kristian Arntzen
c0e752c53c
Persistently map filter chain UBO.
2016-07-31 18:19:35 +02:00
Hans-Kristian Arntzen
10e864b26b
Hook up wrapping modes.
2016-07-31 16:32:55 +02:00
Hans-Kristian Arntzen
4ac9ebd579
Vulkan: Allow configuring mip/wrap/filter for LUTs.
...
LUTs are feature complete with CGP now.
2016-07-31 16:16:47 +02:00
Hans-Kristian Arntzen
e846bd4955
Vulkan: Hook up preliminary support for mip/wrapping modes.
2016-07-31 15:42:57 +02:00
Hans-Kristian Arntzen
0eca956789
Vulkan: Create image views with right amount of mip levels.
2016-07-31 14:01:39 +02:00
Hans-Kristian Arntzen
4e8e79eabd
Vulkan: Add mipmapping support.
2016-07-31 13:47:10 +02:00
Hans-Kristian Arntzen
e57997bb82
Make image barriers hit the entire mipchain.
2016-07-31 13:05:07 +02:00
Hans-Kristian Arntzen
cbca9513ab
Basic LUT work.
2016-07-31 13:01:31 +02:00
Hans-Kristian Arntzen
7813d40c9e
Log if Vulkan debug layers are enabled.
2016-07-31 12:54:10 +02:00
Hans-Kristian Arntzen
f208bba41e
Add USER semantic to match user textures.
2016-07-31 12:39:07 +02:00
Hans-Kristian Arntzen
d39a3619d6
Begin implementation of LUTs in Vulkan.
2016-07-31 12:26:14 +02:00
twinaphex
2be127c04a
Start wrapping settings->path.libretro
2016-07-24 11:12:26 +02:00
Hans-Kristian Arntzen
f54b0c0ff0
Vulkan: Implement swap_interval > 1.
...
We have to fake it by duping since Vulkan has no native support for
this.
2016-07-24 00:34:48 +02:00
Hans-Kristian Arntzen
8c1b935969
Vulkan: Implement BFI.
2016-07-24 00:07:32 +02:00
Hans-Kristian Arntzen
e35191765c
Vulkan: Fix PassOutput.
...
Oddly enough it worked during testing, but turns out it was never set
:')
2016-07-23 23:39:57 +02:00
Hans-Kristian Arntzen
4b7cadbae7
Vulkan: Fix silly bug with alias handling.
2016-07-23 23:23:22 +02:00
Hans-Kristian Arntzen
2174f7d99b
Vulkan: Fix wrong error handling for missing file.
...
Apparently 0/1 is returned instead of 0/-1.
2016-07-23 21:59:17 +02:00
twinaphex
d98fad0d98
Simplify free_drm_resources
2016-07-23 06:05:21 +02:00
twinaphex
22e35c553b
(PS3) Fixes issues where content would sometimes not be able to
...
be loaded for some sporadic reason
2016-07-22 10:41:56 +02:00
twinaphex
4e68bc0b53
CXX_BUILD fix
2016-07-21 21:54:43 +02:00
sergiobenrocha2
69738f2b84
Add CPPFLAGS to Makefiles, fix hardening-no-fortify-functions.
2016-07-20 23:27:26 -03:00
twinaphex
a8de87576e
(windows) Fixes drag and drop - we have to call this
...
function directly since the UI companion driver interface at
this point has not yet been initialized
2016-07-16 23:49:44 +02:00
twinaphex
c6e6e300b9
CLeanup
2016-07-16 23:16:30 +02:00
twinaphex
8b4dd98d4b
(drag and drop) Try to make some code more understandable
2016-07-16 23:13:24 +02:00
twinaphex
8b29ad1fee
Add early return in case this is NULL
2016-07-16 23:00:35 +02:00
twinaphex
f308997465
DragFinish releases memory allocations - so always call it at the end
2016-07-16 22:39:21 +02:00
twinaphex
6ac8b64e3d
Put this around a HAVE_CG ifdef
2016-07-16 22:32:33 +02:00
twinaphex
ce6f3f955c
Doubleclick on titlebar should no longer trigger button press
...
in RA window
2016-07-16 17:56:07 +02:00
twinaphex
616b9f7471
(Win32) Test
2016-07-16 17:44:21 +02:00
Alcaro
d7dbc45c6b
That's a weird way to check versions. Won't even work for 7.0.
2016-07-16 16:51:28 +02:00
Twinaphex
1586214876
(OSX) Fix text title inside window
2016-07-16 15:01:06 +02:00
Hans-Kristian Arntzen
1e9e1fc885
Vulkan: Update SPIRV-Cross.
...
Fixes reflection issues which have been fixed in recent spirv-cross.
2016-07-15 22:12:57 +02:00
Hans-Kristian Arntzen
8569028189
Vulkan: Use manual memory management for cached/incoherent devices.
2016-07-15 16:12:30 +00:00
Hans-Kristian Arntzen
f5bddd45e8
Vulkan: Don't query layout if we have optimal tiling.
2016-07-14 23:15:39 +02:00
twinaphex
d0818e6e62
Not sure if/when we will be needing this 'ancient' codepath
2016-07-12 21:10:49 +02:00
twinaphex
b580599710
(X11) Fix 'quit' button not working
2016-07-09 12:09:39 +02:00
amspady20
9adc8e34c0
Update xegl_ctx.c
...
Fixed include statment for frontend_driver.h
2016-07-08 12:30:53 -04:00
twinaphex
c66ada4e90
(FBDev) Cleanups
2016-07-08 14:43:13 +02:00
twinaphex
e1a5379886
(FBDev) Cleanups/unifications
2016-07-08 14:29:16 +02:00
twinaphex
bddd93bcaa
(EGL) Don't use g_egl_quit and egl_install_sighandler
2016-07-08 12:58:06 +02:00
twinaphex
d953be6397
(Wayland) Use signal handler code from frontend driver
2016-07-08 12:52:46 +02:00
twinaphex
8d5f34eeb9
Move signal handler code to frontend driver interface
2016-07-08 02:43:55 +02:00
twinaphex
76cc6fd8ec
Start implementing signal handler code once in frontend driver code
2016-07-08 02:38:33 +02:00
Hans-Kristian Arntzen
cd4ff2eac8
Move KHR_display backend behind configure flag.
...
Enabled by default since it is technically not platform specific.
2016-07-07 22:05:57 +02:00
Alcaro
4b75304d15
You missed a spot, maister
2016-07-07 21:03:30 +02:00
Hans-Kristian Arntzen
df7870c2ea
Vulkan: Don't use sighandling on Win32 in khr_display.
...
Lots of the embedded backends do signal-handling like this
which is kinda awkward. This should be moved to frontend runloop or
something similar.
2016-07-07 20:34:42 +02:00
Hans-Kristian Arntzen
c561d8c4e6
Install sighandler for khr_display backend.
2016-07-07 19:32:09 +02:00
Hans-Kristian Arntzen
d382e1069e
Basic VK_KHR_display integration works! :)
2016-07-07 19:28:27 +02:00
Hans-Kristian Arntzen
471d06d133
Fix Wayland refresh rate logging.
2016-07-06 23:22:13 +02:00
Hans-Kristian Arntzen
d2fafc5451
Sketch out vulkan_create_display_surface.
2016-07-06 20:27:39 +02:00
Hans-Kristian Arntzen
e9046dd06f
Begin implementing VK_KHR_display.
2016-07-06 19:37:47 +02:00
twinaphex
0346cf70d5
Seems to come from here - add license text to it -
...
1ec3c44bdd/tree/tests/util/format.c
2016-07-04 15:05:50 +02:00
twinaphex
5d70242dee
Check against libdrm version 2.4.68 in order to enable/disable
...
plain DRM video driver
2016-07-03 22:08:56 +02:00
twinaphex
54e137d9f7
Cleanups
2016-07-03 10:47:09 +02:00
twinaphex
fe1dc51889
Add missing file
2016-07-03 10:44:53 +02:00
twinaphex
a8bba31429
Cleanups
2016-07-03 10:44:34 +02:00
twinaphex
d53cbfbdfb
Backport DRM video driver
2016-07-03 10:37:07 +02:00
twinaphex
9fab75c4b5
Cleanups; 80-char width limit
2016-06-30 07:40:25 +02:00
twinaphex
acd68519de
Create MSG_FRAMES
2016-06-30 05:41:53 +02:00
twinaphex
668b4b5d26
Remove duplicate fill_string_concat
2016-06-29 18:14:42 +02:00
twinaphex
1226c71b98
Use fill_string_concat
2016-06-29 18:14:42 +02:00
twinaphex
f4ef5e82c2
Create and use fill_string_concat
2016-06-29 17:41:32 +02:00
Nathan S
d79da7fc1f
(gl_raster_font) Fixed the viewport issue
2016-06-29 14:22:30 +02:00
twinaphex
3c7dc0a62e
Try to silence more Coverity warnings
2016-06-29 12:13:40 +02:00
twinaphex
2a9bf91e0d
Use MENU_ENUM_LABEL_VALUE_NOT_AVAILABLE
2016-06-29 02:40:05 +02:00
Twinaphex
08dbbe1a55
Revert "(gl_raster) Added fullscreen to restore_viewport"
2016-06-29 02:30:05 +02:00
Nathan S
b0584a950d
(gl_raster) Added fullscreen to restore_viewport
2016-06-28 11:56:19 +02:00
twinaphex
481e7d2f34
(libretro-common) Move STRING_REP_UINT64 to retro_common_api.h
2016-06-28 08:50:22 +02:00
twinaphex
a24d43c8fd
Add GFX_CTX_FLAGS_CUSTOMIZABLE_SWAPCHAIN_IMAGES display flag
2016-06-27 23:43:57 +02:00
Hans-Kristian Arntzen
c80127d29d
Vulkan: Hook up async compute test more properly.
...
Supports multiple queues and queues from different families.
2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen
4abb0ef331
Vulkan: Cache destroy device callback.
2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen
6841b5ad00
Vulkan: Keep dylib around if caching instance.
2016-06-27 20:54:53 +02:00
Hans-Kristian Arntzen
4729ec9e1b
Add support for signalling semaphores from frontend.
...
Useful for conserving framebuffer memory.
2016-06-27 20:54:53 +02:00
twinaphex
f5bfbdeebe
Rewrite strcpy usage
2016-06-27 08:09:34 +02:00
Hans-Kristian Arntzen
54c1759f45
Vulkan: Make a more general purpose symbol loader.
...
Avoids painful manual loading and wrapping function pointers everywhere
...
Reusable for cores, so move to libretro-common.
Also update built-in Vulkan headers.
2016-06-26 13:10:58 +02:00
Hans-Kristian Arntzen
1da2e2dbab
Vulkan: Hook up negotiation interface device creation.
2016-06-26 10:40:07 +02:00
Hans-Kristian Arntzen
10a6d7a458
Vulkan: Begin hooking up negotiation interface.
2016-06-25 21:01:36 +02:00
Hans-Kristian Arntzen
b013a9c863
Vulkan: Replace prebaked shaders with glslc -mfmt=c.
...
Far more clean and avoids illegal punning.
2016-06-25 14:55:03 +02:00
Hans-Kristian Arntzen
972a5db7ae
Vulkan: Fix shader module leak.
2016-06-25 14:06:14 +02:00
Hans-Kristian Arntzen
de36f572d1
Vulkan: Fix more validation issues.
2016-06-25 14:01:10 +02:00
Hans-Kristian Arntzen
07880e3f45
Vulkan: Begin hooking up validation layers.
...
Found lots of regressions due to bad reformatting.
2016-06-25 13:52:33 +02:00
Hans-Kristian Arntzen
d043123f71
Vulkan: Add support for queue transfers in HW rendering.
2016-06-25 11:39:52 +02:00
Hans-Kristian Arntzen
82c7aa0e6f
Use max swapchain image setting when creating swapchain.
2016-06-25 09:52:46 +02:00
twinaphex
49e8baa61d
Use tmp_str variable for config_get_path usage
2016-06-25 07:17:48 +02:00
twinaphex
b434f0863a
CXX_BUILD buildfix
2016-06-23 07:44:56 +02:00
Twinaphex
1e91689919
(iOS) Fix FPS reporting
2016-06-22 17:42:32 +02:00
twinaphex
8a8fadc5b2
Implement max swapchain images setting, implement it first for DRM/KMS context
2016-06-21 21:36:58 +02:00
twinaphex
1fb2144a48
Refactor video_shader_parse_type
2016-06-20 22:17:03 +02:00
twinaphex
284f8cfd23
Remove menu_hash_ files
2016-06-20 03:35:09 +02:00
twinaphex
65dff0a03a
menu_hash_to_str_enum has now become msg_hash_to_str
2016-06-20 00:31:13 +02:00
Alcaro
90dd86a66a
Fix #3129 again
2016-06-19 22:09:52 +02:00
vanfanel
c097eed755
VIDEO/DISPMANX: Make the HW Bilinear Filtering setting work.
2016-06-16 11:37:02 +02:00
twinaphex
e1316cb7ba
Use menu_hash_to_str_enum
2016-06-15 23:43:24 +02:00
twinaphex
d3d5d80e62
(video_driver.c) Buildfix
2016-06-15 17:40:09 +02:00
twinaphex
dd04705d25
Turn menu_settings_list_current_add_enum_idx into public scope
...
function so we can use it in gfx/video_driver.c
2016-06-15 17:13:28 +02:00
vanfanel
03dd7d4b51
VIDEO/DISPMANX: Fixed segfault when loading new core and content from RGUI
2016-06-15 14:28:13 +02:00
Hans-Kristian Arntzen
21be54501b
Log which present modes are supported.
2016-06-13 22:00:32 +02:00
Hans-Kristian Arntzen
e7b4f4fd4d
Fix various Android Vulkan issues.
...
Was getting bogus swapchain width/height causing weird issues.
Also, create swapchain after swap interval is correctly set.
2016-06-13 19:51:44 +02:00
Twinaphex
d178f90cc1
Remove this header
2016-06-08 08:19:06 +02:00
neville
f170856374
(OSX) Fixes
2016-06-08 07:41:59 +02:00
twinaphex
4e91f6fcd0
Use CG macro instead
2016-06-08 05:26:33 +02:00
Twinaphex
710a3fe249
Merge pull request #3090 from fr500/nuklear
...
[nk] fix nuklear / linux
2016-06-08 02:46:02 +02:00
radius
991ea3c008
[nk] fix nuklear in linux and don't request a core context on windows
2016-06-07 19:40:11 -05:00
twinaphex
f4c3a41f84
(Win32) Implement application process events
2016-06-07 17:28:51 +02:00
Twinaphex
f17b4fba05
Rename ui_cocoa_window.h
2016-06-07 16:47:48 +02:00
twinaphex
ee8277b31c
Rename ui_win32_window.h to ui_win32.h
2016-06-07 16:33:55 +02:00
Hans-Kristian Arntzen
c374c9853d
Some potential fixes for Android Vulkan.
2016-06-07 01:43:14 +02:00
twinaphex
883d9ff6b5
Add HAVE_SHADERPIPELINE define
2016-06-07 00:00:28 +02:00
twinaphex
ea5f458fbd
Go through function pointer
2016-06-06 08:01:26 +02:00
Twinaphex
c4cea05399
Go through ui_window_t function pointer
2016-06-06 07:39:31 +02:00
Twinaphex
22358d4a92
Merge pull request #3078 from fr500/master
...
fix windows debug builds
2016-06-06 05:12:46 +02:00
radius
ed2177d524
fix windows debug builds
2016-06-05 21:54:37 -05:00
Twinaphex
f77f743403
Merge pull request #3076 from FIX94/master
...
More GX gamma changes
2016-06-05 19:05:32 +02:00
twinaphex
c1f9d7b498
(shader_glsl.c) Fix dereference after null check warnings
2016-06-05 19:02:13 +02:00
FIX94
b80bba2061
(GX) only apply better gamma setting to wii and use old setting on ngc
...
(GX) show gamma setting in the video options on ngc, was hidden before
2016-06-05 18:57:29 +02:00
FIX94
f3d0860483
(GX) improved video gamma setting by allowing a wider spectrum (0.1 to 3.0)
2016-06-05 18:03:39 +02:00
Nathan S
6889b58270
(gl_raster_font) Fixed scaling for newlines
2016-06-05 14:56:23 +02:00
twinaphex
ca6f539ff5
(iOS) Prevent unused variable 'buf' warning
2016-06-05 07:02:44 +02:00
twinaphex
2f7bc8760c
Turn win32_browser into static function
2016-06-04 18:43:03 +02:00
twinaphex
cfc3b97808
Use ui_window_win32_focused
2016-06-04 17:30:06 +02:00
twinaphex
b5830de236
Create stub GetForegroundWindow function for Xbox
2016-06-04 17:18:20 +02:00
twinaphex
abbd39fc6e
Might want to use GetForegroundWindow instead for window focus
2016-06-04 17:17:10 +02:00
twinaphex
c63f11f6fd
Use ui_window_win32_set_droppable
2016-06-04 08:50:43 +02:00
twinaphex
80b194f491
(Cocoa) Cleanups
2016-06-04 08:20:39 +02:00
Twinaphex
860fb1d525
(Cocoa) Implement ui_window_cocoa_set_title
2016-06-04 08:09:55 +02:00
twinaphex
b4c340ca88
(win32_common.cpp) Cleanup
2016-06-04 06:21:58 +02:00
twinaphex
492818deed
(d3d_ctx.cpp) Use set_title function
2016-06-04 06:07:11 +02:00
twinaphex
d739e4771e
Use set_title function from wgl_ctx.cpp
2016-06-04 06:02:15 +02:00
twinaphex
24688469b0
Buildfix
2016-06-04 05:58:03 +02:00
twinaphex
2d649f5147
Reimplement win32_monitor_from_window
2016-06-04 05:56:46 +02:00
twinaphex
f490b2b58a
Simplify win32_monitor_from_window
2016-06-04 05:54:33 +02:00
twinaphex
0c3bc35be1
(Win32) Buildfix
2016-06-04 05:45:39 +02:00
twinaphex
745b204a8f
Start using ui_window_win32_t
2016-06-04 05:44:06 +02:00
twinaphex
94e16e638d
Cleanup WndProcCommon
2016-06-04 05:09:58 +02:00
mudlord
d75fc24ad7
update
2016-06-04 12:36:05 +10:00
twinaphex
b88db89b89
(Win32) Buildfix
2016-06-04 03:22:31 +02:00
twinaphex
45d6b4a228
Create win32_drag_query_file
2016-06-04 03:20:55 +02:00
twinaphex
d7d5f29c90
(win32_common.cpp) Buildfix
2016-06-03 19:46:09 +02:00
twinaphex
6628da2646
Create CONTENT_MODE_LOAD_CONTENT_WITH_NEW_CORE_FROM_COMPANION_UI
2016-06-03 18:43:05 +02:00
mudlord
1ab94a2c9a
updates to dragndrop
2016-06-03 18:25:45 +10:00
twinaphex
30d3cf8a4e
Indenting nits
2016-06-03 08:23:43 +02:00
twinaphex
4cfe09faed
Nits
2016-06-03 08:21:56 +02:00
twinaphex
59413e0289
(win32_common.cpp) Cleanups/get rid of warning
2016-06-03 08:20:36 +02:00
twinaphex
01390f8ceb
Use retro_common_api.h
2016-06-03 08:06:49 +02:00
Twinaphex
1aef6ddbc8
Merge pull request #3058 from mudlord/master
...
Updates to drag and drop:
2016-06-03 08:04:10 +02:00
mudlord
bcf636283b
Updates to drag and drop:
...
* Now recognises old core used, if compatible.
* If not compatible, compatibile cores are scanned and used.
* Different compatible cores are now enumerated to be selected at will.
2016-06-03 16:00:08 +10:00
twinaphex
5230aeb9d0
Use retro_common_api.h
2016-06-03 06:02:49 +02:00
twinaphex
8fc8ff4ed9
Use retro_common_api.h
2016-06-03 05:43:49 +02:00
twinaphex
2b33c731d0
Create RFILE_MODE_READ_TEXT
2016-06-03 03:14:42 +02:00
mudlord
4c53bdf4f9
add drag and drop
2016-06-03 09:14:53 +10:00
twinaphex
294777166f
video_shader_parse.c - use filestream
2016-06-03 00:11:41 +02:00
twinaphex
65d5ebc2bb
Fix some dereference after null check warnings
2016-06-02 20:40:51 +02:00
twinaphex
5eb43846da
Prevent explicit NULL dereferenced warnings
2016-06-01 04:14:48 +02:00
twinaphex
cf91d006b3
BB10 starts again
2016-05-31 05:16:35 +02:00
twinaphex
b23784ddc5
Update modern_alpha_blend.gls.vert.h
2016-05-30 08:55:31 +02:00
twinaphex
632cc599d6
Change modern_alpha_blend.glsl.frag.h
2016-05-30 08:53:49 +02:00
twinaphex
0f12336737
Take this out too
2016-05-30 08:51:41 +02:00
twinaphex
d93d8e7a8f
Update stock_fragment_modern
2016-05-30 08:44:13 +02:00
twinaphex
d39d925c1d
Fix opsque Cg shader
2016-05-29 03:48:08 +02:00
twinaphex
da6a74b2dc
Leave only GLSL_330 macro
2016-05-28 20:58:49 +02:00
Twinaphex
2056d25e3e
Update GLSL_330_ES/GLSL_330_CORE
2016-05-28 20:56:37 +02:00
Twinaphex
e331281d6a
(shaders_common.h) Fix GLES
2016-05-28 20:56:02 +02:00
twinaphex
3d5cc14030
Convert other shaders
2016-05-28 18:43:00 +02:00
twinaphex
653359911a
Cleanup shaders
2016-05-28 18:18:23 +02:00
twinaphex
a98616b45b
Fix explicit NULL dereferenced/dereference before null check warnings
2016-05-26 17:47:21 +02:00
twinaphex
7d12408f24
x11_create_input_context - prevent memleak
2016-05-26 07:34:25 +02:00
radius
38305f8fb7
Update the menu driver to work with the latest version
2016-05-24 21:41:51 -05:00
twinaphex
5a4ada4311
Avoid some warnings by using return value for config_get_int
2016-05-24 23:53:35 +02:00
twinaphex
a82a8cad51
Be more careful with config_get_bool
2016-05-24 22:48:15 +02:00
twinaphex
42971febba
Fix resource leaks (pointed out by Coverity)
2016-05-24 22:01:43 +02:00
twinaphex
72d37e3917
Fix unreachable code
2016-05-24 21:48:32 +02:00
twinaphex
46872f8fcb
(gfx/font_driver.c) Cleanups
2016-05-24 21:07:02 +02:00
twinaphex
80abd06bd8
Not sure where this came from
2016-05-23 22:39:02 +02:00
twinaphex
c17315cd27
(DRM) Prevent double free and prevent dereference before NULL check
2016-05-23 22:30:01 +02:00
twinaphex
91220c3448
Remove logically dead code
2016-05-23 21:49:40 +02:00
twinaphex
7c0532c3e7
Remove logically dead code
2016-05-23 21:47:41 +02:00
twinaphex
6bd7fd482c
Performance counters got function name changes
2016-05-21 13:14:25 +02:00
Twinaphex
72e1a33715
Merge pull request #3016 from Themaister/master
...
Add perf counter to fence waits.
2016-05-21 12:36:25 +02:00
Hans-Kristian Arntzen
218ecc07c1
Add perf counter to fence waits.
...
Makes it easy to check if we're GPU bound or not.
2016-05-21 12:13:46 +02:00
Lionel Flandrin
b7d5c1d3e8
potential fix for AMD and GL core contexts
2016-05-20 20:12:41 +02:00
Twinaphex
e133ce31e8
(QNX) Buildfixes
2016-05-19 20:10:10 +02:00
twinaphex
c104bc094b
(QNX) Fix egl_create_surface call
2016-05-19 20:07:03 +02:00
Twinaphex
85331042be
(QNX) Build fixes
2016-05-19 20:02:39 +02:00
twinaphex
7e36dcb27f
move video_texture_image to libretro-common and rename it to image_texture.c
2016-05-18 12:58:00 +02:00
twinaphex
265c931c46
(gfx/video_texture_image.c) remove dependencies
2016-05-18 12:49:52 +02:00
twinaphex
e2b5c69af9
(gfx/video_texture_image.c) Cleanups
2016-05-18 12:17:51 +02:00
twinaphex
9bc11731fb
Start reimplementing TGA image load support
2016-05-18 10:52:23 +02:00
twinaphex
492dd59164
Hook up BMP image loading - color channels swapped - RGBA to ARGB
...
conversion won't work here
2016-05-17 21:38:51 +02:00
twinaphex
558dfd64f2
Exit video_texture_image_load_internal if we build
...
without HAVE_RJPEG/HAVE_RPNG depending on content type
2016-05-17 16:34:23 +02:00
twinaphex
1166be62ae
(gfx/video_texture_image.c) Drop more implementation details
2016-05-17 16:32:53 +02:00
twinaphex
52948b436e
We can take out RPNG implementation details out of video_texture_image.c
...
now
2016-05-17 16:23:22 +02:00
twinaphex
e7e9e90b0d
(gfx/video_texture_image.c) Cleanup
2016-05-17 16:15:37 +02:00
twinaphex
b268869669
(gfx/video_texture_image.c) Refactor - go through image_transfer
...
interface
2016-05-17 16:11:37 +02:00
twinaphex
80ce237878
(HAVE_MENU not defined) Buildfixes
2016-05-17 08:02:13 +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
b9ce94b360
(WGL) Change ifdef
2016-05-16 08:36:22 +02:00
twinaphex
0433d3ca6e
(WGL) Make context driver more modular
2016-05-16 08:34:56 +02:00
twinaphex
822d66f401
(WGL) Avoid some warnings
2016-05-16 08:25:14 +02:00
twinaphex
01e3362f21
Remove unused variable
2016-05-16 07:52:26 +02:00
twinaphex
0d833c903a
Merge remote-tracking branch 'origin/vulkan-windows'
2016-05-16 07:51:01 +02:00
twinaphex
cda8e7b560
Rename gl_init_vao to gl_check_vao
2016-05-16 06:14:32 +02:00
twinaphex
8de39f261c
(GLSL) Remove unused variables
2016-05-16 05:58:00 +02:00
twinaphex
e2cc3bc08d
Create gl_query_core_context_in_use
2016-05-16 05:55:42 +02:00
twinaphex
c28b4da58c
Remove more dependencies on gl pointer
2016-05-16 05:50:39 +02:00
twinaphex
8f2c665dc7
Remove dependence on gl pointer for querying extensions
2016-05-16 05:47:34 +02:00
twinaphex
b4abec5181
Cleanups
2016-05-15 19:59:03 +02:00
twinaphex
d63e7defb5
(GLSL) Remove more code
2016-05-15 19:58:02 +02:00
twinaphex
67d08f6790
Restore glsl_set_params
2016-05-15 19:56:53 +02:00
twinaphex
c15ec92c83
(Cg) set_params - don't use set_uniform_parameter function - fixes PS3 port
2016-05-15 19:03:39 +02:00
twinaphex
2f69c20e39
Revert "(Shaders) Get rid of third parameter"
...
This reverts commit 52d6a21e55
.
2016-05-15 17:26:23 +02:00
twinaphex
52d6a21e55
(Shaders) Get rid of third parameter
2016-05-15 17:22:55 +02:00
twinaphex
fa27a8447e
Rename RPNG functions
2016-05-13 09:49:38 +02:00
twinaphex
8efe2de0ec
(RJPEG/RPNG) Add debug logs and change function signatures
2016-05-13 09:08:32 +02:00
twinaphex
df3b090d7a
Revert "Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info"
...
This reverts commit 35bf38e05c
.
2016-05-12 09:37:21 +02:00
twinaphex
35bf38e05c
Create runloop_get_system_info/runloop_free_system_info/runloop_init_system_info
2016-05-12 09:25:52 +02:00
twinaphex
f0b99edafc
Prevent some warnings/errors from occurring with MESA_DEBUG
2016-05-12 04:29:36 +02:00
twinaphex
21438fc0af
Some buildfixes for GL_DEBUG
2016-05-12 02:58:09 +02:00
neville
67e64f4ca6
gl_check_mipmap - don't look for GL_EXT_framebuffer_object here
...
- breaks OSX PPC
2016-05-11 23:04:48 +02:00
twinaphex
c9d3936ee5
Check for GL_EXT_framebuffer_object too
2016-05-11 22:49:41 +02:00
twinaphex
670b564f13
Add HAVE_RTGA switch
2016-05-11 21:57:41 +02:00
twinaphex
367150b487
Cleanups
2016-05-11 21:48:30 +02:00
twinaphex
5845a9944d
Add more HAVE_THREADS ifdefs
2016-05-11 19:02:43 +02:00
twinaphex
fc56f6ebdb
Add some HAVE_THREADS ifdefs
2016-05-11 10:10:30 +02:00
twinaphex
78783cc2aa
Buildfixes for compiling without HAVE_MENU
2016-05-11 10:06:15 +02:00
twinaphex
9aed52ac65
Move performance.c to libretro-common/features/features_cpu.c
2016-05-10 20:31:27 +02:00
twinaphex
4a7ab8366b
Move libretro.h headers to libretro-common/include
2016-05-10 19:03:53 +02:00
twinaphex
35ea37b37f
Revert "Move cpu_features to libretro-common"
...
This reverts commit 2b8ff3bf38
.
2016-05-10 09:32:24 +02:00
twinaphex
2b8ff3bf38
Move cpu_features to libretro-common
2016-05-10 09:27:29 +02:00
twinaphex
0d371def5c
Refactor performance.c code
2016-05-10 09:17:04 +02:00
twinaphex
b79b2dca13
Create performance_counters
2016-05-10 08:53:14 +02:00
twinaphex
7c20f2b868
Change namespace of thread functions
2016-05-10 03:14:23 +02:00
twinaphex
88ae5c0875
Rename gfx_mut_coords
2016-05-10 02:42:52 +02:00
twinaphex
b2f5e2ac08
Rename gfx_font_raster_block
2016-05-10 02:42:02 +02:00
twinaphex
dde471e001
Rename gfx_ structs
2016-05-10 02:39:09 +02:00
twinaphex
2ebb92834c
Rename gfx_fbo_rect to video_fbo_rect
2016-05-10 02:34:36 +02:00
twinaphex
0e08dbe931
Rename gfx_coord to video_coord
2016-05-10 02:32:59 +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
twinaphex
6bbe5fb83a
Avoid warning
2016-05-09 19:24:10 +02:00
twinaphex
6ae20f2016
Create managers/ dir - move cheats.c and state_manager.c to it
2016-05-09 18:20:52 +02:00
twinaphex
5f3f578311
Further otpimization
2016-05-09 08:03:36 +02:00
twinaphex
c82505ed9e
Show FPS in title bar only when 'Display Framerate' is enabled
2016-05-09 07:44:13 +02:00
twinaphex
372e7d94cd
Rename rewind.c to state_manager
2016-05-09 07:14:10 +02:00
twinaphex
f8a7154557
Rename rarch_ functions
2016-05-09 07:09:26 +02:00
twinaphex
e87f030246
C89_BUILD fixes
2016-05-09 05:50:08 +02:00
twinaphex
44ed8d1116
CXX_BUILD fixes
2016-05-09 05:48:47 +02:00
twinaphex
d50109f60a
video_texture_image.c - prevent warning
2016-05-09 04:56:41 +02:00
twinaphex
7272a3fdaf
Prevent some warnings
2016-05-09 04:54:25 +02:00
twinaphex
9c1d1f3af8
(GL) Remove these conditionals - mipmap support should be
...
detected at runtime
2016-05-09 04:38:20 +02:00
twinaphex
3dfd8a0584
Split up vertex/fragment shader conditionals for XMB ribbon
2016-05-09 04:31:21 +02:00
twinaphex
3e40b77108
Improve check for gl_check_mipmap
2016-05-09 03:49:57 +02:00
twinaphex
ca976aeda9
Make gl_load_texture_data a static function
2016-05-09 03:44:46 +02:00
twinaphex
4e535f77c6
Add gl_check_mipmap
2016-05-09 03:40:59 +02:00
twinaphex
725c202498
Remove input_driver_ctl
2016-05-08 23:12:04 +02:00
Twinaphex
6ca2223671
Merge pull request #2975 from t-paul/vg-compile-fix
...
Fix typos in VideoCore driver causing compile error on Raspberry Pi.
2016-05-08 22:02:27 +02:00
twinaphex
9c1885a46e
Fix Display FPS
2016-05-08 22:00:30 +02:00
Torsten Paul
737e2832f2
Fix typos in VideoCore driver causing compile error on Raspberry Pi.
2016-05-08 21:55:46 +02:00