aboutsummaryrefslogtreecommitdiff
path: root/BuddhaTest/src/Helpers.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Back to full image size buffers, and range support in shaderAndreas Grois2018-03-231-18/+17
|
* Initial benchmark support.Andreas Grois2018-03-211-2/+12
| | | | Finally no more manual stopwatch usage...
* Undo splitting of buffers in three. Makes buffer access much fasterAndreas Grois2018-03-181-2/+2
| | | | | Not kidding here. For the default parameters this increased the maximum pixel brightness in the image by a factor of 2.25. This has the drawback that the maximum possible image size got reduced, but hey, there's a command line switch to ignore all size limits ;-)
* Add option to skip short orbits. Add option to print debug output.Andreas Grois2018-03-181-1/+5
|
* Adjust default workgroup sizes to better match recommended values.Andreas Grois2018-03-171-5/+5
| | | | AMD recommends a local workgroup size of 256.
* Correct line endings.Andreas Grois2018-03-171-416/+416
|
* Fix endless loop in shader and make framerate adaptiveAndreas Grois2018-03-151-2/+2
| | | | | | It seems forcing points outside the cardioid and bulb with a bad random generator can take really long... Also, now framerate adjusts based on time it takes to render frames.
* Prevent even more waiting by storing a more complete stateAndreas Grois2018-03-151-1/+1
|
* First commit with compute pausabilityAndreas Grois2018-03-141-0/+2
|
* Split buffer in three, one per color (as OpenGL guarantees that one can at ↵Andreas Grois2018-03-111-5/+9
| | | | | | | | least have 8 SSBOs), to allow three times larger images. Also make it possible to ignore maximum buffer size reported by the driver. The maximum buffer size limitation is rather strict on radeonsi, so I decided to split the buffer in three, effectively increasing the maximum image size by a factor of three. While doing so I realized that at least on radeonsi the reported maximum buffer size seems to be off. For this reason I added a new command line switch, that allows to ignore the maximum buffer size check. For those curious: radeonsi reports a maximum buffer size of 128 MB, but I had no problems when using three buffers of 1098 MB each.
* Use long for command line validity checks.v0.0.2-kindaWorkingBetterAndreas Grois2018-03-111-4/+2
|
* Another warning fixedv0.0.1-kindaworkingAndreas Grois2018-03-111-1/+1
|
* Fix lots of warnings output by visual studio...Andreas Grois2018-03-111-11/+12
|
* Replace std::cout with std::cerr for actual error messages. Remove someAndreas Grois2018-03-111-12/+12
| | | | debugging output
* Clarify help output regarding image sizeAndreas Grois2018-03-111-2/+2
|
* Fix wrong max pixel output. Forgot to update this when I reduced the buffer ↵Andreas Grois2018-03-101-1/+1
| | | | size by a factor of two.
* Prepare install script, and make shader loading work from PREFIX/share/...Andreas Grois2018-03-101-9/+24
|
* Add command line parsingAndreas Grois2018-03-101-2/+152
|
* Add color scaling option (as 8 bit per channel is not really much)Andreas Grois2018-03-101-3/+3
|
* Gamma correction for outputAndreas Grois2018-03-101-2/+10
|
* Reduce buffer size by a factor of 2 (image is symmetric)Andreas Grois2018-03-101-9/+8
|
* Fix mirroring in png outputAndreas Grois2018-03-101-1/+1
| | | | | Restrict starting value range to positive y-values, probably improving random quality
* Make local work group size tweakable. (Not yet exposed to user)Andreas Grois2018-03-101-2/+7
|
* Use vectors as storage for png data as a simple means to prevent leaksAndreas Grois2018-03-101-15/+7
| | | | in case of error.
* Make sure png file gets closed by wrapping the file descriptor into aAndreas Grois2018-03-101-7/+28
| | | | class with destructor
* Forgot symmetry on png export. Added now.Andreas Grois2018-03-101-0/+8
|
* Dump result to image.png in current folder.Andreas Grois2018-03-101-0/+64
|
* Initial CommitAndreas Grois2018-03-091-0/+149