Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | First pass of rendering engine rewrite. | David Thompson | 2023-11-08 | 1 | -4/+12 |
| | | | | | | | | The (chickadee graphics gpu) module now handles most of the low-level OpenGL object creation/deletion/binding. The (chickadee graphics engine) module handles the with-graphics-state stuff via a render context object. There's lots of stuff that isn't great, but it's the first step towards a graphics backend agnostic rendering layer. | ||||
* | Rename (chickadee graphics font) to (chickadee graphics text). | David Thompson | 2022-10-17 | 1 | -1/+1 |
| | |||||
* | graphics: Rewrite rendering engine. | David Thompson | 2021-01-26 | 1 | -1/+0 |
| | |||||
* | Switch to high resolution timer. | David Thompson | 2020-12-15 | 1 | -1/+1 |
| | |||||
* | graphics: sprite: Use dynamic geometry type. | David Thompson | 2020-12-09 | 1 | -2/+2 |
| | |||||
* | examples: Replace calls to sdl-ticks with elapsed-time. | David Thompson | 2020-11-18 | 1 | -4/+4 |
| | |||||
* | Rename 'render' subdirectory to 'graphics'. | David Thompson | 2020-10-03 | 1 | -4/+4 |
| | |||||
* | render: sprite: Rewrite sprite batching API. | David Thompson | 2019-05-12 | 1 | -10/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This new version performs better and has a better API. It closely resembles Love2D's sprite batch API. * chickadee/render/sprite.scm (with-batched-sprites, sprite-batch-reset!, sprite-batch-begin!, draw-sprite-batched, *batch?*, %batch): Delete. (draw-sprite-unbatched): Rename to 'draw-sprite*'. (<sprite-batch>)[index-buffer, position-buffer, texture-buffer]: Delete fields. [vertex-buffer]: New field. (init-sprite-batch, double-sprite-batch-size!, sprite-batch-add!, sprite-batch-flush!): Rewrite. (make-sprite-batch): Add 'capacity' and 'blend-mode' arguments. (draw-sprite-batch): New procedure. (draw-nine-patch*): Stop using sprite batches for now. * chickadee/render/font.scm: (<font>)[sprite-batches]: New field. (load-tile-font, load-font): Create a sprite batch for each texture loaded. (draw-text*): Use sprite batches. * chickadee/render/tiled.scm: (<tile>)[batch]: New field. (<tileset>)[batch]: New field. (load-tile-map): Create a sprite batch for each tileset. (draw-tile-layer): Use new sprite batch API. (draw-tile-map*): Remove reference to deleted macro. | ||||
* | examples: Add sprite batch example. | David Thompson | 2019-01-08 | 1 | -0/+66 |
* examples/sprite-batch.scm: New file. * examples/images/shot.png: New file. * Makefile.am (EXTRA_DIST): Add them. |