Alexander Alekhin
80238880e6
highgui(gtk): fix initialization order of global objects
4 years ago
Alexander Alekhin
f4abafb093
highgui: update error messages if no builtin backend
4 years ago
Alexander Alekhin
3e538355e2
highgui: force loading of imgcodecs module
...
- required for plugins on Linux (they use imwrite, but there is no link dependency)
4 years ago
Alexander Alekhin
995841624c
highgui(gtk): fix NULL ptr checks
4 years ago
Alexander Alekhin
f5f675ef6c
highgui(gtk): fix NULL ptr checks
4 years ago
Alexander Alekhin
327109f327
highgui: update backends handling, fix WITH_OPENGL=ON build
4 years ago
Alexander Alekhin
fb9a00c36d
highgui: cleanup and fixes
4 years ago
Smirnov Egor
fb68fe8930
bring back bounds check and switch to floor
4 years ago
Alexander Alekhin
3d2f4fa164
highgui: fix trackbar value pointer handling
4 years ago
Alexander Alekhin
70f69cb265
highgui: backends and plugins
4 years ago
Christoph Rackwitz
f479935cda
fix for #19870
...
HAVE_QT and HAVE_WIN32UI can both be true at the same time
if HAVE_QT, window_w32.cpp is not included in the build, see CMakeLists.txt
4 years ago
Alexander Alekhin
b6933dbf3a
highgui(pollKey): properly handle no-GUI case
4 years ago
Christoph Rackwitz
ab0e1c573a
highgui: expose VSYNC window property for OpenGL on W32
...
property getter/setter code conditional on HAVE_OPENGL
getter: return -1 upon specific OpenGL errors
4 years ago
Christoph Rackwitz
26da491053
implementation of pollKey, companion to waitKey
...
w32 backend: implemented
other backends: stubbed or fallback to waitKey
documentation: cross-linked and more precise in some places
4 years ago
Christoph Rackwitz
0c0cf8b19f
highgui: remove gutter in window_w32
4 years ago
shioko
5967acc9ca
fix typo of the word storage
4 years ago
Suleyman TURKMEN
14e264f646
Update window_w32.cpp
4 years ago
Alexander Alekhin
1f2c83845d
backport: checks and fixes from static code analyzers results
...
original commit: 71f665bd8c
4 years ago
Alexander Alekhin
71f665bd8c
checks and fixes from static code analyzers results
4 years ago
Alexander Alekhin
7ec9f52509
highgui: don't terminate if we can't initialize GTK backend
...
- allow Users to handle such case
- exception will be thrown instead
4 years ago
shimat
39d3bbb601
fix error at #include <window_winrt_bridge.hpp>
5 years ago
Yuriy Obukh
edcc762f7a
add "Copy to clipboard functional" to imshow wnd with Qt
5 years ago
Vadim Pisarevsky
d67a6c1be4
Merge pull request #16588 from vpisarev:fix_macos_move_window
...
fixed cv::moveWindow() on mac
* fixed cv::moveWindow() on mac (issue #16343 ). Thanks to cwreynolds and saskatchewancatch for the help!
* fixed warnings about _x0 and _y0
* fixed warnings about _x0 and _y0
5 years ago
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 .
5 years ago
Tatsuro Shibamura
971ae00942
Merge pull request #16027 from shibayan:arm64-windows10
...
* Support ARM64 Windows 10 platform
* Fixed detection issue for ARM64 Windows 10
* Try enabling ARM NEON intrin
* build: disable NEON with MSVC compiler
* samples(directx): gdi32 dependency
5 years ago
Alexander Alekhin
7ecdcf6ca6
build: GCC9 compilation
5 years ago
TH3CHARLie
da0fec7308
fix incorrect imshow behavior
5 years ago
Maksim Shabunin
5c0502b470
Fixed OSX build with Qt
5 years ago
Jaime
fafada28eb
Merge pull request #14872 from AhiyaHiya:feature/topmost_window
...
* Added mechanism to set/toggle NORMAL window to TOPMOST window.
* highgui: remove unnecessary/legacy code
5 years ago
luz.paz
fcc7d8dd4e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
backporting of commit: ec43292e1e
5 years ago
luz.paz
ec43292e1e
Fix modules/ typos
...
Found using `codespell -q 3 -S ./3rdparty -L activ,amin,ang,atleast,childs,dof,endwhile,halfs,hist,iff,nd,od,uint`
5 years ago
John Smith
b9d6fc9dad
Fix cv::selectROI rectangle rendering issue
...
backport of commit: 95c65aff75
5 years ago
John Smith
95c65aff75
Fix cv::selectROI rectangle rendering issue
5 years ago
Alexander Alekhin
7621b91769
Merge pull request #14292 from alalek:issue_14291
...
* macosx: fix C++11 build
backporting commit c3cf35ab63
* macosx: eliminate build warning
6 years ago
Alexander Alekhin
35edad3e74
build: fix warnings
6 years ago
Christoph Rackwitz
deb8ba2237
fix for #4990 : highgui w32 ogl: correct calculation of image coordinates from window coordinates
6 years ago
Christoph Rackwitz
beba82b22b
Off-by-ones in windows/GDI window calculations
...
Check for "gutter" around displayed image. there was one row/column missing on the bottom/right.
Might as well set gutter = 0?
6 years ago
Maksim Shabunin
db1c8b3f9e
Restored function to rescale pixel values before imshow
6 years ago
Tomoaki Teshima
a1c073d289
add missing API cvGetPropVisible_W32
6 years ago
berak
9344d0d0e3
highgui: restore convertscale semantics in window_w32.cpp
6 years ago
Pavel Rojtberg
f54b230906
highgui: Qt - restore convertscale semantics
...
broken in 11eafca3e2
6 years ago
Vadim Pisarevsky
11eafca3e2
removed C API in the following modules: photo, video, imgcodecs, videoio ( #13060 )
...
* removed C API in the following modules: photo, video, imgcodecs, videoio
* trying to fix various compile errors and warnings on Windows and Linux
* continue to fix compile errors and warnings
* continue to fix compile errors, warnings, as well as the test failures
* trying to resolve compile warnings on Android
* Update cap_dc1394_v2.cpp
fix warning from the new GCC
6 years ago
Alexander Alekhin
b059a361dd
highgui: drop obsolete Carbon API
...
https://en.wikipedia.org/wiki/Carbon_(API)
In 2012, with the release of OS X 10.8 Mountain Lion, most Carbon APIs were considered deprecated.
6 years ago
berak
cae2a53563
highgui: fix broken waitKey() condition in window_w32
6 years ago
Jean Carass
66e4ace39f
Replaced strcpy_s, strcat_s for MinGW builds.
6 years ago
Vadim Pisarevsky
ebdc870296
fixed imshow on mac; before that just the window titlebar was shown, without the window content.
6 years ago
Sean McBride
75f67ed207
Fixed a few comments related to macOS support
6 years ago
tellowkrinkle
803ff64b14
Merge pull request #12697 from tellowkrinkle:FasterCocoaWindows
...
* Make cocoa windows draw faster
* Use a CALayer for rendering when possible Uses GPU to scale images, which is important because retina macs will want window sizes much larger (in pixels) than the image
* Fix mouse logic for cocoa windows
* Only halve resolution on retina if image is larger than display
6 years ago
Alexander Alekhin
d7ac4495c3
highgui: fix QT build
6 years ago
Suleyman TURKMEN
92517fa359
Update window.cpp
6 years ago