twinaphex
05ab278aca
Pass chain userdata to renderchain driver
2017-12-04 11:54:30 +01:00
twinaphex
241df59771
Get rid of include
2017-12-04 11:20:18 +01:00
twinaphex
4e342956c1
Update comment
2017-12-04 06:13:01 +01:00
twinaphex
512a1b4cb6
Cleanups
2017-12-04 06:03:11 +01:00
twinaphex
c869cc5102
Refactor GL code
2017-12-04 05:55:18 +01:00
twinaphex
5a341acb5f
Wrap more GL framebuffer functions
2017-12-04 04:57:58 +01:00
twinaphex
44f3341ffe
Add EXT versions for OSX PPC
2017-12-04 04:42:40 +01:00
twinaphex
b2fbb9aeda
Prepare to map DeleteFramebuffersEXT like this
2017-12-04 04:18:28 +01:00
twinaphex
6221512911
use EXT version of Framebuffer/Renderbuffer functions for MacOS X
...
PowerPC
2017-12-04 04:04:07 +01:00
twinaphex
0bf461c40f
Try to get past OSX PowerPC crash on exit
2017-12-04 03:27:03 +01:00
neville
43f6a03110
(OSX PPC) Buildfixes
2017-12-04 02:59:06 +01:00
radius
2747067f61
this probably fixes the shader on noveau and others
2017-12-03 15:10:24 -05:00
radius
3cd7026819
fix the shader and the label
2017-12-03 12:20:07 -05:00
radius
bada13a215
let it snow
2017-12-02 22:47:44 -05:00
q3cpma
6e8fb49d05
Whoops
2017-12-01 00:17:50 +01:00
q3cpma
fa3aab9768
Fixes compilation on FreeBSD (and hopefully on other POSIX platforms)
2017-11-30 16:53:55 +01:00
Brad Parker
130203c431
gdi: fix closing window via X button
2017-11-27 20:49:56 -05:00
Alcaro
0e91822ad1
#5802
2017-11-27 17:11:43 +01:00
twinaphex
00d57af005
C89_BUILD fixes
2017-11-26 22:53:42 +01:00
q3cpma
18b2bd527c
Set _NET_WM_PID
...
Also set WM_CLIENT_MACHINE since https://specifications.freedesktop.org/wm-spec/1.3/ar01s05.html
says you must do so if setting the first.
2017-11-23 19:15:59 +01:00
Twinaphex
d991908ba8
Merge pull request #5741 from orbea/vulkan
...
Silence -Wunused-function warning.
2017-11-22 13:08:24 +01:00
Brad Parker
20b73cd676
x11: add RetroArch logo to window title bar
2017-11-22 00:01:42 -05:00
orbea
e10dd4d95e
Silence -Wunused-function warning.
2017-11-21 13:29:46 -08:00
Rob Loach
5a990841dc
Fix priority and timing of FPS and Fast Forward messages
2017-11-18 11:05:38 -05:00
twinaphex
c0d8a2f093
Cleanup
2017-11-16 14:01:42 +01:00
twinaphex
bfd815985f
Rename function callback
2017-11-16 12:02:25 +01:00
twinaphex
721b5f9529
Add set_mvp function callback
2017-11-15 16:51:29 +01:00
twinaphex
b6b6ba9226
No more GL_FF_MATRIX/GL_FF_VERTEX
2017-11-15 14:30:38 +01:00
twinaphex
a5076df751
Implement set_mvp/set_coords - remove GL code from video_driver.c
2017-11-15 14:24:16 +01:00
twinaphex
619acbb5aa
Start implementing video_driver_set_mvp properly
2017-11-15 14:16:06 +01:00
twinaphex
2b1481d97f
Refactor set_mvp code a bit
2017-11-15 14:09:41 +01:00
twinaphex
2ac75f98ae
(renderchain) Start implementing set_coords/set_mvp
2017-11-15 14:02:41 +01:00
twinaphex
b50a667335
Buildfixes for Win32
2017-11-14 21:45:11 +01:00
twinaphex
229841b1c4
Create video_driver_set_coords
2017-11-14 21:43:13 +01:00
twinaphex
683c437941
Updates
2017-11-14 21:34:03 +01:00
twinaphex
41daddfe1c
Create video_driver_set_mvp
2017-11-14 21:22:44 +01:00
twinaphex
118002ce6c
Add comment
2017-11-13 12:37:05 +01:00
twinaphex
e560adcc9f
Refactor this - get rid of set_coords_fallback
2017-11-13 12:27:45 +01:00
twinaphex
ade80dbe76
Move gl_ff_matrix to gfx/video_driver.c
2017-11-13 12:15:28 +01:00
twinaphex
f53fe4a07c
Remove this from set_mvp function
2017-11-13 12:10:18 +01:00
twinaphex
2327d38e0d
Remove this
2017-11-13 12:08:46 +01:00
twinaphex
8a82fd7905
Update
2017-11-13 12:05:50 +01:00
twinaphex
2aea191835
Cleanups
2017-11-13 11:34:40 +01:00
twinaphex
6b6d1ee986
Create cb_set_coords
2017-11-13 11:26:53 +01:00
twinaphex
97095404bd
Buildfixes
2017-11-13 11:04:09 +01:00
Twinaphex
fcae5deb2d
Merge pull request #5670 from libretro/Alcaro-patch-2
...
mali_fbdev_ctx: Remove filestream dependency
2017-11-13 10:52:01 +01:00
Twinaphex
79fdb55f4b
Merge pull request #5669 from libretro/Alcaro-patch-1
...
drm_ctx: Remove filestream dependency
2017-11-13 10:51:52 +01:00
Alcaro
58bae8456a
Remove filestream dependency
...
This causes issues in #5664
2017-11-13 09:45:48 +00:00
twinaphex
5879e551a5
Pass video_info to font driver functions
2017-11-13 10:42:40 +01:00
Alcaro
d005adbd42
Remove filestream dependency
...
This causes issues in #5664
2017-11-13 09:42:39 +00:00
twinaphex
87c82797fd
Start cutting down on macro usage
2017-11-13 10:26:56 +01:00
twinaphex
da15f9d730
Cleanups
2017-11-13 09:19:33 +01:00
twinaphex
6493b79324
Some buildfixes for CXX_BUILD
2017-11-13 09:11:09 +01:00
twinaphex
d861d2b0ae
Updates
2017-11-13 09:02:22 +01:00
twinaphex
e5ed1acc0a
(gl1_renderchain.c) Cleanups
2017-11-13 08:58:49 +01:00
twinaphex
67fea30406
Remove remaining references to HAVE_FBO
2017-11-13 08:55:41 +01:00
twinaphex
ec123ef6ca
Get rid of most of the HAVE_FBO usage
2017-11-13 06:20:30 +01:00
twinaphex
6fa5fcfa1f
Add has_fbo member variable - fixes GL issues
2017-11-13 05:23:44 +01:00
twinaphex
9c791e7fb5
CLeanups
2017-11-12 17:45:23 +01:00
twinaphex
60d96b60b5
Start adding gl1_renderchain.c
2017-11-12 17:32:18 +01:00
twinaphex
3ab26b6738
Prevent warning
2017-11-12 17:17:40 +01:00
twinaphex
5eadf021cf
early return
2017-11-12 17:16:14 +01:00
twinaphex
c5292025c3
Cut down on HAVE_FBO usage and make sure gl->fbo_inited is set to
...
false if HAVE_FBO is not defined
2017-11-12 17:15:29 +01:00
Brad Parker
23527a82ca
free VAO before the renderchain is destroyed
2017-11-11 13:55:05 -05:00
Brad Parker
69f69849be
fix circular dependency of renderchain and core context init
2017-11-11 13:51:33 -05:00
twinaphex
c1c9e1897c
Expand conditional
2017-11-11 19:12:32 +01:00
twinaphex
40cfde0eba
(MSVC 2010) Buildfix
2017-11-10 04:53:08 +01:00
twinaphex
063fc96736
Use gl_bind_texture
2017-11-10 04:28:22 +01:00
twinaphex
faab2526c8
Create gl_bind_texture
2017-11-10 03:55:10 +01:00
twinaphex
b3d8146009
Try to fix PS3 build
2017-11-10 02:19:25 +01:00
twinaphex
0ff54e7bd7
Define GLsync
2017-11-09 01:26:11 +01:00
twinaphex
77ac13b2e9
Buildfix
2017-11-09 01:16:35 +01:00
twinaphex
a4c9c738b8
Add init_textures_reference
2017-11-08 22:06:10 +01:00
twinaphex
4f016b2c2c
Update
2017-11-08 19:31:00 +01:00
twinaphex
3e1f4defb8
Buildfix
2017-11-08 18:54:15 +01:00
twinaphex
3e0b4552d6
Cleanups
2017-11-08 18:49:45 +01:00
twinaphex
9ab13b719b
Get rid of another ifdef
2017-11-08 18:48:01 +01:00
twinaphex
5f7527df08
Move readback function to renderchain
2017-11-08 18:45:28 +01:00
twinaphex
c825f849f5
CLeanups
2017-11-08 18:31:17 +01:00
twinaphex
d6cc447aa0
Add PBO callback functions
2017-11-08 18:22:05 +01:00
twinaphex
7c6377a7fa
Cleanups
2017-11-08 17:45:39 +01:00
twinaphex
9f987dd97b
Get rid of NO_GL_READ_PIXELS
2017-11-08 17:42:02 +01:00
twinaphex
3428e3d80a
Cleanup
2017-11-08 17:10:41 +01:00
twinaphex
e91cc7aced
Get rid of one extraneous HAVE_GLSL ifdef
2017-11-08 17:08:03 +01:00
twinaphex
9f79b99c94
Init renderchain prior to calling renderchain_driver
2017-11-08 16:58:23 +01:00
twinaphex
f28d6009ec
Update
2017-11-08 16:53:43 +01:00
twinaphex
6fefc71aa2
Cleanups
2017-11-08 16:49:42 +01:00
twinaphex
c1d5622255
Get rid of another ifdef
2017-11-08 16:41:37 +01:00
twinaphex
4b0932ffb3
Move copy_frame to renderchain
2017-11-08 16:38:56 +01:00
twinaphex
64ac26b7d1
Get rid of ifdefs
2017-11-08 16:28:58 +01:00
twinaphex
bc45ba38bf
Cleanups
2017-11-08 16:25:57 +01:00
twinaphex
a295169a3b
Add restore_default_state callback - remove more ifdefs
2017-11-08 16:20:55 +01:00
twinaphex
308818afd1
Add VAO callback functions
2017-11-08 16:16:17 +01:00
twinaphex
5b268b79d2
Cleanups
2017-11-08 16:00:37 +01:00
twinaphex
9dd253adea
Cleanup
2017-11-08 15:52:23 +01:00
twinaphex
5252d3216a
Fix heap use after free error
2017-11-08 15:49:02 +01:00
twinaphex
4a7e8b03b2
Cache core context setting
2017-11-08 05:59:08 +01:00
twinaphex
24434db9d9
(GL) Cleanups
2017-11-08 05:47:37 +01:00
twinaphex
a72461c16b
Create disable_client_arrays function pointer
2017-11-08 05:44:12 +01:00
twinaphex
bd1f04554e
Implement ff_matrix/ff_vertex
2017-11-08 05:06:19 +01:00
twinaphex
96876c66ce
Updates
2017-11-08 02:36:38 +01:00
twinaphex
dc664ff4f2
Cleanups
2017-11-08 01:53:24 +01:00
twinaphex
c1f0fceb4f
More buildfixes
2017-11-08 00:59:16 +01:00
twinaphex
e7599e8952
More buildfixes
2017-11-08 00:55:38 +01:00
twinaphex
97e0ffde9f
Buildfix for iOS
2017-11-08 00:53:57 +01:00
twinaphex
0085b24fd5
Cut down on gl_check_capability calls
2017-11-08 00:49:01 +01:00
twinaphex
4cae577ade
Cleanups
2017-11-08 00:07:04 +01:00
twinaphex
dc700c5d8b
Get rid of more ifdefs
2017-11-08 00:05:12 +01:00
twinaphex
0f6a3c8f9d
Start cutting down on HAVE_GL_ASYNC_READBACK ifdef
2017-11-07 23:19:54 +01:00
twinaphex
5ea63f3b08
Get rid of HAVE_GL_SYNC ifdef
2017-11-07 23:13:26 +01:00
twinaphex
1bc30331a7
Cleanups
2017-11-07 22:59:36 +01:00
twinaphex
7a33bfe924
Get rid of more HAVE_FBO ifdefs
2017-11-07 22:54:38 +01:00
twinaphex
3ccf8c19f1
Start getting rid of HAVE_FBO ifdefs
2017-11-07 21:34:25 +01:00
twinaphex
0100e7b673
Update
2017-11-07 21:08:54 +01:00
twinaphex
fc43a14637
Updates
2017-11-07 21:03:29 +01:00
twinaphex
fe2bf47b98
Add more to renderchain driver
2017-11-07 20:56:08 +01:00
twinaphex
00d52a4783
Cleanups
2017-11-07 11:06:18 +01:00
twinaphex
a7cd8d94b0
Start going through renderchain driver interface for GL
2017-11-07 11:01:30 +01:00
twinaphex
9c6edaff30
Update renderchain driver for GL
2017-11-07 10:10:52 +01:00
twinaphex
f681cb455c
Prepare GL renderchains
2017-11-07 07:56:18 +01:00
twinaphex
7d2e9290e2
Convert another file to C
2017-11-06 19:49:06 +01:00
twinaphex
f5d9427d48
Convert shader_hlsl.cpp to C
2017-11-06 19:44:00 +01:00
twinaphex
40a7755fe2
Cleanups
2017-11-06 19:39:21 +01:00
Brad Parker
1771b11a39
wayland: fix heap buffer overflows
2017-11-05 19:31:34 -05:00
Twinaphex
b8df76271c
Merge pull request #5654 from QuarkTheAwesome/wiiu-warnings
...
[WiiU] Various warning fixes
2017-11-05 16:14:18 +01:00
orbea
10032affcb
Fix compile with --disable-fbo.
...
Fixes https://github.com/libretro/RetroArch/issues/5647
2017-11-04 07:47:03 -07:00
Ash
0d38612f4a
[WiiU] Various warning/format string fixes
...
All things from unsigned comparisons to missing initializers; we got it
here.
2017-11-04 20:37:30 +11:00
vanfanel
91c9da529f
VC EGL context: Fixed hard freeze when toggling the bilinear filter option
2017-11-01 12:19:08 +01:00
Brad Parker
fc856c76a8
fix race condition reading OSD message in video driver
2017-10-29 23:28:02 -04:00
Brad Parker
3098b5e3df
gdi: fix uninitialized usage warning
2017-10-24 00:37:50 -04:00
twinaphex
8072dab6fe
Clean this up
2017-10-22 05:24:57 +02:00
twinaphex
d203e4dc9c
video_shader_driver_resolve_parameters - fix crash at startup with
...
MSVC
2017-10-22 05:21:31 +02:00
twinaphex
bb051f185b
MSVC/C89 buildfixes
2017-10-22 05:13:22 +02:00
Twinaphex
ba2f79a8c3
Merge pull request #5566 from vanfanel/master
...
Moved original max_swapchain=2 implementation to proper location for future use or reference
2017-10-19 18:50:51 +02:00
vanfanel
b40d50bba4
Moved commented old implementation to proper location.
2017-10-19 14:21:47 +00:00
Twinaphex
ef5cbfed61
Merge pull request #5560 from orbea/xshm
...
Fix compilation with --enable-xshm.
2017-10-19 13:15:30 +02:00
Jean-André Santoni
628acf5296
Merge pull request #5564 from vanfanel/master
...
Add experimental way to make max_swapchain=2 work Rpi with GLES on dispmanx
2017-10-19 16:53:27 +07:00
Brad Parker
fd18c2c942
win32: use W-function for file drag&drop
2017-10-18 15:08:01 -04:00
orbea
5ec052b675
Fix compilation with --enable-xshm.
...
Fixes https://github.com/libretro/RetroArch/issues/5551 .
2017-10-18 09:33:09 -07:00
vanfanel
d9ec2267f7
Change max_swapchain=2 implementation to actually working code.
2017-10-18 12:06:58 +00:00
vanfanel
65ef37706c
Add experimental way to make max_swapchain=2 work on EGL/GLES VideoCore (Raspberry Pi)
2017-10-18 03:06:30 +00:00
twinaphex
8464ad30bd
(Xbox 360) Buildfixes
2017-10-16 01:33:17 +02:00
Brad Parker
38c30667c5
fix include paths
2017-10-14 23:08:43 -04:00
Brad Parker
ee7590868a
add option to remove frame count from FPS display
2017-10-13 20:35:55 -04:00
rz5
0a0c538e2b
(gl driver) Set flags after detecting GL core context
2017-10-13 22:48:17 +01:00
rz5
677229d541
(video driver) Style nit
2017-10-12 19:59:20 +01:00
rz5
24c1ad72ce
(video driver) If we can't set flag data, do it later
...
Currently, there is at least one instance where video_context_driver_set_flags() is called when current_video_context.set_flags is set to NULL (see #5538 ). To solve this, we create 2 new global variables - one to store flag data and the other to symbolize we deferred setting flag data.
This way, the next time we do get_flags(), we first check if we have anything stored first.
Should fix #5538
2017-10-12 17:38:07 +01:00
Twinaphex
59cabfe80f
Merge pull request #5454 from rz5/master
...
Prevent crashes caused by loading shaders in incompatible contexts
2017-10-11 17:25:25 +02:00
Brad Parker
fff3e225d2
comments
2017-10-10 15:28:29 -04:00
Brad Parker
072b347c0f
fix OSD background alignment with non-default X/Y positions
2017-10-10 15:16:58 -04:00