Commit Graph

529 Commits

Author SHA1 Message Date
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
e735f84baa Refactor shader subsystem 2015-12-05 07:33:32 +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
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
96da691728 Revert "Revert "(gl) Fix gl->should_resize being always true""
This reverts commit d35840ebcd.
2015-12-01 07:15:06 +01:00
Twinaphex
d35840ebcd Revert "(gl) Fix gl->should_resize being always true"
This reverts commit 0f339caf30.
2015-12-01 04:58:47 +01:00
Higor Eurípedes
0dfccf2785 (sdl2_video) Fix floating point exception 2015-11-30 21:32:32 -03:00
Higor Eurípedes
0f339caf30 (gl) Fix gl->should_resize being always true 2015-11-30 21:32:32 -03:00
twinaphex
0db7cda264 Start moving rewind code to rewind.c 2015-11-30 22:25:13 +01:00
twinaphex
9824eb7ea9 Rename rarch_main_ctl to runloop_ctl 2015-11-30 21:42:59 +01:00
twinaphex
4e333302ae Rename RARCH_MAIN_CTL* to RUNLOOP_CTL* 2015-11-30 21:35:50 +01:00
twinaphex
1c867cedf0 Move nonblock_state to input_driver.c (NOTE: we probably need
to relocate this later on)
2015-11-29 17:53:11 +01:00
twinaphex
b8df5fd584 (exynos_gfx.c) Nits 2015-11-29 01:43:58 +01:00
twinaphex
127448f848 Use video_driver_window_get 2015-11-29 01:39:28 +01:00
twinaphex
0044d853f8 Move display_type / display_window etc all to gfx/video_driver.c -
no more dependencies on driver_t
2015-11-29 01:12:49 +01:00
twinaphex
8ce6582fa4 Create drm_wait_flip 2015-11-28 17:16:19 +01:00
twinaphex
200b41bb58 (dispmanx_gfx.c) Nit 2015-11-28 17:07:52 +01:00
twinaphex
70850c8ca3 (dispmanx_gfx.c) Cleanups 2015-11-28 17:00:44 +01:00
Higor Eurípedes
9bc10fef7a (gl) Fix invalid enum error 2015-11-27 21:53:31 -03:00
Higor Eurípedes
428bc30a61 (gl) Add checks for full npot support 2015-11-27 21:21:23 -03:00
twinaphex
dd68465f74 (exynos_gfx.c) Cleanups 2015-11-26 19:38:17 +01:00
twinaphex
7c52d380bf Move memsetting of fds and evctx to drm_common.c 2015-11-26 18:59:36 +01:00
twinaphex
00cf57eac0 Header include drm_common.h already includes essential
DRM headers
2015-11-26 18:57:29 +01:00
twinaphex
25680ec8a6 Create more DRM common functions 2015-11-26 18:47:07 +01:00
twinaphex
60ead8f6b1 Create drm_get_encoder 2015-11-26 18:23:51 +01:00
twinaphex
2693e16f1e (Exynos/DRM EGL context driver) Unify more code 2015-11-26 18:05:27 +01:00
twinaphex
7e08f5d908 Create drm_free 2015-11-26 17:34:35 +01:00
twinaphex
e06121b661 Move more common code to drm_common.c 2015-11-26 17:30:01 +01:00
twinaphex
8f9c652693 Add gfx/common/drm_common.c and gfx_common/drm_common.h 2015-11-26 17:12:06 +01:00
twinaphex
c720bce8a9 Update variable name/buildfix 2015-11-26 02:29:43 +01:00
aliaspider
be5755fe59 (3DS) build fix. 2015-11-24 12:02:02 +01:00
Twinaphex
0958acd0b1 Merge pull request #2455 from aliaspider/master
(3DS) update.
2015-11-24 11:36:00 +01:00
aliaspider
38579e56ff (3DS) gfx driver: add missing d-cache flush. 2015-11-24 11:25:28 +01:00
twinaphex
516422b1d1 Build fix 2015-11-24 00:23:32 +01:00
twinaphex
a3e52a9369 Put M_PI inside retro_miscellaneous.h 2015-11-24 00:05:37 +01:00
twinaphex
deae90e0bb Move use_rgba to gfx/video_driver.c - get rid of driver_t dependencies 2015-11-23 23:58:40 +01:00
twinaphex
32b363c75e Cleanups 2015-11-23 21:32:05 +01:00
twinaphex
6f18656baa driver->video_context should be self-contained now to video_context_driver.c 2015-11-23 21:20:21 +01:00
Alcaro
7b66b65823 Add some error messages if the null drivers are used. 2015-11-23 19:42:46 +01:00
twinaphex
c0cc5fac53 Cleanups 2015-11-23 18:25:42 +01:00
twinaphex
8030f91667 Don't use video_driver_get_ptr inside shader_null 2015-11-23 16:41:50 +01:00
twinaphex
4cccd6d596 (sdl2_gfx.c) Buildfix 2015-11-23 14:55:20 +01:00
twinaphex
beceaf4a8c Merge video_pixel_converter.c with video_driver.c 2015-11-23 13:02:24 +01:00
twinaphex
86504392b9 Create video_driver_set_size 2015-11-23 12:54:15 +01:00
twinaphex
074f14b132 Add verbosity.c/verbosity.h 2015-11-23 12:03:38 +01:00
twinaphex
85dbeeb8f9 No more video_monitor.h 2015-11-22 13:32:46 +01:00
twinaphex
892d99b3a6 Add SET_VIEWPORT_CONFIG 2015-11-21 13:13:55 +01:00
twinaphex
806c124eae Merge video_viewport.c and video_driver.c 2015-11-21 13:01:23 +01:00
twinaphex
5b44bd0e6b Create RARCH_DISPLAY_CTL_SET_VIEWPORT_SQUARE_PIXEL 2015-11-21 12:54:38 +01:00
twinaphex
4db97a5300 Refactor away video_viewport_set_core 2015-11-21 12:45:36 +01:00
twinaphex
cf5533ccaa Refactor away video_viewport_reset_custom 2015-11-21 12:36:14 +01:00
twinaphex
0f33722f5d Refactor Wii per-game resolution mode to be somewhat generic 2015-11-21 08:56:24 +01:00
twinaphex
6286e4b74c Add RARCH_DISPLAY_CTL_CACHED_FRAME_RENDER 2015-11-20 15:34:10 +01:00
aliaspider
7f5ae4bdba (3DS) can compile with latest ctrulib/great-refactor.
fix some warnings.
2015-11-19 23:15:48 +01:00
twinaphex
c8130120bc Turn g_x11_has_focus into static variable 2015-11-19 12:23:01 +01:00
twinaphex
655520aeec Create x11_install_quit_atom 2015-11-19 12:18:35 +01:00
twinaphex
9b44a2496b (xvideo.c) Cleanup 2015-11-19 12:15:37 +01:00
twinaphex
e3aba24e42 (X11) Code de-duplication 2015-11-19 12:05:32 +01:00
twinaphex
50cd3bc185 Create x11_colormap_destroy 2015-11-19 11:55:05 +01:00
twinaphex
48495980ba Create x11_window_destroy 2015-11-19 11:49:09 +01:00
twinaphex
ce2b973beb Create x11_input_ctx_new/x11_input_ctx_destroy 2015-11-19 11:27:41 +01:00
twinaphex
56e5d0bf3e Create g_x11_xim 2015-11-19 11:24:56 +01:00
twinaphex
f868cbab31 Create x11_update_window_title 2015-11-19 11:18:57 +01:00
twinaphex
eb31cf4d43 Cleanup xv_focus 2015-11-19 11:14:28 +01:00
twinaphex
d23557d38e Start restricting scope of g_x11_has_focus 2015-11-19 11:13:59 +01:00
twinaphex
95a5818ccb Create x11_install_sighandlers 2015-11-19 11:04:17 +01:00
twinaphex
704709f82e (xvideo.c) Reorder headers 2015-11-19 10:54:30 +01:00
twinaphex
8480bc3c19 Create x11_alive - get rid of some code duplication in xvideo.c 2015-11-19 10:46:16 +01:00
twinaphex
66c15314e2 Get rid of some header files 2015-11-19 08:56:08 +01:00
twinaphex
9d98bfbe6b (GX) Move defines to defines/gx_defines.h 2015-11-18 12:55:28 +01:00
twinaphex
3b7e53bf58 (GX) Cleanups 2015-11-18 12:18:43 +01:00
twinaphex
a3a5a82d47 (GL) doesn't access global state anymore 2015-11-18 03:08:19 +01:00
twinaphex
b5929e800f Get rid of useless cast 2015-11-17 08:47:42 +01:00
twinaphex
2078331495 Move gfx/pixman to gfx/include 2015-11-17 08:35:00 +01:00
twinaphex
239ae7de53 Move gl_common to gfx/common 2015-11-17 08:01:33 +01:00
twinaphex
68421a7521 (GX) Rollback 2015-11-17 04:29:09 +01:00
twinaphex
656edd4477 (GX) Buildfix 2015-11-15 21:16:29 +01:00
twinaphex
8a43aecb11 (GX) Style nits 2015-11-15 21:09:32 +01:00
twinaphex
5e7f90eae8 (GX) Style nits 2015-11-15 21:06:55 +01:00
twinaphex
37b4735c4c (GX) move variables to gx_video_t 2015-11-15 20:44:30 +01:00
twinaphex
1009f12939 (GX) Add framebuf to gx video struct 2015-11-15 20:33:31 +01:00
twinaphex
1ef9601966 Revert "(GL) Cleanups"
This reverts commit 36d5cc890b.
2015-11-14 05:27:44 +01:00
aliaspider
13699280b4 (3ds) video driver:
- fix frame dupes
- bypass DMA for small frames.
2015-11-12 15:00:53 +01:00
twinaphex
7e592df3e8 (vg.c) Variable rename 2015-11-11 03:28:40 +01:00
twinaphex
36d5cc890b (GL) Cleanups 2015-11-10 15:32:07 +01:00
twinaphex
ed35db13e8 Fix some linking errors with CXX_BUILD 2015-11-09 05:23:11 +01:00
twinaphex
7e207626ad (gl.c) Add video_texture.h header include 2015-11-09 02:08:40 +01:00