opencv/modules/highgui/src
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
..
files_Qt Stripped iCCP chunk from png files 2014-09-15 12:48:28 +04:00
precomp.hpp Merge pull request #14872 from AhiyaHiya:feature/topmost_window 2019-09-05 13:55:17 +03:00
roiSelector.cpp Fix cv::selectROI rectangle rendering issue 2019-08-05 17:18:30 +03:00
window_carbon.cpp Misc. modules/ cont. pt2 2018-02-13 11:28:11 -05:00
window_cocoa.mm Merge pull request #14872 from AhiyaHiya:feature/topmost_window 2019-09-05 13:55:17 +03:00
window_gtk.cpp build: GCC9 compilation 2019-11-12 18:49:34 +03:00
window_QT.cpp Merge pull request #16479 from StefanBruens:fix_gles_glx_h_include 2020-02-02 16:29:04 +03:00
window_QT.h fix build issues with QT/OpenGL 2018-03-30 12:49:09 +03:00
window_QT.qrc QT new functions: 2010-07-16 09:12:15 +00:00
window_w32.cpp Merge pull request #16027 from shibayan:arm64-windows10 2019-12-17 00:23:30 +03:00
window_winrt_bridge.cpp Fix WinRT build breaks in highgui and videoio. 2017-06-29 17:56:09 -07:00
window_winrt_bridge.hpp Fix for #5495 : add setTrackbarMin 2015-10-19 08:44:06 +00:00
window_winrt.cpp Fix for #5495 : add setTrackbarMin 2015-10-19 08:44:06 +00:00
window.cpp Fixed OSX build with Qt 2019-09-13 15:23:59 +03:00