opencv/modules
Tom Stellard 8f3b876ee6 ocl: Change static variable order in cl_context.cpp to avoid crashes during destruction
ContextImpl::currentContext contains a reference to one of the
DeviceInfoImpl objects from:

static std::vector<DeviceInfoImpl> global_devices;

ContextImpl::currentContext is destroyed in the destructor
for the statically defined object __module, and relies on its
DeviceInfoImpl reference to query some hardware features while
being destroyed.

This means that we need to ensure that the global_devices vector is
destroyed affter __module, otherwise ContextImpl::currentContext's
DeviceInfoImpl reference will no longer be valid when __module is
destroyed.

Since these variables are all confined to a single compilation unit,
they will be destruct from bottom to top, so we need to make sure
that __module is the bottom definition so it can be destroyed first.
2014-10-14 20:54:13 -04:00
..
androidcamera Android camera qcom HAL doesn't like it when no consumer usage bits are set. Set a usage bit for preview BufferQueue. 2014-05-01 16:03:39 +03:00
calib3d Test fisheye.rectify disabled for Tegra. 2014-09-30 14:49:33 +04:00
contrib Added publication reference 2014-07-11 09:22:55 +02:00
core core: fix x86 PIC code compilation 2014-10-12 12:45:20 +02:00
dynamicuda disable NPP for GpuMat methods and for copyMakeBorder 2014-01-31 15:52:06 +04:00
features2d Fixes #3910, flags in _prepareImgAndDrawKeypoints are now binary OR'ed instead of added. 2014-10-07 09:40:56 +02:00
flann Merge pull request #2071 from pemmanuelviel:LshOrthogonalSubvectors 2014-07-02 14:24:09 +00:00
gpu fix CUDA LUT implementation 2014-08-28 14:47:26 +04:00
highgui Merge pull request #3307 from ilya-lavrenov:ffmpeg_rtsp 2014-10-10 11:02:50 +00:00
imgproc Fixed doc for Bug #3887 2014-10-08 19:52:35 +05:30
java OpenCV Manager version++. 2014-09-30 12:05:46 +04:00
legacy Fixed typos in comments 2014-06-26 16:29:45 +02:00
ml Fixing a line where integer data was treated as floating point data. 2014-09-18 14:03:13 +02:00
nonfree doc/check_docs2.py warnings fixes 2014-10-02 13:40:30 +04:00
objdetect Merge pull request #2699 from GregoryMorse:patch-1 2014-05-13 11:58:25 +04:00
ocl ocl: Change static variable order in cl_context.cpp to avoid crashes during destruction 2014-10-14 20:54:13 -04:00
photo typos 2014-03-02 21:04:17 +04:00
python Python tests added to -tests deb package. 2014-09-08 18:11:12 +04:00
stitching Feature based stitching's wave correction bugfix. 2014-09-15 17:04:08 +04:00
superres Turn off superres accuracy tests if video i/o is not supported. 2014-10-01 09:15:24 +04:00
ts fixing dependencies 2014-09-30 11:53:46 +02:00
video made a performance improvement. 2014-04-08 16:10:32 +03:00
videostab fix variable name typo in calcBlurriness 2014-03-10 03:02:06 -04:00
viz Fix for VTK6.2 issue. 2014-06-24 11:52:56 +01:00
world fix for compiling 2.4 opencv with xcode 5.1 2014-04-18 13:42:47 +02:00
CMakeLists.txt Add support for adding custom OpenCV modules. 2013-06-05 18:10:44 +04:00
refman.rst.in Made reference manual table of contents autogenerated 2012-05-30 14:06:47 +00:00