31888 Commits

Author SHA1 Message Date
raymondnijssen
57a2bc7e1a fix code formatting 2018-08-09 06:32:31 +10:00
raymondnijssen
faaa590750 wedgebuffer constructed by qgsCircles 2018-08-09 06:32:31 +10:00
raymondnijssen
5c285aa080 more efficient and reliable wedgebuffer calculation 2018-08-09 06:32:31 +10:00
raymondnijssen
5121f72b9b fix for 360+ degrees wedgebuffer 2018-08-09 06:32:31 +10:00
Alessandro Pasotti
0b502ff5b9
Merge pull request #7451 from elpaso/opencl-utils-2
[feature] OpenCL support
2018-08-08 16:33:48 +02:00
Denis Rouzaud
55473e7e21 fix build without webkit 2018-08-08 14:20:44 +02:00
Alessandro Pasotti
6ecf16e69f [opencl] Fix doxy comment 2018-08-08 13:26:04 +02:00
Nyall Dawson
b0bc604d2e Also show desktop notifications when tasks fail, not just when they succeed 2018-08-08 19:27:38 +10:00
Alessandro Pasotti
44adfe53df [opencl] Final rebase before merge 2018-08-08 10:08:14 +02:00
Nyall Dawson
1eee88593b Fix fallback to system tray based notifications 2018-08-08 17:47:30 +10:00
Alessandro Pasotti
e79f6d1a1c Fix documentation for ninecell filters 2018-08-08 09:40:02 +02:00
Alessandro Pasotti
14f8c4361d [opencl] Translate tab name 2018-08-08 09:40:00 +02:00
Alessandro Pasotti
6317a068a5 [opencl] Translate message when no opencl is available
Plus Typos and code style
2018-08-08 09:40:00 +02:00
Alessandro Pasotti
9ed9cbded8 [opencl] Initialize opencl path from cmd line and env 2018-08-08 09:39:57 +02:00
Alessandro Pasotti
c42a748afc [opencl] Fix build when headers are not available 2018-08-08 09:39:55 +02:00
Alessandro Pasotti
07db3f84c4 Fix some cast warnings, pre-calc values for speed 2018-08-08 09:39:51 +02:00
Alessandro Pasotti
78a45b7db4 [opencl] Small optimization in hillshade
... and more tolerant epsilon for float comparison in tests
2018-08-08 09:39:49 +02:00
Alessandro Pasotti
8689c401a2 [opencl] Fix small OpenCL alg issues
From comparison tests with CPU results

+ some minor speed improvements
2018-08-08 09:39:40 +02:00
Alessandro Pasotti
573283f0dc [opencl] Move common code before the opencl ifdef
... so that it builds correctly without opencl
2018-08-08 09:39:37 +02:00
Alessandro Pasotti
be5f1fd436 [opencl] Ruggedness index OpenCL program 2018-08-08 09:39:31 +02:00
Alessandro Pasotti
db35810e76 [opencl] Make opencl info copyable 2018-08-08 09:39:21 +02:00
Alessandro Pasotti
1324eff749 [opencl] Code cleanup and comments 2018-08-08 09:39:20 +02:00
Alessandro Pasotti
a420474ec4 [opencl] Fix device selection on start 2018-08-08 09:39:16 +02:00
Alessandro Pasotti
528302cc89 [opencl] Use fast formula for hillshade
Also optimize cl buffers
2018-08-08 09:38:36 +02:00
Alessandro Pasotti
a73bbbad21 [opencl] Reduce memory footprint and optimize 2018-08-08 09:38:00 +02:00
Alessandro Pasotti
3bad167572 [opencl] Memory optimization 2018-08-08 09:37:30 +02:00
Alessandro Pasotti
a1a65bb4e8 [opencl] Test with image2d 2018-08-08 09:36:56 +02:00
Alessandro Pasotti
12fa896554 [opencl] Add options widget 2018-08-08 09:35:57 +02:00
Alessandro Pasotti
b09df53354 Use OpenCL command queue 2018-08-08 09:34:04 +02:00
Alessandro Pasotti
16a49cddaa Wrap make program in OpenCL utils 2018-08-08 09:32:44 +02:00
Alessandro Pasotti
79f0eadb05 Added context 2018-08-08 09:32:35 +02:00
Alessandro Pasotti
4756873282 CPLAllocator smart wrapper 2018-08-08 09:31:38 +02:00
Alessandro Pasotti
7e1d929800 Try to avoid crash on intel haswell 2018-08-08 09:31:27 +02:00
Alessandro Pasotti
583c7ae287 More updates for opencl 2018-08-08 09:29:33 +02:00
Alessandro Pasotti
d6e747ca57 OpenCL tests and aspect 2018-08-08 09:29:23 +02:00
Alessandro Pasotti
767eda4b58 Working! With C++ API 2018-08-08 09:27:36 +02:00
Alessandro Pasotti
6f9a72e425 Working but crashing on dealloc of command queue 2018-08-08 09:27:23 +02:00
Alessandro Pasotti
51d1bb36b8 OpenCL POC 1 2018-08-08 09:27:07 +02:00
Alessandro Pasotti
86b60c6c63 [opencl] Class docs improvements
Also try hard to find a device before giving up
2018-08-08 09:25:34 +02:00
Alessandro Pasotti
dc4b1da0a4 [opencl] Fix small OpenCL alg issues
From comparison tests with CPU results

+ some minor speed improvements
2018-08-08 09:24:40 +02:00
Alessandro Pasotti
30a62e1add Astyle 2018-08-08 09:23:39 +02:00
Alessandro Pasotti
6b10ffefb0 Add overload that accepts qgissize instead of int
to avoid a lot of annoying warnings and spare
some casts
2018-08-08 09:23:39 +02:00
Alessandro Pasotti
164bcc2bec [opencl] Ruggedness index OpenCL program 2018-08-08 09:22:34 +02:00
Alessandro Pasotti
d492bbcaed [opencl] Make opencl info copyable 2018-08-08 09:22:30 +02:00
Alessandro Pasotti
add3d074b8 [opencl] Fix device selection on start 2018-08-08 09:22:28 +02:00
Alessandro Pasotti
d846804b1c [opencl] Make device configurable 2018-08-08 09:22:28 +02:00
Alessandro Pasotti
54b5821f99 [opencl] Cache the context 2018-08-08 09:22:17 +02:00
Alessandro Pasotti
66b02d6638 [opencl] Reduce memory footprint and optimize 2018-08-08 09:21:36 +02:00
Alessandro Pasotti
95fa27fa6e More documentation 2018-08-08 09:21:36 +02:00
Alessandro Pasotti
329402acff [opencl] Added docs 2018-08-08 09:21:36 +02:00