Nathan Adams
4510eb305b
core: Move threshold from BitmapData to bitmap_data_operations
2023-03-31 16:57:52 +02:00
Nathan Adams
f476968693
core: Move color_transform from BitmapData to bitmap_data_operations
2023-03-31 16:57:52 +02:00
Nathan Adams
43716bbdc7
core: Move copy_channel from BitmapData to bitmap_data_operations
2023-03-31 16:57:52 +02:00
Nathan Adams
ea6fb1a3d4
core: Move perlin_noise from BitmapData to bitmap_data_operations
2023-03-31 16:57:52 +02:00
Nathan Adams
ffe6828e9c
core: Move noise from BitmapData to bitmap_data_operations
2023-03-31 16:57:52 +02:00
Nathan Adams
285122a1fa
core: Move flood_fill from BitmapData to bitmap_data_operations
2023-03-31 16:57:52 +02:00
Nathan Adams
c2af7b92c0
core: Move get_pixel from BitmapData to bitmap_data_operations
2023-03-31 16:57:52 +02:00
Nathan Adams
758d8f1492
core: Move get_pixel32 from BitmapData to bitmap_data_operations
2023-03-31 16:57:52 +02:00
Nathan Adams
31f46c6acf
core: Move set_pixel32 from BitmapData to bitmap_data_operations, fixed set_pixels to no longer use it
2023-03-31 16:57:52 +02:00
Nathan Adams
1024fc8be5
core: Optimise fill_rect when replacing entire region after a draw call
2023-03-31 16:57:52 +02:00
Nathan Adams
e614265c17
core: Move fill_rect from BitmapData to bitmap_data_operations, fixed a bug when using non-standard values, and added better tests for fill_rect showing the bug
2023-03-31 16:57:52 +02:00
Nathan Adams
033ab34c14
core: Extract bitmap_data_operations for common avm operations
2023-03-31 16:57:52 +02:00
Nathan Adams
311a165149
wgpu: Reintroduce texture promoting; only preassign buffer when the texture is frequently written/&read
2023-03-31 16:57:52 +02:00
Nathan Adams
579f046122
core: Don't mark anything dirty in an invalid drawRect call
2023-03-31 16:57:52 +02:00
Nathan Adams
68c87c7485
core: When drawing display objects to bitmapdatas, use their minimum bounds
2023-03-31 16:57:52 +02:00
Nathan Adams
6e859891af
render: Take in dirty region in update_texture, only upload those pixels
2023-03-31 16:57:52 +02:00
Nathan Adams
137593b6a6
render: Extract (u32, u32, u32, u32) to PixelRegion
2023-03-31 16:57:52 +02:00
Nathan Adams
4ccc75c4d6
wgpu: Changed AlwaysIncompatible to AlwaysCompatible, whoops
2023-03-31 16:57:52 +02:00
Nathan Adams
71ef10b94b
wgpu: Reuse buffers for BitmapData.draw, preferring smallest buffer available
2023-03-31 16:57:52 +02:00
Nathan Adams
2cc1db6f8e
wgpu: Enable BufferPool to reuse existing buffers if they're compatible
2023-03-31 16:57:52 +02:00
Nathan Adams
e0bd911f2f
render: Only copy a possible dirty area for bitmapdata.draw & read
2023-03-31 16:57:52 +02:00
Gleb Piskunov
ed282f016b
avm1: Exclude __proto__ prop from object props enumeration
...
---------
Co-authored-by: Gleb Piskunov <emgfc@ya.ru>
2023-03-31 10:14:33 +00:00
Daniel Jacobs
f02e4a71d6
web: Give proper precedence to extension config when it is used
2023-03-31 03:03:11 -07:00
Toad06
fea8e8c90a
tests: `MovieClip.setMask` in avm1
2023-03-31 02:39:39 -07:00
Toad06
c81460beb0
avm1: Support strings in `MovieClip.setMask(str)`
2023-03-31 02:39:39 -07:00
Tom Schuster
8a8071e6d5
avm2: Stub XMLNode.nodeName setter and XMLNode.appendChild
2023-03-31 00:11:52 -07:00
Tom Schuster
ce4ddee792
avm2: Shim flash.xml.XMLNode using XML
2023-03-31 00:11:52 -07:00
Aaron Hill
3e97f0e223
core: Update to latest quick-xml
...
I've moved our special entity handling logic into
a `custom_unescape` function. This lets us move off
of our fork of `quick-xml` back onto the crates.io release
2023-03-30 22:25:24 -07:00
Nathan Adams
ad2e60adcc
docs: Add note to contributing.md about reverse engineering
2023-03-30 21:29:45 +02:00
Nathan Adams
401ed1be77
docs: Add test.toml info to contributing.md
2023-03-30 21:29:45 +02:00
Nathan Adams
b4e374712b
docs: Update contributing.md to point out that variable dumping is avm1 only
2023-03-30 21:29:45 +02:00
Gleb Piskunov
b18d3a2645
avm2: Add AS3 implementation of BitmapData.paletteMap ( #10344 )
...
Co-authored-by: Gleb Piskunov <emgfc@ya.ru>
2023-03-30 17:39:05 +00:00
relrelb
236a97bf31
render: Replace `ColorTransform` with `swf::ColorTransform`
2023-03-29 23:27:20 -07:00
onkrot
5632ade09c
avm2: Hookup `DisplayObject.opaqueBackground`
2023-03-29 23:11:01 -07:00
Aaron Hill
8fa00de8a8
avm2: Convert Font class to ActionScript
2023-03-29 22:46:27 -07:00
Tom Schuster
330bd37237
avm2: Stub flash.net.XMLSocket
2023-03-29 22:33:16 -07:00
EmperorBale
ac626493dd
avm2: Fix panic in regexp when a wide empty string is used
2023-03-29 18:00:07 -07:00
Aaron Hill
34e4cffeb0
avm2: Use global domain for timer Activation
2023-03-29 19:05:19 -05:00
relrelb
d71617209a
render: Remove `RenderBackend::register_glyph_shape`
...
Use just `RenderBackend::register_shape` instead.
2023-03-30 01:46:04 +03:00
relrelb
798588dd94
extension: Disallow content script to import `ruffle-core`
...
Use the `@typescript-eslint/no-restricted-imports` rule in order to
prevent #10422 from regressing. Ideally we wouldn't need to specify
each dependency of `content.ts` (i.e. `utils.ts` and `common.ts`),
but I haven't found any better way.
2023-03-30 01:08:13 +03:00
Tom Schuster
d16a8726c9
tests: Add test for XML.childIndex
2023-03-29 14:40:29 -05:00
Tom Schuster
b1f253775a
avm2: Implement XML.childIndex
2023-03-29 14:40:29 -05:00
Tom Schuster
bbf4363395
tests: Add test for XML.copy
2023-03-29 11:04:32 -05:00
Tom Schuster
c0400af1de
avm2: Implement XML.copy
2023-03-29 11:04:32 -05:00
Aaron Hill
cdba704b4b
avm2: Construct Activation with Domain when setting named child
2023-03-29 09:27:34 -05:00
relrelb
b0eb1057f1
web: Run `npm run format`
2023-03-28 23:43:02 +03:00
renovate[bot]
a7ffae1453
chore(deps): lock file maintenance node.js dependencies
2023-03-28 23:43:02 +03:00
Nathan Adams
42e23ce100
tests: Add tests for LoaderInfo properties that error
2023-03-28 11:57:00 +02:00
Nathan Adams
3a49870689
avm2: Fix errors in LoaderInfo and stubbed remaining properties
2023-03-28 11:57:00 +02:00
nosamu
e19f63c3c6
web: Small CSS fixups for save manager
2023-03-28 10:37:59 +03:00