Closed Bug 559211 Opened 14 years ago Closed 14 years ago

Core Animation Repainting Strategy

Categories

(Core Graveyard :: Plug-ins, defect)

x86
macOS
defect
Not set
normal

Tracking

(blocking2.0 beta2+)

RESOLVED FIXED
Tracking Status
blocking2.0 --- beta2+

People

(Reporter: BenWa, Assigned: BenWa)

References

Details

Attachments

(1 file)

Currently there is no standards for when CALayer should be repainted. The current suggestion is to use a 50 FPS timer. The Flash Beta is also currently sending InvalidateRect that have been used experimentally reduce expensive composition operations. If hardware backend is ready we can use DisplayLink to drive the refresh.

We need to find an acceptable strategy before we can ship the Core Animation drawing model.
Blocks: 567265
Resolving this issue should block any beta as this is an important part of our Mac OS X plugin strategy.
blocking2.0: --- → beta1+
This patch add supports for the 'NPDrawingModelInvalidatingCoreAnimation' drawing model described here:
https://wiki.mozilla.org/NPAPI:InvalidatingCoreAnimation

We will need a follow-up patch to remove CoreAnimation (or whitelist) once we are ready.
Assignee: nobody → b56girard
Status: NEW → ASSIGNED
Attachment #448892 - Flags: review?(joshmoz)
Attachment #448892 - Flags: review?(joshmoz) → review+
Pushed to mozilla-central:
http://hg.mozilla.org/mozilla-central/rev/df8b93c91fe5

I'm not marking this as fixed yet because we still need the follow-up work noted above.
Could we please file new bugs for followups here? And nominate them appropriately for 1.9.3 etc?
blocking2.0: beta1+ → beta2+
Sure, I'll fill a follow bug tomorrow to implement an optimization Josh told me we could make.
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: