diego
6422fce5e2
Do not exit() if /dev/3dfx is not available, approved by Ivan.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17161 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-10 21:00:48 +00:00
reimar
61e33567ab
really clear frames to black instead of grey, and make sure one of those
...
cleared frames is actually shown (and not a leftover from last film, which
happened at least with ATI cards).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17129 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 16:04:14 +00:00
reimar
2d065d1c6d
signed division must be used for calculation vo_dx and vo_dy.
...
Fixes a bug that causes overbig windows to disappear on Windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17128 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 15:56:27 +00:00
reimar
552a2eab0b
WM_PAINT is the "expose" event, not WM_ACTIVATE
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17127 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 15:53:02 +00:00
al
d9329207cc
Don't abort when xscreensaver window isn't available anymore.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17124 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 11:39:24 +00:00
reimar
cd8e16a22e
Must use glFlush when doublebuffering is not used
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17118 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 22:35:54 +00:00
reimar
6b9f08f720
Get rid of most #ifdefs
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17117 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 22:23:06 +00:00
reimar
33d32ef193
Fix message handling, process resize events
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17116 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 22:15:03 +00:00
rathann
da7e496cb8
fix
...
mplayer.c:509: warning: implicit declaration of function 'free_osd_list'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17101 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:34:13 +00:00
rathann
52dfba2d4d
fix
...
vf_remove_logo.c:738: warning: passing argument 2 of 'memcpy_pic' discards qualifiers from pointer target type
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17096 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:30:01 +00:00
diego
d53fa09eac
vo_tdfxfb should be preferred over vo_3dfx.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17070 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-01 11:58:44 +00:00
al
724f44d3d2
Revert previous commit
...
``Nov 22 To mplayer-cvsl ( 32) [MPlayer-cvslog] CVS: main/libvo x11_common.c,1.199,1.200''
- causes unneeded massive slowdown when stop-xscreensaver is used
- is not consistent with the other xscreensaver functions
- was commited without my approval
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17034 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-22 22:05:47 +00:00
reimar
57bd6e2d5b
Use slice-height 16 as default for yuv colorspaces (only relevant if decoder
...
does not support slice rendering).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17028 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-22 16:18:34 +00:00
ptt
7440b82eb7
resolves problem in module stop_xscreensaver, crashing mp after sleep and awake or enabling/disabling xssaver by hand
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17025 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-21 23:51:27 +00:00
reimar
a1d62bbb62
Also parse glX extension string, makes -vo gl:swapinterval work again on linux
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17020 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-19 14:00:35 +00:00
reimar
28b32a786a
Enable border toggling for gl and gl2 under windows.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17007 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-17 20:49:46 +00:00
reimar
68ecbc34f1
disable *SwapInterval function when extensions are missing, since it
...
can cause crashes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16985 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-13 21:53:26 +00:00
joey
4d5075924b
Generate double-click mouse events.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16976 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-11 13:26:24 +00:00
joey
370d1d14cf
Intercept maximize event and go into fullscreen mode.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16974 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-11 13:22:01 +00:00
joey
8901ee0b0a
add a switch, slave command, and vo control to toggle borderless window.
...
includes documentation.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16969 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 22:25:54 +00:00
joey
09ed4549eb
move window style to a macro for easier maintaining
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16967 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 21:15:37 +00:00
al
fb8da06ed7
Test if source image dimensions are too big.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16959 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-10 02:39:31 +00:00
reimar
4acdc86503
do not call glFinish when we do not have a context
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16945 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-07 21:29:38 +00:00
reimar
ee5ce266e5
Fix compilation, use vo_fs instead of fullscreen variable. Not tested.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16942 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 21:15:53 +00:00
ptt
83f30085e7
Added translatable messages for OSD localization to help/help_mp-en.h
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16924 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-06 02:38:47 +00:00
ptt
126f151cda
changed KEY_PREVIOUS to KEY_PREV, cause the first undefined
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16897 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-03 10:50:43 +00:00
albeu
374db42e17
libvo input cleanup: remove the dependency on libinput,
...
remove most of the crappy mappings (like O->o or ESC->q).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16893 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-02 21:50:55 +00:00
reimar
99f1babca7
10l typo, nomanyfmts should be used against playback problems.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16881 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-31 13:57:37 +00:00
reimar
1b6809f326
More consistent and sane types. Also avoids some gcc 4 warnings.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16880 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-31 13:56:16 +00:00
syrjala
8db8ad3fcf
Added support for remote controls.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16865 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-26 07:41:41 +00:00
diego
20b8cba8fb
Make include paths consistent among files in libvo. Since -I.. is added
...
to the CFLAGS in the Makefile this should be safe.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16842 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-23 16:19:32 +00:00
rfelker
211132c2e6
make bottom alignment the default since it's the only sane mode when sub_pos is near bottom (default)
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16840 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-23 15:35:28 +00:00
rfelker
8aee54d8a8
reverse incorrect sub alignment change, ok'd by diego
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16839 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-23 15:34:39 +00:00
diego
a2220dbb7a
The conditions for bottom (2) and top (1) subtitle alignment are reversed.
...
patch by Paul TT < paultt == at -- hackerjournal == dot -- it >
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16835 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-23 14:25:56 +00:00
diego
f7e307ee4d
Make a few more messages translatable by moving them into help_mp-en.h.
...
patch by Paul TT < paultt == at == hackerjournal == dot == it >
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16794 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-18 11:11:25 +00:00
reimar
fc96ad08af
Be less verbose.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16752 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-13 19:15:30 +00:00
joey
e29589ff4d
use subopt parser for arguments.
...
change all printf to mp_msg.
update man page gif89a example.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16722 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-10 12:59:36 +00:00
reimar
6b95575c06
Make fragment program snprintf less confusing.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16649 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-03 14:25:04 +00:00
reimar
1a3e0c3b12
documentation update.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16627 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-01 12:53:49 +00:00
reimar
d28ad7d31d
Support for ATI specific YUV->RGB conversion.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16626 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-01 12:49:28 +00:00
reimar
9f24b5c71f
Add missing GL_REGISTER_COMBINERS_NV define
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16609 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-27 08:33:33 +00:00
reimar
4c90ccf9de
Add -panscanrange option
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16608 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-27 08:32:37 +00:00
reimar
7a3909684e
fix/improve code doxumentation. Also group gl_common functions in several
...
doxygen modules
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16596 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:41:28 +00:00
reimar
464df17b27
debugging/testing helpers: allow forcing a certain width/height for textures
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16595 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:33:03 +00:00
reimar
e74494dd4d
Allow specifying a custom (ppm) texture for texture unit 3
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16594 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:31:58 +00:00
reimar
d29c9ddf19
support loading a texture from a PPM file
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16593 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:30:00 +00:00
reimar
98ef94eb18
panscan support
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16591 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:18:16 +00:00
reimar
f384349dfb
contrast 0 should lead to a grey, not a black image
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16590 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:17:03 +00:00
reimar
d06ea270be
get rid of global getProcAddress variable
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16589 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:12:01 +00:00
reimar
d16d2c3e32
Support rectangular texture in fragment programs
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16587 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:07:54 +00:00
reimar
b008020536
Several bugfixes:
...
black OSD border with scaled-osd
draw only used parts of image (looks weird with equalizer controls otherwise)
clear borders when switching to fullscreen when using -nodouble
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16585 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 14:02:02 +00:00
reimar
2abdf6ac43
Fix crashes and green border when using YV12 input format
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16584 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 13:58:18 +00:00
reimar
408a146a4e
texture units do not need to be explicitly enabled when using a fragment
...
program.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16583 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 13:56:42 +00:00
reimar
bcc7a8466a
Missing break for WM_SYSCOMMAND handling.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16500 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-16 12:09:24 +00:00
reimar
4e60e039f5
hardware color-space conversion for vo_gl and vo_gl2
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16489 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-14 22:08:04 +00:00
reimar
2f5698c9cb
Fix MMX accelerated RGB24 OSD, fixes "ugly OSD with -vo gl2".
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16484 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-13 21:41:44 +00:00
reimar
052fc0f4e9
Allow disabling the glFinish call
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16476 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-13 16:16:13 +00:00
reimar
587c45e08e
Improved glFindFormat
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16475 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-13 15:56:32 +00:00
diego
a407e0f51d
- improved performance on truecolor modes
...
- fixed all known bugs, i.e. palette mode works right again
patch by Christoph Egger < Christoph_Egger -- at -- gmx -- dot -- de >
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16471 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-13 08:47:46 +00:00
reimar
28ee54a940
Use GL_CLAMP_TO_EDGE instead of GL_CLAMP to avoid border texels being sampled.
...
This avoids some ugly effects when vo_gl2 uses multiple textures.
(Note to self: read the specs instead of just copying the old code!).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16462 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-12 15:15:28 +00:00
reimar
7a84b40ce4
Fix border color (forgot to divide by 255.0).
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16461 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-12 14:51:30 +00:00
reimar
4de258aac4
Respect -nodouble even though it looks very bad.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16459 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-11 17:45:12 +00:00
reimar
703189e5ea
Set texture border color to avoid weird border colors in some rare cases.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16438 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-09 17:08:26 +00:00
reimar
904448cec5
Add missing doxygen comment for clearOSD()
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16437 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-09 16:43:18 +00:00
reimar
6c536df1d0
Fix a typo in a comment
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16436 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-09 15:54:09 +00:00
reimar
be2b214c35
gl_buffer should be unsigned
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16435 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-09 14:49:13 +00:00
reimar
bb0c8b3df5
Add an uninit function.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16434 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-09 14:47:54 +00:00
diego
ae3406c2c8
Replace remaining tabs by spaces.
...
patch by Christoph Egger <Christoph_Egger -- at -- gmx -- dot -- de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16427 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-08 00:11:55 +00:00
diego
7e13572ce9
Switch indentation over to K&R style, replace all tabs by spaces.
...
patch by Christoph Egger <Christoph_Egger -- at -- gmx -- dot -- de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16410 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-06 18:44:04 +00:00
reimar
6220c8e924
Properly initialize osdtexCnt
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16398 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-05 10:08:04 +00:00
reimar
3561e3a980
OSD alpha conversion index out of range
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16397 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-05 10:02:06 +00:00
reimar
7c9f087906
Support equalizer.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16389 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-04 20:58:39 +00:00
nplourde
0728cced47
mplayer osx shared video buffer
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16386 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-04 12:58:16 +00:00
diego
607067d6a7
Add -I../libavutil to the includes to fix building vo_zr[2].
...
patch by Corey Hickey <bugfood-ml - at - fatooh - dot - org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16332 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-01 10:44:46 +00:00
reimar
f68be97419
Fix texture format variable types. Internal format is GLint, others are GLenum
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16304 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-25 12:45:57 +00:00
diego
d34494074c
Slightly reduce unnecessary verbosity.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16302 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-24 00:46:04 +00:00
reimar
999c4374c6
DestroyWindow must be used when -wid was not given, so for WinID < 0, not >=0
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16289 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-22 09:05:18 +00:00
reimar
6f4bba6b61
-wid support for windows. Not well tested, might still behave a bit weird.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16283 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-21 09:59:45 +00:00
reimar
cbf7b3b291
remove extern for variables that are already in headers.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16281 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-21 01:20:31 +00:00
reimar
77ec0f850d
less weird OSD alpha transformation.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16273 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-19 12:23:34 +00:00
reimar
f37f504f2a
Do not set SwapInterval for values < 0.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16272 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-19 12:16:52 +00:00
reimar
5da34263f6
Fix crash in windows
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16271 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-19 12:09:44 +00:00
reimar
0a19444796
automatic vsync enabling for vo_gl.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16269 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-19 09:31:02 +00:00
alex
d4d939b57e
gtf.{c,h} is used by vesa only
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16265 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-18 12:59:19 +00:00
alex
6c5df75cce
use libvbe from vesautils
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16257 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-18 11:26:04 +00:00
reimar
cbd8483a32
Get events from -wid window.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16240 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-16 23:24:52 +00:00
reimar
c157ebb6c9
Our buffer usage actually fits better to GL_DYNAMIC_DRAW than GL_STREAM_DRAW.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16238 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-16 19:07:07 +00:00
reimar
dfa61db50a
OSD textures can be deleted with one function call...
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16237 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-16 18:52:38 +00:00
reimar
7e6c29c530
Make glFinish optional
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16236 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-16 18:27:12 +00:00
reimar
44ec3f7566
use GenBuffers to get a buffer number instead of hardcoding 1.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16234 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-16 17:57:53 +00:00
reimar
a96150da85
10l, initializers don't work without a declaration :-(
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16227 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 23:16:17 +00:00
reimar
0f10868e3d
use glUploadTex helper function
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16225 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 19:40:33 +00:00
reimar
0ddf170917
extra check for glUploadTex to avoid a possible hang.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16224 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 19:38:16 +00:00
reimar
5543cc2bf5
textures smaller 64x64 might not be supported
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16223 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 19:36:34 +00:00
reimar
c7888c0a7f
remove/move some unused headers/variables/code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16222 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 19:24:49 +00:00
reimar
f1fcbe1d11
10l, texture_width/height initialization was removed, so use
...
image_width/height here
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16221 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 18:36:01 +00:00
reimar
698494f779
Helper function for drawing texture and general cleanup of vo_gl2.c
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16215 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 13:44:14 +00:00
reimar
3cf870e26b
Cleanup, move declarations to beginning of block.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16214 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 10:30:18 +00:00
alex
76f0fb31b6
10l, patch found in geexbox
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16197 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-11 11:02:30 +00:00
reimar
9b53e64cc5
Forgot to actually enable vo_gl on Windows...
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16182 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-06 13:38:00 +00:00