Commit Graph

81 Commits

Author SHA1 Message Date
Martin Pulec
306cc9563a GL: register fullscreen key 2019-10-31 09:56:03 +01:00
Martin Pulec
75fb7fb8c2 GL: Pass also Ctrl-modified keys 2019-10-31 09:55:52 +01:00
Martin Pulec
35757c31f3 Moved common key sending from displays 2019-10-31 08:04:36 +01:00
Martin Pulec
a312f0882f GL: pass unknown keys to keyboard control
This allows the control of import/file playback (running on the local machine).
2019-10-30 13:36:51 +01:00
Martin Pulec
ca62e58d00 GL: change some interactive keys
- use 'p' for pause
- use 'c' to show/hide cursor
- show cursor status
2019-10-30 13:36:51 +01:00
Martin Pulec
89447df437 GL: enlarge/shrink works again
With freeglut 2.8.1 on X11 it requires glutPostRedisplay() for the
window to actually resize.

+ imrove grammar in help
+ log the size change
2019-10-30 13:36:43 +01:00
Martin Pulec
fd3eabb499 GL: Windows compilation fix 2019-09-18 13:58:42 +02:00
Martin Pulec
255ad29d10 GL: handle errors with longjmp instead of throw
Use longjmp() instead of exception to handle GLUT errors (like DISPLAY
not defined) because the former did crash with some implementations.
2019-09-16 11:58:44 +02:00
Martin Pulec
bc3311751a GL: include GLSL version
needed to disable warnings from shader compilation in Windows
2019-08-28 15:15:38 +02:00
Martin Pulec
3f6db9f8f0 Fixed some other warnings 2019-08-01 10:26:30 +02:00
Martin Pulec
ab9add0799 Fixed further warnings 2019-07-24 10:57:06 +02:00
Martin Pulec
8c04528fa0 GL: fixed printing error 2019-06-13 14:31:28 +02:00
Martin Piatka
25e6f31662 video_display_info: probe: pass function ptr to deleter func 2019-03-15 13:00:59 +01:00
Martin Pulec
7d1fff690b GL: refuse multiple init 2019-02-14 14:55:21 +01:00
Martin Pulec
2539315a7a GL: do not crash if glGetString(GL_VERSION) fails 2019-01-22 10:04:43 +01:00
Martin Pulec
a1e8381cf0 GPUJPEG decoder: initialize all struct members 2019-01-09 15:18:17 +01:00
Martin Pulec
a8f412e652 freeglut: exit correctly if init fails 2019-01-09 15:18:17 +01:00
Martin Pulec
8c1c029767 GL: option nodecorate (works with X11) 2018-12-17 10:37:32 +01:00
Martin Pulec
c65b2604b6 GL: partially revert 9a70575b
It looks like that at some platforms (Win 10, Intel HD Graphics on
i5-3427U) it causes a major performance issue.
2018-09-25 10:48:44 +02:00
Martin Piatka
1e2f38c97c Rewrite video_frame callbacks to be set by decoders 2018-09-12 23:29:08 +02:00
Martin Piatka
88304b3d38 hwaccel: Add comments 2018-05-16 14:19:24 +02:00
Martin Piatka
4dfe336949 hwaccel: Split code into more files, compile each hwaccel independently 2018-05-16 14:19:24 +02:00
Martin Pulec
ee476ef29c GL: use PBO for texture uploads
This improves performance/throughput since the driver usually makes
a copy when using client-side pixel transfers (see
https://www.khronos.org/opengl/wiki/Pixel_Buffer_Object#Uploads).
2018-04-24 09:59:32 +02:00
Martin Piatka
d649fd9025 GL: hwaccel fix compile warnings 2018-04-05 12:22:18 +02:00
Martin Piatka
aa5d69e376 Request decoder reconf if can't decode to out_codec 2018-04-04 14:21:30 +02:00
Martin Piatka
55039af1e6 hwaccel: Add ifdef guards 2018-04-04 14:17:14 +02:00
Martin Piatka
f7bdf3cad3 GL: VDPAU mixer 2018-04-04 14:17:04 +02:00
Martin Piatka
0c26bbbaec hwaccel: Loading vdp functions 2018-04-04 14:14:18 +02:00
Martin Piatka
fb82287da2 hwaccel: Proper creating, copying and freeing of hw frames 2018-04-04 14:12:01 +02:00
Martin Piatka
43e7ceae67 GL: Support for HW_VDPAU frames 2018-04-04 14:10:06 +02:00
Martin Piatka
7e16175b9e hwaccel: Structs and functions for working with hw frames 2018-04-04 14:04:06 +02:00
Martin Piatka
2a5decf819 Add HW_VDPAU pixel format 2018-04-04 13:41:36 +02:00
Martin Pulec
80cb3cdb14 GL: log screenshot 2018-01-08 15:21:38 +01:00
Martin Pulec
54e7a7b421 Added Spout support to OpenGL display 2017-07-13 16:41:41 +02:00
Martin Pulec
dbca94340c GL: allow single buffering 2017-06-05 11:00:57 +02:00
Martin Pulec
9a70575b1f GL: try to minimize latency
Minimize latency when using sync on VBlank by reducing inter-pipeline
latency.
2017-06-05 11:00:57 +02:00
Martin Pulec
6a1ee06b48 Fixed another Coverity bugs 2017-03-22 13:44:17 +01:00
Martin Pulec
ce48814a84 OpenGL: UYVY to RGBA - set alpha channel 2017-03-15 19:20:04 +01:00
Martin Pulec
f47597dd89 Fixed bugs reported by Coverity 2017-03-03 18:07:18 +01:00
Martin Pulec
18154d3413 Moved some commandline parameters to --params
"ldgm-device" and "disable-keyboard-control" commandline parameters were
moved to --params. "window-title" can be as both, however as a
commandline argument it will be removed in future.
2017-02-20 11:27:30 +01:00
Martin Pulec
b7cac25488 GL: MSW compat 2016-11-21 07:41:57 +01:00
Martin Pulec
ae9e393d22 GL: print info when video is paused 2016-10-12 16:41:18 +02:00
Martin Pulec
0fed77941e Use error code 1 for general errors
Return 1 instead of 127/128 which is allocated for something else.
2016-10-10 20:44:37 +02:00
Martin Pulec
eaf05574b6 GL: fixed gl:fixed_size=WxH 2016-08-25 23:20:02 +02:00
Martin Pulec
6923005b74 GL: fixed some leaks 2016-06-29 10:37:01 +02:00
Martin Pulec
d4ce023537 GL: option to hide window (useful for Syphon) 2016-06-29 10:37:00 +02:00
Martin Pulec
892883df02 Fixed some Coverity bugs 2016-06-28 17:33:24 +02:00
Martin Pulec
cba5f64822 GL: small fix 2016-03-22 15:10:30 +01:00
Martin Pulec
2fbda3888b GL: autohide cursor 2016-02-09 15:16:49 +01:00
Martin Pulec
4ae17a2085 Created common_preinit() for common setup 2016-01-13 18:11:14 +01:00