]> git.sesse.net Git - nageru/log
nageru
8 years agoBegin the 1.3.0 NEWS entry.
Steinar H. Gunderson [Sun, 1 May 2016 19:56:17 +0000 (21:56 +0200)]
Begin the 1.3.0 NEWS entry.

8 years agoWhen doing a cut, do the shutdown in a separate thread.
Steinar H. Gunderson [Sun, 1 May 2016 19:52:15 +0000 (21:52 +0200)]
When doing a cut, do the shutdown in a separate thread.

Alleviates problems with dropped frames in the mixer because shutdown
takes too long. We still have a problem with audio going to a somewhat
random of the two files, though.

8 years agoUpload the textures from the main thread.
Steinar H. Gunderson [Sun, 1 May 2016 12:34:10 +0000 (14:34 +0200)]
Upload the textures from the main thread.

The texture upload from the dequeue threads (and then using fences) _should_
work, but there are seemingly driver bugs galore here; AMDs drivers crash
outright, while NVIDIA's are much more subtle, crashing after only days,
and running under apitrace shifts the behavior enough that I don't see it.

Let's try to do all of this from the main thread instead; Nageru is still
multithreaded OpenGL in many places, but with some luck, it will the last of
the NVIDIA crashes (generally manifesting themselves as libGL.so.1 free()ing
some stray pointer that was never actually allocated).

8 years agoAdd a flag to disable ALSA monitoring output.
Steinar H. Gunderson [Sat, 30 Apr 2016 23:50:18 +0000 (01:50 +0200)]
Add a flag to disable ALSA monitoring output.

8 years agoWhen dropping ALSA audio, say how much (in ms) we dropped.
Steinar H. Gunderson [Sat, 30 Apr 2016 23:18:21 +0000 (01:18 +0200)]
When dropping ALSA audio, say how much (in ms) we dropped.

8 years agoAdd an x264 example to the README.
Steinar H. Gunderson [Tue, 26 Apr 2016 22:24:46 +0000 (00:24 +0200)]
Add an x264 example to the README.

8 years agoFix a typo.
Steinar H. Gunderson [Tue, 26 Apr 2016 19:37:57 +0000 (21:37 +0200)]
Fix a typo.

8 years agoPut in a minimum H.264 quantizer as a safeguard.
Steinar H. Gunderson [Tue, 26 Apr 2016 17:15:00 +0000 (19:15 +0200)]
Put in a minimum H.264 quantizer as a safeguard.

8 years agoSupport setting x264 bitrate parameters from the command line.
Steinar H. Gunderson [Mon, 25 Apr 2016 22:44:31 +0000 (00:44 +0200)]
Support setting x264 bitrate parameters from the command line.

8 years agoSet x264 global headers (Quick Sync global headers are still not there).
Steinar H. Gunderson [Mon, 25 Apr 2016 21:04:59 +0000 (23:04 +0200)]
Set x264 global headers (Quick Sync global headers are still not there).

Should fix the H.264 stream in newer Firefox with some luck.

8 years agoSend the AVCodecContext for audio to the stream mux instead of constructing a fake...
Steinar H. Gunderson [Mon, 25 Apr 2016 19:17:25 +0000 (21:17 +0200)]
Send the AVCodecContext for audio to the stream mux instead of constructing a fake one. Probably fixes missing AAC extradata.

8 years agoMake SIGUSR1 actually quit, not just stop the mixer.
Steinar H. Gunderson [Sun, 24 Apr 2016 22:17:17 +0000 (00:17 +0200)]
Make SIGUSR1 actually quit, not just stop the mixer.

8 years agoMake QuickSyncEncoder get its textures from ResourcePool.
Steinar H. Gunderson [Sun, 24 Apr 2016 21:45:55 +0000 (23:45 +0200)]
Make QuickSyncEncoder get its textures from ResourcePool.

This fixes a problem where the ResourcePool would not be aware
that a given texture had been deleted (and a new one come back
using the same texture number), and thus happily continue
to give out cached FBOs from it, even though OpenGL had unlinked
those FBOs when the texture was deleted.

8 years agoBe much slower about reducing queue length; this was a bit too spammy.
Steinar H. Gunderson [Sun, 24 Apr 2016 21:45:02 +0000 (23:45 +0200)]
Be much slower about reducing queue length; this was a bit too spammy.

8 years agoAdd some README notes about x264.
Steinar H. Gunderson [Sun, 24 Apr 2016 21:14:11 +0000 (23:14 +0200)]
Add some README notes about x264.

8 years agoFix a minor reentrancy problem in QuickSyncEncoder.
Steinar H. Gunderson [Sat, 23 Apr 2016 22:33:39 +0000 (00:33 +0200)]
Fix a minor reentrancy problem in QuickSyncEncoder.

8 years agoFix a context memory leak on cut.
Steinar H. Gunderson [Sat, 23 Apr 2016 22:31:00 +0000 (00:31 +0200)]
Fix a context memory leak on cut.

8 years agoMove X264Encoder out of QuickSyncEncoder. This completes independent restart of the...
Steinar H. Gunderson [Sat, 23 Apr 2016 21:45:39 +0000 (23:45 +0200)]
Move X264Encoder out of QuickSyncEncoder. This completes independent restart of the file mux from the stream (sans bugs).

8 years agoSet frag_duration=125000, to get smaller (less bursty) fragments when streaming.
Steinar H. Gunderson [Sat, 23 Apr 2016 21:45:00 +0000 (23:45 +0200)]
Set frag_duration=125000, to get smaller (less bursty) fragments when streaming.

8 years agoMake the VideoEncoder own the stream audio encoder (and make it unconditionally)...
Steinar H. Gunderson [Sat, 23 Apr 2016 21:36:49 +0000 (23:36 +0200)]
Make the VideoEncoder own the stream audio encoder (and make it unconditionally), not the QuickSyncEncoder.

8 years agoFix a circular initialization issue with AudioEncoder.
Steinar H. Gunderson [Sat, 23 Apr 2016 21:32:42 +0000 (23:32 +0200)]
Fix a circular initialization issue with AudioEncoder.

8 years agoMove audio encoding from QuickSyncEncoder into its own class.
Steinar H. Gunderson [Sat, 23 Apr 2016 21:03:06 +0000 (23:03 +0200)]
Move audio encoding from QuickSyncEncoder into its own class.

8 years agoMove the entire stream mux logic from QuickSyncEncoder into VideoEncoder.
Steinar H. Gunderson [Sat, 23 Apr 2016 20:32:17 +0000 (22:32 +0200)]
Move the entire stream mux logic from QuickSyncEncoder into VideoEncoder.

8 years agoStart pulling video orchestration logic into VideoEncoder.
Steinar H. Gunderson [Sat, 23 Apr 2016 20:16:20 +0000 (22:16 +0200)]
Start pulling video orchestration logic into VideoEncoder.

8 years agoMake more consistent filenames for QuickSyncEncoder and X264Encoder.
Steinar H. Gunderson [Sat, 23 Apr 2016 19:56:15 +0000 (21:56 +0200)]
Make more consistent filenames for QuickSyncEncoder and X264Encoder.

8 years agoRename H264Encoder to QuickSyncEncoder, since we will be splitting out the non-QuickS...
Steinar H. Gunderson [Sat, 23 Apr 2016 19:53:11 +0000 (21:53 +0200)]
Rename H264Encoder to QuickSyncEncoder, since we will be splitting out the non-QuickSync parts from it soon.

8 years agoDon't check AVFMT_ALLOW_FLUSH
Martin Storsjö [Wed, 20 Apr 2016 11:48:33 +0000 (14:48 +0300)]
Don't check AVFMT_ALLOW_FLUSH

This check is redundant, av_write_frame does a similar check
internally already. The caller is not supposed to need to know/care
about this.

8 years agoSet duration for all video frames.
Steinar H. Gunderson [Tue, 19 Apr 2016 21:46:26 +0000 (23:46 +0200)]
Set duration for all video frames.

Generally the muxer will ignore these, but there's one specific case
where it cannot: Since we flush before keyframes, the mov (MP4) mux
will not be able to set a proper duration based on the next frame
(usually it just does next_dts - dts), and thus guesses that it will be
the same as the previous one. If we dropped a frame between those two,
the duration of said last frame will be wrong -- and the keyframe
(starting in the next fragment) will get the wrong pts, possibly
seemingly even going backwards.

If we lose a frame between the last frame and the keyframe, the pts
of the keyframe will still be a bit wonky, but according to wbs
(who wrote the mux), it's much better like so.

8 years agoScale duration correctly.
Steinar H. Gunderson [Tue, 19 Apr 2016 19:50:15 +0000 (21:50 +0200)]
Scale duration correctly.

8 years agoHook up SIGUSR1 for testing clean shutdown.
Steinar H. Gunderson [Tue, 19 Apr 2016 00:18:01 +0000 (02:18 +0200)]
Hook up SIGUSR1 for testing clean shutdown.

8 years agoFix a threading issue during shutdown (two threads would try to encode audio at the...
Steinar H. Gunderson [Tue, 19 Apr 2016 00:09:44 +0000 (02:09 +0200)]
Fix a threading issue during shutdown (two threads would try to encode audio at the same time).

8 years agoFix flag mismatches in the zerocopy diagnostics.
Steinar H. Gunderson [Tue, 19 Apr 2016 00:04:27 +0000 (02:04 +0200)]
Fix flag mismatches in the zerocopy diagnostics.

8 years agoDeal properly with audio at the end of the stream.
Steinar H. Gunderson [Mon, 18 Apr 2016 23:58:59 +0000 (01:58 +0200)]
Deal properly with audio at the end of the stream.

8 years agoMore shutdown issues with X264Encoder (still not fully there).
Steinar H. Gunderson [Mon, 18 Apr 2016 23:58:45 +0000 (01:58 +0200)]
More shutdown issues with X264Encoder (still not fully there).

8 years agoFix a shutdown issue in X264Encoder.
Steinar H. Gunderson [Mon, 18 Apr 2016 23:56:38 +0000 (01:56 +0200)]
Fix a shutdown issue in X264Encoder.

8 years agoRemove some debugging output.
Steinar H. Gunderson [Mon, 18 Apr 2016 23:25:45 +0000 (01:25 +0200)]
Remove some debugging output.

8 years agoMake X264Encoder possible to shut down.
Steinar H. Gunderson [Mon, 18 Apr 2016 23:14:28 +0000 (01:14 +0200)]
Make X264Encoder possible to shut down.

8 years agoAdd Metacube stream output (for Cubemap).
Steinar H. Gunderson [Mon, 18 Apr 2016 22:19:43 +0000 (00:19 +0200)]
Add Metacube stream output (for Cubemap).

8 years agoPut a global lock around glFenceSync/glDeleteSync calls, to workaround apitrace bug...
Steinar H. Gunderson [Mon, 18 Apr 2016 21:12:05 +0000 (23:12 +0200)]
Put a global lock around glFenceSync/glDeleteSync calls, to workaround apitrace bug #446. (Replaying Nageru calls using apitrace can be very useful, and it should not have any appreciable performance impact in practice.)

8 years agoSynchronize the Mux class, since both H264EncoderImpl and X264Encoder are writing...
Steinar H. Gunderson [Mon, 18 Apr 2016 17:35:18 +0000 (19:35 +0200)]
Synchronize the Mux class, since both H264EncoderImpl and X264Encoder are writing to it (from different threads).

8 years agoPut __restrict on the right place (the pointer; the pointee cannot be restricted...
Steinar H. Gunderson [Mon, 18 Apr 2016 14:39:03 +0000 (16:39 +0200)]
Put __restrict on the right place (the pointer; the pointee cannot be restricted). Fixes compilation with Clang.

8 years agoMake it possible to set x264 preset/tune from the command line.
Steinar H. Gunderson [Mon, 18 Apr 2016 14:16:41 +0000 (16:16 +0200)]
Make it possible to set x264 preset/tune from the command line.

8 years agoSeparate muxing entirely out of the HTTPD class.
Steinar H. Gunderson [Mon, 18 Apr 2016 13:24:16 +0000 (15:24 +0200)]
Separate muxing entirely out of the HTTPD class.

At some point, it was indeed more convenient to mux separately to everybody,
but muxing needs to know more stuff these days, so it was getting increasingly
ugly. This code follows roughly what VLC does to extract the header and various
block boundaries.

8 years agoCorrect audio pts for framing. Still something fishy around, though.
Steinar H. Gunderson [Sun, 17 Apr 2016 22:56:54 +0000 (00:56 +0200)]
Correct audio pts for framing. Still something fishy around, though.

8 years agoFix some small memory leaks (some bigger remain).
Steinar H. Gunderson [Sun, 17 Apr 2016 22:41:41 +0000 (00:41 +0200)]
Fix some small memory leaks (some bigger remain).

8 years agoFix a memory leak in audio encoding.
Steinar H. Gunderson [Sun, 17 Apr 2016 22:31:35 +0000 (00:31 +0200)]
Fix a memory leak in audio encoding.

8 years agoSet global headers to fix some issues with AAC over HTTP.
Steinar H. Gunderson [Sun, 17 Apr 2016 22:12:08 +0000 (00:12 +0200)]
Set global headers to fix some issues with AAC over HTTP.

8 years agoMore fixes for non-PCM HTTP audio codecs.
Steinar H. Gunderson [Sun, 17 Apr 2016 22:09:21 +0000 (00:09 +0200)]
More fixes for non-PCM HTTP audio codecs.

8 years agoRemove some debugging spew.
Steinar H. Gunderson [Sun, 17 Apr 2016 22:05:12 +0000 (00:05 +0200)]
Remove some debugging spew.

8 years agoSupport encoding the HTTP stream with x264. Highly experimental for now!
Steinar H. Gunderson [Sun, 17 Apr 2016 20:38:05 +0000 (22:38 +0200)]
Support encoding the HTTP stream with x264. Highly experimental for now!

8 years agoMake it possible for file and HTTP streams to use different audio codecs.
Steinar H. Gunderson [Sun, 17 Apr 2016 20:35:34 +0000 (22:35 +0200)]
Make it possible for file and HTTP streams to use different audio codecs.

8 years agoFix encoding to audio codecs that need a fixed frame size (e.g. mp3lame).
Steinar H. Gunderson [Sun, 17 Apr 2016 20:32:58 +0000 (22:32 +0200)]
Fix encoding to audio codecs that need a fixed frame size (e.g. mp3lame).

8 years agoPull the file muxing out of the HTTPD. (It was pretty ugly all along.)
Steinar H. Gunderson [Sun, 17 Apr 2016 19:46:15 +0000 (21:46 +0200)]
Pull the file muxing out of the HTTPD. (It was pretty ugly all along.)

8 years agoPull the Mux class out of HTTPD. (First step towards decoupling file and HTTP muxing.)
Steinar H. Gunderson [Sun, 17 Apr 2016 19:37:47 +0000 (21:37 +0200)]
Pull the Mux class out of HTTPD. (First step towards decoupling file and HTTP muxing.)

8 years agoChoose sample format on-the-fly instead of hard-coding it in defs.h.
Steinar H. Gunderson [Sun, 17 Apr 2016 16:16:40 +0000 (18:16 +0200)]
Choose sample format on-the-fly instead of hard-coding it in defs.h.

8 years agoReindent a function in H264EncoderImpl.
Steinar H. Gunderson [Sun, 17 Apr 2016 15:28:17 +0000 (17:28 +0200)]
Reindent a function in H264EncoderImpl.

8 years agoAdd an option --http-coarse-timebase for streaming to MP4.
Steinar H. Gunderson [Sun, 17 Apr 2016 15:24:05 +0000 (17:24 +0200)]
Add an option --http-coarse-timebase for streaming to MP4.

8 years agoRefactor out the logic for disabling zerocopy H.264 encoding.
Steinar H. Gunderson [Sun, 17 Apr 2016 13:47:42 +0000 (15:47 +0200)]
Refactor out the logic for disabling zerocopy H.264 encoding.

8 years agoMake it possible to override stream mux on the command line.
Steinar H. Gunderson [Sun, 17 Apr 2016 13:47:04 +0000 (15:47 +0200)]
Make it possible to override stream mux on the command line.

8 years agoMore precise PBO flushing (flush only the data we actually use, not the entire 8...
Steinar H. Gunderson [Fri, 15 Apr 2016 22:36:46 +0000 (00:36 +0200)]
More precise PBO flushing (flush only the data we actually use, not the entire 8 MB range).

8 years agoRelease Nageru 1.2.1. 1.2.1
Steinar H. Gunderson [Fri, 15 Apr 2016 20:45:55 +0000 (22:45 +0200)]
Release Nageru 1.2.1.

8 years agoMake it possible to schedule cuts using SIGHUP.
Steinar H. Gunderson [Fri, 15 Apr 2016 20:35:41 +0000 (22:35 +0200)]
Make it possible to schedule cuts using SIGHUP.

8 years agoAlways flush after setting a fence, since we could otherwise get unbounded delay...
Steinar H. Gunderson [Thu, 14 Apr 2016 08:24:26 +0000 (10:24 +0200)]
Always flush after setting a fence, since we could otherwise get unbounded delay. (Also, used to confuse apitrace, but that is fixed already.)

8 years agoSet one fence less in the case of non-zerocopy H.264 encoding.
Steinar H. Gunderson [Tue, 12 Apr 2016 17:21:30 +0000 (19:21 +0200)]
Set one fence less in the case of non-zerocopy H.264 encoding.

8 years agoAdd an option to not flush PBOs explicitly; causes apitrace not to store the data...
Steinar H. Gunderson [Sun, 10 Apr 2016 13:27:37 +0000 (15:27 +0200)]
Add an option to not flush PBOs explicitly; causes apitrace not to store the data to its trace, speeding it up massively.

8 years agoAdd usage information on invalid option or --help.
Steinar H. Gunderson [Sun, 10 Apr 2016 13:21:15 +0000 (15:21 +0200)]
Add usage information on invalid option or --help.

8 years agoMake fade progress actually go from 0 to 1, despite sigmoid at the end.
Steinar H. Gunderson [Sat, 9 Apr 2016 13:27:55 +0000 (15:27 +0200)]
Make fade progress actually go from 0 to 1, despite sigmoid at the end.

8 years agoSlightly better error message when get_chain() returns something bogus.
Steinar H. Gunderson [Sat, 9 Apr 2016 12:40:54 +0000 (14:40 +0200)]
Slightly better error message when get_chain() returns something bogus.

8 years agoExpose MultiplyEffect to themes.
Steinar H. Gunderson [Sat, 9 Apr 2016 12:39:03 +0000 (14:39 +0200)]
Expose MultiplyEffect to themes.

8 years agoFix reading of PNG images.
Steinar H. Gunderson [Sat, 9 Apr 2016 12:25:09 +0000 (14:25 +0200)]
Fix reading of PNG images.

8 years agoRefresh ImageInputs from disk every second. Not the most efficient or elegant way...
Steinar H. Gunderson [Sat, 9 Apr 2016 11:59:46 +0000 (13:59 +0200)]
Refresh ImageInputs from disk every second. Not the most efficient or elegant way of doing it, but it works for now.

8 years agoMake load_image() return nullptr instead of exit()-ing.
Steinar H. Gunderson [Sat, 9 Apr 2016 10:44:41 +0000 (12:44 +0200)]
Make load_image() return nullptr instead of exit()-ing.

Will be used when we implement image reload support soon.
In the process, RAII-ify everything in load_image(), so that
we can return nullptr at any given place without being worried
about resource leaks.

In the process, get rid of some deprecated FFmpeg API use.

8 years agoFix an issue where data would get corrupted if the client asked for chunked transfer...
Steinar H. Gunderson [Thu, 7 Apr 2016 21:00:08 +0000 (23:00 +0200)]
Fix an issue where data would get corrupted if the client asked for chunked transfer-encoding.

8 years agoRelease Nageru 1.2.0. 1.2.0
Steinar H. Gunderson [Wed, 6 Apr 2016 20:58:53 +0000 (22:58 +0200)]
Release Nageru 1.2.0.

8 years agoUpdate README for changed mux.
Steinar H. Gunderson [Wed, 6 Apr 2016 20:52:15 +0000 (22:52 +0200)]
Update README for changed mux.

8 years agoFix AV_PKT_FLAG_KEY behavior; non-IDR I-frames are not keyframes (they lack SPS infor...
Steinar H. Gunderson [Tue, 5 Apr 2016 21:02:48 +0000 (23:02 +0200)]
Fix AV_PKT_FLAG_KEY behavior; non-IDR I-frames are not keyframes (they lack SPS information), and all audio frames are keyframes.

8 years agoHook up some keyboard shortcuts for the transition buttons.
Steinar H. Gunderson [Tue, 5 Apr 2016 19:24:11 +0000 (21:24 +0200)]
Hook up some keyboard shortcuts for the transition buttons.

8 years agoSmall clarification in a variable name.
Steinar H. Gunderson [Tue, 5 Apr 2016 16:57:00 +0000 (18:57 +0200)]
Small clarification in a variable name.

8 years agoFix video in saved files.
Steinar H. Gunderson [Tue, 5 Apr 2016 16:56:43 +0000 (18:56 +0200)]
Fix video in saved files.

8 years agoAdd red and green borders around channels to mark them as used for live and preview.
Steinar H. Gunderson [Mon, 4 Apr 2016 21:46:11 +0000 (23:46 +0200)]
Add red and green borders around channels to mark them as used for live and preview.

8 years agoAdd an option --flat-audio to start with almost all the audio processing turned off.
Steinar H. Gunderson [Mon, 4 Apr 2016 19:32:12 +0000 (21:32 +0200)]
Add an option --flat-audio to start with almost all the audio processing turned off.

8 years agoAdd a command-line option to change themes.
Steinar H. Gunderson [Mon, 4 Apr 2016 19:27:26 +0000 (21:27 +0200)]
Add a command-line option to change themes.

8 years agoAdd support for uncompressed video instead of H.264 (while still storing H.264 to...
Steinar H. Gunderson [Mon, 4 Apr 2016 19:22:26 +0000 (21:22 +0200)]
Add support for uncompressed video instead of H.264 (while still storing H.264 to file).

Note that microhttpd and VLC is really inefficient for large data amounts, so
this is not actually a CPU win right now.

8 years agoFix a problem where the nut output would come way too uneven, given the VLC instance...
Steinar H. Gunderson [Sun, 3 Apr 2016 22:55:12 +0000 (00:55 +0200)]
Fix a problem where the nut output would come way too uneven, given the VLC instance too much to do at some times and too little others.

8 years agoFix yet another memory leak in the serving part.
Steinar H. Gunderson [Sun, 3 Apr 2016 20:10:11 +0000 (22:10 +0200)]
Fix yet another memory leak in the serving part.

8 years agoRemove some obsolete commented-out code.
Steinar H. Gunderson [Sun, 3 Apr 2016 19:07:52 +0000 (21:07 +0200)]
Remove some obsolete commented-out code.

8 years agoYet more ffmpeg leak fixes (one of them was created recently, though).
Steinar H. Gunderson [Sun, 3 Apr 2016 19:07:41 +0000 (21:07 +0200)]
Yet more ffmpeg leak fixes (one of them was created recently, though).

8 years agoFix infinite memory growth in the nut muxer.
Steinar H. Gunderson [Sun, 3 Apr 2016 17:26:56 +0000 (19:26 +0200)]
Fix infinite memory growth in the nut muxer.

8 years agoFix a memory leak in muxing.
Steinar H. Gunderson [Sun, 3 Apr 2016 15:39:10 +0000 (17:39 +0200)]
Fix a memory leak in muxing.

8 years agoChange mux to nut; mov seems to have issues in the VLC transcoding step.
Steinar H. Gunderson [Sun, 3 Apr 2016 15:38:35 +0000 (17:38 +0200)]
Change mux to nut; mov seems to have issues in the VLC transcoding step.

8 years agoAdd global headers if the mux wants it. (Although I am not sure if it might be a...
Steinar H. Gunderson [Sun, 3 Apr 2016 14:17:08 +0000 (16:17 +0200)]
Add global headers if the mux wants it. (Although I am not sure if it might be a lie for the H.264 stream...)

8 years agoAdd some (commented out) page poisoning code, for debugging use-after-free.
Steinar H. Gunderson [Sun, 3 Apr 2016 13:52:32 +0000 (15:52 +0200)]
Add some (commented out) page poisoning code, for debugging use-after-free.

8 years agoFix an issue in the H264 encoder where a surface could be rendered to while it was...
Steinar H. Gunderson [Sun, 3 Apr 2016 10:55:06 +0000 (12:55 +0200)]
Fix an issue in the H264 encoder where a surface could be rendered to while it was still encoding the previous frame.

8 years agoSome named constant tweaking in h264encode.cpp.
Steinar H. Gunderson [Sat, 2 Apr 2016 23:33:44 +0000 (01:33 +0200)]
Some named constant tweaking in h264encode.cpp.

8 years agoAdd a warning if we should start allocating more surfaces for the H.264 encoder.
Steinar H. Gunderson [Sat, 2 Apr 2016 23:18:01 +0000 (01:18 +0200)]
Add a warning if we should start allocating more surfaces for the H.264 encoder.

8 years agoTiny alias cleanup.
Steinar H. Gunderson [Sat, 2 Apr 2016 23:02:52 +0000 (01:02 +0200)]
Tiny alias cleanup.

8 years agoTweak queue length policy to avoid pointless safe point increases.
Steinar H. Gunderson [Sat, 2 Apr 2016 22:34:02 +0000 (00:34 +0200)]
Tweak queue length policy to avoid pointless safe point increases.

8 years agoCleanup: Remove the last case of non-refcounted fences.
Steinar H. Gunderson [Sat, 2 Apr 2016 22:14:53 +0000 (00:14 +0200)]
Cleanup: Remove the last case of non-refcounted fences.

8 years agoRevert back to glFlushMappedBufferRange; buggy on ATI or not, glMemoryBarrier is...
Steinar H. Gunderson [Sat, 2 Apr 2016 20:42:30 +0000 (22:42 +0200)]
Revert back to glFlushMappedBufferRange; buggy on ATI or not, glMemoryBarrier is only for changes from the server to the client, not the only way around.

8 years agoFix an integer wraparound issue.
Steinar H. Gunderson [Sat, 2 Apr 2016 18:17:30 +0000 (20:17 +0200)]
Fix an integer wraparound issue.