-
-
Notifications
You must be signed in to change notification settings - Fork 922
render: Support rendering filters in BitmapData.draw
#21672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Note that this PR fixes #12202 in terms of rendering filters, but breaks it in terms of scaling/positioning the bitmap. I suspect this is an unrelated CAB bug, but I want to make sure (or even fix it) before merging this one. |
Also, I have no idea what's up with |
This should also fix #15107 |
52fc5fe
to
b2bc502
Compare
will this PR resolve #21509 ? |
This actually breaks |
This patch adds support for CAB rendering in `BitmapData.draw` which fixes missing filters. Currently it supports CAB rendering only with the same quality due to how CAB is being implemented. In the future we should also support CAB rendering with different qualities.
b2bc502
to
c08bd27
Compare
Constrained CAB rendering for the same quality only, this should fix the majority of content. We can implement CAB rendering for different qualities in the future. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code LGTM but we need to figure out what's up with away3d_advanced_shallow_water_demo
- it's failing the test now.
bmd.draw()
(BitmapData) #15107This patch adds support for CAB rendering in
BitmapData.draw
which fixes missing filters.