* Always use the double buffered implementation if running in VESA mode. It
was not used in case of 32 bit VESA modes. Gives a huge performance boost for 32 bit VESA mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24084 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
20e4f92cf5
commit
f8cb1f478c
@ -576,8 +576,9 @@ AccelerantHWInterface::SetMode(const display_mode& mode)
|
||||
// -> fall back to double buffer for fDisplayMode.space != B_RGB32
|
||||
// as intermediate solution...
|
||||
bool doubleBuffered = HWInterface::IsDoubleBuffered();
|
||||
if ((color_space)fDisplayMode.space != B_RGB32
|
||||
if (((color_space)fDisplayMode.space != B_RGB32
|
||||
&& (color_space)fDisplayMode.space != B_RGBA32)
|
||||
|| fVGADevice > 0)
|
||||
doubleBuffered = true;
|
||||
|
||||
if (doubleBuffered) {
|
||||
|
Loading…
Reference in New Issue
Block a user