16 Commits

Author SHA1 Message Date
Alessandro Pasotti
1aef9cfa49 [opencl] Fix hillshade renderer with 16bit rasters
Fixes #21121
2019-02-02 10:53:11 +01:00
Alessandro Pasotti
8b81f1bb09 [opencl] Single kernel for multi and simple hillshade
To be able to re-use the cached program if the user
changes the multi switch
2018-08-08 09:39:22 +02:00
Alessandro Pasotti
41e7e71db7 [opencl] Hillshade fix alpha and nodata 2018-08-08 09:39:11 +02:00
Alessandro Pasotti
eaa7982cc8 [opencl] Add multidirectional renderer and cache the program
Now we are FAST!
2018-08-08 09:39:06 +02:00
Alessandro Pasotti
a1a65bb4e8 [opencl] Test with image2d 2018-08-08 09:36:56 +02:00
Alessandro Pasotti
b09df53354 Use OpenCL command queue 2018-08-08 09:34:04 +02:00
Alessandro Pasotti
b89808f573 [opencl] Small optimization in hillshade
... and more tolerant epsilon for float comparison in tests
2018-08-08 09:26:30 +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
a6d5d479fa [opencl] Fix nodata value in slope, aspect and hillshade 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
314b7e3635 [opencl] Faster cl algorithm 2018-08-08 09:22:02 +02:00
Alessandro Pasotti
3161b9407d [opencl] Global transparency 2018-08-08 09:20:15 +02:00
Alessandro Pasotti
5129dcf03c [opencl] Memory optimization 2018-08-08 09:20:05 +02:00
Alessandro Pasotti
d5dd50c004 [opencl] Hillshade renderer 2018-08-08 09:19:52 +02:00
Alessandro Pasotti
350829e9ee [opencl] Test with image2d 2018-08-08 09:19:45 +02:00
Alessandro Pasotti
3054da0c00 Use OpenCL command queue 2018-08-08 09:19:01 +02:00