Alexandre Janniaux
9eb382ea8c
vector: fix parameter documentation in vlc_vector_reallocdata_
The first word after \param tag designates the parameter.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
8 years ago
Alexandre Janniaux
81271098e1
vector: use code instead of verbatim in doxygen
Verbatim is dedicated to render monospaced unfiltered text. While code
can fit this description, code environment is better suited as it gets
syntax coloration and avoid the need to remove the stars before the
lines of code.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
8 years ago
Rémi Denis-Courmont
12f15fcb22
xcb/x11: do not provide a pool
8 years ago
Rémi Denis-Courmont
e266b6e1b2
vout: allow display not to provide a pool
8 years ago
Rémi Denis-Courmont
f1649ea3f3
xcb/x11: use normal picture buffers
Get rid of the custom allocator.
8 years ago
Rémi Denis-Courmont
fdc57213fc
xcb: require MIT-SHM extension version 1.2
8 years ago
Rémi Denis-Courmont
6a33cd10a4
xcb/x11: cosmetic, reindent
8 years ago
Rémi Denis-Courmont
aea2967228
xcb/x11: remove useless vout_display_place_t
8 years ago
Rémi Denis-Courmont
f534a20f20
xcb/x11: move window earlier
Place the window correctly at initialization, and update the position
upon control events. Do not defer this to the pool callback.
8 years ago
Rémi Denis-Courmont
cadcfc8c8a
xcb/x11: reorder to avoid forward declarations
8 years ago
Rémi Denis-Courmont
a202b0391e
vout: privatize vout_snapshot_t
8 years ago
Rémi Denis-Courmont
0bdc25b4cd
vout: merge vout_EndWrapper() and vout_CloseWrapper()
8 years ago
Rémi Denis-Courmont
706d291795
vout: merge vout_OpenWrapper() and vout_InitWrapper()
8 years ago
Rémi Denis-Courmont
e7b0032f5b
vout_wrapper: reorder code
No functional changes
8 years ago
Rémi Denis-Courmont
dc15272678
vout: factor display prepare
So far, if picture is DR, then SPU is either DR (!do_dr_spu) or it was
blent early (subpic == NULL). As such, the late blend & prepare logic in the
non-DR case works just fine for the DR case.
8 years ago
Rémi Denis-Courmont
7f7d0a1943
vout: remove useless check
When 'do_early_spu' is set, 'subpic' is blent and deleted earlier,
then set to NULL. So the predicate would be false anyhow.
8 years ago
Rémi Denis-Courmont
1a7f407a84
vout: factor, remove redundant code
The subpicture will be released after vout_display_Display() in any
case. There is not much point deleting it early just because we can.
8 years ago
Rémi Denis-Courmont
9166eedc2a
display: remove unused function
8 years ago
Rémi Denis-Courmont
a25c5a44a0
vout: remove useless call
vout_ManageDisplay() returns true if and only if the pictures were
invalid. Both sides of the logical disjunction were equal.
8 years ago
Rémi Denis-Courmont
07facc2884
vout: remove constant vout_ManageDisplay() parameter
8 years ago
Rémi Denis-Courmont
2b792318fa
vout_wrapper: always allow resetting pictures
Always pass true for the second parameter of vout_ManageDisplay().
If vout_AreDisplayPicturesInvalid(vd) was true, this does not change
the value of the parameter.
If vout_AreDisplayPicturesInvalid(vd) was false, then setting the
allow_reset_pictures parameter had no effects within
vout_ManageDisplay() because atomic_exchange() below would evaluate
to false regardless of allow_reset_pictures:
if (allow_reset_pictures
&& atomic_exchange(&osys->reset_pictures, false))
8 years ago
Rémi Denis-Courmont
931a65b41b
display: process crop changes synchronously
8 years ago
Rémi Denis-Courmont
905b4fffa9
display: process SAR changes synchronously
8 years ago
Rémi Denis-Courmont
2b38f17ea6
vout: remove vout_display_state_t
Replace it directly with vout_display_cfg_t.
8 years ago
Rémi Denis-Courmont
a9ef6e75d3
vout: remove legacy "below" state handling
None of the legacy video outputs support that anyway.
8 years ago
Rémi Denis-Courmont
b4214e0e2f
vout: remove vout_display_state_t.wm_state
8 years ago
Rémi Denis-Courmont
0a90a9255d
display: eliminate an intermediate variable
No functional changes.
8 years ago
Rémi Denis-Courmont
c8eb223719
display: rename a variable
No functional changes.
8 years ago
Rémi Denis-Courmont
b466e713ee
display: remove dead code
As per the initializations 20 lines earlier, the predicate was always
false.
8 years ago
Rémi Denis-Courmont
0adf1b07bf
vout: remove always 0:0 SAR
vout_display_state_t.sar was initialized to { 0, 0 }, then copied into
vout_display_owner_sys_t.sar_initial. Then copied back. And so on.
8 years ago
Rémi Denis-Courmont
b141f01414
cvdsub: fix format strings
8 years ago
Rémi Denis-Courmont
602c77c044
window: remove useless vout_window_New() parameter
8 years ago
Rémi Denis-Courmont
fd38297c68
window: remove configuration parameter
...from activation callback.
8 years ago
Martin Storsjö
f9a62e96b5
contribs: libplacebo: Fix finding glslang
The patch was rebased incorrectly in 9948a6de .
8 years ago
Rémi Denis-Courmont
ce002c9f2c
minimal_macosx: implement enable/disable window
8 years ago
Rémi Denis-Courmont
1aaf297b19
macosx: implement enable/disable window
8 years ago
Rémi Denis-Courmont
f665b10ccf
skins: implement window enable/disable
8 years ago
Rémi Denis-Courmont
47afe1dcb2
qt: implement window enable & disable callbacks
8 years ago
Rémi Denis-Courmont
12d522eef4
xcb/window: implement enable/disable callbacks
8 years ago
Rémi Denis-Courmont
86ad81ec55
xdg_shell: implement the enable callback
8 years ago
Rémi Denis-Courmont
59a049d4a1
window: add enable/disable callbacks
The window provider should remain available even when no video is shown
so that available fullscreen targets can be tracked (or whatever other
events from the display server).
This is similar to audio output existing even without an audio stream.
8 years ago
Rémi Denis-Courmont
92871c9da5
xcb/window: handle (re)enabling decorations
8 years ago
Rémi Denis-Courmont
ab59d0158c
xcb/window: factor common init code
8 years ago
Rémi Denis-Courmont
dde1c24e6b
xcb/window: remove unnecessary geometry request
There is always a configure event when creating a new window.
Even if there were not, the logic was race-prone.
8 years ago
Rémi Denis-Courmont
388bf1bb4f
xcb/window: use vlc_obj_malloc()
8 years ago
Rémi Denis-Courmont
498a83708a
skins: do not include vlc_vout_window.h all over
8 years ago
Rémi Denis-Courmont
ba9b4af547
input: fix switch warning
8 years ago
Steve Lhomme
732e5cbfdf
d3d9: make sure external devices also set the adapterId and device caps
8 years ago
Sergio Ammirata
307e3b7f40
access: rist: fix misspellings on help text
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
8 years ago
Sergio Ammirata
f487da48e6
access_out: rist: use ssize_t to match the return value of rist_Read
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
8 years ago