Bug 59043
Summary: | wx port should implement BitmapImage::checkForSolidColor() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Pratik Solanki <psolanki> |
Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | psolanki |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 |
Pratik Solanki
The implementation of the above function is
void BitmapImage::checkForSolidColor()
{
m_checkedForSolidColor = true;
}
This should be correctly implemented so it sets m_isSolidColor to true when you have 1x1 image with 1 frame so it can make use os optimization in Image.cpp that does a color fill when you're drawing a 1x1 image.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |