Closed Bug 1154311 Opened 9 years ago Closed 7 years ago

Drawing tiled images on OS X is too slow

Categories

(Core :: Graphics, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: jrmuizel, Assigned: mchang)

References

(Blocks 1 open bug)

Details

(Whiteboard: gfx-noted)

Attachments

(1 file, 9 obsolete files)

Attached patch Use CGContextDrawTiledImage (obsolete) — Splinter Review
      No description provided.
Assignee: nobody → mchang
Status: NEW → ASSIGNED
Whiteboard: gfx-noted
Attached file test.zip (obsolete) —
Blocks: paint-fast
Attached file Layer Dump (obsolete) —
Attached file Frame Dump (obsolete) —
Attached file display list dump (obsolete) —
Blocks: 1154834
Attached file Simplified Test (obsolete) —
Attachment #8592921 - Attachment is obsolete: true
Attachment #8592924 - Attachment is obsolete: true
Attachment #8592925 - Attachment is obsolete: true
Attachment #8592926 - Attachment is obsolete: true
Attached file Layer dump (obsolete) —
Attached file Display list dump (obsolete) —
Each call to CGContextDrawTiledImage is actually fine, but to draw the image, we call it CGContextDrawTiledImage with the size of the rect multiple times.
No longer blocks: 1154834
Blocks: 1157410
Just to not let this bitrot.
Attachment #8592259 - Attachment is obsolete: true
Attachment #8592950 - Attachment is obsolete: true
Attachment #8592986 - Attachment is obsolete: true
Attachment #8592987 - Attachment is obsolete: true
Attachment #8596207 - Flags: review?(jmuizelaar)
Comment on attachment 8596207 [details] [diff] [review]
Use CGContextDrawTiledImage on OS X

I beleive this call might have some issues on older versions of OS X. I'll see if I can dig them up.
Flags: needinfo?(jmuizelaar)
Comment on attachment 8596207 [details] [diff] [review]
Use CGContextDrawTiledImage on OS X

Review of attachment 8596207 [details] [diff] [review]:
-----------------------------------------------------------------

It was broken Leopard.
Attachment #8596207 - Flags: review?(jmuizelaar) → review+
Flags: needinfo?(jmuizelaar)
Depends on: 1164601
See Also: → 1169956
Carrying r+, unbitrotted.

Also seems to pass try now - https://treeherder.mozilla.org/#/jobs?repo=try&revision=99a6c60e16cc
Attachment #8596207 - Attachment is obsolete: true
Attachment #8632195 - Flags: review+
Blocks: 1186501
Depends on: 1186546
Closing as won't fix for old bugs.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: