relrelb
232bb26b7f
web: Bump wasm-bindgen to 0.2.75
...
Also bump its helper crates (js-sys, wasm-bindgen-futures) to the
latest versions, except for web-sys which seems to be locked by wgpu
to 0.3.50.
2021-08-08 16:53:41 +03:00
relrelb
2ba103ac3f
web: Bump wasm-bindgen to 0.2.74
...
Also bump its helper crates (js-sys, wasm-bindgen-futures) to the
latest versions, except for web-sys which seems to be locked by wgpu
to one version before the latest (0.3.50).
2021-07-23 22:17:51 -07:00
Aaron Hill
068e06e40f
Add support for image comparison tests
2021-07-21 21:48:24 -07:00
relrelb
d2eb46d3be
chore: Reserve capacity for vectors
...
This avoids unnecessary re-allocations and thus should improve
performance in both memory and time terms.
2021-07-20 16:25:23 -07:00
relrelb
87e9dda250
chore: Use from_le_bytes in more places
2021-07-09 19:56:52 +03:00
Adrian Wielgosik
d9b5b1a0af
desktop: Add DX11 to default graphics backends
2021-07-04 13:37:22 +02:00
dependabot[bot]
2d26e7ca59
chore: Bump svg from 0.9.2 to 0.10.0
...
Bumps [svg](https://github.com/bodoni/svg ) from 0.9.2 to 0.10.0.
- [Release notes](https://github.com/bodoni/svg/releases )
- [Commits](https://github.com/bodoni/svg/commits )
---
updated-dependencies:
- dependency-name: svg
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-28 23:18:02 +02:00
dependabot[bot]
e40f7b3474
chore: Bump wgpu from 0.8.1 to 0.9.0
...
Bumps [wgpu](https://github.com/gfx-rs/wgpu ) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/gfx-rs/wgpu/releases )
- [Changelog](https://github.com/gfx-rs/wgpu/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gfx-rs/wgpu/commits )
---
updated-dependencies:
- dependency-name: wgpu
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-20 03:13:12 -07:00
dependabot[bot]
12528e9f4f
chore: Bump bytemuck from 1.5.1 to 1.7.0
...
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.5.1 to 1.7.0.
- [Release notes](https://github.com/Lokathor/bytemuck/releases )
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.5.1...v1.7.0 )
---
updated-dependencies:
- dependency-name: bytemuck
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2021-06-14 00:47:13 -07:00
Mike Welsh
554aa7fd63
core: Add backend::render::BitmapSource trait
...
This interface handles returning a bitmap given an ID and is used
by the render backend to get the bitmap used for a bitmap fill.
This will allow for bitmap fills in the drawing API, as these will
manage their own list of bitmaps.
This also removes the MovieLibrary dependency from render backends
and will allow for better decoupling in the future.
2021-06-13 20:03:53 -07:00
Mike Welsh
d23ea90459
swf: Change Matrix to use Fixed16 for a, b, c, d
...
Matrices in an SWF file store their scale/skew components in
in 16.16 format (fbits).
Split `ruffle_core::Matrix` and `swf::Matrix`. `swf::Matrix` now
stores its data as `Fixed16` instead of immediately converting to
`f32`.
2021-06-08 14:57:15 -07:00
relrelb
f82faf9603
chore: Appease clippy
2021-06-05 10:16:00 -07:00
dependabot[bot]
9b6b78fa1f
chore: Bump svg from 0.9.1 to 0.9.2
...
Bumps [svg](https://github.com/bodoni/svg ) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/bodoni/svg/releases )
- [Commits](https://github.com/bodoni/svg/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-31 09:59:59 -07:00
Mike Welsh
2b98c878f0
swf: Use Fixed in more places
2021-05-30 21:24:03 -07:00
Mike Welsh
1dd669a0e3
canvas: Fix alpha calculation in canvas renderer
2021-05-18 16:20:45 -07:00
dependabot[bot]
30f088d16f
chore: Bump futures from 0.3.14 to 0.3.15
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.14 to 0.3.15.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.14...0.3.15 )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 12:41:29 -07:00
dependabot[bot]
2be5f2bc7e
chore: Bump enum-map from 1.1.0 to 1.1.1
...
Bumps [enum-map](https://gitlab.com/KonradBorowski/enum-map ) from 1.1.0 to 1.1.1.
- [Release notes](https://gitlab.com/KonradBorowski/enum-map/tags )
- [Changelog](https://gitlab.com/KonradBorowski/enum-map/blob/master/CHANGELOG.md )
- [Commits](https://gitlab.com/KonradBorowski/enum-map/commits/master )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-17 10:11:31 -07:00
dependabot[bot]
dd5894ebd6
chore: Bump wgpu from 0.8.0 to 0.8.1
...
Bumps [wgpu](https://github.com/gfx-rs/wgpu-rs ) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/gfx-rs/wgpu-rs/releases )
- [Changelog](https://github.com/gfx-rs/wgpu-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gfx-rs/wgpu-rs/commits )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 10:16:10 -07:00
dependabot[bot]
8e91f8dc89
chore: Bump enum-map from 1.0.0 to 1.1.0
...
Bumps [enum-map](https://gitlab.com/KonradBorowski/enum-map ) from 1.0.0 to 1.1.0.
- [Release notes](https://gitlab.com/KonradBorowski/enum-map/tags )
- [Changelog](https://gitlab.com/KonradBorowski/enum-map/blob/master/CHANGELOG.md )
- [Commits](https://gitlab.com/KonradBorowski/enum-map/commits/master )
Signed-off-by: dependabot[bot] <support@github.com>
2021-05-10 10:15:58 -07:00
Mike Welsh
c465e268bf
chore: Bump to wgpu 0.8
2021-04-29 15:01:12 -07:00
Mike Welsh
f0bea5d241
wgpu: Bump to latest master
2021-04-24 08:29:25 -07:00
Mike Welsh
0552d26551
core: Use Fixed8 and i16 for ColorTransform
...
Use the proper types for ColorTransform:
* Fixed8 (8.8) format for multiplicative component
* i16 format for additive component
This matches the behavior of Flash (for example, alpha only changes
in units of 1/256).
2021-04-19 15:47:52 -07:00
Mike Welsh
bab2701208
web: Bump wasm-bindgen and js-sys versions
2021-04-16 23:37:23 -07:00
Mike Welsh
b31b00c6d6
wgpu: Bump to latest wgpu master
2021-04-16 23:37:23 -07:00
relrelb
20d6fcc128
chore: Remove unnecessary type annotations
2021-04-10 18:39:16 -07:00
Adrian Wielgosik
35c127b58c
canvas: Update_texture should update in-place, not insert
2021-04-10 14:26:33 -07:00
dependabot-preview[bot]
5739992f6e
build(deps): bump futures from 0.3.13 to 0.3.14
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.13 to 0.3.14.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-10 13:27:27 -07:00
dependabot-preview[bot]
34637cdd12
build(deps): bump enum-map from 0.6.4 to 1.0.0
...
Bumps [enum-map](https://gitlab.com/KonradBorowski/enum-map ) from 0.6.4 to 1.0.0.
- [Release notes](https://gitlab.com/KonradBorowski/enum-map/tags )
- [Changelog](https://gitlab.com/KonradBorowski/enum-map/blob/master/CHANGELOG.md )
- [Commits](https://gitlab.com/KonradBorowski/enum-map/commits/master )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 11:53:06 -07:00
dependabot-preview[bot]
795fed2f18
build(deps): bump wgpu from 0.7.0 to 0.7.1
...
Bumps [wgpu](https://github.com/gfx-rs/wgpu-rs ) from 0.7.0 to 0.7.1.
- [Release notes](https://github.com/gfx-rs/wgpu-rs/releases )
- [Changelog](https://github.com/gfx-rs/wgpu-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/gfx-rs/wgpu-rs/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-06 15:49:38 -06:00
relrelb
0063f40af9
webgl: Use bytemuck
...
This avoids unsafe code, and reduces code size a bit.
2021-03-27 01:59:02 -07:00
relrelb
c953462b6d
common_tess: Toss out degenerate draws
...
This is a reland of bfe57a3c66
.
2021-03-23 16:16:35 -07:00
relrelb
15c1cf5bf6
chore: Appease clippy
2021-03-23 16:16:35 -07:00
relrelb
648e14e057
render: Final cleanups
2021-03-23 16:16:35 -07:00
relrelb
c25b58058b
wgpu: Inline some variables
2021-03-23 16:16:35 -07:00
relrelb
627773d0d4
wgpu: Use common_tess
...
This eliminates tons of duplicate code.
2021-03-23 16:16:35 -07:00
relrelb
947f566b1b
webgl: Implement From<TessGradient> for Gradient
2021-03-23 16:16:35 -07:00
relrelb
398aa98d38
common_tess: Extract swf_gradient_to_uniforms
2021-03-23 16:16:35 -07:00
relrelb
0017f909a7
webgl: Small cleanup
2021-03-23 16:16:35 -07:00
relrelb
e840dce803
common_tess: Make Vertex layout-agnostic
...
And define a specific layout in webgl instead.
This brings common_tess closer to serve wgpu (which has a different
Vertex layout).
2021-03-23 16:16:35 -07:00
relrelb
42f8baf5ed
wgpu: Remove unused Mesh::shape_id
2021-03-23 16:16:35 -07:00
relrelb
c1c9542a95
wgpu: Introduce ShapeTessellator temporarily
...
Eventually it'll be replaced with common_tess's one.
2021-03-23 16:16:35 -07:00
relrelb
4513a5fbda
wgpu: Extract tessellate_shape from register_shape_internal
...
This brings us closer towards common_tess.
2021-03-23 16:16:35 -07:00
relrelb
e1734a2bec
wgpu: Inline IncompleteDrawType::build
2021-03-23 16:16:35 -07:00
relrelb
7410495a6c
web: Fix repeating bitmap textures rendering
2021-03-10 20:48:16 -08:00
dependabot-preview[bot]
983686a33e
build(deps): bump svg from 0.9.0 to 0.9.1
...
Bumps [svg](https://github.com/bodoni/svg ) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/bodoni/svg/releases )
- [Commits](https://github.com/bodoni/svg/commits )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 10:31:09 -08:00
dependabot-preview[bot]
98abaf4ca2
build(deps): bump image from 0.23.13 to 0.23.14
...
Bumps [image](https://github.com/image-rs/image ) from 0.23.13 to 0.23.14.
- [Release notes](https://github.com/image-rs/image/releases )
- [Changelog](https://github.com/image-rs/image/blob/master/CHANGES.md )
- [Commits](https://github.com/image-rs/image/compare/v0.23.13...v0.23.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-02 16:22:31 -08:00
Mike Welsh
e7d7e19c24
chore: Bump to wgpu 0.70
2021-02-27 17:52:05 -08:00
Mike Welsh
3099914374
chore: Appease clippy
2021-02-27 16:10:46 -08:00
dependabot-preview[bot]
091bc30876
build(deps): bump futures from 0.3.12 to 0.3.13
...
Bumps [futures](https://github.com/rust-lang/futures-rs ) from 0.3.12 to 0.3.13.
- [Release notes](https://github.com/rust-lang/futures-rs/releases )
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.12...0.3.13 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-26 11:40:23 -08:00
dependabot-preview[bot]
b62bf0e936
build(deps): bump bytemuck from 1.5.0 to 1.5.1
...
Bumps [bytemuck](https://github.com/Lokathor/bytemuck ) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/Lokathor/bytemuck/releases )
- [Changelog](https://github.com/Lokathor/bytemuck/blob/main/changelog.md )
- [Commits](https://github.com/Lokathor/bytemuck/compare/v1.5.0...v1.5.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-17 22:38:58 -08:00