Dan Field

Results 553 comments of Dan Field

> Today after upgrading to 2.0 from 1.1.1+1, I'm unable to load svg assets from other packages which previously worked. Could it be related? > > ```dart > SvgPicture.asset( >...

The latest release runs the decoding in an isolated, but not in debug mode since that caused jit slowness for people.

> Hey @dnfield! How has this changed since `vector_graphics` is now the backend? I have this inconspicuous SVG here that is ~547kb. I used the vector_graphics_compiler to create a binary...

This is almost certainly due to https://github.com/gabrimatic/restart_app/issues/23

Are you using `toImageSync` somewhere explicitly in your Dart code? Or is it coming from framework related code? The right fix is probably to make `toImageSync` no use the software...

> > Thus, the next OpenGL rendering call tries to access the temporary (and incomplete) framebuffer. > > Is that a call happening inside Skia, or is something external (in...

@huycozy in this case, the stack trace may be enough for us to fix something here.

Ah! It would be very helpful if you could create a smaller app you can share that uses a texture this way. In particular that includes how you're setting up...

@Kingtous that stack definitely looks unrelated to this bug. Do you have a reproduction that causes the stack in this bug?

Yeah, the toImageSync call is getting generated from the route transition. You can work around this by opting out of that for now. A commit _just_ landed that should make...