Commit Graph

2414 Commits

Author SHA1 Message Date
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
twinaphex
e02d61a6a9 (D3D) Implement stub d3d_restore function for XDK 2014-06-08 23:35:14 +02:00
Themaister
33f718ce4c Small CXX_BUILD fix. 2014-06-08 14:08:26 +02:00
Themaister
93bfaebcb3 Untested update of Lima font renderer. 2014-06-08 14:08:26 +02:00
Themaister
394429feff Disable font rendering in VG for now.
Needs to be rewritten.
2014-06-08 14:08:26 +02:00
Themaister
28608d337c Fix Xvideo build. 2014-06-08 14:08:26 +02:00
Themaister
bce1e982d4 Fixup font rendering in SDL-SW. 2014-06-08 14:08:26 +02:00
Themaister
64cc0efefe Parametrize drop shadows. 2014-06-08 14:08:26 +02:00
Themaister
d129ff3d13 Make font rendering more robust.
Dynamically sized buffers, etc.
2014-06-08 14:08:26 +02:00
Themaister
614b866f57 Rewrite bitmapfont to new interface. 2014-06-08 14:08:26 +02:00
Themaister
54c7521bf8 Drop useless win_width/height arguments to font init. 2014-06-08 14:08:26 +02:00
Themaister
8ee747a12d Blit fonts to full viewport. 2014-06-08 14:08:26 +02:00
Themaister
e545d695ec Begin big rewrite of GL/raster font rendering path. 2014-06-08 14:08:26 +02:00
Themaister
ddbe5f148d Fix CXX_BUILD. 2014-06-08 14:08:03 +02:00
twinaphex
327b05d760 (D3D) Cleanup SetTexture 2014-06-08 04:35:58 +02:00
twinaphex
4320efa9a1 (D3D) Move ifndef XBOX functionality to D3D context driver 2014-06-08 04:29:25 +02:00
twinaphex
bf4dbede7a (XDK) Change DrawVerticeFormat to Vertex 2014-06-08 04:20:49 +02:00
twinaphex
6c50de497f (D3D) Go through macro for SetStreamSource 2014-06-08 04:05:55 +02:00
twinaphex
c4989fbf6b (D3D) Renderchain_clear_texture can go into blit_texture
function now
2014-06-08 03:02:02 +02:00
twinaphex
dbbc764529 (D3D) Go through macro for D3DDevice_CreateVertexBuffer 2014-06-08 02:45:07 +02:00
twinaphex
16d49cffb8 (Xbox) Implement custom GetFocus for _XBOX so that we can get
rid of the ifdef
2014-06-07 23:45:52 +02:00
twinaphex
e64775ba7a (D3D) Create macro for D3DDevice_Present 2014-06-07 07:45:02 +02:00
twinaphex
5d8e4cb358 (D3D) D3DTexture LockRect clear - turned into macro for
both PC D3D and XDK D3D
2014-06-07 07:29:40 +02:00
twinaphex
346a341cf8 (D3D) Go through macros for D3DDevice member functions - will
be needed for XDK compatibility later on
2014-06-07 07:03:36 +02:00
twinaphex
4ad1246fc4 (XDK D3D) Changes pt. 2 2014-06-07 06:12:02 +02:00
twinaphex
8b9fc04f2e (XDK) Changes to bring inline with PC D3D 2014-06-07 05:33:42 +02:00
Themaister
ba40be9099 Use correct arguments if sRGB and GLES3. 2014-06-05 17:41:10 +02:00
Themaister
2094e8fb2f Auto-enable some extensions if GLES3. 2014-06-05 15:17:29 +02:00
Themaister
e41eb4ab50 Fix unknown hang in Mali fbdev. 2014-06-05 15:05:43 +02:00
Themaister
736c4147e9 Add initial Mali FBdev support. 2014-06-05 12:28:17 +02:00
twinaphex
8e04ac2f12 (PS3 image) Some more safety checks
(Driver) Safety check before invoking menu_context_destroy
2014-06-02 18:08:08 +02:00
twinaphex
26b62ba42e Don't abuse g_extern.lifecycle_state for setting RARCH_QUIT_KEY
anymore
2014-06-02 09:52:30 +02:00
twinaphex
753d78dfd3 (Performance counters) Add performance counters to regular build
(Menu/Setting) Enable g_extern.perfcnt_enable - turns RetroArch
frontend perfcounters on/off
(Menu) Add menu option 'Performance Counters'
2014-06-01 22:07:39 +02:00
twinaphex
08c8e5fb5f Reduce amount of includes for rarch_console.h 2014-06-01 03:08:26 +02:00
twinaphex
6ae820eea8 (360) Build fixes - due to same 'cannot convert parameter 1 from
'void *' to 'gfx_shader *'
2014-06-01 02:38:01 +02:00
twinaphex
d63a23dd06 Header changes 2014-05-31 21:23:53 +02:00
twinaphex
9da9cafd3b remove extraneous header include in gfx/shader_parse.h 2014-05-31 21:19:28 +02:00
TroggleMonkey
7bc8d79cb1 Give float FBO's priority over sRGB FBO's (half-undo commit 48331e82).
sRGB FBO's should be a fallback when both are set to true: sRGB FBO's avoid
banding, but float FBO's also avoid clipping.  Users wanting to avoid both
might prefer float FBO's, but they're not supported on as many platforms,
so sRGB FBO's are the next best thing.  Also make errors more specific and
indent nearby #ifdef/#endif pairs to make them easier to match visually.
2014-05-31 00:55:08 -04:00
twinaphex
01b826c32f (D3D PC) Properly implement WM_DESTROY again 2014-05-30 22:46:47 +02:00
twinaphex
ab75946bbc (MSVC 2010) Build fix 2014-05-30 22:40:57 +02:00
twinaphex
65f5e1c74f (PS3) libdbgfont - double buffer size in bytes (was getting crashes
with a lot of shader parameters )
2014-05-30 22:19:51 +02:00
twinaphex
6307202a6d (Menu) render_messagebox/render/frame functions from menu_ctx no longer
get a rgui handle passed to them
2014-05-30 21:51:12 +02:00
twinaphex
a59c3cba6e (D3D PC) Add quitting variable 2014-05-30 21:17:34 +02:00
Themaister
c5ef4330d1 Remove reset interface from SW SDL and Xvideo. 2014-05-30 18:13:34 +02:00
twinaphex
c020f362b6 Remove hacky restart function in video interface 2014-05-30 17:57:21 +02:00
twinaphex
0217bcfbce (PC D3D) Update PC D3D driver to make it more inline with XDK D3D
driver
2014-05-30 08:22:56 +02:00
twinaphex
1eef295450 (XDK) Fixes FPS count 2014-05-30 06:31:53 +02:00
twinaphex
288cf25319 (360 HLSL) Build fix 2014-05-30 03:43:24 +02:00
twinaphex
ffd68d4878 (Xbox) Seems that Xbox D3D does not free up all resources
for some reason and that they didn't anticipate full teardown/setup.
Not sure if I can confirm, but it has been hell so far trying to get
this to work. So, instead, implement a butt-ugly hack that forces
ownership over video/input lifetime state. Will properly refactor
the driver.*_data_own variables later so that this hack is less
ugly. Ideally we'd solve the teardown/setup problem but given this
is esoteric D3D gibberish - good luck debugging >_>
2014-05-30 01:48:55 +02:00
twinaphex
e48123ba30 (XDK) Cleanups 2014-05-29 23:34:26 +02:00
twinaphex
020546f923 (XDK) Take out Xbox-specific destruction code in gfx_ctx_destroy 2014-05-29 22:45:45 +02:00
twinaphex
6e333c966c (Xbox/D3D) Make two drivers more alike 2014-05-29 17:35:24 +02:00
Themaister
01e0fac94f Return gl->quitting.
Quit state might be set just once depending on the context driver.
2014-05-29 10:33:17 +02:00
twinaphex
fc1e9786bb (D3D) Work towards common base driver 2014-05-29 08:20:32 +02:00
twinaphex
125a4e3c43 (PS3 Cg) Fixed crash at game start - Cg state was never properly
deinited for PS3 before and we relied on a very dirty hack to set
CgContext to NULL - we can get rid of all that crap now.

PS3 build is now 'fixed' - only thing remaining is that we should
have a mechanism inside the menu to 'reinit' any graphics assets that
were previously set before we lost the state (for instance - RMenu
has one texture image it loads at init_assets time).
2014-05-29 01:36:41 +02:00
twinaphex
4e79de20a1 (GX) Make gx video driver more resilient
(Image RPNG) GX build fix
2014-05-29 00:57:40 +02:00
twinaphex
4d7a1bd21f (GL) Make driver more resilient in case gl is NULL 2014-05-29 00:43:47 +02:00
twinaphex
5b59b7e267 (GL) Less chance of segfaults if gl is NULL 2014-05-29 00:30:48 +02:00
twinaphex
b683feb389 (RARCH_CONSOLE) More cleanups to PS3 input/graphics drivers - don't do
early exit out of graphics/input free functions and ditto for init
function
2014-05-28 23:32:14 +02:00
Themaister
731e44ba60 Kill SDL_image with fire. 2014-05-28 21:19:38 +02:00
twinaphex
e1387a7b0b Take out image driver 2014-05-28 21:14:33 +02:00
Themaister
f1db922c26 Add sanity check for Cg/GLSL attrib indices. 2014-05-28 19:30:36 +02:00
twinaphex
ac4377ad23 (Android) Get rid of the warning in gfx/shader_parse.c 2014-05-28 04:10:34 +02:00
twinaphex
961c1189fd (PSGL) More PSGL ifdefs 2014-05-27 22:27:16 +02:00
twinaphex
c5f43963c0 (PS3) Add raw PSGL ifdefs 2014-05-27 22:15:25 +02:00
twinaphex
0ea15de950 (GL) Force fp_fbo to false for PS3 for now 2014-05-27 21:55:54 +02:00