<feed xmlns='http://www.w3.org/2005/Atom'>
<title>dcpomatic/src/wx/gl_video_view.cc, branch alignment</title>
<subtitle>DCP-o-matic DCP tools</subtitle>
<id>https://git.carlh.net/cgit/dcpomatic/atom?h=alignment</id>
<link rel='self' href='https://git.carlh.net/cgit/dcpomatic/atom?h=alignment'/>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/'/>
<updated>2020-09-11T15:35:10Z</updated>
<entry>
<title>Fixes for building with newer wxWidgets.</title>
<updated>2020-09-11T15:35:10Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-09-04T16:15:23Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=2e6f03cbb2c5664bd338ad28bfd6c54732e64b47'/>
<id>urn:sha1:2e6f03cbb2c5664bd338ad28bfd6c54732e64b47</id>
<content type='text'>
</content>
</entry>
<entry>
<title>wxEVT_CREATE appears never to arrive on Windows, so change things</title>
<updated>2020-08-08T22:03:11Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-08-08T22:03:11Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=09778ab5747c081acb51190bafdfeba63e3ea7fd'/>
<id>urn:sha1:09778ab5747c081acb51190bafdfeba63e3ea7fd</id>
<content type='text'>
to create the OpenGL thread on the first paint request.
</content>
</entry>
<entry>
<title>Remove old comment.</title>
<updated>2020-08-08T22:02:57Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-08-08T22:02:57Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=b0f642ee90a2babed6547ea68e987751621fe3f3'/>
<id>urn:sha1:b0f642ee90a2babed6547ea68e987751621fe3f3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't call OpenGL functions until the wxGLContext has been created.</title>
<updated>2020-08-08T22:02:25Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-08-08T22:02:25Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=85739dd3fcdf8a7d39089feb0035e841341dd44d'/>
<id>urn:sha1:85739dd3fcdf8a7d39089feb0035e841341dd44d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add some more OpenGL debugging.</title>
<updated>2020-08-04T22:06:35Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-08-04T22:06:35Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=f6ad8f0a2acae27196640a999440ed22abf5345b'/>
<id>urn:sha1:f6ad8f0a2acae27196640a999440ed22abf5345b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix bugs in thread termination causing occasional pthread</title>
<updated>2020-07-29T18:22:54Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-07-29T18:22:54Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=e3c7656f9dc0acbaf518c051b847ee2e4eb7ba23'/>
<id>urn:sha1:e3c7656f9dc0acbaf518c051b847ee2e4eb7ba23</id>
<content type='text'>
assertion failures.

Before this, it was possible for J2KEncoder::terminate_threads()
to finish without terminating all threads if the thread _running_
terminate_threads() was itself interrupt()ed.

This is because the thread_group::join_all() in terminate_threads()
is an interruption point, so it was possible it not to complete
but instead to throw interrupted_exception.  Then the owning
J2KEncoder would be torn down but the threads would still be running,
causing use-after-frees.

This commit adds some boost::this_thread::disable_interruption
objects to ensure that the owning thread is not interrupted while
it is being destroyed.

Also tidy up code that does this stuff, assuming that it's safe
to not call thread::joinable but instead do

thread.interrupt();
try {
  thread.join();
} catch (...) {}
</content>
</entry>
<entry>
<title>Various OSX warnings fixes.</title>
<updated>2020-07-26T19:30:59Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-07-26T19:29:43Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=6eba051dcbb8c56e3e2efea946ce0380d17a7b33'/>
<id>urn:sha1:6eba051dcbb8c56e3e2efea946ce0380d17a7b33</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix confusion between one-shot and playing causing surprising</title>
<updated>2020-06-28T21:13:04Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-06-27T23:46:20Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=92a2ca96e61ed040737a395b232cf22e5f3234c1'/>
<id>urn:sha1:92a2ca96e61ed040737a395b232cf22e5f3234c1</id>
<content type='text'>
seeks when things are updated.
</content>
</entry>
<entry>
<title>Rename _playing_condition -&gt; _thread_work_condition.</title>
<updated>2020-06-27T22:49:54Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-06-27T22:49:54Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=91152d27421ae3674c782a644e23df1a9dbc8f42'/>
<id>urn:sha1:91152d27421ae3674c782a644e23df1a9dbc8f42</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix crash.</title>
<updated>2020-02-06T20:56:49Z</updated>
<author>
<name>Carl Hetherington</name>
<email>cth@carlh.net</email>
</author>
<published>2020-02-06T20:56:49Z</published>
<link rel='alternate' type='text/html' href='https://git.carlh.net/cgit/dcpomatic/commit/?id=9d87639be7c1f108f249944632273d15afaed70b'/>
<id>urn:sha1:9d87639be7c1f108f249944632273d15afaed70b</id>
<content type='text'>
</content>
</entry>
</feed>
