]> git.sesse.net Git - movit/log
movit
11 years agoImplement the Rec. 709 gamma curve.
Steinar H. Gunderson [Mon, 1 Oct 2012 19:01:36 +0000 (21:01 +0200)]
Implement the Rec. 709 gamma curve.

11 years agoAdd do-nothing-conversions for gamma expansion/compression if we are already linear...
Steinar H. Gunderson [Mon, 1 Oct 2012 18:49:50 +0000 (20:49 +0200)]
Add do-nothing-conversions for gamma expansion/compression if we are already linear. Mostly for completeness.

11 years agoRemove the now obsolete load_texture().
Steinar H. Gunderson [Mon, 1 Oct 2012 18:45:21 +0000 (20:45 +0200)]
Remove the now obsolete load_texture().

11 years agoUse sRGB textures on the input side if applicable.
Steinar H. Gunderson [Mon, 1 Oct 2012 18:45:03 +0000 (20:45 +0200)]
Use sRGB textures on the input side if applicable.

11 years agoRemove the now obsolete hand-coded fragment program.
Steinar H. Gunderson [Mon, 1 Oct 2012 18:40:35 +0000 (20:40 +0200)]
Remove the now obsolete hand-coded fragment program.

11 years agoClean up effect enums a bit.
Steinar H. Gunderson [Mon, 1 Oct 2012 18:37:27 +0000 (20:37 +0200)]
Clean up effect enums a bit.

11 years agoThe return value from glGetUniformLocation() is of course signed.
Steinar H. Gunderson [Mon, 1 Oct 2012 18:37:19 +0000 (20:37 +0200)]
The return value from glGetUniformLocation() is of course signed.

11 years agoMove saturation out into its own effect, and hook up the control.
Steinar H. Gunderson [Mon, 1 Oct 2012 18:35:17 +0000 (20:35 +0200)]
Move saturation out into its own effect, and hook up the control.

11 years agoSend the right inv_gamma_22 variable to the uniforms.
Steinar H. Gunderson [Mon, 1 Oct 2012 18:25:36 +0000 (20:25 +0200)]
Send the right inv_gamma_22 variable to the uniforms.

11 years agoActually set all the right uniforms, so we have a picture on screen.
Steinar H. Gunderson [Mon, 1 Oct 2012 18:24:14 +0000 (20:24 +0200)]
Actually set all the right uniforms, so we have a picture on screen.

11 years agoGive HSV parameters to LGG effect.
Steinar H. Gunderson [Mon, 1 Oct 2012 17:55:10 +0000 (19:55 +0200)]
Give HSV parameters to LGG effect.

11 years agoRemove a redundant comment.
Steinar H. Gunderson [Mon, 1 Oct 2012 17:25:03 +0000 (19:25 +0200)]
Remove a redundant comment.

11 years agoSlightly clearer comments for the custom uniforms in LGG.
Steinar H. Gunderson [Mon, 1 Oct 2012 17:24:21 +0000 (19:24 +0200)]
Slightly clearer comments for the custom uniforms in LGG.

11 years agoAdd lift/gamma/gain GLSL code. Completely black output, due to lack of uniform setting.
Steinar H. Gunderson [Mon, 1 Oct 2012 17:23:38 +0000 (19:23 +0200)]
Add lift/gamma/gain GLSL code. Completely black output, due to lack of uniform setting.

11 years agoSquash linear gamma back into the sRGB curve at the end.
Steinar H. Gunderson [Mon, 1 Oct 2012 17:16:45 +0000 (19:16 +0200)]
Squash linear gamma back into the sRGB curve at the end.

11 years agoImplement gamma expansion from sRGB.
Steinar H. Gunderson [Mon, 1 Oct 2012 17:05:43 +0000 (19:05 +0200)]
Implement gamma expansion from sRGB.

11 years agoMake the example program actually try to use the effect chain.
Steinar H. Gunderson [Mon, 1 Oct 2012 16:59:38 +0000 (18:59 +0200)]
Make the example program actually try to use the effect chain.

11 years agoMake check_error() output the file as well as the line, now that we have several.
Steinar H. Gunderson [Mon, 1 Oct 2012 16:46:53 +0000 (18:46 +0200)]
Make check_error() output the file as well as the line, now that we have several.

11 years agoSplit image loading from texture generation.
Steinar H. Gunderson [Mon, 1 Oct 2012 16:45:20 +0000 (18:45 +0200)]
Split image loading from texture generation.

11 years agoOutput convenience uniforms per effect. Also, do not rely on the preprocessor support...
Steinar H. Gunderson [Mon, 1 Oct 2012 16:20:35 +0000 (18:20 +0200)]
Output convenience uniforms per effect. Also, do not rely on the preprocessor supporting token pasting anymore.

11 years agoBuild with debug info.
Steinar H. Gunderson [Mon, 1 Oct 2012 16:13:42 +0000 (18:13 +0200)]
Build with debug info.

11 years agoStart actually piecing together the GLSL shaders from the effect chain.
Steinar H. Gunderson [Mon, 1 Oct 2012 15:57:26 +0000 (17:57 +0200)]
Start actually piecing together the GLSL shaders from the effect chain.

11 years agoMove slurping of files into its own function.
Steinar H. Gunderson [Mon, 1 Oct 2012 15:36:22 +0000 (17:36 +0200)]
Move slurping of files into its own function.

11 years agoFix a stray j.
Steinar H. Gunderson [Mon, 1 Oct 2012 15:27:09 +0000 (17:27 +0200)]
Fix a stray j.

11 years agoAdd a .gitignore to get rid of the junk in git status.
Steinar H. Gunderson [Mon, 1 Oct 2012 15:26:41 +0000 (17:26 +0200)]
Add a .gitignore to get rid of the junk in git status.

11 years agoYet more moving of stuff around.
Steinar H. Gunderson [Mon, 1 Oct 2012 15:26:13 +0000 (17:26 +0200)]
Yet more moving of stuff around.

11 years agoMove the Effect class out into its own file.
Steinar H. Gunderson [Mon, 1 Oct 2012 15:16:26 +0000 (17:16 +0200)]
Move the Effect class out into its own file.

11 years agoAdd parameters and start the effect chain implementation. Rework some of the enums.
Steinar H. Gunderson [Mon, 1 Oct 2012 15:14:17 +0000 (17:14 +0200)]
Add parameters and start the effect chain implementation. Rework some of the enums.

11 years agoRename test.cpp to main.cpp.
Steinar H. Gunderson [Mon, 1 Oct 2012 13:17:02 +0000 (15:17 +0200)]
Rename test.cpp to main.cpp.

11 years agoMove the widgets into its own source file.
Steinar H. Gunderson [Mon, 1 Oct 2012 13:16:50 +0000 (15:16 +0200)]
Move the widgets into its own source file.

11 years agoSmall Makefile cleanup to prepare for more files.
Steinar H. Gunderson [Mon, 1 Oct 2012 13:11:20 +0000 (15:11 +0200)]
Small Makefile cleanup to prepare for more files.

11 years agoSplit off hsv2rgb() in a separate file.
Steinar H. Gunderson [Mon, 1 Oct 2012 13:10:48 +0000 (15:10 +0200)]
Split off hsv2rgb() in a separate file.

11 years agoCorrect some CXXFLAGS stuff in the Makefile.
Steinar H. Gunderson [Mon, 1 Oct 2012 13:04:44 +0000 (15:04 +0200)]
Correct some CXXFLAGS stuff in the Makefile.

11 years agoStart the API.
Steinar H. Gunderson [Mon, 1 Oct 2012 13:04:16 +0000 (15:04 +0200)]
Start the API.

11 years agoChange to C++.
Steinar H. Gunderson [Mon, 1 Oct 2012 10:13:07 +0000 (12:13 +0200)]
Change to C++.

11 years agoAdd a Makefile.
Steinar H. Gunderson [Mon, 1 Oct 2012 10:11:20 +0000 (12:11 +0200)]
Add a Makefile.

11 years agoInitial checkin.
Steinar H. Gunderson [Mon, 1 Oct 2012 10:05:48 +0000 (12:05 +0200)]
Initial checkin.