diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-02 10:31:35 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-10-02 10:31:35 +0200 |
commit | 4caaa09d4da0f7bd5aa0fae3233d66bd977f185e (patch) | |
tree | 1ee56f7a837156cf90bac37c7c3732ba67d27794 /basic | |
parent | a65636c59d7d6c036eb8ae0dee76671198408107 (diff) |
vcl tiled rendering: avoid 'Pixel represents color values!' warnings
Which happens e.g. during rendering tiles:
OutputDevice::BlendBitmapWithAlpha() produces an RGB alpha
(255,255,255), then tries to set a pixel in the 8bit alpha channel using
it, so when BitmapReadAccess::SetPixelFor_8BIT_PAL() tries to get the
color index, we try to get it from a color that is not indexed.
Let's assume that when the color is not indexed, it's always gray, so it
doesn't matter what color we pick for the alpha mask needs.
Change-Id: I325c1d70514fd176fdc9cc39683b444447adf07f
Diffstat (limited to 'basic')
0 files changed, 0 insertions, 0 deletions