summaryrefslogtreecommitdiff
path: root/wimmel_gl.c
AgeCommit message (Collapse)AuthorFilesLines
2012-03-24wimmel_gl: Use GL_BGRA_EXT in readpixelsBenjamin Franzke1-4/+20
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-27/+31
2012-03-15wimmel_gl: Reduce newlines in gl framebuffer callsBenjamin Franzke1-7/+3
2012-03-15wimmel_gl: Output as tiff imageBenjamin Franzke1-1/+1
Saves 0.5 seconds.
2012-03-15wimmel_gl: Use a GLES2 contextBenjamin Franzke1-21/+78
Makes it easier to check that only non-deprecated stuff is used.
2012-03-15wimmel_gl: Use byte-alignment for readpixelsBenjamin Franzke1-2/+1
2012-03-15wimmel_gl: Allow compilation with -DGLUTBenjamin Franzke1-12/+17
2012-03-15wimmel_gl: Use a second texture unit for search regionBenjamin Franzke1-7/+41
Speeds up calulation from ~11s to ~10s.
2012-03-15wimmel.frag: Rename search_rect to srectBenjamin Franzke1-1/+1
2012-03-15wimmel_gl: Use EGL instead of GLUT by defaultBenjamin Franzke1-27/+54
That way we can create a context and make it current without creating a window.
2012-03-14wimmel_gl: Remove unneeded fps calculationBenjamin Franzke1-10/+0
2012-03-14wimmel_gl: Draw rects around matching subimagesBenjamin Franzke1-16/+25
All red dots in the GL rendering represent a top-left corner of a matching rectangle.
2012-03-14wimmel: Render to a fboBenjamin Franzke1-27/+53
2012-03-14Add wimmel_gl prototypeBenjamin Franzke1-0/+243
Uses a shader to search for matching subimages.