Takashi Iwai
fe5018e056
fb: Fix invalid bpp for 24bit depth window
...
We have a hack in fb layer for a 24bpp screen to use 32bpp images, and
fbCreateWindow() replaces its drawable.bitsPerPixel field
appropriately. But, the problem is that it always replaces when 32bpp
is passed. If the depth is 32, this results in bpp < depth, which is
actually invalid.
Meanwhile, fbCreatePixmap() has a more check and it creates with 24bpp
only when the passed depth <= 24 for avoiding such a problem.
This oneliner patch just adds the similar check in fbCreateWindow().
This (hopefully) fixes the long-standing broken graphics mess of
cirrus KMS with 24bpp.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Keith Packard <keithp@keithp.com>
2014-08-21 20:10:41 -05:00
..
fb.h
Replace 'pointer' type with 'void *'
2014-01-12 10:24:11 -08:00
fb24_32.c
Replace 'pointer' type with 'void *'
2014-01-12 10:24:11 -08:00
fb24_32.h
Replace 'pointer' type with 'void *'
2014-01-12 10:24:11 -08:00
fballpriv.c
Use new screen-specific privates for fb window and gc privates
2012-07-05 13:40:18 -07:00
fbarc.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbbits.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbbits.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbblt.c
fb: fix fast-path blt detection
2014-03-27 22:59:38 -07:00
fbbltone.c
fb: fix shadow warnings
2012-11-05 13:25:01 -06:00
fbcmap_mi.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbcopy.c
fb: Remove unused compatibility wrappers
2013-09-10 13:29:21 -04:00
fbfill.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbfillrect.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbfillsp.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbgc.c
Fix formatting of address operators
2012-12-05 18:09:48 -06:00
fbgetsp.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbglyph.c
Replace 'pointer' type with 'void *'
2014-01-12 10:24:11 -08:00
fbimage.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbline.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fboverlay.c
Replace 'pointer' type with 'void *'
2014-01-12 10:24:11 -08:00
fboverlay.h
Replace 'pointer' type with 'void *'
2014-01-12 10:24:11 -08:00
fbpict.c
fb: Fix origin of source picture in fbGlyphs
2014-04-21 20:48:34 -07:00
fbpict.h
fb: Publish fbGlyphs and fbUnrealizeGlyph
2014-04-03 13:07:51 -07:00
fbpixmap.c
Replace 'pointer' type with 'void *'
2014-01-12 10:24:11 -08:00
fbpoint.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbpush.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbrop.h
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbscreen.c
fb: Don't free NULL pixmap in fbCloseScreen. Bug #80313
2014-07-03 12:57:19 -07:00
fbseg.c
fb: reorder Bresenham error correction to avoid overshoot.
2012-08-14 12:14:25 -07:00
fbsetsp.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbsolid.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbstipple.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbtile.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbtrap.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbutil.c
Introduce a consistent coding style
2012-03-21 13:54:42 -07:00
fbwindow.c
fb: Fix invalid bpp for 24bit depth window
2014-08-21 20:10:41 -05:00
Makefile.am
Build fbcmap_mi.c once, rather than once for each DDX
2014-03-27 14:34:06 +00:00
wfbrename.h
fb: Rename wfbDestroyGlyphCache
2013-03-07 18:20:18 -08:00