Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alan Coopersmith
xf86-video-siliconmotion
Commits
449fedec
Commit
449fedec
authored
Mar 13, 2007
by
Alex Deucher
Browse files
fix Solid()
Unforunately, for 32 bpp solid fills the HW ignores alpha.
parent
6d40f87d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/smi_exa.c
View file @
449fedec
...
...
@@ -332,6 +332,10 @@ SMI_PrepareSolid(PixmapPtr pPixmap, int alu, Pixel planemask, Pixel fg)
ENTER_PROC
(
"SMI_PrepareSolid"
);
DEBUG
((
VERBLEV
,
"alu=%02X
\n
"
,
alu
));
/* HW ignores alpha */
if
(
pPixmap
->
drawable
.
bitsPerPixel
==
32
)
return
FALSE
;
/* Bit Mask not supported > 16 bpp */
if
((
pPixmap
->
drawable
.
bitsPerPixel
>
16
)
&&
(
!
EXA_PM_IS_SOLID
(
&
pPixmap
->
drawable
,
planemask
)))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment