build: replace genshader by binary linker
authorDavid Herrmann <dh.herrmann@gmail.com>
Fri, 15 Mar 2013 14:45:20 +0000 (15:45 +0100)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sun, 3 Nov 2013 11:15:35 +0000 (12:15 +0100)
commit6f14e5905d04da492f160cac6ac5a6fc7fd00134
tree21b19b2a23062b0a66601b50ac20c0dadd255fe2
parent0a098393c2fe7e40a02b44481194534ad2572d70
build: replace genshader by binary linker

Instead of generating C source files, we now use our binary-linker make
target which can link in any arbitrary binary file.

This way, we can delete genshader and instead link the files directly.
This speeds up compilation and makes the code more consistent.
We also strip the shaders from useless comments and whitespaces to reduce
memory consumption.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
13 files changed:
.gitignore
Makefile.am
src/genshader.c [deleted file]
src/text_gltex.c
src/text_gltex_atlas.frag [moved from src/static_gltex.frag with 100% similarity]
src/text_gltex_atlas.vert [moved from src/static_gltex.vert with 100% similarity]
src/uterm_drm3d_blend.frag [moved from src/static_blend.frag with 100% similarity]
src/uterm_drm3d_blend.vert [moved from src/static_blit.vert with 100% similarity]
src/uterm_drm3d_blit.frag [moved from src/static_blit.frag with 100% similarity]
src/uterm_drm3d_blit.vert [moved from src/static_blend.vert with 100% similarity]
src/uterm_drm3d_fill.frag [moved from src/static_fill.frag with 100% similarity]
src/uterm_drm3d_fill.vert [moved from src/static_fill.vert with 100% similarity]
src/uterm_drm3d_render.c