Commit Graph

9636 Commits

Author SHA1 Message Date
Twinaphex e1cd4516f6 Merge pull request #544 from tobiasjakobi/master
video_lima: the usual small fixes
2014-02-10 15:02:19 +01:00
Tobias Jakobi f3f50daeb4 video_lima: use posix_memalign to request aligned memory
aligned_alloc is deprecated
2014-02-10 14:58:55 +01:00
Tobias Jakobi 3005501184 video_lima: fix some warnings 2014-02-10 14:58:55 +01:00
Tobias Jakobi 605d4f3954 video_lima: slight reduction of font texture size 2014-02-10 14:58:54 +01:00
Tobias Jakobi 72009fe3d7 video_lima: use general align function
introduce in preparation to texture upload optimization
2014-02-10 14:58:54 +01:00
neville 31f528da85 (OSX PPC) Add preliminary OSX PPC solution - for OSX 10.5.8 Leopard 2014-02-10 10:19:11 +11:00
twinaphex 5ff4ba243d (Glide64) Add __MACH__ define to EXT_EXECUTABLE - dylib 2014-02-09 23:32:32 +01:00
twinaphex 1bcdb383d1 performance.c - Add ifdefs for PPC Mac 2014-02-09 23:10:40 +01:00
Twinaphex c527f0610b Merge pull request #542 from OV2/master
D3D9: use new during init so that constructors are run
2014-02-09 06:29:06 +11:00
OV2 43b209a5c0 D3D9: use new during init so that constructors are run 2014-02-08 19:56:02 +01:00
Themaister d129258c32 Allow toggling fullscreen from bind in RGUI. 2014-02-08 16:27:09 +01:00
Themaister 4653174cf5 Don't reset volume settings on driver reinit. 2014-02-08 16:24:21 +01:00
Themaister c9b8bfdbbc Simplify parsing of --size. 2014-02-07 09:35:46 +01:00
Themaister c9854deeec Update libretro.h docs. Fix conditional string check. 2014-02-07 09:32:15 +01:00
Hans-Kristian Arntzen 6578bd65c3 Merge pull request #537 from fr500/master
Add  RETRO_ENVIRONMENT_GET_SAVE_DIRECTORY
2014-02-07 09:29:19 +01:00
AndresSM ebc0bc641d Fix a typo on the previous commit 2014-02-07 02:14:02 -05:00
AndresSM 0428b44e94 Add RETRO_ENVIRONMENT_GET_SAVE_DIRECTORY 2014-02-07 01:56:41 -05:00
Themaister 22bcb8aeab Clarify SET_MESSAGE. 2014-02-07 00:31:56 +01:00
Themaister 94a0cef1d4 Fix libretro GL core screenshots. 2014-02-06 23:37:06 +01:00
Themaister 8120198ed8 Make C++ compiler happy. 2014-02-06 22:52:48 +01:00
Themaister 032ba14d3b Properly implement GPU screenshot for GLES.
Have to use GL_RGBA/GL_UNSIGNED_BYTE as well as reading from back buffer
only.
2014-02-06 21:35:57 +01:00
Twinaphex c6ae04ef04 Merge pull request #533 from heuripedes/master
(griffin.c) Fix build when freetype2 support is enabled
2014-02-05 16:52:53 +01:00
Higor Eurípedes b719c98db6 (griffin.c) Fix build when freetype2 support is enabled
This commit fixes build issues for frontends that wish to use freetype2
or that do not want to use the built-in bitmap font:

* Having HAVE_FREETYPE without DONT_HAVE_BITMAPFONT makes griffin.c
  include both freetype.c and bitmapfont.c resulting in a redefinition
  of 'struct font_renderer' (freetype.c:25 and bitmapfont.c:24).

* Having both HAVE_FREETYPE and DONT_HAVE_BITMAPFONT resulted in linkage
  problems because griffin.c does not include fonts.c in this case and
  thus font_renderer_create_default() implementation is missing. If
  fonts.c is included, the linker complains about undefined reference to
  bitmap_font_renderer in fonts.c:27.
2014-02-05 12:30:55 -03:00
Twinaphex 53469563e8 Merge pull request #532 from pinumbernumber/master
Fix tiny memory leak
2014-02-04 14:47:04 -08:00
pinumbernumber ecdf175006 fix tiny leak 2014-02-04 19:59:15 +00:00
Twinaphex 89396231c5 Merge pull request #529 from tobiasjakobi/master
lima driver fixes
2014-02-02 07:02:14 -08:00
Themaister 17513a32d0 Add HOST_PREFIX to Makefile.win. 2014-02-02 15:34:37 +01:00
Themaister 564f743cc5 Compile to obj directories.
Avoids cluttering the main dir with objects.
2014-02-02 15:29:07 +01:00
twinaphex d22999ab14 Backpot neagix patch - prevent last button input when resuming from
menu
2014-02-01 22:30:31 +01:00
twinaphex d106fc5f6a (MSVC2010) Update vcxproj.filters 2014-02-01 21:15:15 +01:00
twinaphex a5eed07afc (Sensor) Windows build fix 2014-02-01 21:08:10 +01:00
Tobias Jakobi 18e37b2d47 video_lima: set wrap mode to clamp for all textures we use 2014-01-28 03:02:04 +01:00
Tobias Jakobi 6ab202f25f video_lima: whitespace fixes 2014-01-27 23:05:45 +01:00
Tobias Jakobi 9d1090b194 video_lima: remove unused and redundant variables 2014-01-27 23:03:08 +01:00
twinaphex b109b9b01f (Emscripten) Rename frontend_emscripten.c to frontend/platform/platform_emscripten.c 2014-01-27 01:47:10 +01:00
twinaphex 580e05fc0f (Menu) Add menu driver selection 2014-01-27 01:32:05 +01:00
Twinaphex 3d944fd485 Merge pull request #519 from tobiasjakobi/master
lima video driver
2014-01-26 11:47:43 -08:00
twinaphex 58b81dff2a (libretro-test) Implement audio callback 2014-01-26 18:11:09 +01:00
Themaister 57e48f7ee2 Rewrite threaded audio a bit.
Avoid calling stop() right after init.
Driver init/teardown now happens only in audio thread.
2014-01-26 13:08:51 +01:00
Themaister 528bb2687d Fix Rasperry Pi build. 2014-01-26 11:43:26 +00:00
Tobias Jakobi 846c561f0a video_lima: update documentation
lima-drm is now also hosted on github.
2014-01-26 04:43:01 +01:00
Tobias Jakobi 8f41e80c61 video_lima: align temp buffer 2014-01-26 04:43:01 +01:00
Tobias Jakobi afe0a02ed6 video_lima: update TODO
I have failed to encounter the artifacts during my recent tests, so
my guess is that they were fixed by some changes to the code (either
in limare of in the RetroArch driver).
2014-01-26 04:43:01 +01:00
Tobias Jakobi 185aee467b video_lima: update TODO
Font rendering is fixed.
2014-01-26 04:43:01 +01:00
Tobias Jakobi 4b05426bbe video_lima: add font rendering by using the temp buffer 2014-01-26 04:43:01 +01:00
Tobias Jakobi a338d99781 video_lima: misc fixes 2014-01-26 04:43:00 +01:00
Tobias Jakobi 0493f8680c video_lima: update TODO
Swizzling is fixed.

Restart issue is fixed. Update lima-drm for now correct
initialization and destroying of threading/mutex objects.
2014-01-26 04:43:00 +01:00
Tobias Jakobi 55fc57b846 video_lima: fix some swizzling in the fragment shader
Thanks to AreaScout for testing this!
2014-01-26 04:43:00 +01:00
Tobias Jakobi 9226c3c783 video_lima: adjust aspect ratio depending on frame dimensions
With this the emulator framebuffer is no longer stretched to the entire
screen. However it's still not entirely correct. For example the aspect
ratio value provided by the frontend is not used yet.
Also I noticed this behaviour: When using the game "Secret of Mana 2"
(unofficial english translation) on the snes9x-next core, the game
normally uses a framebuffer of dimension 256x224. But when rendering
text windows, it increases resolution to 512x224. With the current
behaviour this alters aspect ratio and let's the image "explode"
when text boxes are displayed, only to "implode" again when they close.
This should not happen! (Needs further investigation...)
2014-01-26 04:43:00 +01:00
Tobias Jakobi 7cdb08b804 Add lima video driver
Documentation is provided in README-lima.
2014-01-26 04:43:00 +01:00