summaryrefslogtreecommitdiff
path: root/wimmel.frag
AgeCommit message (Collapse)AuthorFilesLines
2016-04-27wimmel.frag: Define the required precisionHEADmasterBenjamin Franzke1-0/+2
Or we get errors like: fragment shader info: 0:1(1): error: no precision specified this scope for type `vec2' 0:4(1): error: no precision specified this scope for type `vec2' 0:6(1): error: no precision specified this scope for type `vec4' 0:13(2): error: no precision specified this scope for type `float' 0:17(2): error: no precision specified this scope for type `vec4' 0:18(2): error: no precision specified this scope for type `vec4'
2012-03-24wimmel_gl: Use GL_BGRA_EXT in readpixelsBenjamin Franzke1-1/+1
That is the native format graphics cards use, so we reach a fastpath for the copy, which saves around 1s.
2012-03-21wimmel_gl: Use luminance texturesBenjamin Franzke1-1/+2
2012-03-15wimmel_gl: Use a second texture unit for search regionBenjamin Franzke1-1/+2
Speeds up calulation from ~11s to ~10s.
2012-03-15wimmel.frag: Rename search_rect to srectBenjamin Franzke1-7/+6
2012-03-14Revert "wimmel.frag: Discard fragment early if difference is to significant"Benjamin Franzke1-6/+3
This reverts commit 5bcbaab8ea90655c2496c8df029a9cb991dba0ce. This was 0.2seconds faster on r600g but 4 seconds slower on sandybridge.
2012-03-14wimmel.frag: Discard fragment early if difference is to significantBenjamin Franzke1-3/+6
2012-03-14wimmel: Render to a fboBenjamin Franzke1-1/+1
2012-03-14Add wimmel_gl prototypeBenjamin Franzke1-0/+27
Uses a shader to search for matching subimages.