72 Commits

Author SHA1 Message Date
twinaphex
5bde17025a Move min_filter_to_mag to gl_common.h 2018-05-13 14:24:49 +02:00
twinaphex
1f944afff7 (GL) Cleanups 2018-05-13 06:34:15 +02:00
twinaphex
494ddb16d9 Get rid of viewport_info callback function - was the same for both
GL1 and GL2 renderchains
2018-05-13 05:56:44 +02:00
twinaphex
6996e72b49 Move renderchain driver interface to gl_common.h - and replace
some void pointers in function callbacks with gl_t
2018-05-13 05:53:35 +02:00
twinaphex
4c941d3ada (gl2_renderchain) Try to prevent warning 2018-04-22 12:57:38 +02:00
twinaphex
6d7ffef316 (gl2_renderchain.c) Update 2018-04-21 08:52:38 +02:00
twinaphex
df5586570f Make gl2_renderchain_deinit_fbo safer 2018-04-21 08:42:57 +02:00
twinaphex
32b2808fe0 Revert "Turn scaler_ctx_scale_direct into inline function"
This reverts commit d51edd82392df7c7b63926f8b3ca151635ed7003.
2018-03-14 23:48:47 +01:00
twinaphex
d51edd8239 Turn scaler_ctx_scale_direct into inline function 2018-03-11 18:14:17 +01:00
twinaphex
696fa900a1 Refactor macro functions which were unsafe 2018-02-26 18:08:17 +01:00
twinaphex
5b79d2b942 Refactor video_shader_driver_set_parameters 2018-02-26 17:51:52 +01:00
Mahyar Koshkouei
87a7c0f426 Show GL hex error in hex
Fixes an issue whereby a hexadecimal error value was being printed in
decimal.

Tested on a RPi that suffers from issue 6078.

Signed-off-by: Mahyar Koshkouei <mahyar.koshkouei@gmail.com>
2018-01-17 17:08:03 +00:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
b1f1f519d5 Don't redefine HAVE_GL_SYNC 2017-12-06 18:28:57 +01:00
twinaphex
a53927c5aa Fix PS3 build 2017-12-06 16:53:19 +01:00
ToKe79
6bb2a0e142 GLsync build fix for HAVE_OPENGLES2 2017-12-05 21:58:01 +01:00
twinaphex
db4387bd30 See if it's always defined this way 2017-12-05 17:10:31 +01:00
Twinaphex
763e6f766c Silence warning 2017-12-05 16:58:20 +01:00
twinaphex
b69622ea88 Avoid usage of GLsync type 2017-12-05 16:56:33 +01:00
twinaphex
fafc96d377 Cleanups 2017-12-05 13:31:51 +01:00
Rob Loach
e8a9471afd
Fix to ARM to ensure chain has been declared 2017-12-04 18:53:34 -05:00
twinaphex
f08b049520 Move more variables 2017-12-04 13:24:27 +01:00
twinaphex
2fd720bcb3 move more variables over 2017-12-04 13:21:23 +01:00
twinaphex
9a8f73fb6c Move variables 2017-12-04 13:18:34 +01:00
twinaphex
48c3a50932 Move more variables 2017-12-04 13:03:14 +01:00
twinaphex
f47888aeda Move more variables to renderchain data 2017-12-04 12:50:22 +01:00
twinaphex
19ad9aa1cb Add resolve extensions callback 2017-12-04 12:43:22 +01:00
twinaphex
267e6fe85f Move fence variables to renderchain data struct 2017-12-04 12:02:53 +01:00
twinaphex
05ab278aca Pass chain userdata to renderchain driver 2017-12-04 11:54:30 +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
0bf461c40f Try to get past OSX PowerPC crash on exit 2017-12-04 03:27:03 +01:00
twinaphex
bfd815985f Rename function callback 2017-11-16 12:02:25 +01:00
twinaphex
b6b6ba9226 No more GL_FF_MATRIX/GL_FF_VERTEX 2017-11-15 14:30:38 +01:00
twinaphex
2ac75f98ae (renderchain) Start implementing set_coords/set_mvp 2017-11-15 14:02:41 +01:00
twinaphex
229841b1c4 Create video_driver_set_coords 2017-11-14 21:43:13 +01:00
twinaphex
87c82797fd Start cutting down on macro usage 2017-11-13 10:26:56 +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
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
twinaphex
063fc96736 Use gl_bind_texture 2017-11-10 04:28:22 +01:00
twinaphex
b3d8146009 Try to fix PS3 build 2017-11-10 02:19:25 +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
3e0b4552d6 Cleanups 2017-11-08 18:49:45 +01:00
twinaphex
5f7527df08 Move readback function to renderchain 2017-11-08 18:45:28 +01:00
twinaphex
d6cc447aa0 Add PBO callback functions 2017-11-08 18:22:05 +01:00