Commit Graph

4298 Commits

Author SHA1 Message Date
twinaphex
44b708642c Expand font_driver_bind_block 2015-12-05 11:34:56 +01:00
twinaphex
988162ed62 Cut down on code duplication 2015-12-05 11:29:06 +01:00
twinaphex
5f27366cb3 Expand font_driver_init_first 2015-12-05 11:18:05 +01:00
twinaphex
4c8a2a3f88 Create font_driver_bind_block 2015-12-05 10:59:03 +01:00
twinaphex
a26e64e24d Expand font_driver_free 2015-12-05 10:54:53 +01:00
twinaphex
e196fdf141 font_driver_render_msg - make it possible to pass special font data 2015-12-05 10:49:28 +01:00
twinaphex
c88d795734 Start using font driver wrapper functions 2015-12-05 10:33:50 +01:00
twinaphex
89721b8837 Start creating font driver wrapper functions 2015-12-05 10:31:15 +01:00
twinaphex
ddff980161 Remove unused variables 2015-12-05 09:14:55 +01:00
twinaphex
f72b69e8d1 Don't include frontend_driver.h as part of driver.h 2015-12-05 09:09:31 +01:00
twinaphex
c36b8e1ae9 Don't touch driver->frontend outside of frontend_driver.c anymore 2015-12-05 08:52:01 +01:00
twinaphex
1fcf63735f Header include changes 2015-12-05 07:45:36 +01:00
twinaphex
e735f84baa Refactor shader subsystem 2015-12-05 07:33:32 +01:00
twinaphex
8c3c22f15a Move rewind.h header include to shader_glsl.c 2015-12-04 16:54:09 +01:00
twinaphex
7b1fb48034 (D3D) Use new video_shader_driver_* functions 2015-12-04 16:46:43 +01:00
twinaphex
ab3f0f0652 Create remaining video_shader_driver_* functions 2015-12-04 16:45:38 +01:00
twinaphex
6d37cfc2fb Create video_shader_driver_get_prev_textures 2015-12-04 16:34:58 +01:00
twinaphex
a2da59ac9b Create video_shader_driver_set_coords and video_shader_driver_set_mvp 2015-12-04 16:33:07 +01:00
twinaphex
827b3cc89b Create video_shader_driver_num_shaders 2015-12-04 16:19:12 +01:00
twinaphex
0ed77247a8 Create video_shader_driver_mipmap_input 2015-12-04 16:16:40 +01:00
twinaphex
c8f2ef7734 Create video_shader_driver_get_ident 2015-12-04 16:05:42 +01:00
twinaphex
1956dffe9b Create video_shader_driver_use 2015-12-04 16:01:09 +01:00
twinaphex
bdf099a19c Create video_shader_driver_deinit 2015-12-04 15:56:36 +01:00
twinaphex
de555d6040 Replace all instances of shader->init 2015-12-04 15:54:10 +01:00
twinaphex
3f6540dd58 Start using video_shader_driver_init for D3D too 2015-12-04 15:53:02 +01:00
twinaphex
11109a198b Create video_shader_driver_init 2015-12-04 15:50:40 +01:00
twinaphex
351077dc78 Start reimplementing audio/video/input driver deiniting 2015-12-04 14:30:59 +01:00
twinaphex
c0a1a6a3fe Move system->shutdown to runloop_ctl, turn it into a local
static variable
2015-12-04 12:44:12 +01:00
twinaphex
bdb54d91b7 video_monitor_fps_statistics - small cleanup 2015-12-04 08:27:47 +01:00
twinaphex
6411a7d0d9 Make video_driver_current_msg smaller 2015-12-04 08:04:16 +01:00
twinaphex
830b3052e5 (video_driver.c) Turn some variables into local static variables 2015-12-04 02:29:49 +01:00
twinaphex
96ddc1f722 egl_destroy - don't do glFlush/glFinish on mobile platforms 2015-12-04 01:44:41 +01:00
Higor Eurípedes
f63468d783 Fix some potential null derefs 2015-12-03 21:22:29 -03:00
twinaphex
faa02023ce Check if video_driver_poke is false 2015-12-04 01:21:46 +01:00
twinaphex
581c856676 Attempt to make gl_raster_font_flush_block more robust 2015-12-04 01:04:27 +01:00
twinaphex
d8b9be9349 Put parentheses around earlier check 2015-12-04 00:26:53 +01:00
twinaphex
b6be555809 Try to prevent a NULL pointer dereference for global - rename video_frame 2015-12-04 00:26:09 +01:00
twinaphex
757f0692ad (gfx_ctx_swap_buffers) Guard against video context data being NULL 2015-12-03 23:59:54 +01:00
twinaphex
bab243a7a2 (egl_common.c) Cleanups 2015-12-03 23:33:50 +01:00
twinaphex
e73224c5c2 Get rid of superfluous log 2015-12-03 23:24:54 +01:00
twinaphex
eda3e06898 (GL) Guard against possible segfaults in threaded video mode 2015-12-03 23:16:37 +01:00
twinaphex
beb01b5d57 Create gl_init_textures_reference 2015-12-03 22:42:54 +01:00
twinaphex
60313f7f48 (Android) Don't call eglSwapBuffers if g_egl_dpy and g_egl_surf are not
yet ready
2015-12-03 22:23:20 +01:00
twinaphex
66721e8902 Set g_egl_hw_ctx to NULL in egl_create_context 2015-12-03 22:13:03 +01:00
twinaphex
0c8ed91b36 Nits 2015-12-02 01:02:58 +01:00
twinaphex
b7f7b1f3b7 video_thread_wrapper.c - cleanups 2015-12-02 01:01:27 +01:00
twinaphex
6c6beca430 Create x11_save_last_used_monitor 2015-12-01 08:49:35 +01:00
twinaphex
c4354ff429 Create g_x11_screen 2015-12-01 08:42:33 +01:00
Twinaphex
96da691728 Revert "Revert "(gl) Fix gl->should_resize being always true""
This reverts commit d35840ebcd.
2015-12-01 07:15:06 +01:00
Twinaphex
d0340d0f80 (GLSL) Fix regression 2015-12-01 07:12:26 +01:00