Closed
Bug 235064
Opened 21 years ago
Closed 21 years ago
Poor visual quality of background on 8-bit win32
Categories
(Core Graveyard :: GFX: Win32, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: tor, Assigned: tor)
References
()
Details
Attachments
(1 file, 4 obsolete files)
2.68 KB,
patch
|
roc
:
superreview+
|
Details | Diff | Splinter Review |
Background images look pretty bad when run in 8-bit mode on windows.
Turns out that in the tiling code we're creating a new DC but not
setting the flag that makes GDI dither the result.
Attachment #141850 -
Flags: review?(ere)
Comment on attachment 141850 [details] [diff] [review]
patch
Seems to be only dithering against the locked-down colors.
Attachment #141850 -
Attachment is obsolete: true
Attachment #141850 -
Flags: review?(ere)
Attachment #141849 -
Attachment is obsolete: true
Attachment #141853 -
Flags: review?(ere)
Comment on attachment 141853 [details] [diff] [review]
hook up the palette too
wrong patch
Attachment #141853 -
Attachment is obsolete: true
Attachment #141853 -
Flags: review?(ere)
Attachment #141855 -
Flags: review?(ere)
Comment 7•21 years ago
|
||
Wow, it even makes Modern almost usable in 256 colours!
Comment 8•21 years ago
|
||
Comment on attachment 141855 [details] [diff] [review]
right patch
Looks more consistent but bad in very green way in a terminal session, but I
believe this is the right thing to do and I also believe Neil.
Attachment #141855 -
Flags: review?(ere) → review+
Attachment #141855 -
Flags: superreview?(roc)
Comment on attachment 141855 [details] [diff] [review]
right patch
Two questions:
-- The comment says we only progressive double blit if we're not in 256 color
mode, and it looks like the code agrees. What's going on?
-- Are you forgetting to release dctx? Why did you change it from being an
nsCOMPtr?
Assignee | ||
Comment 10•21 years ago
|
||
The mNumPaletteColors check seems to be old code to deal with colormapped
images, which gfx never sees these days.
Switched back to nsCOMPtr.
Attachment #141855 -
Attachment is obsolete: true
Attachment #142243 -
Flags: superreview?(roc)
Comment on attachment 142243 [details] [diff] [review]
back to nsCOMPtr
Please change the comment about 256 colors to something like
// we aren't a 256 color image, and we don't have an unoptimized 8 bit alpha.
Attachment #142243 -
Flags: superreview?(roc) → superreview+
Attachment #141855 -
Flags: superreview?(roc)
Assignee | ||
Comment 12•21 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•16 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•