1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-15 11:31:02 +00:00

Default to rectangle=1 on Mesa DRI R200 drivers, much faster and less buggy.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31151 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2010-05-09 21:36:10 +00:00
parent 89957c3f6a
commit a7eab84efa

View File

@ -491,6 +491,8 @@ static void autodetectGlExtensions(void) {
force_pbo = is_ati;
if (use_rectangle == -1 && extensions && strstr(extensions, "_texture_non_power_of_two"))
use_rectangle = 0;
if (use_rectangle == -1 && extensions && strstr(extensions, "_texture_rectangle"))
use_rectangle = renderer && strstr(renderer, "Mesa DRI R200") ? 1 : 0;
if (use_osd == -1)
use_osd = mpglBindTexture != NULL;
if (use_yuv == -1)