Commit Graph

2098 Commits

Author SHA1 Message Date
Themaister 583514ae95 Add support for GLES 3.1+. 2014-05-03 15:21:14 +02:00
Themaister f6a578ce4e Fix issues with nVidia EGL implementation. 2014-05-03 14:48:12 +02:00
twinaphex cb53d65fc3 Compile with HAVE_BUILTIN_FILTERS for Android - and some C90 build
fixes for filters. Note/FIXME: We need to get rid of the complex.h
dependency in the equalizer plugin
2014-05-03 04:59:35 +02:00
twinaphex 3b6f408a41 (SoftFilters) Add Phosphor2x 2014-05-03 02:26:04 +02:00
twinaphex 08965cfa0d Change HAVE_FFMPEG ifdefs into HAVE_RECORD - recording will get
a proper interface soon so there can be multiple implementations
instead of just ffmpeg
2014-05-03 00:21:07 +02:00
twinaphex d56f1e0104 (SoftFilters) Add LQ2x 2014-05-02 21:09:59 +02:00
twinaphex 6fd54d9659 Split up softfilter struct definitions into separate header file -
so as to make it not part of the softfilter API header
2014-05-02 19:12:56 +02:00
twinaphex 61d2b49a1d (SoftFilters) Blargg NTSC - don't use restrict keyword 2014-05-02 00:22:01 +02:00
twinaphex 01ceaa9d27 (Griffin) Bake in Blargg NTSC NES/SNES filters into Griffin now.
All console ports should have them now
2014-05-01 06:09:06 +02:00
twinaphex 3107c9adb5 (SoftFilters) Uniquely name all variables and put header guards around
snes_ntsc.c (this will be needed for later static linking inside
Griffin)
2014-05-01 06:01:43 +02:00
twinaphex b40b9e55d2 (SoftFilters) Added Blargg NTSC NES/SNES RF/RGB/Svideo as well 2014-05-01 05:43:38 +02:00
twinaphex 5e317202e1 (Filter) Blargg NTSC SNES composite should now be fixed - RGB565 only
right now
2014-05-01 05:27:49 +02:00
twinaphex 068e2927aa (SotFilters) outpitch was pre-shifted in render function for 32bpp
- set rgb565 equivalent to 16bpp shift
2014-05-01 05:22:17 +02:00
twinaphex 7959a85311 (SoftFilters) (Currently broken) blargg NTSC SNES adaptation - needs
first and last line bits properly implemented
2014-05-01 05:05:03 +02:00
Themaister 795503f108 Just define EGL_OPENGL_ES3_BIT_KHR instead. 2014-04-30 10:01:32 +02:00
Themaister 75077fa553 Should fix build with outdated EGL headers. 2014-04-30 09:27:49 +02:00
twinaphex 91294d71fe (SDL gfx driver) Some cleanups 2014-04-30 04:04:59 +02:00
twinaphex ba46770f3c Rework frontend.c and make it possible to compile without HAVE_MENU
defined again
2014-04-30 04:00:39 +02:00
twinaphex f9cff5b00d Move extern references to built-in filters to driver.h 2014-04-30 02:38:13 +02:00
twinaphex cdc60da07f (DSP Filters) Add code for HAVE_BUILTIN_FILTERS 2014-04-29 21:56:50 +02:00
twinaphex 4a119d9d94 (SoftFilters) More of aforementioned 2014-04-29 00:41:29 +02:00
twinaphex d0a8fdc0bc (SoftFilters) Add some more safety checks before executing certain function pointers 2014-04-29 00:36:52 +02:00
twinaphex 931d54df1d (SoftFilters) Rewrite softfilter_get_implementation_from_idx - should be more
easily maintainable now without ugly switch
2014-04-28 22:38:05 +02:00
Themaister e9161f67fe Avoid reading back random RGUI frames in async recording. 2014-04-27 10:40:24 +02:00
OV2 6373f9acd3 (D3D) use new instead of calloc so that constructors are run 2014-04-26 13:26:01 +02:00
Themaister 09d7155c7a Fix GL_DEBUG for GLES. 2014-04-21 14:46:59 +02:00
Themaister f26593e0b6 Add core context support to X/EGL and KMS/EGL. 2014-04-20 13:54:29 +02:00
twinaphex cc8bca68fc (SoftFilter) Makefile - can compile filters now on OSX 2014-04-19 20:46:05 +02:00
Themaister 80a12ae1d6 Don't create PBO scaler if not needed. 2014-04-19 17:27:49 +02:00
Themaister c39d27fd8d Add async readback to GLES3.
Have support for PBOs and glMapBufferRange.
2014-04-19 17:22:25 +02:00
Themaister 095718c855 Only bind shared context if necessary. 2014-04-19 16:59:26 +02:00
Themaister 1cbb47229a Make video_shared_context an option.
Might be part of libretro API later if necessary. Must be discussed with
other frontend developers first.
2014-04-19 16:37:39 +02:00
Themaister 5614a77cec Build fix. 2014-04-19 16:25:27 +02:00
Themaister 5bdd368192 Add Windows shared context. 2014-04-19 16:21:37 +02:00
Themaister 105872a42c Add HW context support to X/EGL and KMS/EGL. 2014-04-19 16:06:25 +02:00
Themaister f658112756 Add experimental support for separate HW contexts. 2014-04-19 15:37:00 +02:00
twinaphex 71cdc3b6ba (SoftFilters) 2xBR - big-endian code fixes for XRGB8888 codepath 2014-04-19 01:56:42 +02:00
twinaphex b3c44061b2 (PS3) Fix some warnings 2014-04-19 01:56:12 +02:00
Twinaphex 8a47921982 (SoftFilter) 2xBR - compatibility build fix 2014-04-18 14:31:27 -07:00
twinaphex 811faf5022 (SoftFilters) XBR8888 code added by Hyllian 2014-04-18 22:57:28 +02:00
twinaphex 0b74d81f97 (SoftFilters) 2xBR - fixed warnings 2014-04-18 21:21:10 +02:00
twinaphex 0a4e839384 (SoftFilters) 2xBR fixed by Hyllian 2014-04-18 20:43:34 +02:00
twinaphex 8e015a71b4 (Apple) Build fix 2014-04-17 22:10:37 +02:00
twinaphex d8de45a6c9 (SoftFilter) cleanup scale2x.c 2014-04-17 21:00:42 +02:00
twinaphex 34fc044bbf Filters need to be C90-compatible for Android build 2014-04-17 20:51:46 +02:00
Twinaphex 4e2572bbfe (MSVC 360) Build fix 2014-04-17 17:42:41 -07:00
twinaphex 8ea17075aa (SoftFilters) Port EPX to SoftFilter spec - RGB565 only for now 2014-04-17 17:21:35 +02:00
twinaphex 00ac99148a (SoftFilters) 2xSaI - Add 4444 macros 2014-04-17 16:40:59 +02:00
Themaister f8d065eeb6 [HW render] set known blending equation. 2014-04-17 15:32:36 +02:00
twinaphex 37c8ea816c (SoftFilters) Fixes crashes with HQ2x - note - HQ2x is very slow due to YUV table 2014-04-17 14:58:30 +02:00
twinaphex aa3cdb4e05 (SoftFilters) Cleanup scale2x.c 2014-04-17 13:39:06 +02:00
twinaphex 7d1de6a319 (SoftFilters) 2xSaI and SuperEagle support XRGB8888 now too 2014-04-17 13:35:57 +02:00
twinaphex 2f250d804a (SoftFilter) Fixed XRGB8888 for Super2xSaI - got rid of 'sai_write' function 2014-04-17 13:14:05 +02:00
twinaphex f2fe9b23a1 (SoftFilters) Simplify all Kreed xSaI filters 2014-04-17 12:21:18 +02:00
twinaphex 08ab8a122f (SoftFilters) Simplify Super2xSaI code for interpolation/getresult functions- and add 32bpp routines - broken colors for 32bpp 2014-04-17 11:57:17 +02:00
twinaphex cfb9cbdbd1 (SoftFilters) Refactor super2xsai.c 2014-04-17 11:14:57 +02:00
twinaphex 8a214da781 (SoftFilters) Add SuperEagle filter (RGB565 only for now) 2014-04-17 00:53:19 +02:00
twinaphex c762f61efc (xSaI) Refactor some code 2014-04-17 00:05:33 +02:00
twinaphex fc120db9d7 Add super2xsai.c 2014-04-16 21:15:57 +02:00
twinaphex e693e93b57 (SoftFilter) Add Super2xSaI filter (RGB565 only for now) 2014-04-16 21:15:02 +02:00
twinaphex 2b3624a864 (SoftFilters) Fixed HQ2x 2014-04-16 18:12:31 +02:00
twinaphex 09bb2b4fae (SoftFilter) 2xBR - Hook up last_second and first_second to
worker thread function
2014-04-16 18:00:19 +02:00
twinaphex c6e64d5c69 (SoftFilter) Add first_second and last_second to filter_thread_data
for 2xBR
2014-04-16 17:59:35 +02:00
twinaphex 6cd2cb4abe (SoftFilter) Refactor HQ2x somewhat 2014-04-16 17:43:52 +02:00
twinaphex 390d198812 Uniquely name gfx/scaler/filter.c for MSVC 2014-04-16 15:48:33 +02:00
twinaphex 09d29d267a (RARCH_CONSOLE) Fix rarch_softfilter_get_name for consoles 2014-04-16 13:42:50 +02:00
twinaphex 5c0f30c569 (SoftFilter) Compile with release set to release by default 2014-04-16 13:30:17 +02:00
twinaphex b4a6635e67 (SoftFilter) Port of HQ2x- segfaults sporadically - needs fixing 2014-04-16 13:29:32 +02:00
twinaphex 9772c48016 (SoftFilter) Cleaner and more portable way of grabbing the name from the filter 2014-04-16 06:48:24 +02:00
twinaphex a090806abc (SoftFilters) Add 2xSaI filter - RGB565 only for now 2014-04-16 06:34:20 +02:00
twinaphex 8d6a7dbe1f (Console) Bakes in filters now for ifndef HAVE_DYLIB targets 2014-04-16 03:33:10 +02:00
twinaphex 45c917afa4 Compile in filters for console ports (HAVE_DYLIB not defined in
Griffin)
2014-04-16 02:09:09 +02:00
twinaphex 4cd1094151 Add Makefile for filters (needs to be made crossplatform later) 2014-04-16 01:49:21 +02:00
twinaphex b5dc514f1a Add untested Hylian 2xBR C code - right now shows some broken colors
and that's it
2014-04-16 00:55:09 +02:00
twinaphex 6bb5a08f3e (Softfilters) Prevent code duplication in scale2x.c 2014-04-15 21:18:43 +02:00
twinaphex bbcac9463b Cleanup scale2x.c 2014-04-15 21:04:26 +02:00
Themaister ff424e239d Fixup filters. 2014-04-15 19:36:42 +02:00
twinaphex a17c814ea7 Rename dark.c to darken.c 2014-04-15 19:24:06 +02:00
twinaphex db9e69c0c6 Uniquely name dark.c functions 2014-04-15 18:45:11 +02:00
twinaphex ea00f26414 (SoftFilters) Port of scale2x.c - buggy/broken 2014-04-15 18:25:28 +02:00
twinaphex 5993a63d77 Add experimental 16bpp code to dark.c softfilter - WIP 2014-04-15 18:04:42 +02:00
Themaister 980eefdd8c Autodetect number of CPU cores for softfilter. 2014-04-15 17:55:40 +02:00
Themaister 0e406c998d Fix CXX_BUILD. 2014-04-15 12:40:27 +02:00
twinaphex 6bdd5cf6ec Add RGUI actions for Softfilter directory path and Softfilter selection -
maister - test if this works - it doesn't here on my end and keeps saying
that the example softfilter (dark.c) has the wrong color format)
2014-04-15 06:19:24 +02:00
twinaphex a0bce9d467 (Filters) Rewrite dark.c so that it can be compiled by MSVC 2014-04-15 05:06:27 +02:00
twinaphex 347b2bfb6a Move gfx/softfilter.h to gfx/filters/softfilter.h and put gfx/filters/dark.c
into repo
2014-04-15 05:01:31 +02:00
Themaister c88941d23a Should avoid UTF-8 segfault in bitmapfont. 2014-04-15 04:43:14 +02:00
Themaister 90d4a28a88 Fix type derp. 2014-04-15 04:29:51 +02:00
Themaister b1c238c0d6 Add threaded filtering. 2014-04-15 04:05:56 +02:00
Themaister 3e83e45a7d Better error handling of filter stuff. 2014-04-15 00:33:13 +02:00
Themaister 4b97de0c9e Replace filter cruft with new stuff. 2014-04-15 00:03:55 +02:00
Themaister cbc6775496 Some more filter stuff ... 2014-04-14 23:46:47 +02:00
Themaister f72445798b Flesh out filter stuff a bit more. 2014-04-14 23:24:10 +02:00
Themaister 5cb3438389 Begin implementation of softfilter API. 2014-04-14 22:56:15 +02:00
Themaister f2c78c36e3 [Android] Add support for GLES3 HW render. 2014-04-14 13:17:05 +02:00
Themaister 2e3ca36010 Allow toggling monitor index in RGUI. 2014-04-06 15:41:53 +02:00
Themaister 0ae933ea8b Select best KMS mode depending on refresh rate.
Try to match as closely as possible.
2014-04-06 15:29:59 +02:00
Themaister 72c3177715 Honor fullscreen_x/fullscreen_y in KMS/EGL.
Try to find optimal mode.
2014-04-06 15:20:31 +02:00
Themaister 36575fe407 Add multi-monitor support to KMS/DRM. 2014-04-06 15:10:39 +02:00
Themaister 99bc686266 Log available KMS/DRM modes. 2014-04-05 22:29:20 +02:00
Themaister f804adae21 Fixup big resource leaks in KMS/DRM. 2014-04-05 22:11:19 +02:00
Floréal Toumikian c1014ee305 Moved dir_list_free 2014-04-05 19:59:31 +02:00
Floréal Toumikian a107678f0d Fixed broken build 2014-04-05 19:51:28 +02:00
Floréal Toumikian d663f7fc5d romoved glob, used file_list instead 2014-04-05 19:32:51 +02:00
Floréal Toumikian 8fce5f03e9 Added gpu lookup in DRM EGL context 2014-04-05 16:02:28 +02:00
twinaphex 68593e39ea (D3D9) Replace menu_iterate_xui code 2014-04-01 04:49:32 +02:00
Twinaphex 456a9f4245 (D3D) Don't add Direct3D to window title 2014-03-16 14:50:09 +01:00
Twinaphex ba4116e313 (D3D) TODO - quick hack to get D3D driver to at least work for games -
WM_DESTROY needs to be properly reimplemented
2014-03-16 14:36:55 +01:00
Adam Di Carlo 4aff572ed7 vg methods require the vg be passed as first object; allows this file to compile on Debian Wheezy amd64 2014-03-15 14:22:26 -04:00
Themaister 79d0cb11af Fix compile issue in VC context. 2014-03-15 16:04:23 +01:00
Themaister d941f70dff Should fix build on Pi. 2014-03-15 14:16:29 +01:00
twinaphex c52c8cd5b5 (Android) Bump up versioncode
(VideoCore EGL) Fix build
2014-03-13 11:01:46 +01:00
twinaphex 7cdc23505c (Apple) Build fix 2014-03-10 06:00:06 +01:00
twinaphex 247dc03124 (d3d_ctx.cpp) Use local data pointer instead of driver.video_data
where appropriate
2014-03-09 18:54:02 +01:00
twinaphex d1df068583 (XDK) Build fix 2014-03-09 18:51:35 +01:00
Themaister 6b470442e6 Fixup Win32 build.
D3D stubbed out until it's fixed.
2014-03-09 17:15:10 +01:00
Themaister d3c0431a3b Update more context backends ... 2014-03-09 17:11:06 +01:00
Themaister d0302c9800 Begin adding opaque interface to gfx_context. 2014-03-09 16:50:18 +01:00
Themaister 6a45de307d Build fix MinGW. 2014-03-09 15:49:20 +01:00
twinaphex 4da1d1f8a3 (D3D CTX) implement gfx_ctx_d3d_destroy for Xbox 2014-03-08 05:21:57 +01:00
twinaphex 8254e127ec Rename d3d9_p.cpp to gfx/context/d3d_ctx.c 2014-03-08 05:18:05 +01:00
twinaphex a95290b94a (D3D Move more code over for Xbox 2014-03-08 04:56:27 +01:00
twinaphex 05e62a133f (XDK) Remove xdk_ctx.c 2014-03-08 04:19:10 +01:00
twinaphex 38c04f9b0c (XDK) Use same context driver as PC now 2014-03-08 04:13:20 +01:00
twinaphex 7599caac81 (D3D) Move code around 2014-03-08 04:08:18 +01:00
twinaphex dabfafc7cc (D3D) Move stuff around 2014-03-08 04:03:12 +01:00
twinaphex f84e59568c (D3D) Remove some header includes 2014-03-08 03:36:10 +01:00
twinaphex c512fccc18 (XDK) Build fix 2014-03-08 00:54:33 +01:00
twinaphex c5fd281e1c (XDK) Use similar-named context driver as PC D3D 2014-03-07 22:49:44 +01:00
twinaphex ff65d6a58c (D3D) Insert more XDK code 2014-03-07 22:26:47 +01:00
twinaphex 856f7a2e2c (D3D) Build fix 2014-03-07 21:58:21 +01:00
twinaphex 8714939ab7 (D3D) Start implementing Xbox code in regular D3D driver 2014-03-07 21:55:18 +01:00
twinaphex 1af941a6ee (D3D) Some changes 2014-03-07 21:22:59 +01:00
twinaphex 2708bef175 (D3D) Add XDK ifdefs in d3d9_pc.cpp 2014-03-07 21:14:56 +01:00
twinaphex f512ba76d1 (XDK) Rename xdk_d3d_video_t to d3d_video_t 2014-03-07 20:17:25 +01:00
twinaphex fd76a28a32 (D3D) Refactor D3DVideo class to d3d_video_t - should be very
similar to XDK D3D driver now
2014-03-07 19:34:17 +01:00
twinaphex 85bfecf1e9 (D3D) Cleanup render_chain.hpp 2014-03-07 19:17:59 +01:00
twinaphex e639c6042e (D3D Refactor render_chain.cpp - shouldn't be a class 2014-03-07 19:13:20 +01:00
twinaphex 7f5e2c1631 (360 XDK) Don't reference driver.video_data from within
xdk3360_fonts.cpp
2014-03-07 06:46:11 +01:00
twinaphex 82c7e8f422 (XDK D3D) Build fix 2014-03-07 05:56:23 +01:00
twinaphex 39c1ec4672 Pass data param to more shader functions 2014-03-07 05:51:56 +01:00
twinaphex ab79407dc6 (XDK 360 fonts) Start replacing driver.video_data with local data argument 2014-03-07 05:37:20 +01:00
twinaphex 091ae18870 (GL) Fixup params to shader->init 2014-03-07 05:32:17 +01:00
twinaphex ea88399281 (XDK D3D) Refactor initing code completely - make it more inline
with PC D3D driver
2014-03-07 05:31:24 +01:00
twinaphex c03c980c1e (XDK D3D) Create set_mvp 2014-03-06 18:29:54 +01:00
twinaphex 407cced43c (XDK D3D) Move g_extern.frame_count incrementin to swap_buffers 2014-03-05 22:24:39 +01:00
twinaphex fb48a9e356 (XDK D3D) refactors 2014-03-05 22:10:36 +01:00
twinaphex f0ff3b4ae7 (XDK D3D) Rename win_width/win_height to screen_width/screen_height 2014-03-05 06:25:39 +01:00
twinaphex 4cd603197b (XDK D3D) Refactor LPDIRECT3D member to g_pD3D 2014-03-05 06:11:39 +01:00
twinaphex 1e37515e2f (XDK D3D) Rename d3d_render_device member to dev 2014-03-05 06:05:48 +01:00