Commit Graph

3885 Commits

Author SHA1 Message Date
twinaphex
71c40f1bc8 Add viewport_info callback to renderchain 2015-11-11 01:43:58 +01:00
twinaphex
ebe0a4aa4a Add more function pointers to renderchain 2015-11-11 01:34:00 +01:00
twinaphex
bcc0614fc4 Use d3d_set_viewport 2015-11-10 23:09:58 +01:00
twinaphex
ffe711642f (D3D) Get rid of some backbuffer glitches 2015-11-10 23:09:13 +01:00
twinaphex
d1626265ce (D3D) Call SetViewport directly 2015-11-10 23:00:36 +01:00
twinaphex
028a390f8e (D3D) Cleanups 2015-11-10 22:46:45 +01:00
twinaphex
442ebcc1b8 Don't use new_width/new_height anymore 2015-11-10 22:36:05 +01:00
twinaphex
07cf7cbd36 Rename d3d_set_viewport_wrap to d3d_set_viewport 2015-11-10 22:30:21 +01:00
twinaphex
1f49ed0438 Move d3d_set_viewport up 2015-11-10 22:23:49 +01:00
twinaphex
600c930495 (D3D) No longer use calculate_rect anywhere 2015-11-10 22:22:31 +01:00
twinaphex
a6ab373140 (D3D) Move d3d_set_viewport_wrap up 2015-11-10 22:18:08 +01:00
twinaphex
fd3084bf18 Revert "Refactor away d3d_calculate_rect"
This reverts commit 19f9833a22.
2015-11-10 22:12:46 +01:00
twinaphex
8ab8423f2f Revert "(D3D) Buildfix"
This reverts commit 1db4e79a17.
2015-11-10 22:12:37 +01:00
twinaphex
1db4e79a17 (D3D) Buildfix 2015-11-10 22:09:07 +01:00
twinaphex
19f9833a22 Refactor away d3d_calculate_rect 2015-11-10 22:07:51 +01:00
twinaphex
21575e5318 Call d3d_calculate_rect from set_viewport_wrap 2015-11-10 22:05:31 +01:00
twinaphex
8d4c721ee4 Move set_final_viewport to d3d_set_viewport_wrap 2015-11-10 22:00:35 +01:00
twinaphex
4cdde1c7c4 Use d3d_set_viewport_wrap 2015-11-10 21:58:33 +01:00
twinaphex
36d5cc890b (GL) Cleanups 2015-11-10 15:32:07 +01:00
twinaphex
1f1525a7e8 (D3D) Cleanups 2015-11-10 15:30:24 +01:00
twinaphex
749c0b4ef8 Make d3d_calculate_rect more like gl_set_viewport 2015-11-10 05:47:53 +01:00
twinaphex
d9fe978d1c Merge branch 'master' of https://github.com/libretro/RetroArch 2015-11-10 05:32:59 +01:00
twinaphex
29aa5bae27 (D3D) Add keep_aspect 2015-11-10 05:30:25 +01:00
twinaphex
bfe0eb9bfb Call gfx_ctx_set_resize from d3d_frame 2015-11-10 05:26:37 +01:00
twinaphex
5cbfbb190c (D3D) Buildfix 2015-11-10 05:11:49 +01:00
twinaphex
fd319cb223 (D3D) Cleanups 2015-11-10 05:09:31 +01:00
twinaphex
1666265427 Don't use GRfloat/GRuint anymore 2015-11-10 01:58:05 +01:00
twinaphex
413d783127 Include header 2015-11-10 01:50:15 +01:00
twinaphex
54b2d46855 (D3D) Add video_viewport 2015-11-10 00:30:00 +01:00
twinaphex
c5b5d3c186 (D3D) Cleanups 2015-11-10 00:13:28 +01:00
twinaphex
40aa2a1864 Revert "(D3D) Don't use std::vector for attrib_map"
This reverts commit 02d61bf992.
2015-11-09 22:07:44 +01:00
twinaphex
02d61bf992 (D3D) Don't use std::vector for attrib_map 2015-11-09 22:04:45 +01:00
twinaphex
f277fd5323 Don't do overloading of translate_filter 2015-11-09 19:35:59 +01:00
twinaphex
9f6e273e6a (D3D) Buildfix 2015-11-09 19:08:57 +01:00
twinaphex
4fbebb57df Revert "Move releasing of devices to d3d_deinitialize"
This reverts commit f90bd16825.
2015-11-09 19:01:24 +01:00
twinaphex
f90bd16825 Move releasing of devices to d3d_deinitialize 2015-11-09 18:56:24 +01:00
twinaphex
4f0be8bcb0 (D3D/renderchain_cg) More cleanups 2015-11-09 17:18:21 +01:00
twinaphex
ffed38fbf3 (render_chain_cg.cpp) Stop abusing void pointers 2015-11-09 17:03:25 +01:00
twinaphex
5d155860cb (D3D) Buildfix 2015-11-09 16:04:33 +01:00
twinaphex
b5171c251a Not sure why this was stubbed out 2015-11-09 16:03:40 +01:00
twinaphex
64bc7cbe36 (D3D) Fix function call 2015-11-09 15:43:46 +01:00
twinaphex
b8a5249474 d3d_lock_rectangle - fix function signature 2015-11-09 15:43:03 +01:00
twinaphex
0bb7f30d6a Use d3d wrapper functions more 2015-11-09 15:39:47 +01:00
twinaphex
3a9ee7feae Add more d3d_wrapper functions 2015-11-09 15:34:16 +01:00
twinaphex
ed35db13e8 Fix some linking errors with CXX_BUILD 2015-11-09 05:23:11 +01:00
twinaphex
c49754fc72 Revert "Should save font renderer API now"
This reverts commit 92632a4dbb.
2015-11-09 04:11:21 +01:00
twinaphex
92632a4dbb Should save font renderer API now 2015-11-09 02:29:19 +01:00
twinaphex
7e207626ad (gl.c) Add video_texture.h header include 2015-11-09 02:08:40 +01:00
twinaphex
8a55aae0a5 Move gl_load_texture_data to video_texture_c 2015-11-09 02:07:17 +01:00
twinaphex
6a12e874b8 Handle failure with d3d_swap 2015-11-09 01:59:24 +01:00
twinaphex
780bf74273 Try to not use glDeleteTextures directly outside 2015-11-09 01:50:05 +01:00
twinaphex
e81e027022 Fix linking problems 2015-11-09 01:33:46 +01:00
twinaphex
15fc4fe118 Fix include 2015-11-09 01:24:11 +01:00
twinaphex
cb9960c6e2 Compile video_texture as C++ for Win32 2015-11-09 01:19:09 +01:00
twinaphex
bbeebcc29a (d3d_wrapper.cpp) Buildfixes 2015-11-09 01:06:35 +01:00
twinaphex
d2657fb18a d3d_wrapper.cpp - don't make us require d3d.h 2015-11-09 01:04:32 +01:00
twinaphex
44464624e9 (video_texture.c) Don't use video_driver_get_ptr 2015-11-09 00:46:59 +01:00
twinaphex
ab651ec09b Don't include <string> inside gfx/d3d/d3d.h 2015-11-09 00:43:39 +01:00
twinaphex
1bcbaf5fba Add D3D support for video_texture_{load/unload} 2015-11-09 00:38:02 +01:00
radius
7bddda2252 make the OSD coordinates relative to screen size instead of viewport size 2015-11-08 17:50:40 -05:00
Stefan
742d6a62b5 vc_egl_ctx.c: Fix missing fps output
Related to: https://github.com/libretro/RetroArch/issues/2034
It does not segfault but there is no fps output with msg_queue_push(). Just do it like other context driver.
2015-11-07 12:30:28 +01:00
twinaphex
ae7d9222e2 Try to not reference UIScreen directly 2015-11-05 22:17:02 +01:00
twinaphex
be57dcb659 Hopefully fixes mingw64-w32 build 2015-11-05 19:44:00 +01:00
Andrés
d638a12c87 Merge pull request #2328 from aliaspider/master
(3DS) implement dynamic memory management.
2015-11-01 19:27:27 -05:00
aliaspider
8741ec48d5 (3DS) implement dynamic memory management.
heap/linear heap and stack sizes can now change dynamically at runtime,
depending on usage, no need to specify those on a per-core basis
anymore.
2015-11-02 01:24:11 +01:00
twinaphex
40a4a7a354 (OSX PPC/PS3) Forcibly disable mipmapped textures 2015-11-01 16:11:17 +01:00
Twinaphex
51426f64c2 Revert "Add OSX implementation for cocoagl_gfx_ctx_get_native_scale"
This reverts commit a408a5e59a.
2015-11-01 12:45:36 +01:00
twinaphex
a408a5e59a Add OSX implementation for cocoagl_gfx_ctx_get_native_scale 2015-11-01 12:15:21 +01:00
twinaphex
11a7d2d772 Cleanups 2015-10-31 21:43:30 +01:00
twinaphex
61a67f0938 Cleanups 2015-10-31 21:41:31 +01:00
twinaphex
2d62493157 Cleanups 2015-10-31 20:53:08 +01:00
twinaphex
922e6f868b Don't assume we can use NPOT mipmapped textures for anything GLES2 2015-10-30 16:23:44 +01:00
lugaidster
5c7c53f026 fixed a typo that caused Retroarch to crash on wayland using the gl driver. 2015-10-29 23:59:40 -03:00
Twinaphex
c85414c7be (iOS) Force mipmapping off for textures on iOS 2015-10-29 23:23:56 +01:00
Twinaphex
89d5eaa7c8 (GLSL) Add precision hack for GLES 2015-10-29 01:39:08 +01:00
twinaphex
df01279cf3 Add non-HAVE_MENU ifdefs 2015-10-28 00:55:11 +01:00
Twinaphex
0447c1b442 Merge pull request #2293 from aliaspider/master
(3DS) - add an audio driver using the DSP.
2015-10-27 01:38:38 +01:00
aliaspider
aeeb2a62d6 (3DS) - add an audio driver using the DSP.
- add some hooks to inspect memory usage.
2015-10-27 01:06:34 +01:00
twinaphex
db5d8d248b Create new char_list_new_special 2015-10-26 19:41:20 +01:00
twinaphex
b9febe2eed Add void pointer to string_list_special_new 2015-10-26 19:16:20 +01:00
twinaphex
aff1bd03de Code deduplication 2015-10-26 08:55:59 +01:00
twinaphex
02a43c6b2a Change 'rarch' to 'retro' namespace in libretro-common 2015-10-26 03:18:13 +01:00
twinaphex
4b41ea60a0 Fix CXX_BUILD 2015-10-25 20:40:47 +01:00
twinaphex
b348f13ef0 Add HAVE_OPENGL ifdefs 2015-10-25 02:42:31 +01:00
twinaphex
5bd555ca50 Create video_texture_unload 2015-10-25 02:33:23 +01:00
twinaphex
9893be7849 (WGL) Buildfix 2015-10-23 07:59:53 +02:00
Twinaphex
79dac7fcea Merge pull request #2274 from aliaspider/master
(CTR/3DS) improve memory management.
2015-10-22 22:12:22 +02:00
aliaspider
ac119b04f6 (CTR/3DS) improve memory management.
- use a custom crt0 to allow overriding __heap_size and
__linear_heap_size
- add a setting for maximum heap size. unallocated memory can be freely
mapped by the core.
- add better detection of the extra memory available when running from
the HBL.
2015-10-22 20:35:22 +01:00
Twinaphex
260f2f713c Merge pull request #2271 from Monroe88/patch-1
(wgl_ctx) Also account for swap interval when setting fullscreen refresh rate
2015-10-22 02:59:55 +02:00
Monroe88
a2e4a39ecf (wgl_ctx) Also account for swap interval when setting fullscreen refresh rate 2015-10-21 18:57:06 -05:00
aliaspider
339acfecf1 (CTR/3DS) update code to use ctrulib/great-refactor 2015-10-21 15:41:06 +01:00
Twinaphex
257fed3228 Merge pull request #2264 from aliaspider/master
(CTR/3DS) update
2015-10-20 17:32:47 +02:00
aliaspider
3a30baab57 (CTR/3DS) add support for RETRO_PIXEL_FORMAT_XRGB8888 2015-10-20 16:03:39 +01:00
aliaspider
8cc805c38a (CTR/3DS) reduce memory usage.
build fix.
2015-10-20 12:34:53 +01:00
Monroe88
4afbd0682b (wgl_ctx) Set fullscreen mode refresh rate to video_refresh_rate 2015-10-19 19:44:28 -05:00
Twinaphex
6141f00f70 (OSX) Some C89_BUILD fixes 2015-10-12 21:02:07 +02:00
twinaphex
2b9e5539fb Add another HAVE_FBO ifdef 2015-10-11 16:54:01 +02:00
twinaphex
6683ab16ef (GL) Add HAVE_FBO ifdef around FBO feedback code 2015-10-11 16:53:18 +02:00
Alcaro
4746e44992 Add this to the list. 2015-10-11 16:30:17 +02:00
twinaphex
ab2aec9b66 xshm.c - buildfix 2015-10-11 16:22:59 +02:00