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
ivo
4bf7522a2e
Missed one uint32_t declaration.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16173 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 12:46:42 +00:00
ivo
cd55954e4e
Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
...
return values can be negative (VO_ERROR, VO_NOTAVAIL and VO_NOTIMPL), so it's
changed to int now.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16172 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 01:24:37 +00:00
nplourde
56d37f9817
exit kiosk mode and show mouse cursor in uninit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16146 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 23:18:39 +00:00
nplourde
0712baca3d
properly release window
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16145 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-28 22:19:34 +00:00
reimar
f467c97576
More helper functions/defines and bugfixes
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16118 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-27 17:22:24 +00:00
reimar
775c4db7f4
catch failed buffer allocation
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16114 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 20:36:34 +00:00
reimar
58eab3c054
Use dlsym to get glXGetProcAddress, only way to (hopefully) make it
...
compile everywhere since the gl/glx headers are such a mess...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16112 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 18:28:51 +00:00
reimar
1feebc74c7
OpenGL fixes for windows and vo_gl.c ported to windows.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16110 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 13:47:18 +00:00
reimar
c30b5e70b7
support for rectangular and streaming textures.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16100 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 10:16:18 +00:00
reimar
6acf6c886e
Use DRAW_IMAGE instead of draw_frame
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16093 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-25 19:11:14 +00:00
nplourde
e14d9ede2e
restore window shadow when quitting fullscreen mode
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16082 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-24 15:16:27 +00:00
reimar
de6925b979
Enable manyfmts by default for vo_gl
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-19 08:42:55 +00:00
rik
2d730f1fcc
--Patch by Stefan '1stein' Schuermans <1stein@schuermans.info>:
...
the bugfix of the "grayscale" output scheme introduced a bug in the header
writer for the stream output, this patch corrects that
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15953 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-10 12:35:43 +00:00
nplourde
96a22de4e6
resize video after keep aspect menu item toggle
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15910 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-03 14:28:51 +00:00
nplourde
706952e30d
fix various window resizing bug with menu option
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15903 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-03 12:24:48 +00:00
nplourde
c8dc1edbdf
more fullscreen behaviour fix for mouse cursor
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15893 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-02 19:44:48 +00:00
nplourde
7707fc682f
properly redraw fullscreen window with -fs and zoom
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15886 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-02 13:28:25 +00:00
nplourde
762820ba8f
fix fullscreen menubar item behaviour
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15883 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-01 17:24:31 +00:00
nplourde
2814dd6533
auto hide menubar and cursor in fullscreen
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15882 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-01 17:21:13 +00:00
iive
b509629603
add vo_xv_enable_vsync() to xvmc
...
it may not be needed but at least it shouldn't hurt to have it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15867 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-30 10:57:56 +00:00
reimar
7bbc8d045a
added forgotten xv_enable_vsync
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15865 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-30 10:16:35 +00:00
nplourde
c60e560af2
keep window size when changing aspect
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15856 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-29 21:54:48 +00:00
nplourde
7d73ce2371
crash on autorelease, do not add to pool
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15855 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-29 21:49:58 +00:00
reimar
85626ef1aa
Try to set XV_SYNC_TO_VBLANK to enable vsync on non-overlay xv adapters.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15827 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-27 10:05:39 +00:00
faust3
0a4c99abd9
keep aspect when resizing, quit MPlayer when closing the window patch by Erik Lunchpail <erik_27can at yahoo.com>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15823 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-26 17:44:07 +00:00
gpoirier
9dd8f241ac
adds some more -identify output, patch by kiriuja < mplayer DASH patches PAM en DASH directo POUM net>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15790 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-20 23:07:35 +00:00
ranma
2098665b8d
Be more patch-friendly
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15773 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-19 22:52:55 +00:00
reimar
e76512dfb7
Make dfbopts a suboption, use suboption parser
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15751 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-18 20:27:50 +00:00
reimar
fd0aa2708e
support -wid
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15749 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-18 18:32:29 +00:00
nplourde
62e993bd96
osx 10.3 dont like to have a window init with no size
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15748 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-17 16:45:24 +00:00
nplourde
6f6ab3ba68
set nsapp and setup cocoa with NSApplicationLoad
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15738 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 16:41:44 +00:00
nplourde
643db0cf94
proper init of NSApp
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15737 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 16:14:05 +00:00
reimar
679f307f01
helper functions for comparing strarg_t "strings".
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15735 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 09:08:07 +00:00
nplourde
1b0c8682c4
set window alpha
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15732 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-16 00:26:47 +00:00
nplourde
40059ab93a
new texture frame
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15730 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-15 21:49:50 +00:00