diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-09-16 17:03:46 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-10-04 22:51:45 +0300 |
commit | 0bc03960daf0d7e28d45513873e3d1feecbedbf6 (patch) | |
tree | c0901ee77cfeb75051b17e6a2f27bdd96d07ca90 /src/qcam/assets/feathericons/cloud-rain.svg | |
parent | 440028d6c9a2e98234a71fee79c55791e1d2af2f (diff) |
qcam: viewfinder_gl: Support #define in shaders
Prepare the infrastructure to support defining preprocessor macros in
shaders:
- Rename the fragmentShaderSrc_ member to fragmentShaderFile_ to reflect
better that it contains a file name, not shader source code
- Add a new fragmentShaderDefines_ member to store preprocessor macros
- Prepend the macros to the shader source before compiling it
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'src/qcam/assets/feathericons/cloud-rain.svg')
0 files changed, 0 insertions, 0 deletions