Canvas blowing up (was Re: JavaFX Media issues)

Richard Bair richard.bair at oracle.com
Fri Aug 9 09:43:08 PDT 2013


> What would be the performance penalty for using this quick-fix? The clear/fill commands do not
> just clear the command buffer. They also fill the canvas area with a certain color. So in normal
> operation the canvas is always filled twice for each frame, isn't it?

That would be correct. Another option is to add, instead of "clear()" an explicit "empty()" method or something that would just blow away the buffer.

Richard


More information about the openjfx-dev mailing list