443 Commits

Author SHA1 Message Date
twinaphex
7790fc3647 MOve renderchain files to dir 2017-04-19 01:51:05 +02:00
twinaphex
32c91baca6 Move read_viewport and viewport_info to render_chain_gl_legacy.c 2017-04-19 01:25:34 +02:00
twinaphex
0c5a87b1d7 Create scaler_ctx_scale_direct 2017-04-16 11:03:29 +02:00
twinaphex
257410d058 Turn matrix_4x4_multiply into macro 2017-04-16 07:55:02 +02:00
twinaphex
32cebbbcba Turn more matrix_4x4 functions into macros 2017-04-16 04:00:20 +02:00
twinaphex
fbd6d0ebc6 Turn more matrix 4x4 functions into macros 2017-04-16 03:53:07 +02:00
twinaphex
55a0b7d1a9 Create default_ortho static variable 2017-03-25 10:22:57 +01:00
twinaphex
d77c209c85 Cleanups 2017-03-25 10:13:18 +01:00
twinaphex
396857db9a Update logs 2017-03-24 01:28:58 +01:00
twinaphex
1b27c3dec1 Make some log messages more consistent 2017-03-24 00:28:21 +01:00
Twinaphex
b7b3b2cb5f Try to prevent truckload of warnings on iOS 2017-02-26 10:33:03 +01:00
twinaphex
374fd57270 Remove the few performance counters that depend on runloop_ctl 2017-01-25 18:15:58 +01:00
twinaphex
a9164b7124 Try to use performance counter plus functions in most cases 2017-01-25 17:12:43 +01:00
twinaphex
6661c0fb94 Rewrite performance counter stop/start/init into macros 2017-01-25 16:53:06 +01:00
twinaphex
a104c73738 Go back to this 2017-01-22 23:19:35 +01:00
twinaphex
8698525f86 Only show the frame when libretro_running is true 2017-01-22 21:42:42 +01:00
twinaphex
2f504b4057 (gfx/drivers) Get rid of remaining runloop.h / runloop_ctl
references inside gfx/drivers
2017-01-22 18:17:48 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
57f8c637bf Cut down on runloop_ctl calls inside gfx/drivers 2017-01-22 12:38:20 +01:00
twinaphex
30c7754029 Buildfix 2017-01-20 14:37:02 +01:00
twinaphex
58a47e860a Add use_rgba member to video_frame_info_t 2017-01-20 14:04:50 +01:00
twinaphex
e0ff0541a2 Pass video_info pointer to font drivers 2017-01-19 16:30:40 +01:00
twinaphex
9d1de5c974 Rewrite video_context_driver_set_resize 2017-01-19 14:31:57 +01:00
Twinaphex
78e06ca07f Cleanup variables 2017-01-19 00:11:29 +01:00
twinaphex
f4adbd04ae (gl.c) Reduce amount of time video_driver_get_size is called inside
gl_frame
2017-01-18 22:55:03 +01:00
twinaphex
bf511b72e6 Create menu_driver_frame 2017-01-18 21:23:18 +01:00
twinaphex
a6a4808e94 Refactor frame monitor code 2017-01-18 17:41:27 +01:00
Brad Parker
c283c1eaf4 disable shader dialog until video_threaded issues are fixed 2017-01-16 19:26:28 -05:00
twinaphex
8c9e0405fb Create video_driver_build_info 2017-01-13 16:09:32 +01:00
twinaphex
0b03e95d95 We no longer need the settings struct inside gl_init 2017-01-10 18:08:05 +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
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
Logan McNaughton
34ad1555f1 Use this code for GLES2 and GLES3 2016-12-30 13:56:54 -07: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
a210e4f6fe (PS3) Some build fixes 2016-12-10 09:39:07 +01: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
5fc1b0c88e Remove obsolete font_driver_has_render_msg 2016-11-20 17:51:16 +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
a7585f9988 Move video_frame.h to libretro-common 2016-11-08 15:35:24 +01:00
twinaphex
4ff6d8c108 Add more logging 2016-10-31 15:12:34 +01:00
twinaphex
456c4c4d58 Remove video_driver_cached_frame_render wrapper function 2016-10-25 00:42:26 +02:00