Commit Graph

3924 Commits

Author SHA1 Message Date
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
Twinaphex
721d566f99 (D3D) Prevent warning ( also, why is all this code suddenly compiled out?) 2015-10-11 11:02:15 +02:00
Twinaphex
756b3de315 (Win32) Create function pointer to PowerSetRequest 2015-10-11 10:57:49 +02:00
Alcaro
f4a5cbbe5b Add this half-finished (okay, 5%-finished) driver. 2015-10-11 09:50:49 +02:00
Twinaphex
1f40c2a6d1 Cleanup 2015-10-11 09:31:04 +02:00
twinaphex
ff59f92341 (Win32) Create win32_suppress_screensaver 2015-10-10 08:13:58 +02:00
twinaphex
449cdfe36f Fix shader derp 2015-10-08 06:25:58 +02:00
twinaphex
a61104dba3 Create video_shader_scale 2015-10-07 18:18:49 +02:00
twinaphex
27671f5dfc (D3D) Update pretro reference 2015-10-07 03:52:35 +02:00
twinaphex
108bd27fab Buildfix 2015-10-07 00:20:15 +02:00
Twinaphex
379e8f7445 Merge pull request #2219 from leiradel/master
Preparation for the menu API
2015-10-06 23:45:49 +02:00
aliaspider
fc1524be5d (CTR/3DS) nit. 2015-10-06 19:57:46 +01:00
aliaspider
44dc270c87 (CTR/3DS) use an aptHook to enable the LCD when the app is suspended. 2015-10-06 19:56:11 +01:00
Andre Leiradella
5fce3f4138 grouped core functions inside a retro_core_t structure; swapped core function globals by one retro_core_t variable 2015-10-06 14:34:09 -03:00
aliaspider
b7be1862a3 (CTR/3DS) increase the default size of the linear heap.
makefile: allow changing stack/linear heap size without requiring a
clean.
2015-10-05 21:45:17 +01:00
twinaphex
5bf91c92cb rarch_threaded_video_get_ptr - prevent possible NULL pointer dereferences 2015-10-05 06:13:58 +02:00
aliaspider
b9978317cc (CTR/3DS) video driver: increase texture width. 2015-10-04 19:22:23 +01:00
aliaspider
71efe15bce (CTR/3DS) don't turn off the LCD for 2DS models. 2015-10-03 19:37:01 +01:00
aliaspider
68e2c306a9 (CTR/3DS) video driver: better detection of frames allocated with
linearAlloc.
2015-10-02 04:59:16 +01:00
Francisco José García García
8e652f613a (Vita) OSD messages 2015-10-02 00:11:54 +02:00
aliaspider
c9acd9156c (CTR/3DS) gfx driver: remove useless printf. 2015-10-01 18:28:27 +01:00
aliaspider
63ab3b02b8 (CTR/3DS) shut down the LCD backlight when toggling the buttom display
off.
courtesy of @thedax.
2015-10-01 18:12:59 +01:00
Francisco José García García
2564370664 (Vita) Vita2d font renderer 2015-10-01 01:10:26 +02:00
twinaphex
e4a781b489 (GX) Buildfix 2015-09-29 21:47:43 +02:00
Francisco José García García
4f7be65f32 (Vita) Add Overlays 2015-09-29 20:01:42 +02:00
twinaphex
87d44af218 Static code analysis cleanups 2015-09-29 18:08:33 +02:00
twinaphex
e986b9e42a Static code analysis cleanups 2015-09-29 17:35:28 +02:00
twinaphex
02a5d738fe Static code analysis cleanups 2015-09-28 23:00:22 +02:00
Twinaphex
4f02326171 Merge pull request #2179 from aliaspider/master
(CTR/3DS) improve audio/video sync.
2015-09-28 21:50:10 +02:00
aliaspider
48ec5190ba (CTR/3DS) improve audio/video sync. 2015-09-28 20:09:07 +01:00
twinaphex
0cc56e2a1a More static code analysis nits 2015-09-28 18:44:28 +02:00
twinaphex
631da50dfa More static code analysis nits 2015-09-28 18:22:27 +02:00
twinaphex
4ca5d31f9b Some more static code analysis nits when ran with enable=all 2015-09-28 18:12:02 +02:00
twinaphex
1eb80f6c93 More static code analysis fixes 2015-09-28 17:18:48 +02:00
twinaphex
d482dba2eb More static code analysis fixes 2015-09-28 16:57:22 +02:00
Twinaphex
b1f6c88626 Merge pull request #2177 from aliaspider/master
(CTR/3DS) update
2015-09-28 16:21:57 +02:00
twinaphex
a79b571d7b Static code analysis fixes 2015-09-28 16:20:26 +02:00
aliaspider
a2d552a819 (CTR/3DS) allow toggling the console on/off.
the upper part of the touchscreen toggles the console, the lower part
the main menu.
2015-09-28 14:54:48 +01:00
twinaphex
f104173c7e Change internal state of custom viewport 2015-09-26 20:05:00 +02:00
twinaphex
0d18c61bc5 Add RARCH_MAIN_CTL_IS_PAUSED 2015-09-26 13:04:07 +02:00
twinaphex
cc4a918296 Create rarch_main_ctl 2015-09-26 12:58:02 +02:00
twinaphex
6482969459 (Menu) Cleanups/refactors 2015-09-25 21:20:26 +02:00
twinaphex
653a0e5773 (GX) Buildfix 2015-09-25 21:12:15 +02:00
twinaphex
0a913c929d (GX) Start using menu_display_ctl 2015-09-25 21:11:37 +02:00
twinaphex
1329b4f265 (Menu) Cleanups 2015-09-25 21:07:12 +02:00
twinaphex
a73f10f124 (MSVC) Buildfix 2015-09-23 14:02:38 +02:00
twinaphex
951a8903c3 (query.c) Use strlcpy
(font_renderer/freetype) Add Vera.ttf fallback
2015-09-21 16:29:05 +02:00
twinaphex
b9ba75403e (GL) Fix mixe code declaration (for C89_BUILD) 2015-09-21 11:50:02 +02:00
twinaphex
7ad32fc8aa (XDK) Move files around 2015-09-20 15:39:59 +02:00
twinaphex
dfeefc0e16 Rename and move vi_encoder.c 2015-09-20 15:05:30 +02:00
twinaphex
07f5d2e399 (Wii) Buildfixes 2015-09-20 15:03:49 +02:00
twinaphex
2b840c0384 Refactor perf counters 2015-09-20 10:02:59 +02:00
Andrés
88db140c32 Merge pull request #2146 from aliaspider/master
(CTR/3DS) fix build.
2015-09-20 01:58:27 -05:00
aliaspider
a5b61354f0 (CTR/3DS) fix build. 2015-09-20 07:48:16 +01:00
twinaphex
43da185d5d Replace more usage of strcpy 2015-09-19 03:50:35 +02:00
sergiobenrocha2
5600178879 Use flags from the system to build the filters, will avoid hardening-no-relro. 2015-09-18 03:29:39 -03:00
twinaphex
9ce3b9d916 (GX) Use retro_file 2015-09-18 07:08:25 +02:00
twinaphex
aed85c1617 (C89_BUILD) Some buildfixes 2015-09-18 06:51:17 +02:00
twinaphex
f189ad271e (mali_fbdev_ctx.c) Use retro_file.h 2015-09-18 03:55:44 +02:00
twinaphex
133e85298f * Add retro_get_fd to retro_file.c
* Use retro_file in gfx/drivers_context/drm_egl_ctx.c
2015-09-18 03:47:44 +02:00
Francisco García
9060feba92 (Vita) Set background color to black 2015-09-17 11:08:06 +02:00
twinaphex
1acc7226f9 Rearrange headers 2015-09-16 11:24:03 +02:00