CUB3D
70f071b347
avm1: Implement Bitmapdata.threshold
2023-01-10 13:59:06 +01:00
nosamu
21c65252f5
web: Warn about root movie fetch over file protocol
2023-01-10 13:34:06 +01:00
CUB3D
7254d3c110
chore: Fmt
2023-01-10 13:13:30 +01:00
CUB3D
11982c6d7d
web: Allow specifying player version
2023-01-10 13:13:30 +01:00
CUB3D
8db909a7d4
desktop: Allow specifying player version
2023-01-10 13:13:30 +01:00
MrCheeze
c2ad376e2c
tests: Add test for AVM2 hitTestPoint (without shapeFlag) and hitTestObject.
...
This is a port of a similar regression test written for AVM1.
AVM1 also has a test for hitTestPoint with shapeFlag=true, but it can't
be ported for now, because the implementation of AVM2 hit testing is not
yet accurate enough for it.
2023-01-10 12:53:20 +01:00
MrCheeze
bf6342bd4b
avm2: Fix hitTestPoint not transforming coordinates to world space
...
This behaviour is essentially copied from avm1 movie_clip.rs's hit_test.
Seems to fix several flashes that had broken collision until now.
2023-01-10 12:53:20 +01:00
Nathan Adams
f5a587ce61
render: Better error message when points is empty
2023-01-10 11:10:46 +01:00
Nathan Adams
e7dd3cc0f8
render: Add better expect messages for as_bitmap_data impls
2023-01-10 11:10:46 +01:00
Nathan Adams
3ead9aede9
webgl: Disallow unwrap() and unwrap_err() in webgl crate
2023-01-10 11:10:46 +01:00
Nathan Adams
0f5765d5cc
webgl: Removed all unwraps and replaced with actual errors or expects
2023-01-10 11:10:46 +01:00
Nathan Adams
052ac06d85
canvas: Disallow unwrap() and unwrap_err() in canvas crate
2023-01-10 11:10:46 +01:00
Nathan Adams
312c23c4eb
canvas: Removed unwraps and replaced with either warns, ignores or expects
2023-01-10 11:10:46 +01:00
Nathan Adams
5ae569983b
render: Disallow unwrap() and unwrap_err() in render crate
2023-01-10 11:10:46 +01:00
Nathan Adams
85f0c9dde9
render: Replaced unwrap with expect in shape_utils
2023-01-10 11:10:46 +01:00
Nathan Adams
8f684d6943
render: Removed unwrap/panic when working with empty shapes
2023-01-10 11:10:46 +01:00
Nathan Adams
7addbbf686
video: Disallow unwrap() and unwrap_err() in video crate
2023-01-10 11:10:46 +01:00
Nathan Adams
1f7a5f44f9
desktop: Disallow unwrap() and unwrap_err() in desktop crate
2023-01-10 11:10:46 +01:00
Nathan Adams
073da83568
web: Disallow unwrap() and unwrap_err() in web crate
2023-01-10 11:10:46 +01:00
Nathan Adams
9d3adfd170
web: Removed unwraps in navigator backend
2023-01-10 11:10:46 +01:00
Nathan Adams
9e16a9f75c
web: Removed unwraps in audio backend
2023-01-10 11:10:46 +01:00
Nathan Adams
72a7b2a34d
web: Removed unwraps in safari extension
2023-01-10 11:10:46 +01:00
Nathan Adams
817f51c18e
desktop: Removed unwraps in build.rs
2023-01-10 11:10:46 +01:00
Nathan Adams
fbe1630a4b
desktop: Removed unwraps in ui backend
2023-01-10 11:10:46 +01:00
Nathan Adams
f812030f70
desktop: Removed unwrap and replaced with ? in storage backend
2023-01-10 11:10:46 +01:00
Nathan Adams
ee17d05a84
desktop: Removed unwrap in navigator
2023-01-10 11:10:46 +01:00
Nathan Adams
e20eb77035
desktop: movie_url is always Some, simplify code
2023-01-10 11:10:46 +01:00
Nathan Adams
48d8cb54f4
desktop: Replaced most unwraps with expects or ? in main.rs
2023-01-10 11:10:46 +01:00
Nathan Adams
724609e323
audio: Don't panic when reading an invalid mp3, bubble the error up
2023-01-10 11:10:46 +01:00
Nathan Adams
3b24d849e7
audio: Removed unwraps in mixer.rs and replaced with reasoned expects
2023-01-10 11:10:46 +01:00
Nathan Adams
7a9e8b4771
core: Made NullNavigatorBackend no longer use unwraps
2023-01-10 11:10:46 +01:00
CUB3D
84d0111a14
avm1: Add test for with scope nesting
2023-01-10 10:34:10 +01:00
CUB3D
ca82ff65de
avm1: Defining a local in a with scope should actually define it on the parent scope
2023-01-10 10:34:10 +01:00
Nathan Adams
62f9b11417
wgpu: Fixed color shader working in correct color space
2023-01-10 09:39:28 +01:00
Nathan Adams
ae75a3c166
wgpu: Use push constants for both Transforms and ColorAdjustments, when available
2023-01-10 09:39:28 +01:00
Nathan Adams
fb78a39125
wgpu: Switch to experimental crate naga_oil for combining shaders
2023-01-10 09:39:28 +01:00
Nathan Adams
4e5749a7e4
wgpu: When push constants are available, use those for Transforms
2023-01-10 09:39:28 +01:00
Nathan Adams
fa9db9145d
wgpu: Removed double references
2023-01-10 09:39:28 +01:00
Nathan Adams
a37e070724
core: Use Color::WHITE for draw_rect when we don't care, as it's just identity color transform and thus cheaper
2023-01-10 09:39:28 +01:00
Nathan Adams
ad3060e70c
wgpu: Specialcase draw_rect with white as that's just identity color transform
2023-01-10 09:39:28 +01:00
Nathan Adams
53d6fa4d8b
render: Make render commands take in an actual value, not ref for immediate cloning
2023-01-10 09:39:28 +01:00
Adrian Wielgosik
14ee9b43fb
avm2: Replace ok_or by ok_or_else
2023-01-09 21:01:39 +01:00
Nathan Adams
b07a01da57
wgpu: Cache texture views along side their owned textures in texture pool
2023-01-09 20:40:45 +01:00
Nathan Adams
fe49f7b872
web: Temporarily disable cors test as it's too slow for runners
2023-01-09 20:14:05 +01:00
Aaron Hill
ff5d7a50ce
Add Renovate scheduling and Github Actions group
2023-01-08 19:40:47 -05:00
Aaron Hill
4ec089bcd6
Group rust and nodejs dependencies separately
2023-01-08 19:40:47 -05:00
renovate[bot]
70cf7758a5
Add renovate.json
2023-01-08 19:40:47 -05:00
Aaron Hill
40d8751d67
avm2: Implement clipRect parameter for BitmapData.draw
2023-01-08 16:11:55 -05:00
Nathan Adams
4d85b6a75b
wgpu: Hook up wgpu renderer, and wgpu's profiling, to tracy
2023-01-08 20:02:26 +01:00
Nathan Adams
f606735720
desktop: Add tracy feature
2023-01-08 20:02:26 +01:00