Thoughts About Everything

transformation matrix v9 null extrapolate august 14th

Filed under: Everything — everything August 31, 2007 @ 10:27 pm
Tuesday, August 14th, 2007 at 22:18 2 weeks, 3 days ago

Flash Player v9.0.60.120 issues

Subscribe to RSS 2.0

I’m trying to get a clue of that vertical bar and it just seems very closely related to how the BitmapData’s draw() method internally works: for instance, if you have the source at hand, at line 67 of the PostProcessor.as file there is the line:

  1. ppbmpData.draw( source, new Matrix( .5, 0, 0, .5 ), null, BlendMode.NORMAL );

The ppMatrix is the precomputed transformation matrix and, by changing that with the following, the bar will go away and it won’t crash the VM anymore:

  1. ppbmpData.draw( source, new Matrix( .501, 0, 0, .501 ), null, BlendMode.NORMAL );

Since i do not think a mere transformation operation can be SO wrong, i’m trying to extrapolate the smallest context into which the problem can be reproduced: so far i also noticed i can get very different results between Flash Player v9.0.47 and v9.0.60.120 by changing the code in order to produce a predictable result.
In other words, i got the expected result in v9.0.47 but only the top-most output_height / 2 portion is correct in v9.0.60.120: i’m not sure if that can be related to multi-threaded optimizations in the Flash Player since by changing the process’ affinity mask seems to affect framerate and flickering only… bah! I have to dig some more…

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.