diff options
author | David Thompson <dthompson2@worcester.edu> | 2014-11-07 09:30:27 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2014-11-07 09:30:27 -0500 |
commit | e192265fd0d4873cfd852748cc0f1fb38374288d (patch) | |
tree | 373121b6494650f5fea1fc9bc871170201f360a6 /examples/images/AUTHORS | |
parent | 31aeaff69902b0b09a38019549c399043387fc39 (diff) |
render: Add rendering context record type.
* sly/render/context.scm: New file.
* Makefile.am (SOURCES): Add it.
* sly/render/renderer.scm (with-texture-maybe): Delete.
(apply-render-op): Use render context.
(<renderer>) [context]: New field.
(%make-renderer): New syntax.
(make-renderer): Was syntax, now a procedure.
(render): Use render context.
* sly/render/vertex-array.scm (apply-vertex-array): New procedure.
(with-vertex-array): Use it.
* sly/shader.scm (apply-shader-program): New procedure.
(with-shader-program): Use it.
* sly/texture.scm (apply-texture): New procedure.
(with-texture): Use it.
Diffstat (limited to 'examples/images/AUTHORS')
0 files changed, 0 insertions, 0 deletions