summaryrefslogtreecommitdiff
path: root/TODO.org
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2016-02-15 14:52:03 -0500
committerDavid Thompson <dthompson2@worcester.edu>2016-02-15 14:52:03 -0500
commit0de5247b7653394bf9ceecfc17d188dab3c7bcd5 (patch)
tree6ef8d323c32ed62bbdd90ea72f541e414c848d25 /TODO.org
parent000315b8f5e2cfe45db0ebfe42f9208c9c0d95e1 (diff)
Use a single foreign object guardian.
Rather than each foreign resource type creating its own guardian, let's just use one instead so that there is only a single guardian to talk to each frame. * sly/guardian.scm: New file. * Makefile.am (SOURCES): Add it. * sly/game.scm (run-game-loop): Start guardian worker. * sly/render/mesh.scm (mesh-guardian): Delete. (free-mesh): New procedure. (make-mesh): Guard newly created meshes. * sly/render/shader.scm (shader-stage-guardian): Delete. (free-shader-stage): New procedure. (make-shader-stage): Guard newly created shader stages. (shader-guardian): Delete. (free-shader): New procedure. (make-shader): Guard newly created shaders. * sly/render/texture.scm (texture-guardian): Delete. (free-texture): New procedure. (make-texture): Guard newly created textures.
Diffstat (limited to 'TODO.org')
0 files changed, 0 insertions, 0 deletions