Stefano Pigozzi e70b5ee2fd cocoa_common: add HiDPI/retina support
With a HiDPI screen, for performance and backwards compatibility
reasons, AppKit requests an OpenGL surface with a pixel number that
equals the user points number. After the image is rendered to this
smaller surface, it is upscaled so that its dimensions are comparable
across screens of different DPIs. The applied scaling is not that good
and makes the video/subtitles blurry; this is not acceptable for a
video player.

Request AppKit to use a high resolution OpenGL surface to back the
mplayer2 OpenGL view. Also set the window pixel size information
correctly in the VO object by converting user points to actual pixels.

All the system version checks are done at runtime so that the feature
is available on OSX 10.7 even with a binary compiled with older SDKs.

Also replace is_lion_or_better() with is_osx_version_at_least(10, 7, 0)
which is defined in osx_common.
2012-08-16 22:41:09 +02:00
2012-08-16 17:17:49 +02:00
2012-08-16 17:17:49 +02:00
2012-08-16 17:17:49 +02:00
2012-08-16 17:17:49 +02:00
2012-07-31 01:35:53 +02:00
2012-08-02 22:05:27 +02:00
2012-08-01 17:07:35 +02:00
2012-02-01 22:46:27 +02:00
…
2012-08-03 03:34:38 +02:00
2012-08-03 01:43:03 +02:00
2012-08-16 17:17:49 +02:00
…
2011-04-02 07:28:53 +03:00
2012-08-06 17:48:30 +02:00
2012-08-01 17:07:35 +02:00
2012-08-16 17:17:49 +02:00
2012-08-07 01:29:56 +02:00
2012-07-31 01:35:53 +02:00
2012-07-31 01:35:53 +02:00
2012-07-29 00:04:17 +02:00
2012-08-16 17:17:49 +02:00
2012-07-30 15:46:05 +02:00
2012-08-06 17:48:30 +02:00
2012-08-06 17:48:30 +02:00
2012-08-01 17:07:35 +02:00
2012-08-01 17:07:35 +02:00
2012-07-29 00:04:17 +02:00

Compiling with full features requires development files for several
external libraries. Below is a list of some important requirements. For
more information see the output of './configure --help' for a list of options,
or look at the list of enabled and disabled features printed after running
'./configure'. If you think you have support for some feature installed
but configure fails to detect it, the file config.log may contain information
about the reasons for the failure.

Libraries specific to particular video output methods
(you'll want at least one of VDPAU, GL or Xv):
 - libvdpau (for VDPAU output, best choice for NVIDIA cards)
 - libGL (OpenGL output)
 - libXv (XVideo output)
general:
 - libasound   (ALSA audio output)
 - various general X development libraries
 - libfreetype (for libass)
 - libfontconfig (for libass)
 - libass
 - FFmpeg libraries (libavutil libavcodec libavformat libswscale libpostproc)

Most of the above libraries are available in suitable versions on normal
Linux distributions. However FFmpeg is an exception (distro versions may be
too old to work at all or work well). For that reason you may want to use
the separately available build wrapper that first compiles FFmpeg libraries
and libass, and then compiles the player statically linked against those.
S
Description
No description provided
Readme
212 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 86.5%
Lua 5.8%
Swift 2.3%
C++ 1.5%
Meson 1.1%
Other 2.8%