Closed
Bug 343655
Opened 18 years ago
Closed 18 years ago
optimize win32 image rendering
Categories
(Core :: Graphics, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: vlad, Assigned: vlad)
References
Details
(Keywords: perf)
Attachments
(1 file, 1 obsolete file)
45.70 KB,
patch
|
pavlov
:
review+
|
Details | Diff | Splinter Review |
There's a lot of things that can be done to speed up our image rendering under Win32; right now we just use 24/32-bpp DIBs for everything, and we can do better than that.
Assignee | ||
Comment 1•18 years ago
|
||
This patch adds support for DDB surfaces to cairo and allows nsThebesImage to create them. There's no usage of MaskBlt or PatBlt yet. It also optimizes 1x1 image rendering to just do a solid fill instead of going through the image rendering routines.
Assignee: nobody → vladimir
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•18 years ago
|
||
Note that this has StretchBlt disabled (the flag is never set on the surfaces, it's commented out); there are still some issues with that, and I'd rather work on those seperately in a followup.
Attachment #228161 -
Attachment is obsolete: true
Attachment #232948 -
Flags: review?(pavlov)
Comment 3•18 years ago
|
||
Comment on attachment 232948 [details] [diff] [review] better patch in cairo-win32.c you have a lot of mixed tab/space stuff where one line is tabs and the next is spaces. please make it consistent with the rest of the file (tab to 8/space the rest -- whatever cairo's annoying default is?) make gfxPlatform::DoesARGBImageDataHaveAlpha() protected. Don't think we want this as a public API.
Attachment #232948 -
Flags: review?(pavlov) → review+
Assignee | ||
Comment 4•18 years ago
|
||
So I checked this in, it doesn't seem to have been a Tp win on the tinderboxes, but I'm hoping it's a CPU usage win, esp. for bug 328380.
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Comment 5•18 years ago
|
||
this seems to have done more bad than good Vlad I'll file some bugs later
Comment 6•18 years ago
|
||
There's a hole in the Gmail reply box
You need to log in
before you can comment on or make changes to this bug.
Description
•