opencv/cmake/templates
iPanda 097fc1a271 Merge pull request #13972 from Mainvooid:add_cuda_support_for_D3D11_interop
* Add CUDA support for D3D11 interop. #13888

color_detail.hpp: fixed build error : dynamic initialization is not supported for a __constant__ variable.
directx.cpp: Add CUDA support(cl_nv_d3d11_sharing) for D3D11 interop.  #13888

Update directx.cpp

Format adjustment.

Update directx.cpp

fix error.

Update directx.cpp

Format adjustment

Update directx.cpp

fix trailing whitespace.

fix format errors

convert indentation to spaces .
Trim trailing whitespace.
Add information about source of cl_d3d11_ext.h
Avoid unrelated changes.

Increase compile-time conditional judgment.

Increase the judgment of whether the OCL device has the required extensions at compile time.

Add compilation option  `HAVE_CLNVEXT`.Check CL support in runtime.

Check result of `clGetExtensionFunctionAddressForPlatform` for KHR is invalid.It always can get the address(from OpenCL.dll),So I check NV support(from nvopencl64.dll) before KHR when `HAVE_CLNVEXT` is enabled.

Delete cl_d3d11_ext.h

Modified parameter list

fix "cannot open include file: 'CL/cl_d3d11_ext.h'"

 remove not referenced var

fix C2143: syntax error

Improve compile-time judgment.

dlrectx.cpp Modify the detection order.
initializeContextFromD3D11Device:
```
    // try with NV(Need to check it first)
    // try with KHR
```

fix warnig C4100

Revert "fix warnig C4100"

This reverts commit 76e5becb67780071d0cbde61cc4f5f807ad7c5ac.

fix warning C4100

fix warning C4505

Format alignment

Format adjustment and automatically detect header files.

Automatically detect header files when users are not configured or configuration errors occur.

avoid unrelated changes.

Update .cmake

Update .cmake

* fix build errors

* fix warning:defined but not used

* Revert "fix warning:defined but not used"

This reverts commit 7ab3537cd0.

* fix warning:defined but not used

* fix build error for mac

* fix build error for win

* optimizing branch judgment

* Revert "optimizing branch judgment"

This reverts commit 88b72b870e.

* fix warning C4702: unreachable code

* remove unused code

* Fix problems that may lead to undefined behavior

* Add status check

* fix error C2664,C2665 : cannot convert argument

* Format adjustment

VSCODE will automatically format the indentation to 4 spaces in some situation.

* fix error C2440

* fix error C2440

* add cl_d3d11_ext.h

* Format adjustment

* remove unnecessary checks
2019-03-24 18:34:09 +03:00
..
cmake_uninstall.cmake.in Normalized file endings. 2013-08-21 18:59:25 +04:00
custom_hal.hpp.in cmake: refactor HAL attaching process 2016-06-15 17:34:30 +03:00
cv_cpu_config.h.in cmake: support multiple CPU targets 2017-02-13 19:52:59 +03:00
cvconfig.h.in Merge pull request #13972 from Mainvooid:add_cuda_support_for_D3D11_interop 2019-03-24 18:34:09 +03:00
dllmain.cpp.in cmake: add DllMain() into each OpenCV DLL 2018-10-10 11:00:59 +00:00
opencv_abi.xml.in opencv_version: dump OpenCL information via opencv_version 2018-01-27 17:08:28 +00:00
opencv_modules.hpp.in cmake: add OPENCV_ENABLE_NONFREE option and macro 2016-08-04 19:23:49 +03:00
opencv_run_all_tests_android.sh.in opencv_run_all_tests.sh implemented for Android SDK. 2014-02-12 14:21:58 +04:00
opencv_run_all_tests_unix.sh.in exclude dates from report names 2015-09-21 13:44:34 +02:00
opencv_run_all_tests_windows.cmd.in Add a script to run all tests on Windows 2015-03-10 16:24:23 +03:00
OpenCV-abi.mk.in Separate OpenCV.mk files for different ABIs 2015-06-17 18:10:28 +03:00
opencv-XXX.pc.in Updated pkg-config generation, added sample makefile 2015-05-22 16:09:07 +03:00
OpenCV.mk.in android: move .a files into 'staticlibs' directory 2018-02-15 16:31:49 +03:00
OpenCVConfig-ANDROID.cmake.in cmake: refactoring of OpenCVConfig 2016-06-20 15:15:21 +03:00
OpenCVConfig-CUDA.cmake.in cmake: fix variable expand in CMake conditions 2018-10-21 15:02:40 +00:00
OpenCVConfig-IPPICV.cmake.in cmake: refactoring of OpenCVConfig 2016-06-20 15:15:21 +03:00
OpenCVConfig-IPPIW.cmake.in cmake: update handling of IPPICV/IPPIW 2017-04-26 00:15:54 +03:00
OpenCVConfig-version.cmake.in Properly check for version in find_package 2015-12-17 17:00:30 +03:00
OpenCVConfig.cmake.in Misc. typos 2018-07-31 18:44:23 +03:00
OpenCVConfig.root-ANDROID.cmake.in cmake: refactoring of OpenCVConfig 2016-06-20 15:15:21 +03:00
OpenCVConfig.root-WIN32.cmake.in cmake: support MSVS 2019 2019-03-05 13:38:47 +03:00
pylint.cmake.in cmake: change Pylint integration 2017-08-24 14:59:33 +03:00
setup_vars_linux.sh.in cmake: introduce setup_vars scripts 2018-11-01 17:38:40 +03:00
setup_vars_macosx.sh.in cmake: introduce setup_vars scripts 2018-11-01 17:38:40 +03:00
setup_vars_win32.cmd.in win32: update setupvars.cmd 2018-11-15 23:36:26 +00:00
vs_version.rc.in build: added VERSIONINFO resource 2017-06-20 15:45:21 +03:00