Mercurial > mplayer.hg
changeset 31094:7299c551a7cd
Default to rectangle=1 on Mesa DRI R200 drivers, much faster and less buggy.
author | reimar |
---|---|
date | Sun, 09 May 2010 21:36:10 +0000 |
parents | 039666e46bec |
children | 7a2ec1d564ce |
files | libvo/vo_gl.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/vo_gl.c Sun May 09 21:29:21 2010 +0000 +++ b/libvo/vo_gl.c Sun May 09 21:36:10 2010 +0000 @@ -491,6 +491,8 @@ 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)