Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | graphics: blend: Add proper <blend-mode> data type. | David Thompson | 2021-03-14 | 6 | -66/+202 |
| | | | | No more symbols. Hooray! | ||||
* | graphics: Rewrite with-graphics-state to use state specs. | David Thompson | 2021-03-14 | 19 | -68/+124 |
| | | | | | | | | | | | | | | | | Treating the names inside the let-like form as just symbols caused numerous bugs where a program would crash because it was trying to set graphics state that was never defined due to the relevant module never being imported. By changing with-graphics-state to require passing in the <graphics-state-spec> object, much like how parameterize works with parameter objects, it completely eliminates this type of bug. If the module containing the spec variable isn't imported, there will be an undefined variable error thrown early on. Additionally, graphics state objects needed to have a stack added to them to track previous values so that with-graphics-state could restore them later. The old trick of using let to stash the previous values no longer worked with the new macro implementation. | ||||
* | graphics: engine: Improve error message when graphics state is undefined. | David Thompson | 2021-03-13 | 1 | -1/+8 |
| | |||||
* | graphics: path: Include blend module. | David Thompson | 2021-03-13 | 1 | -0/+1 |
| | | | | | Without it, setting the blend mode fails unless the module has been included by something else. | ||||
* | doc: Fix particles example. | David Thompson | 2021-03-05 | 1 | -2/+2 |
| | |||||
* | doc: Fix reference to run-game*. | David Thompson | 2021-03-05 | 1 | -1/+1 |
| | |||||
* | doc: Add a bit of explanation for #:window-resizable? arg in run-game. | David Thompson | 2021-03-05 | 1 | -1/+2 |
| | |||||
* | Add support for window resizing. | David Thompson | 2021-03-05 | 2 | -12/+23 |
| | |||||
* | utils: Handle negative increment in for-range. | David Thompson | 2021-03-05 | 1 | -2/+3 |
| | |||||
* | graphics: framebuffer: Refactor make-framebuffer. | David Thompson | 2021-03-05 | 1 | -52/+51 |
| | | | | Removes unnecessary let-over-lambda. | ||||
* | Compile buffer module before shader module. | David Thompson | 2021-03-05 | 1 | -1/+1 |
| | | | | The shader module includes the buffer module. | ||||
* | graphics: Improve error message when prematurely creating GPU objects. | David Thompson | 2021-03-05 | 5 | -0/+10 |
| | |||||
* | Use new for-range macro wherever possible. | David Thompson | 2021-03-05 | 8 | -194/+145 |
| | |||||
* | utils: Add for-range macro. | David Thompson | 2021-03-05 | 2 | -2/+25 |
| | |||||
* | guix: Build against the latest release of Guile 3. | David Thompson | 2021-01-30 | 1 | -1/+1 |
| | |||||
* | graphics: engine: Fix yet another finalizer issue. | David Thompson | 2021-01-26 | 1 | -1/+1 |
| | |||||
* | graphics: engine: Attempt to fix finalizers again. | David Thompson | 2021-01-26 | 1 | -7/+7 |
| | |||||
* | graphics: engine: Fix graphics-engine-reap! | David Thompson | 2021-01-26 | 1 | -3/+4 |
| | |||||
* | graphics: engine: Remove unused fields. | David Thompson | 2021-01-26 | 1 | -7/+2 |
| | |||||
* | graphics: Rewrite rendering engine. | David Thompson | 2021-01-26 | 31 | -1192/+1121 |
| | |||||
* | graphics: texture: Fix typo in docstring. | David Thompson | 2021-01-20 | 1 | -1/+1 |
| | |||||
* | graphics: texture: Get rid of some magic numbers. | David Thompson | 2021-01-20 | 1 | -5/+5 |
| | |||||
* | graphics: gpu: Move guardian to <gpu> structure. | David Thompson | 2021-01-20 | 2 | -22/+20 |
| | |||||
* | graphics: texture: Default to nearest neighbor scaling in make-texture. | David Thompson | 2020-12-16 | 1 | -2/+2 |
| | |||||
* | graphics: font: Fix artifacts when scaling fonts. | David Thompson | 2020-12-16 | 1 | -2/+4 |
| | |||||
* | math: matrix: Add procedures to extract translation from 4x4 matrix. | David Thompson | 2020-12-16 | 1 | -1/+13 |
| | |||||
* | math: matrix: Rename transform! to matrix4-transform! | David Thompson | 2020-12-16 | 3 | -17/+17 |
| | |||||
* | doc: Fix explanation of time argument in run-game*. | David Thompson | 2020-12-16 | 1 | -2/+2 |
| | |||||
* | game-loop: Sleep after rendering a frame, not after update. | David Thompson | 2020-12-15 | 1 | -7/+7 |
| | |||||
* | Switch to high resolution timer. | David Thompson | 2020-12-15 | 7 | -13/+13 |
| | |||||
* | guix: Update guile-sdl2 commit. | David Thompson | 2020-12-15 | 1 | -2/+2 |
| | |||||
* | graphics: buffer: Remove unused buffer view procedures. | David Thompson | 2020-12-09 | 1 | -103/+0 |
| | |||||
* | graphics: particles: Use dynamic geometry type. | David Thompson | 2020-12-09 | 1 | -83/+49 |
| | |||||
* | graphics: sprite: Use dynamic geometry type. | David Thompson | 2020-12-09 | 2 | -198/+86 |
| | |||||
* | graphics: path: Use dynamic geometry type. | David Thompson | 2020-12-09 | 1 | -245/+122 |
| | |||||
* | graphics: buffer: Add dynamic geometry type. | David Thompson | 2020-12-09 | 2 | -27/+432 |
| | |||||
* | doc: Reorganize graphics section. | David Thompson | 2020-12-05 | 1 | -250/+250 |
| | |||||
* | doc: Fix typo in procedure name. | David Thompson | 2020-12-05 | 1 | -1/+1 |
| | |||||
* | doc: Document 3x3 matrices. | David Thompson | 2020-12-05 | 1 | -1/+83 |
| | |||||
* | doc: Move grid subsection to end of math section. | David Thompson | 2020-12-05 | 1 | -107/+112 |
| | |||||
* | doc: Remove subsections for performance notes. | David Thompson | 2020-12-05 | 1 | -2/+2 |
| | |||||
* | make: Include run-example script in release tarballs. | David Thompson | 2020-12-05 | 1 | -0/+1 |
| | |||||
* | Update to new guile-sdl2 API. | David Thompson | 2020-12-05 | 2 | -12/+12 |
| | |||||
* | Bump version to 0.6.0.v0.6.0 | David Thompson | 2020-11-19 | 1 | -1/+1 |
| | |||||
* | Update .dir-locals.el. | David Thompson | 2020-11-19 | 1 | -8/+16 |
| | |||||
* | Makefile: Update publish target. | David Thompson | 2020-11-19 | 1 | -1/+1 |
| | |||||
* | Revert "Do not auto-compile example files before running them." | David Thompson | 2020-11-19 | 1 | -1/+1 |
| | | | | | | | This reverts commit 0a13a8e9760091031986fe3a429645113dd038b1. This was causing examples to perform horribly due to the compiler not being active. The sprite batch example in particular took a huge hit. | ||||
* | graphics: Add polygon and cull face modes to render context. | David Thompson | 2020-11-19 | 6 | -13/+153 |
| | |||||
* | graphics: path: Allow model-view matrix to be applied to rendered path. | David Thompson | 2020-11-19 | 1 | -8/+17 |
| | | | | | | | | | Every other type of rendering operation supports this, so paths should be no different. This type of transformation, unlike a transformation applied at the canvas or painter level, can cause a non-smooth output the matrix scales the result since it's transforming the geometry as-is rather than building new geometry with all path points transformed. | ||||
* | Update game controller database file. | David Thompson | 2020-11-19 | 1 | -3/+17 |
| |