opencv/modules
StefanBruens f05d5888c9
Merge pull request #16479 from StefanBruens:fix_gles_glx_h_include
Fix compilation errors on GLES platforms

* Do not include glx.h when using GLES

GL/glx.h is included on all LINUX plattforms, which is wrong
for a number of reasons:

- GL_PERSPECTIVE_CORRECTION_HINT is defined in GL/gl.h, so we
  want gl.h not glx.h, the latter just includes the former
- GL/gl.h is a Desktop GL header, and should not be included
  on GLES plattforms
- GL/gl.h is already included via QtOpenGL ->
  QtGui/qopengl.h on desktop plattforms

This fixes a problem when Qt is compiled with GLES, which
is often done on ARM platforms where desktop GL is not or
only poorly supported (e.g. slow due to emulation).

Fixes part of #9171.

* Only set GL_PERSPECTIVE_CORRECTION_HINT when GL version defines it

GL_PERSPECTIVE_CORRECTION_HINT does not exist in GLES 2.0/3.x,
and has been deprecated in OpenGL 3.0 core profiles.

Fixes part of #9171.
2020-02-02 16:29:04 +03:00
..
calib3d Merge pull request #15993 from midjji:master 2020-01-31 17:50:21 +03:00
core Fixed Compilation warnings | Issue #16336 2020-02-01 03:32:42 +08:00
cudaarithm java: generated code to have javadoc 2019-06-05 12:44:03 +02:00
cudabgsegm Merge pull request #16090 from jeffeDurand:cuda_mog2_issue_5296 2019-12-19 13:02:48 +03:00
cudacodec
cudafeatures2d
cudafilters
cudaimgproc
cudalegacy build: eliminate CUDA warnings 2019-10-08 15:30:02 +03:00
cudaobjdetect suppress noisy warning 2019-08-08 21:49:32 +09:00
cudaoptflow removed typo 2019-11-06 17:15:31 +05:30
cudastereo
cudawarping
cudev Merge pull request #16150 from alalek:cmake_avoid_deprecated_link_private 2019-12-13 17:52:40 +03:00
dnn Merge pull request #16223 from l-bat:lip_jppnet 2020-01-27 19:17:43 +00:00
features2d Merge pull request #16236 from alalek:fix_core_simd_emulator 2020-01-10 21:31:02 +03:00
flann Fix spelling typos 2019-12-27 12:46:53 +00:00
highgui Merge pull request #16479 from StefanBruens:fix_gles_glx_h_include 2020-02-02 16:29:04 +03:00
imgcodecs Merge pull request #16309 from ganesh-k13:bugfix/imdecode-resize 2020-01-20 14:00:45 +03:00
imgproc Merge pull request #16415 from arnaudbrejeon:bug_fix_16410 2020-01-29 23:55:43 +03:00
java Merge pull request #15338 from rayonnant14:my_detect_and_decode_3.4 2020-01-26 22:18:42 +03:00
js Fix spelling typos 2019-12-27 12:46:53 +00:00
ml Use global RNG for training RTrees. 2019-12-29 21:59:14 +01:00
objdetect objdetect(QR): don't introduce deprecated API, compatibility code 2020-01-28 15:20:37 +03:00
photo Merge pull request #15929 from sturkmen72:patch-3 2020-01-19 12:45:29 +00:00
python Merge pull request #15915 from VadimLevin:dev/norm_fix 2020-01-13 18:11:34 +03:00
shape python: discover tests from module/misc/python/test paths 2019-04-10 18:35:35 +00:00
stitching Fix spelling typos 2019-12-27 12:46:53 +00:00
superres
ts ts: move message about misused 'optional' under the configuration parameter 2020-01-19 16:09:40 +00:00
video Fix spelling typos 2019-12-27 12:46:53 +00:00
videoio Merge pull request #16190 from pletessier:videocapture_skip_frames 2020-01-26 10:19:09 +03:00
videostab backport: fixed warnings produced by clang-9.0.0 2019-09-23 18:36:18 +03:00
viz Merge pull request #16150 from alalek:cmake_avoid_deprecated_link_private 2019-12-13 17:52:40 +03:00
world
CMakeLists.txt