Commit Graph

3511 Commits

Author SHA1 Message Date
twinaphex 0704c7f0c7 Create texture_image_color_convert 2015-05-04 10:16:47 +02:00
twinaphex ef98d02185 Create texture_image_set_color_shifts 2015-05-04 10:13:53 +02:00
twinaphex 498caabfc7 (GL) Buildfix 2015-05-04 10:03:33 +02:00
twinaphex 5d58d290af (GL) Improve VideoCore/Raspberry Pi hack 2015-05-04 10:00:32 +02:00
twinaphex e4cb891ae7 (GL) Pass context identifier to resolve_extensions 2015-05-04 09:37:26 +02:00
Jean-André Santoni 3a56418c38 Fix a segfault for ctx drivers non implementing image_buffer_init, like mali and vivante 2015-05-03 21:34:11 +07:00
Higor Eurípedes 5bfd910cd1 (gl) Fix font rendering when video_font_enable=false 2015-05-02 22:41:59 -03:00
Higor Eurípedes b85dfec4d4 Fix sigsegv and improve font fallback logic 2015-05-02 22:24:35 -03:00
twinaphex 80c5059d43 Revert "(Video) Call gfx_ctx_free from common function - uninit_video_input"
This reverts commit aac304410b.
2015-05-02 22:53:27 +02:00
Twinaphex d6a713bb8d Fix some warnings 2015-05-02 19:09:23 +02:00
twinaphex aac304410b (Video) Call gfx_ctx_free from common function - uninit_video_input 2015-05-02 05:52:34 +02:00
Twinaphex 84b5a96898 (CGL) Add some logs 2015-04-27 16:28:52 +02:00
Twinaphex 3c4615d273 (CGL) Add some more logging 2015-04-27 16:15:08 +02:00
Twinaphex 43781876cd (CGL) Some buildfixes/cleanups 2015-04-27 15:52:37 +02:00
twinaphex 0b807f34bf (CGL) Implement get_proc_address differently 2015-04-27 15:50:49 +02:00
Twinaphex 01c793904d (CGL) Start implementing get_proc_address 2015-04-27 06:57:35 +02:00
Twinaphex b02986ff94 (Thread wrapper) Fix CMD_SET_VIEWPORT 2015-04-27 00:08:00 +02:00
twinaphex 0ba4e81e63 (VG) Build fixes 2015-04-26 23:19:19 +02:00
twinaphex c7c98451bf (video_thread_wrapper.h) Get rid of some header dependencies 2015-04-26 22:58:19 +02:00
twinaphex a9dee4877e Create set_viewport wrapper function - threaded video mode's
set_viewport function does not work yet
2015-04-26 19:46:59 +02:00
twinaphex d3dba0edc2 Create menu_display_set_viewport 2015-04-26 16:46:56 +02:00
twinaphex 1860f06926 (VG) Cleanups 2015-04-26 06:04:16 +02:00
twinaphex 3f3df59758 (GX) Buildfix 2015-04-26 05:48:45 +02:00
twinaphex 747a58e253 (PS Libdbgfont) Refactor 2015-04-26 05:46:56 +02:00
twinaphex e52eb7bcf2 (360) Build fixes 2015-04-26 05:44:30 +02:00
twinaphex 0634c7e34f (D3D) Start using global->video_data.width and global->video_data.height 2015-04-26 05:35:41 +02:00
twinaphex b6fbf5a335 (Menu) Start getting rid of gl->win_width/gl->win_height and start
creating global->video_data.width and global->video_data.height
which should be used instead in menu drivers
2015-04-26 05:21:43 +02:00
twinaphex 36c2786864 (CGL) Implement bind_api function 2015-04-26 04:38:35 +02:00
Twinaphex a72cc4bfc9 (CGL) Buildfix 2015-04-26 04:26:57 +02:00
twinaphex 4034dbe591 (CGL) Implement get_video_size and check_window 2015-04-26 04:24:13 +02:00
twinaphex 869576b916 (DRM EGL) Get rid of some forward declarations 2015-04-26 04:02:04 +02:00
Twinaphex d49ec806e0 (CGL) CGL Context only for OSX 2015-04-26 03:59:55 +02:00
Twinaphex 6703b26e44 (CGL Context) Some buildfixes 2015-04-26 03:48:35 +02:00
twinaphex 7e20265a4e (CGL) Start making Cocoa-less GL context driver 2015-04-26 03:31:02 +02:00
Twinaphex ada0955642 (Cocoa GL) Refactor set_video_mode some more 2015-04-26 03:01:15 +02:00
Twinaphex 550ab997ee (Cocoa GL) Cleanup 2015-04-26 02:57:53 +02:00
Twinaphex 2ce2bb0a5d (Cocoa) Create stub cocoagl_gfx_ctx_show_mouse 2015-04-26 02:53:50 +02:00
twinaphex c99cd21080 (OSX) Fixes crash on exit/fullscreen toggle with XMB 2015-04-26 00:50:58 +02:00
twinaphex c22535b7e1 Reduce HAVE_FBO ifdefs 2015-04-25 02:35:06 +02:00
twinaphex 85dd24c457 (D3D) Use font_osd_driver/font_osd_data from driver struct 2015-04-25 01:05:20 +02:00
twinaphex 6f84b5dbe5 gl_raster_font_bind_block - block can be NULL 2015-04-25 00:42:47 +02:00
twinaphex 44a8b8bcd3 Move font_handle and font_driver ot the driver struct 2015-04-25 00:32:01 +02:00
twinaphex 58621e5ccf (PS3) Compile in GL raster font 2015-04-23 02:04:32 +02:00
Twinaphex 4c4cdd49c6 (iOS/others) gl_raster_font_get_glyph - prevent a crash when
font driver has not yet been initialized and ident is NULL
2015-04-22 23:38:42 +02:00
twinaphex 20b5fb056f Change signature returntype of get_glyph to const struct font_glyph * 2015-04-22 23:33:43 +02:00
twinaphex d794215dcc (D3D) Update - use font_init_first 2015-04-21 17:53:11 +02:00
twinaphex bd63de9b3a Replace gl_font_init_first and d3d_font_init_first with common function 2015-04-21 17:33:00 +02:00
twinaphex 1a390b8779 Cleanup font driver identifier names 2015-04-21 17:17:44 +02:00
twinaphex ce27f9f887 (Fonts) Cleanups 2015-04-21 17:13:55 +02:00
Jean-André Santoni 558459fb9b (iOS) Fix dpi, still incomplete 2015-04-21 18:58:19 +07:00
Twinaphex c539a66b53 (OSX) Use backingScaleFactor 2015-04-21 13:02:57 +02:00
Twinaphex 000e61dc66 (iOS) 'ret' needs to be passed as pointer 2015-04-21 13:01:21 +02:00
Twinaphex 165b502948 Make get_native_scale code more expandable 2015-04-21 12:57:35 +02:00
Twinaphex 54c6c3eb01 Rename apple_cocoa_gl.m 2015-04-21 11:03:39 +02:00
Twinaphex ea30e2cc3c (Cocoa GL) Use NSOpenGL 2015-04-21 11:00:23 +02:00
twinaphex f435958371 (Android) Implement display metric DPI 2015-04-21 00:57:51 +02:00
twinaphex 1b2e69d782 (Android) Prevent crash at System Information 2015-04-20 22:14:04 +02:00
twinaphex e8a8b378d5 (Cocoa) Rename RAGameView to CocoaView 2015-04-20 20:39:39 +02:00
twinaphex 9ef656dc61 (MSVC) Build fixes 2015-04-20 20:00:39 +02:00
Twinaphex f76f288a86 (apple_cocoa_gl.m) buildfix 2015-04-20 12:56:05 +02:00
twinaphex 20befff4c1 (Cocoa) Move cocoa common files 2015-04-20 12:52:16 +02:00
Twinaphex 2f169a42b1 (qb) Add COCOA 2015-04-20 00:38:55 +02:00
twinaphex 2f2c35252a Fix gfx_ctx_emscripten struct 2015-04-19 21:05:16 +02:00
Alcaro 79280258c7 (D3D) Do use new/delete 2015-04-19 18:58:27 +02:00
twinaphex 8c528bb79a Rename apple_bind_game_view_fbo to cocoagl_bind_game_view_fbo 2015-04-19 17:42:04 +02:00
twinaphex d74f5ad3aa (Apple/Cocoa) Rename gfx_ctx_apple to gfx_ctx_cocoa 2015-04-19 17:40:10 +02:00
twinaphex 8818eb8cca (Video context driver) gfx_ctx_apple should become gfx_ctx_cocoa 2015-04-19 17:27:51 +02:00
twinaphex 4e5bf65e23 Create HAVE_RPNG define 2015-04-19 16:55:03 +02:00
twinaphex 147a9f85ff (CoreText) Add HAVE_CORETEXT define 2015-04-19 16:19:10 +02:00
aliaspider 2076846a5c (CTR/3DS) disable v-sync blocking after a missed vblank-start event.
will prevent cores running under 60fps from slowing down even more.
2015-04-17 19:45:07 +01:00
twinaphex 94b1f2f54f (drm_egl_ctx.c) Cleanup 2015-04-16 23:04:22 +02:00
twinaphex 3a6e369516 (Context drivers) Cleanups 2015-04-16 23:03:55 +02:00
twinaphex 590e315bd1 (glx) Remove header includes here too 2015-04-16 22:41:17 +02:00
twinaphex 20e167e00f (xegl_ctx.c) Remove some unused X11 headers 2015-04-16 22:40:24 +02:00
twinaphex 27661c8087 Refactor some HAVE_X11/HAVE_EGL code 2015-04-16 22:39:28 +02:00
twinaphex cd76c3f975 Add gfx_ctx_get_ident 2015-04-16 20:00:10 +02:00
twinaphex b818038314 Prevent segfault in gfx_ctx_get_metrics 2015-04-16 19:42:27 +02:00
Twinaphex 946193446d (iOS) Move buffer swap to actual buffer swap function 2015-04-15 07:34:22 +02:00
twinaphex 6bf30bb714 (PS3) Buildfixes 2015-04-14 21:58:39 +02:00
twinaphex 0818b178f9 Rename rarch_main_command to event_command 2015-04-13 11:26:02 +02:00
Twinaphex de2eb5f972 Rename RARCH_CMD_* to EVENT_CMD_* 2015-04-13 10:29:15 +02:00
Twinaphex 56a348e9bd Merge pull request #1624 from aliaspider/master
(3DS) video driver: performance improvements.
2015-04-13 02:52:32 +02:00
aliaspider e754c328b0 (3DS) video driver: performance improvements. 2015-04-13 01:50:00 +01:00
twinaphex 59e7ab3048 (XDK1) Build fixes 2015-04-13 00:44:10 +02:00
twinaphex 099d95eb6f (XDK1) Buildfix 2015-04-12 22:32:01 +02:00
twinaphex f4bd33b92f (XDK1) Build fixes 2015-04-12 22:29:55 +02:00
twinaphex 9a3ba16a36 (GL) Cleanup 2015-04-12 22:01:48 +02:00
twinaphex 4479bf5d55 (XDK1) Buildfixes 2015-04-12 20:00:49 +02:00
twinaphex 7fbbac544e Some C89 build fixes 2015-04-12 19:29:38 +02:00
twinaphex 81cd5df961 Update MSVC solutions - 360 buildfix 2015-04-12 19:03:44 +02:00
Twinaphex 0e2ed7c746 (Apple) Cleanups 2015-04-12 16:55:50 +02:00
Twinaphex 68902c9d94 (Cocoa/Apple) Split up Apple GL context driver code to separate file 2015-04-12 16:51:07 +02:00
twinaphex 2e0ea00404 (video filters) Change all existing video filters to single threaded mode -
the code is not thread-safe
2015-04-12 07:45:28 +02:00
Alcaro c953b78f07 Fix missing HAVE_MENU ifdef. 2015-04-11 22:05:54 +02:00
twinaphex 0d8bcb518b Add dynamic.h header include 2015-04-11 21:57:03 +02:00
twinaphex 5dfdeba58f Make d3d_make_d3dpp public 2015-04-11 21:56:38 +02:00
twinaphex f50b208ec8 Move d3d_make_d3dpp to d3d.cpp 2015-04-11 21:54:52 +02:00
twinaphex ba0ea3da1d Create dylib.h header 2015-04-11 10:36:13 +02:00
twinaphex be96b95dda Style nits 2015-04-11 08:45:55 +02:00
twinaphex 54b10d8eca (gfx/drivers) Style nits 2015-04-11 08:39:37 +02:00
twinaphex e76f8b9a71 init_video_pixel_converter - return false if calloc failed 2015-04-11 08:23:02 +02:00
twinaphex b31fd31793 Fix win32_show_cursor 2015-04-11 07:10:35 +02:00
twinaphex c00b1ac7e1 init_video - cleanup 2015-04-11 06:23:40 +02:00
twinaphex b77a3c49ee Cleanup video_driver_set_shader 2015-04-11 06:17:59 +02:00
twinaphex c5cdd729db Create video_driver_suppress_screensaver 2015-04-11 06:12:27 +02:00
twinaphex 5112a6883e Create video_driver_ctx_get_ptr 2015-04-11 06:09:24 +02:00
twinaphex 128fbce403 video_driver.c - Refactor 2015-04-11 05:57:53 +02:00
twinaphex ef825e0c6a (Menu/video) Cleanups 2015-04-11 05:44:35 +02:00
twinaphex dd10134e39 (XDK1 Fonts) Rename pFrontBuffer 2015-04-10 10:11:43 +02:00
twinaphex a3e14acaa3 Create win32_check_window 2015-04-10 09:36:03 +02:00
twinaphex b46c9cea87 Create win32_show_cursor 2015-04-10 09:30:18 +02:00
twinaphex 4f43e4b363 Go through gfx_ctx_get_proc_address 2015-04-10 09:24:10 +02:00
twinaphex ffc5ba0980 Make gfx_ctx_get_ptr static 2015-04-10 09:15:25 +02:00
Twinaphex ced227c214 (gl.c) Cleanups 2015-04-10 09:12:32 +02:00
twinaphex f65f56fdf4 Go through gfx_ctx_get_video_output wrapper functions 2015-04-10 09:11:17 +02:00
twinaphex 234baf09bd Go through gfx_ctx_bind_hw_render 2015-04-10 09:07:53 +02:00
twinaphex 0ef148f460 Go through gfx_ctx_set_video_mode 2015-04-10 09:05:07 +02:00
twinaphex 8082f17e2e Rename egl image buffer functions 2015-04-10 09:02:24 +02:00
twinaphex 0fc92790b3 Go through gfx_ctx_input_driver 2015-04-10 08:53:45 +02:00
twinaphex fe69dc2768 Use gfx_ctx_show_mouse 2015-04-10 08:49:01 +02:00
twinaphex 7e6787147e (D3D) Use gfx_ctx_swap_interval 2015-04-10 08:34:28 +02:00
twinaphex 4cb8074bf5 Create more gfx_ctx wrapper functions and use them 2015-04-10 08:33:07 +02:00
twinaphex 187ab80f71 Go through more gfx_ctx wrapper functions 2015-04-10 08:26:43 +02:00
Twinaphex 1a6adcc6f6 (video_context_driver.h) Cleanup 2015-04-10 08:05:31 +02:00
twinaphex e282951163 (360) Change #ifndef LSB_FIRST to #ifdef MSB_FIRST 2015-04-10 08:03:34 +02:00
twinaphex 8012b88bcb (PS3) Buildfix 2015-04-10 07:46:54 +02:00
twinaphex a8a5808b78 (D3D) Cleanup 2015-04-10 07:44:07 +02:00
twinaphex d9f828e047 (D3D) Don't use std::string for title 2015-04-10 07:41:37 +02:00
twinaphex b1258bd179 Wrap more D3D functions and move them to d3d_wrapper.cpp 2015-04-10 07:33:30 +02:00
twinaphex 29f26c634a (D3D) Fix warning 2015-04-10 07:25:45 +02:00
twinaphex ee79299f3a (D3D) Create d3d_alpha_blend_texture_enable_func 2015-04-10 07:24:13 +02:00
twinaphex 93cbdebd37 Create gfx_ctx_get_video_size 2015-04-10 07:12:15 +02:00
twinaphex 901662caad (vg.c) Use gfx_ctx_translate_aspect 2015-04-10 06:52:51 +02:00
twinaphex d16b22fa80 (vg.c) Start going through gfx_ctx wrapper functions 2015-04-10 06:51:00 +02:00
twinaphex 3475dad124 Go through gfx_ctx_show_mouse 2015-04-10 06:46:25 +02:00
twinaphex 5fff3d0879 (D3D) Start using gfx_ctx wrapper functions 2015-04-10 06:41:28 +02:00
twinaphex 89bdccad4d (wgl_ctx.c) Fix warnings 2015-04-10 06:33:18 +02:00
twinaphex 6ff8d368e6 (gl.c) Cleanup 2015-04-10 06:29:27 +02:00
twinaphex a4f234e26e (GL) Cleanup gl_read_viewport 2015-04-10 06:25:25 +02:00
twinaphex 270f10ae04 (gl.c) Cleanup gl_init 2015-04-10 06:17:04 +02:00
twinaphex 37a5a7e653 Create gfx_ctx_suppress_screensaver 2015-04-10 06:13:20 +02:00
twinaphex 7671f3e035 Create gfx_ctx_check_window 2015-04-10 06:10:05 +02:00
twinaphex 33e70124a1 (d3d_ctx.cpp) Cleanup 2015-04-10 06:01:52 +02:00
twinaphex 3213baf452 Take out HAVE_EGL ifdefs in gfx_context_driver_t definition 2015-04-10 05:58:08 +02:00
twinaphex 133d7b7dd2 Wrap more gfx_ctx functions 2015-04-10 05:47:36 +02:00
twinaphex c0d58ce467 Take out win32_dwm_common.h header includes 2015-04-09 23:00:08 +02:00
twinaphex 18801c8449 Move gfx_set_dwm call to platform_win32.c 2015-04-09 22:58:57 +02:00
twinaphex f91f543f74 (D3D) Start using some of the gfx_ctx wrapper functions 2015-04-09 22:47:18 +02:00
twinaphex 0df3f13fc9 Revert "Create wrapper gfx_ctx_check_window"
This reverts commit 4d3b187231.
2015-04-09 22:38:11 +02:00
twinaphex 4d3b187231 Create wrapper gfx_ctx_check_window 2015-04-09 22:37:14 +02:00