twinaphex
e7e43a5c59
(GL) Refactors pt. 1
2014-10-01 18:23:02 +02:00
twinaphex
a0dabeb4ac
(GL) Optimization to gl_copy_frame
2014-10-01 17:15:02 +02:00
twinaphex
d982350702
(GL) Cleanups/refactoring
2014-10-01 16:59:43 +02:00
twinaphex
9fc34b6d2d
video_thread_wrapper.c - use PATH_MAX sizes for chars
2014-10-01 16:25:14 +02:00
Twinaphex
9393cc5ca5
Merge pull request #1071 from aliaspider/master
...
add set_osd_msg to the threaded video driver
2014-10-01 16:24:22 +02:00
aliaspider
5df633b577
add set_osd_msg to the threaded video driver
2014-10-01 15:18:17 +01:00
twinaphex
e0f1696b04
(freetype) refactor freetype.c
2014-10-01 15:51:23 +02:00
twinaphex
93c55879a8
gl_font.c - rename gl_data to video_data
2014-10-01 15:31:52 +02:00
twinaphex
f6dabba9a9
(PS3/Griffin) Prevent namespace conflicts with Griffin
2014-10-01 15:13:20 +02:00
Twinaphex
807818d4c6
(Apple) Reimplement input - get rid of g_current_input_data global
...
and instead initialize driver.input_data
2014-09-30 15:44:40 +02:00
twinaphex
a01d349227
Add note to gl_wrap_type_to_enum
2014-09-28 17:19:54 +02:00
twinaphex
6200641ccf
Take out DONT_HAVE_BITMAPFONTS
2014-09-25 06:54:40 +02:00
twinaphex
00e605d9ba
Take out MODE_MENu - and introduce g_extern.is_menu
2014-09-25 06:33:28 +02:00
twinaphex
395e2ed756
Add "Force-disable sRGB FBO" option for buggy Intel OpenGL drivers
...
on Windows - should hopefully fix messed up colors with it enabled (untested)
2014-09-21 05:23:51 +02:00
Lioncash
1c62c36e3b
shader_parse: Fix missing enum identifier warning
2014-09-20 22:07:52 -04:00
twinaphex
29d533773c
rpng.c - cleanup
2014-09-16 06:18:51 +02:00
Higor Eurípedes
1331e50bf2
(d3d_ctx.cpp) Add HAVE_EGL check
2014-09-15 21:16:36 -03:00
twinaphex
bbcf2e5eda
(Menu) Implement stub functions for shader manager functions in menu_common_backend.c
2014-09-15 21:54:03 +02:00
twinaphex
2833ca7276
Use config_file_userdata for gfx_filter
2014-09-15 21:32:15 +02:00
Lioncash
f8499aa71a
Sanitize against NULL in some free-like functions.
2014-09-15 09:30:27 -04:00
twinaphex
8caf16a538
(WGL) Build fix
2014-09-14 19:30:44 +02:00
twinaphex
a752db392f
Revert "Do life cycle state checking outside of graphics driver for"
...
This reverts commit 06bea05634
.
2014-09-14 07:53:18 +02:00
twinaphex
295434151b
(D3D) Change dir to gfx/d3d
2014-09-14 06:45:47 +02:00
twinaphex
3eead06391
(MSVC) Use Griffin from now on for MSVC PC build - make some
...
variable/ function names unique for Griffin
2014-09-14 06:29:40 +02:00
twinaphex
06bea05634
Do life cycle state checking outside of graphics driver for
...
menu display driver's 'frame' function
2014-09-14 06:02:05 +02:00
twinaphex
259d75fa6e
(GLUI) Fix Savestate load/save and resume
2014-09-14 05:57:53 +02:00
Lioncash
3912b3fee4
retroarch_logger: Append the calling function name to the log message.
...
Makes tracing back a little easier.
2014-09-13 20:02:53 -04:00
Lioncash
495ed9de99
gfx_common: Make gfx_init_dwm a boolean function
...
Also fixes a bug where inited would be set to true, even if initialization had failed. I don't think it really matters in this case, however if this changes and is called twice for some reason in the future, it won't falsely assume it's already initialized.
2014-09-13 18:03:15 -04:00
twinaphex
9fd2c64426
(D3D) Change references to pointers
2014-09-13 22:25:30 +02:00
twinaphex
478074c557
(XDK) Take out 'vsync' variable from driver
2014-09-13 22:09:36 +02:00
twinaphex
3369d15f93
(360) SetTransform not supported on 360
2014-09-13 22:07:00 +02:00
twinaphex
397dd132b4
Move font variable to d3d_w32_font.cpp
2014-09-13 21:59:11 +02:00
twinaphex
78492f238a
(D3D) Add d3d_set_transform
2014-09-13 21:50:23 +02:00
twinaphex
5f48e85b65
(D3D) Create d3d_clear
2014-09-13 20:09:55 +02:00
twinaphex
22dd54e1f5
(D3D) Create d3d_vertex_buffer_unlock
2014-09-13 19:56:52 +02:00
twinaphex
548c04bd1b
(XDK1) use d3d_vertex_buffer_lock for texture_image_render
2014-09-13 19:47:57 +02:00
twinaphex
45fc487b95
Change d3d_wrapper.c to d3d_wrapper.cpp
2014-09-13 19:40:12 +02:00
twinaphex
f3cd7f8fe4
(D3D) Create d3d_vertex_buffer_lock
2014-09-13 19:33:06 +02:00
twinaphex
1d142c3b58
(D3D) renderchain_free forward decl. only needed for Xbox 1
...
for now
2014-09-13 19:17:07 +02:00
twinaphex
0ae0a65189
(XDK) Build fix
2014-09-13 19:12:56 +02:00
twinaphex
c558b48ff5
(D3D) Move D3DTexture_LockRect to d3d_texture_blit
2014-09-13 19:11:36 +02:00
twinaphex
7366b43588
(D3D) Set vertex_buf / texture pointer to NULL at end of wrapper
...
functions
2014-09-13 18:57:12 +02:00
twinaphex
548d9fea6c
(render_chain_xdk) Use wrappers for freeing textures and vertex
...
buffers
2014-09-13 18:55:35 +02:00
twinaphex
91cc31dc98
(Xbox 1) Build fix
2014-09-13 18:53:19 +02:00
twinaphex
b14fac1437
(360) Clean up warning
2014-09-13 18:45:13 +02:00
twinaphex
152dd2e073
(D3D) Build fixes
2014-09-13 18:44:04 +02:00
twinaphex
c0f9c4ec41
(D3D) Go through d3d_texture_new
2014-09-13 18:42:43 +02:00
twinaphex
978cc49563
(D3D) Build fix
2014-09-13 18:37:31 +02:00
twinaphex
82e7112f41
(D3D) Use d3d_texture_new
2014-09-13 18:36:35 +02:00
twinaphex
ea1c220ea5
(D3D) Build fix
2014-09-13 18:26:43 +02:00
twinaphex
27ea47ee6d
(D3D) Rewrite renderchain_add_lut
2014-09-13 18:25:31 +02:00
twinaphex
6f05da2208
(D3D) Cleanups - only go through d3d_vertex_buffer_new
2014-09-13 18:22:56 +02:00
twinaphex
633c05d677
(D3D) Start going through d3d_texture_free/d3d_vertex_buffer_free
2014-09-13 18:17:34 +02:00
twinaphex
0b5a9a244c
(D3D) Create d3d_vertex_buffer_free/d3d_texture_new/d3d_texture_free
2014-09-13 18:11:15 +02:00
twinaphex
138541f6cc
(image_xdk1.c) Use d3d_vertex_buffer_new
2014-09-13 17:58:38 +02:00
twinaphex
c4b35fb00d
(D3D) Rewrite create_vertex_buffer wrapper function
2014-09-13 17:56:33 +02:00
twinaphex
0de251079a
(D3D) Pass 'Pass' and 'LinkInfo' by pointer instead of reference
2014-09-13 17:33:58 +02:00
twinaphex
0a85e95d0d
(D3D) xdk_defines - cleanups
2014-09-13 08:10:53 +02:00
twinaphex
25b60fc0ca
(D3D) Merge big included files into d3d.cpp
2014-09-13 08:06:01 +02:00
twinaphex
8572e3bc6e
(D3D) Some fixes to render_chain.cpp and d3d_wrapper.c
2014-09-13 05:45:49 +02:00
Lioncash
085a74d33f
gl: Silence a possible null dereference warning
2014-09-12 22:41:30 -04:00
Higor Eurípedes
95193c20e0
(gl_raster_font.c) Fix warning
2014-09-12 22:57:24 -03:00
Higor Eurípedes
81ff623957
(gl_font_renderer_t) Add get_glyph() function pointer
2014-09-12 22:39:29 -03:00
Lioncash
6e63859e0e
state_tracker: Guard against a possible calloc failure and fix state_tracker_free
...
Checks if the passed in tracker is actually valid before attempting to free its members.
2014-09-12 19:27:20 -04:00
Higor Eurípedes
85cef84bd4
(driver.c) Add driver_video_resolve()
...
This function returns the real video driver data when threaded video is
in use.
2014-09-12 17:26:26 -03:00
twinaphex
e54174f3a2
(PSP) Build fix
2014-09-12 21:58:25 +02:00
twinaphex
c1118dc12a
(D3D) Build fixes for lock_rectangle_clear wrapper function
2014-09-12 21:29:18 +02:00
twinaphex
f778d36272
(D3D) Use d3d_lockrectangle_clear wrapper function
2014-09-12 21:15:49 +02:00
twinaphex
5c8cab7e4f
(D3D) Build fix - make d3d_texture_blit wrapper function work
2014-09-12 20:21:56 +02:00
twinaphex
fa0261c1d6
(D3D) Get rid of Texture Blit macros
2014-09-12 20:13:53 +02:00
twinaphex
11372a7a9f
(D3D) Fix build for d3d_set_vertex_shader
2014-09-12 20:02:57 +02:00
twinaphex
da088073ec
(D3D) Create wrapper for SetVertexShader
2014-09-12 19:42:46 +02:00
twinaphex
9c00855f71
(360) Build fix
2014-09-12 19:23:42 +02:00
twinaphex
402388e369
(D3D) Create wrapper function d3d_set_texture
2014-09-12 19:19:11 +02:00
twinaphex
37a7e56a9b
(D3D9 PC) Build fix
2014-09-12 18:06:47 +02:00
twinaphex
b65e16254c
(D3D) Go through wrapper for SetViewport
2014-09-12 18:01:32 +02:00
twinaphex
147c40985c
(D3D) d3d_wrapper.c - silence warning
2014-09-12 17:54:11 +02:00
twinaphex
155439ad07
(D3D) Get rid of unused D3D macros
2014-09-12 17:43:03 +02:00
twinaphex
7e5746cc75
(D3D) Get rid of xdk_d3d.cpp/xdk_d3d.h
2014-09-12 17:39:15 +02:00
twinaphex
fe26623343
(D3D) Use d3d_swap wrapper function
2014-09-12 17:38:20 +02:00
twinaphex
345900ae3a
(D3D) Cleanups
2014-09-12 17:36:22 +02:00
twinaphex
a943609c1a
(D3D) Get rid of some D3D macros
2014-09-12 17:32:18 +02:00
twinaphex
7924166f64
(XDK) Use wrapper functions in render_chain_xdk.h
2014-09-12 17:30:30 +02:00
twinaphex
a58a1b4e43
(XDK) Build fix
2014-09-12 17:27:51 +02:00
twinaphex
b0b1a4c692
(D3D) Go through wrapper for MinFilter/MagFilter
2014-09-12 17:22:46 +02:00
twinaphex
35893e96ea
(D3D) Go through more wrapper functions
2014-09-12 17:17:28 +02:00
twinaphex
5e8fd1cf03
(D3D) Nit
2014-09-12 16:22:02 +02:00
twinaphex
7fc59210b1
(D3D) Have more functions go through d3d_wrapper
2014-09-12 08:08:04 +02:00
twinaphex
05c7d4e573
(D3D/MSVC) Build fix and include d3d_wrapper.c for MSVC build
2014-09-12 08:02:50 +02:00
twinaphex
127441e0c6
(D3D) Start using D3D wrapper functions
2014-09-12 07:49:25 +02:00
Lioncash
be12253243
Fix some more possible null pointer dereferences
2014-09-12 00:30:53 -04:00
Lioncash
64272ef327
Squash some more potential null pointer dereferences
2014-09-11 23:04:02 -04:00
twinaphex
9104736dce
(D3D) Include xtl.h header for D3D8 Xbox 1
2014-09-12 04:04:05 +02:00
twinaphex
885362e9da
(D3D) Add 360/Xbox 1 implementation for d3d_textureblit
2014-09-12 03:45:48 +02:00
twinaphex
3eb362eaae
(XDK) win32_common.h - add ifndef _XBOX define
2014-09-12 03:32:45 +02:00
twinaphex
9c67b3f39c
Indenting/style nits
2014-09-12 02:51:47 +02:00
twinaphex
e05b505032
(D3D) uniquely name header guard name for d3d_font.h
2014-09-12 02:45:13 +02:00
twinaphex
de5301da33
(D3D) RenderChain class is gone so get rid of this
2014-09-12 02:35:54 +02:00
twinaphex
11e3d1e2ac
(Fonts) Change font drivers to non-constedness
2014-09-12 02:24:09 +02:00
twinaphex
aa409e5e8f
(D3D) Change d3d font drivers to non-constedness
2014-09-12 02:21:46 +02:00
twinaphex
4127d8c1a8
(XDK) Fix build - renderchain code needs to be entirely gutted
...
for Xbox and rewritten to fit PC renderchain
2014-09-12 00:31:41 +02:00
twinaphex
f7baa4c636
(D3D) Put ifdefs around shader code
2014-09-12 00:18:34 +02:00
twinaphex
9caadf5a55
(XDK) Build fixes
2014-09-12 00:16:05 +02:00
twinaphex
6df5e85ff4
(D3D) Put ifdefs around shader code
2014-09-12 00:05:55 +02:00
twinaphex
fe8629f887
(D3D) Build fixes
2014-09-12 00:05:04 +02:00
twinaphex
fa46a2bf19
(D3D) d3d_wrapper.c build fixes
2014-09-12 00:00:20 +02:00
twinaphex
ee820298d1
(D3D) Change prototype for d3d_create_vertex_buffer
2014-09-11 23:51:23 +02:00
twinaphex
616e1f5938
(D3D Wrapper) Rename functions lower-case and create header file
2014-09-11 23:43:01 +02:00
twinaphex
0d86a3d61d
(D3D) Start making wrapper around D3D
2014-09-11 23:06:17 +02:00
twinaphex
dd3bed1137
(Xbox 1) Some build fixes
2014-09-11 21:28:38 +02:00
twinaphex
4706be0905
(D3D) Start merging in XDK code
2014-09-11 20:59:52 +02:00
twinaphex
7f6084fca4
(D3D) Build fix
2014-09-11 20:39:19 +02:00
twinaphex
c18d093100
(D3D) Start bringing over XDK code to d3d.cpp
2014-09-11 20:31:37 +02:00
twinaphex
969dfbda3b
(XDK/D3D) Build fix
2014-09-11 20:09:26 +02:00
twinaphex
2568f1f2e0
(D3D) Build fixes
2014-09-11 19:28:14 +02:00
twinaphex
4ac5650336
(D3D) Build fixes
2014-09-11 19:24:31 +02:00
twinaphex
b3dac87854
(D3D) Move d3d_free to d3d_shared.h
2014-09-11 19:22:20 +02:00
twinaphex
350fe72d65
(D3D) Build fix
2014-09-11 19:20:23 +02:00
twinaphex
92063fd979
(D3D) Move d3d_init to d3d_shared.h and share it across XDK and PC D3D
2014-09-11 19:18:04 +02:00
twinaphex
301ec9345e
(D3D) Build fixes
2014-09-11 19:10:30 +02:00
twinaphex
3f79218daf
(D3D) More cleanups of dead code`
2014-09-11 19:08:12 +02:00
twinaphex
6bca7c3637
(D3D) Build fixes
2014-09-11 19:06:22 +02:00
twinaphex
10c7eded36
(D3D) Cleanups
2014-09-11 19:00:25 +02:00
twinaphex
ee8f2e7d89
(D3D) Fix d3d_deinit_shader/d3d_init_shader function signatures
2014-09-11 18:41:05 +02:00
twinaphex
93ebbc2cbc
(D3D) Build fixes
2014-09-11 18:41:04 +02:00
twinaphex
e8015f8c3d
(XDK) Build fix
2014-09-11 18:37:20 +02:00
twinaphex
92b15cf0b1
(XDK) Build fixes
2014-09-11 18:35:53 +02:00
twinaphex
318b49e25c
(D3D/XDK) Refactor
2014-09-11 18:26:04 +02:00
twinaphex
70a5efdb0b
(D3D) Fixups
2014-09-11 18:20:49 +02:00
twinaphex
c38416af9f
move more code to d3d_shared.h
2014-09-11 18:12:02 +02:00
twinaphex
cb4833cfc8
(D3D) Buildfix #1
2014-09-11 18:02:33 +02:00
twinaphex
e89e157996
(D3D) Share functions inbetween XDK and D3D PC drivers
2014-09-11 17:47:56 +02:00
twinaphex
75d2e13dcb
Make drivers non-const
2014-09-11 07:06:20 +02:00
twinaphex
4162311eb7
Return true for stub read_viewport function implementations
2014-09-09 22:41:04 +02:00
twinaphex
492af587ef
(Video) Implement missing function pointers
2014-09-09 20:18:06 +02:00
twinaphex
6a3af98df6
Style/indenting nits
2014-09-09 06:59:17 +02:00
twinaphex
641ba534e4
(360) More build fixes
2014-09-09 06:25:52 +02:00
twinaphex
defb33b2c5
(360) Some build fixes
2014-09-09 06:21:31 +02:00
twinaphex
09668a06a0
Begin implementing every function in video/audio/input driver
...
interfaces so we don't have to do lookups everywhere before
calling them
2014-09-09 06:07:11 +02:00
twinaphex
c6c1fbbf0a
Style nits
2014-09-09 05:56:12 +02:00
twinaphex
9ee74bb5a2
(Softfilter plugs) Identing cleanups
2014-09-09 04:53:24 +02:00
twinaphex
f4332eebbd
(gfx/thread_wrapper.h) Change to C-style comments
2014-09-09 04:26:04 +02:00
Lioncash
7b98632b18
gl: Remove dead code
2014-09-08 19:47:47 -04:00
twinaphex
ee963d8484
(d3d9/d3d_overlays.cpp) style nits / cleanups
2014-09-08 20:13:57 +02:00
twinaphex
b376edd0ed
(D3D) Indenting style nits
2014-09-08 20:08:49 +02:00
twinaphex
834089eec2
Style nits
2014-09-08 19:28:10 +02:00
twinaphex
fe510bca6f
Indenting/C-style comments
2014-09-08 17:57:18 +02:00
Higor Eurípedes
1833467c2c
C++ build fixes
2014-09-06 22:14:09 -03:00
Twinaphex
771aed771e
Merge pull request #947 from lioncash/statics
...
Make some functions static
2014-09-06 06:31:45 +02:00
Lioncash
27d43eecfd
matrix: Fix a misnamed function prototype
2014-09-06 00:21:40 -04:00
Lioncash
6b84ccdcef
Make some functions static
2014-09-06 00:10:52 -04:00
Twinaphex
66427db631
Merge pull request #942 from lioncash/unused
...
Remove some unused variables.
2014-09-06 03:40:56 +02:00
Lioncash
ab1ab62a6d
Fix some printf specifiers to the correct signed-ness
2014-09-05 19:43:32 -04:00
Lioncash
a7aa077cc6
Remove some unused variables.
2014-09-05 19:27:46 -04:00
twinaphex
fcf121d631
shader_parse.c - cleanups
2014-09-05 21:06:41 +02:00
Twinaphex
18754d5e4c
Merge pull request #938 from lioncash/var-assignment
...
d3d: Fix variable assignment in d3d_set_shader
2014-09-05 01:23:49 +02:00
Lioncash
5b3d5f8c02
d3d: Remove the auto variable and replace it with it's concrete type
2014-09-04 19:17:24 -04:00
Lioncash
6ad6ae5e57
d3d: Fix variable assignment in d3d_set_shader
2014-09-04 19:12:23 -04:00
Higor Eurípedes
f2a3a4df95
(SDL2) Do not restrict the user to the SDL2 input driver
2014-09-04 12:51:35 -03:00
Twinaphex
b8df671bd9
Merge pull request #934 from lioncash/overflow
...
shader_parse: Fix potential sscanf buffer overflow
2014-09-04 13:08:26 +02:00
Lioncash
eb27dd4043
shader_parse: Fix potential sscanf buffer overflow
...
Indexes are zero-based, so although the buffers are 64 elements in size, we only have addressing from 0-63.
2014-09-04 01:51:54 -04:00
Lioncash
b649cec22f
d3d_ctx: Fix indentation
2014-09-03 22:10:15 -04:00
twinaphex
8fdf7299f6
(gfx/scaler) Get rid of some unnecessary ifs
2014-09-03 06:18:19 +02:00
Higor Eurípedes
014fdd3292
(D3D) Reset d3d_quit during context initialization
2014-09-02 12:44:23 -03:00
twinaphex
cc74d41952
(Softfilter) buildfix for targets that don't have HAVE_THREADS
...
defined
2014-09-02 00:49:28 +02:00
Mike Robinson
d7cd930d40
Avoid flicker during BFI and slow-motion or pause
2014-08-31 11:05:09 +01:00
twinaphex
bda03a52fe
(PS3) Take out triple buffering
2014-08-31 04:13:53 +02:00
twinaphex
262ec8881a
(PS3) Refactor PAL60 setting
2014-08-31 03:50:44 +02:00
twinaphex
27a60f1d5d
Refactor Soft Filter menu option for Wii/Xbox 1
2014-08-31 03:38:21 +02:00
Higor Eurípedes
2703fa7f66
Allow unix-like build under mingw
2014-08-29 16:40:25 -03:00
Twinaphex
450769fc75
Merge pull request #906 from heuripedes/sdl-improvements
...
SDL/SDL2 gfx clean ups
2014-08-28 19:13:59 +02:00
Mike Robinson
3f8f4a85ee
Show image frame before BFI black frame
...
Image frame should be shown as soon as possible to minimize display
latency.
2014-08-28 17:57:02 +01:00
Higor Eurípedes
e218e53755
(SDL*) Refactor *set_handles() functions
2014-08-28 13:31:57 -03:00
Higor Eurípedes
b15ffc999c
(SDL) Fix scaler memory leak
2014-08-28 13:31:56 -03:00
Higor Eurípedes
260abc0861
(SDL) Clean sdl_gfx.c up a bit
2014-08-28 13:31:56 -03:00
Higor Eurípedes
314389e4f7
(SDL2) List available renderers
2014-08-28 13:31:56 -03:00
Mike Robinson
8c79dc972c
Disable BFI during fast foward
...
Fast forward causes ugly flicker when BFI is enabled.
2014-08-27 22:40:19 +01:00
twinaphex
228569c8f8
Cleanup extraneous elses
2014-08-27 03:28:22 +02:00
twinaphex
6a8ccc3844
Move DEFAULT_SHADER_TYPE from driver.h to gfx/shader_common.h
2014-08-26 19:48:56 +02:00
twinaphex
8f0509fa29
(GL) Fix build in case HAVE_FBO is not defined
2014-08-25 01:39:48 +02:00
Higor Eurípedes
ea82f6cff5
(SDL) Use SDL_PeepEvents instead of SDL_PollEvent
2014-08-22 19:58:47 -03:00
Higor Eurípedes
0813d7dba4
(sdl_gl) Merge SDL and SDL2 event loops
2014-08-22 19:39:29 -03:00
Higor Eurípedes
15297c85cd
(sdl_gl) Fix segfault
2014-08-22 19:11:26 -03:00
twinaphex
f9d244dcd6
(PSP1) Fix build
2014-08-22 10:46:14 +02:00
Alcaro
76c124b437
Don't use SDL GL contexts with OpenGL disabled.
2014-08-21 12:54:20 +02:00
Higor Eurípedes
05976a7720
(SDL2) Fix typo
2014-08-20 22:11:30 -03:00
Higor Eurípedes
99ce4e5329
Add last resort SDL gfx context
2014-08-20 22:09:30 -03:00
Higor Eurípedes
3f60f7de0f
(SDL2) Remove double header inclusion
2014-08-19 16:55:32 -03:00
Higor Eurípedes
705f14a8da
(SDL2) Show available video drivers and fix typo
2014-08-19 16:55:32 -03:00
Higor Eurípedes
110cde65c5
(scaler.c) Add missing RGBA4444 to ARGB8888 conversion
...
Signed-off-by: Higor Eurípedes <heuripedes@gmail.com>
2014-08-19 16:55:32 -03:00
Higor Eurípedes
e88f3b4355
(SDL) Fix double initialization
...
Signed-off-by: Higor Eurípedes <heuripedes@gmail.com>
2014-08-19 16:55:32 -03:00
Twinaphex
0b7fe7c9df
(MSVC D3D9) Change gfx enum filter type to unsigned
2014-08-19 21:22:39 +02:00
twinaphex
89cedb70df
(SoftFilters) Options in blargg NTSC SNES .filt files work now
2014-08-19 19:49:18 +02:00
twinaphex
459c27e11f
(SoftFilter) Build fixes for non_HAVE_DYLIB
2014-08-19 19:45:19 +02:00
twinaphex
4dea8caa6f
(SoftFilter) Refactor most code associated to SoftFilter plugin - load .filt
...
files instead of the dynamic libraries directly. Options can be
set in the config file.
There's still a problem with config file options - will work this
out later.
2014-08-19 19:38:33 +02:00
twinaphex
0bd97eb1ba
(SoftFilter) Bump up API version - start supporting config files
...
(stub for now)
2014-08-19 17:05:47 +02:00
twinaphex
5435883e40
Get rid of gfx_filter_type which is being problematic
2014-08-17 19:02:03 +02:00
twinaphex
278a758ba9
driver.c - declare variables at top of function
2014-08-16 19:07:21 +02:00
twinaphex
28310f44b8
(Menu) Refactor more menu code
2014-08-16 18:20:52 +02:00
Twinaphex
3e16335d3a
(OSX) OSX version now requires that you have Cg toolkit installed.
...
OSX port now supports Cg AND GLSL shaders
2014-08-16 08:42:51 +02:00
twinaphex
ed3c03687d
(Xenon) xenon360_gfx.c - cleanup
2014-08-15 21:32:36 +02:00
twinaphex
6b5bb100a1
(PSP) Move psp files to gfx/psp
2014-08-15 21:14:26 +02:00
twinaphex
4a17a7b832
(GX) Build fix
2014-08-15 21:08:56 +02:00
twinaphex
99033b898f
(XDK) Move xdk/d3d9 to gfx/d3d9
2014-08-15 21:00:26 +02:00
twinaphex
3ee6a8db9f
Move wayland context in context list below X11 - gets rid of
...
'Failed to connect to Wayland server context' warning when
running in X11
2014-08-14 23:21:27 +02:00
twinaphex
e851d279f8
Start getting rid of driver_funcs.h macros
2014-08-14 19:54:22 +02:00
twinaphex
9bb044a79b
video_thread_wrapper.c - make code safer - prevent more null pointer
...
dereferences
2014-08-14 16:39:35 +02:00
Higor Eurípedes
f53f155f2c
(Threaded video) Fix null pointer dereferences
2014-08-14 10:16:24 -03:00
twinaphex
88af50ab82
Add null drivers
2014-08-14 03:05:44 +02:00
Twinaphex
364c66a5bf
Merge pull request #875 from heuripedes/master
...
(SDL2) Fix windows build again
2014-08-13 20:12:32 +02:00
Tobias Jakobi
c38b2a7676
softfilters: blargg/ntsc: correct source file permissions
2014-08-13 17:51:43 +02:00
Higor Eurípedes
6424c78c9a
(SDL2) Fix windows build again
2014-08-13 11:45:11 -03:00
Higor Eurípedes
472c58e486
(SDL2) Fix wrong aspect ratio on startup
2014-08-12 15:58:25 -03:00
Higor Eurípedes
fcf929aa2f
(SDL2) Properly deinitialize the video driver
2014-08-12 15:58:25 -03:00
twinaphex
fcbbf08109
(Recording) Bake in HAVE_RECORD implicitly
2014-08-12 05:28:43 +02:00
Higor Eurípedes
081347929c
Implement SDL driver video poke interface
2014-08-11 20:57:01 -03:00
Higor Eurípedes
16e0d24e17
(SDL*) Properly initialize SDL library/subsystems
2014-08-11 19:47:30 -03:00
Higor Eurípedes
b6df19dffb
(SDL*) Merge input drivers
2014-08-11 19:47:30 -03:00
Higor Eurípedes
0aabdfa694
(SDL2) Fix windows build
2014-08-11 19:47:30 -03:00
Higor Eurípedes
68c9bfb8a4
(SDL2) Fix colors for cores that use 0RGB1555
2014-08-11 19:47:29 -03:00
twinaphex
f1b1326905
(Wayland) Add stub input handlers to context
2014-08-11 19:17:40 +02:00
Higor Eurípedes
0e5305b10f
(SDL2) Attempt to fix missing events issue
2014-08-10 19:57:17 -03:00
Higor Eurípedes
e07dca3d22
(SDL2) Fix uninitialized var in sdl2_video.c
2014-08-10 19:15:21 -03:00
Higor Eurípedes
a349d1a9b4
(SDL2) Fix pixel format detection
2014-08-10 18:07:37 -03:00
Higor Eurípedes
46beb117ef
(SDL2) Add input driver
2014-08-10 15:00:21 -03:00
Higor Eurípedes
1ea504fcfe
(SDL2) Added video driver
2014-08-10 13:39:31 -03:00
twinaphex
80a19ff0fd
(Wayland) Adding preliminary work by maister - input hookup still
...
missing
2014-08-09 21:35:27 +02:00
Tobias Jakobi
55d331c2fe
exynos: also use interpolate mode for menu blending
2014-08-09 16:43:48 +02:00
Tobias Jakobi
2dcac8cbd4
exynos: remove G2D safety zone
...
Extensive tests have shown that this is no longer necessary.
2014-08-09 16:43:48 +02:00
Tobias Jakobi
34e1b6921f
exynos: font: use restrict for src/dst in put_glyph_rgba4444
...
This should help the compiler to generate better code for
memory access.
2014-08-09 16:43:48 +02:00
Tobias Jakobi
e8439c30ff
exynos: font: use defaults properties for buffer bpp
2014-08-09 16:43:47 +02:00
Tobias Jakobi
bbc4dbdb66
exynos: font: buffer doesn't need special color initialization
2014-08-09 16:43:47 +02:00
Tobias Jakobi
b83d60bef5
exynos: font: compute color in ARGB4444 format just once
2014-08-08 18:30:28 +02:00
Tobias Jakobi
cd8161df6c
exynos: font: slight improvement to rendering performance
...
The current bottleneck is 'put_glyph_rgba4444'. Interpolate mode
enables us to remove the conditional in the inner loop.
Eventually this call should just reduce to a memcpy.
2014-08-08 18:30:28 +02:00
Tobias Jakobi
987da33104
exynos: font: use interpolate mode for blending
...
The interpolate mode is more suited for font rendering, even
if it produces slightly different results.
The main reason for switching is to avoid some conditionals
in the coming code improvements.
2014-08-08 18:30:27 +02:00
Tobias Jakobi
2312d488aa
exynos: fix font rendering
...
It would just segfault after a while, since we weren't deferencing
the 'msg' pointer to check for the end of the string.
Eventually this would let 'msg' point to invalid memory.
2014-08-08 18:30:27 +02:00
Tobias Jakobi
ff06aea5dd
exynos: add prefix to fimg2d header
2014-08-06 19:33:00 +02:00
twinaphex
b04c253c06
(Win32) Fixup build
2014-08-03 03:30:59 +02:00
twinaphex
85688004ab
(gfx) Cleanups
2014-08-03 02:16:02 +02:00
Jean-André Santoni
858fa30645
Add missing credit
2014-07-27 22:28:22 +02:00
Jean-André Santoni
3167709503
Add Vivante context driver
2014-07-27 22:19:11 +02:00
Monroe88
26f29295f7
Fix Windows build
2014-07-25 19:58:45 -05:00
twinaphex
78fcd416e7
Take out input_overlay_enable
2014-07-25 18:57:07 +02:00
twinaphex
a47c4db5e5
Backport Lioncash - Fix some compile warnings realted to casting
2014-07-23 07:17:31 +02:00
twinaphex
0454ed7808
Move memcpy implementations into separate dir
2014-07-20 05:33:53 +02:00
twinaphex
dd55520b59
Just expose all aspect ratios - some users want these weird ratios
2014-07-18 04:10:22 +02:00
Themaister
42497350bd
Move memcpy-neon to gfx/.
...
Only used by Exynos driver.
2014-07-17 21:39:50 +02:00
Twinaphex
a645bf74a2
Merge pull request #817 from tobiasjakobi/exynos
...
Exynos video driver
2014-07-17 18:32:50 +02:00
twinaphex
6f8e3c5d81
Cleanups
2014-07-17 18:31:32 +02:00
Tobias Jakobi
e197e97d67
exynos: disable crtc before freeing buffers
...
The crtc should be disabled before deallocating the buffers, otherwise
leading to a use-after-free scenario, which can trigger all sorts
of funny effects.
2014-07-17 14:56:43 +02:00
Tobias Jakobi
19419b04af
exynos: fix typo in comment
2014-07-17 14:56:18 +02:00
Tobias Jakobi
7fea31e501
exynos: adapt font rendering code
2014-07-17 14:56:16 +02:00
Tobias Jakobi
fe57d064ba
exynos: adapt to naming changes
...
The RGUI is now just called 'menu'.
2014-07-17 14:56:03 +02:00
Tobias Jakobi
63e99009df
exynos: adapt to video_driver interface changes
...
The restart API was removed.
2014-07-17 14:55:56 +02:00
Tobias Jakobi
9a38d77655
Remove the lima video driver
...
The driver is now superseded by the exynos video driver. Also limare
only works up to mali kernelspace driver version r3p2, which makes
the driver nonfunctional with the latest r4p0.
2014-07-17 14:55:56 +02:00
Tobias Jakobi
7efa9def07
Add exynos video driver
...
Documentation is provided in README-exynos.
2014-07-17 14:41:44 +02:00
twinaphex
f4ecb4151b
(glsym) OSX/iOS don't define these - have them in for copy/paste purposes
...
in libretro codebases that reuse glsym
2014-07-13 23:07:53 +02:00
Themaister
fceda4f33b
Account for black frame insertion in refresh rate checks.
2014-07-13 19:45:28 +02:00
Themaister
ce3183696c
Check correct wait status in x11_suspend_screensaver.
2014-07-13 19:33:51 +02:00
Themaister
45205cc5d7
When modechanging on X11, try to match configured refresh rate.
2014-07-13 19:23:08 +02:00
Themaister
a3f264a679
Another lima compile fix.
2014-07-12 00:34:09 +02:00
Themaister
b0699f3e2e
Should fix lima_gfx build errors.
2014-07-11 22:20:47 +02:00
Themaister
cdc46ae512
Block libretro input when ENABLE_HOTKEY is held.
2014-07-11 00:26:50 +02:00
twinaphex
652499770f
(Apple GL context) Move gfx_context C files to Obj-C .m file
2014-07-09 13:03:58 +02:00
Toad King
7dfb9d0437
Revert "(EMSCRIPTEN) add shared context support"
...
This reverts commit 96feb074d0
.
2014-07-04 15:02:02 -04:00
Toad King
96feb074d0
(EMSCRIPTEN) add shared context support
2014-07-02 21:56:22 -04:00
twinaphex
d16395ffa6
(QNX) Implement destroy function correctly
2014-07-02 18:58:16 +02:00
twinaphex
089ab9441c
(QNX) Add GL shared context to QNX context driver
2014-07-02 18:56:08 +02:00
twinaphex
e1503483c4
(iOS) Add optional GLES3 headers to rglgen_headers.h
2014-06-29 07:47:45 +02:00
twinaphex
0b5548bc1b
(VC/Raspberry) Blind coding - added shared context for VC EGL
...
context driver
2014-06-25 22:59:07 +02:00
Themaister
4f481bfc92
Check refresh_rate every frame in thread wrapper.
2014-06-21 16:18:39 +02:00
Themaister
b95e27cbb2
Avoid printing errors when filter_idx is 0.
...
Misleading ...
2014-06-21 11:10:26 +02:00
twinaphex
5216e90c12
(Android) - EGL context cleanups
...
- Add shared context support
2014-06-20 04:35:12 +02:00
Toad King
bb40fff99d
fix emscripten build
2014-06-18 20:31:41 -04:00
twinaphex
9fc10a3d9a
(D3D PC) Cleanups
2014-06-17 21:33:52 +02:00
twinaphex
77d0b0053f
(D3D PC) Build fix and deopaque things
2014-06-17 20:42:38 +02:00
Themaister
15c35d7e44
Fix texture_image_load/free.
2014-06-17 17:44:48 +02:00
Themaister
f34b175a0f
De-opaque core_info.
2014-06-17 17:28:39 +02:00
Themaister
20f37f20e8
De-opaque gl.c.
2014-06-17 17:08:46 +02:00
Themaister
76292f873a
De-opaque shader_parse.
2014-06-17 16:41:06 +02:00
Hans-Kristian Arntzen
b47ebfa713
Merge pull request #763 from rmaz/vg_fixes
...
VG backend fixes
2014-06-17 00:12:15 +02:00
Themaister
53bc4c08ed
Check recording based on g_extern.rec and not g_extern.recording.
...
Fixes some segfaults where g_extern.recording and g_extern.rec mismatch.
Makes it possible to record without loading content directly from CLI.
2014-06-16 15:50:53 +02:00
Richard Howell
b49cbeed1c
make the vg backend compile without freetype
2014-06-15 21:46:45 +02:00
Richard Howell
86a6c6c7c1
remove a reference to a non existent struct field
2014-06-15 21:46:45 +02:00
twinaphex
e9ed2a924b
(D3D) Split up overlay code into separate file
2014-06-14 15:46:08 +02:00
twinaphex
bc4fb72830
(D3D PC) Fix RGUI
2014-06-14 15:43:14 +02:00
Themaister
7cba4fe0fb
Remove useless log.
2014-06-13 18:23:54 +02:00
Themaister
1e4266f9f8
Fix unused variable warnings.
2014-06-13 18:00:42 +02:00
Themaister
02f2129dd8
Optimize overlay rendering a bit.
...
Dump all overlay vertex data into one VBO.
2014-06-13 17:47:32 +02:00
twinaphex
5532babfd6
(Overlays) Add explicit overlay_enable option
2014-06-12 22:15:32 +02:00
twinaphex
59fed065e9
Change d3d9.hpp to d3d.hpp
2014-06-11 00:49:18 +02:00
twinaphex
a7cb3e22a7
(Menu) Replace some more RGUI strings
2014-06-10 02:44:19 +02:00
twinaphex
f7e9f4774d
(Menu) Replace more rgui_ references
2014-06-10 02:21:49 +02:00
twinaphex
4a4822e187
(Menu) Replace more rgui_ references to menu_
2014-06-10 02:15:29 +02:00
twinaphex
b70d6292ff
(Menu) Cut down on unnecessary HAVE_RGUI ifdefs where appropriate, and
...
replace with HAVE_MENU where possible
2014-06-10 02:08:41 +02:00
Twinaphex
cf4f756fe8
Merge pull request #745 from libretro/font-rewrite
...
Font rendering rewrite
2014-06-09 13:25:17 +02:00
Themaister
c1c7b6aec3
Fixup Win32/Xbox font_params_t.
2014-06-09 13:13:57 +02:00
Themaister
9a861fba6d
Untested: Rewrite omap_gfx font rendering.
2014-06-09 12:52:21 +02:00
Themaister
f118817fae
Fixups to Lakka fonts.
2014-06-09 12:44:48 +02:00
twinaphex
4522fbb6af
(D3D) Create macro D3DTexture_Blit
2014-06-09 01:07:43 +02:00