glow merge requestshttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests2017-01-23T11:48:37Zhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/3Corrected enum value used to read current color-mask.2017-01-23T11:48:37ZChristian MattesCorrected enum value used to read current color-mask.Current glow uses GL_BLEND_COLOR in the constructor of glow::scoped::colorMask to read the old state.
For the desired result, however, GL_COLOR_WRITEMASK should be used.Current glow uses GL_BLEND_COLOR in the constructor of glow::scoped::colorMask to read the old state.
For the desired result, however, GL_COLOR_WRITEMASK should be used.https://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/4macOS compatibility2017-04-07T10:18:53ZJanis BornmacOS compatibilityhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/5Check build type consistency.2017-10-23T14:08:58ZKersten SchusterCheck build type consistency.Philip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/7Fix crash upon setting uniform texture to nullptr2018-06-18T07:14:38ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix crash upon setting uniform texture to nullptr`Program::UsedProgram::setTexture` is supposed to allow `nullptr` as an argument, but previously crashed when it was passed.`Program::UsedProgram::setTexture` is supposed to allow `nullptr` as an argument, but previously crashed when it was passed.https://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/9Removed ColorSpace::AutoDetect (non-existent) from switch in TextureData.qt.cc.2018-07-09T09:04:51ZChristian MattesRemoved ColorSpace::AutoDetect (non-existent) from switch in TextureData.qt.cc.ColorSpace::AutoDetect was referenced in a switch in TextureData.qt.cc but was removed from ColorSpace.hh some time ago.ColorSpace::AutoDetect was referenced in a switch in TextureData.qt.cc but was removed from ColorSpace.hh some time ago.https://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/11Fix glad compile issue under MSVC using /MT2018-11-11T08:40:35ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix glad compile issue under MSVC using /MTMSVC 15 introduced breaking changes to CRT binaries:
https://msdn.microsoft.com/en-us/library/bb531344.aspx#BK_CRT
In this case `sscanf_s` (used in `glad.c`, line 7699) from `stdio.h` has changed and causes a LNK2019 unresolved extern...MSVC 15 introduced breaking changes to CRT binaries:
https://msdn.microsoft.com/en-us/library/bb531344.aspx#BK_CRT
In this case `sscanf_s` (used in `glad.c`, line 7699) from `stdio.h` has changed and causes a LNK2019 unresolved external symbol error if compiled using MSVC 15 or newer, and the `/MT` or `/MTd` flag (CMake variable `USE_MSVC_RUNTIME_LIBRARY_DLL` set to Off).
The issue is fixed by not including `stdio.h` on MSVC, and instead linking against `legacy_stdio_definitions.lib`.https://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/15add gcc version check for -Wno-error=class-memaccess compile option2019-02-06T13:05:19ZPatric Schmitzadd gcc version check for -Wno-error=class-memaccess compile optionhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/14Cumulative Feature Update2019-02-13T06:31:18ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deCumulative Feature Update## Textures
- Expand Multisampled Texture Types
- Allow configuration of sample amount and `GL_FIXED_SAMPLES`
- Allow creation of immutable MS textures
- Add `Texture::Shape` to allow for advanced Texture configuration on c...## Textures
- Expand Multisampled Texture Types
- Allow configuration of sample amount and `GL_FIXED_SAMPLES`
- Allow creation of immutable MS textures
- Add `Texture::Shape` to allow for advanced Texture configuration on creation
- Add Compare Mode and Compare Function to `TextureData`
- Use `Texture::Shape` instead of `Texture::SizeT` in `TexturePool`
- Explicitly reset pointers in `TexturePool::free` to ease avoidance of double-freeing textures
## Default Shader Parser
- Add virtual file registration for seamless shader embedding
- Virtual files will be considered and overwrite files on disk upon `#include` and `createFromFile`
- Add custom pragma registration with variable arguments using a "PragmaCallback"
## Other
- Add math/transform
- Allow layered attachments to `Framebuffer`
- Fix `__FILE__` usage on MSVChttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/16Add lerp alpha helpers to transform2019-02-14T09:09:04ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deAdd lerp alpha helpers to transformRequired for https://graphics.rwth-aachen.de:9000/Glow/glow-extras/merge_requests/5Required for https://graphics.rwth-aachen.de:9000/Glow/glow-extras/merge_requests/5https://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/17Revert immutable check when generating mipmaps, add minor features2019-02-25T07:26:06ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deRevert immutable check when generating mipmaps, add minor features- Revert a commit that wrongly added an assert to check if textures are not immutable when generating mipmaps
- Add GLOW_NONDISCARD to multiple macro helpers
- Add GLOW_GETTER_CONSTEXPR
- Add halftime lerp alpha helper to math/transform- Revert a commit that wrongly added an assert to check if textures are not immutable when generating mipmaps
- Add GLOW_NONDISCARD to multiple macro helpers
- Add GLOW_GETTER_CONSTEXPR
- Add halftime lerp alpha helper to math/transformhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/18Fix transform direction getters2019-03-06T19:53:08ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix transform direction gettersFix `glow::transform`s relative direction vector gettersFix `glow::transform`s relative direction vector gettershttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/19Add note to Readme about required glm definitions2019-03-11T08:04:28ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deAdd note to Readme about required glm definitionsCurrently glow fails to compile with out-of-the-box glm, as these defines are silently assumedCurrently glow fails to compile with out-of-the-box glm, as these defines are silently assumedhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/20Add minor fixes2019-03-15T08:08:58ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deAdd minor fixes- Add property names to dummy friend declaration in `common/property.hh` to address #124
- Add convenience overloads for `UsedProgram::compute` accepting `glm::uvec2` and `glm::uvec3`
- Enforce left pointer alignment in clang-format (...- Add property names to dummy friend declaration in `common/property.hh` to address #124
- Add convenience overloads for `UsedProgram::compute` accepting `glm::uvec2` and `glm::uvec3`
- Enforce left pointer alignment in clang-format (`int* ptr` instead of `int *ptr`)
- Apply clang-format to all files (Causes a lot of diff, maybe just let this happen on its own over time instead)https://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/21Fix warning and typo in Query.hh2019-04-01T07:04:01ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix warning and typo in Query.hhhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/22Add framebuffer viewport setting2019-04-15T06:31:02ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deAdd framebuffer viewport setting- Add `BoundFramebuffer::setViewport` method
- Fix C-style cast warnings in the file- Add `BoundFramebuffer::setViewport` method
- Fix C-style cast warnings in the filePhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/23Add shader source output on compilation errors2019-04-25T08:12:03ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deAdd shader source output on compilation errors`Shader` now outputs the 3-line source neighborhood that provoked compilation errors, as long as the driver outputs the line number like NVidia does.`Shader` now outputs the 3-line source neighborhood that provoked compilation errors, as long as the driver outputs the line number like NVidia does.Philip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/25Fix warnings in TextureData.cc2019-05-05T19:05:15ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix warnings in TextureData.cchttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/26Fix move for RAII objects2019-05-21T05:29:50ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix move for RAII objects- Fix all `isCurrent()` checks for RAII objects, which failed if the object has been moved before
- Port texture generation script to Python 3- Fix all `isCurrent()` checks for RAII objects, which failed if the object has been moved before
- Port texture generation script to Python 3Philip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/27Add FileWatcher to replace timestamp polling2019-05-22T12:07:58ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deAdd FileWatcher to replace timestamp pollingPhilip TrettnerPhilip Trettnerhttps://gitlab.vci.rwth-aachen.de:9000/Glow/glow/-/merge_requests/28Fix file watching2019-05-23T06:29:59ZJonathan Kunstwaldjonathan.kunstwald@rwth-aachen.deFix file watching- Rewrote File watcher
- Now only uses a single, global native watcher (instead of n)
- Now only spawns one global thread (instead of 2 * n)
- No longer re-creates watchers for files that are already monitored
- No longer...- Rewrote File watcher
- Now only uses a single, global native watcher (instead of n)
- Now only spawns one global thread (instead of 2 * n)
- No longer re-creates watchers for files that are already monitored
- No longer throws exceptions or deliberately crashes on native API errorsPhilip TrettnerPhilip Trettner