Nathan Adams
bbd8fc768c
render: Store view_matrix as a global in wgpu renderer, and only change it when changed
2020-10-17 04:16:24 -07:00
Nathan Adams
3e09767c7a
desktop: Add --graphics (or -g) option for choosing a graphics backend (vulkan/metal/dx12/dx11 right now)
2020-09-02 12:06:25 -07:00
Nathan Adams
34fc3c574b
render: Update wgpu to 0.6
2020-08-27 11:02:28 -07:00
Mike Welsh
7d1b3f86f5
render: Filter out consecutive MoveTo drawing commands
...
lyon would emit a small line segment if a stroke path had
consective MoveTo commands. For the lyon backends, filter out
consecutive MoveTos and only emit the final MoveTo command.
This fixes a small dot appearing in text fields using underlines.
2020-06-24 14:09:10 -07:00
Nathan Adams
eda862c719
swf: Merged core::Matrix into swf::Matrix
2020-05-20 14:54:41 +02:00
Mike Welsh
3b550a111f
wgpu: Hook up gradient spread mode and focal point
2020-05-15 00:13:36 -07:00
Nathan Adams
47a44a5fe8
desktop: Prime window with known width/height of the movie
2020-05-04 16:07:38 -07:00
Nathan Adams
9599b2d09f
render: Move some loose utility functions to utils.rs in wgpu renderer
2020-04-30 08:48:34 +02:00
Nathan Adams
f4abf4b705
render: Split off shape/mesh code into its own file in wgpu renderer
2020-04-30 08:48:34 +02:00