now blocking SCALED_BLIT hook export on modes with space B_CMAP8. We won't support this space, at least for now. It's not yet testable for me, and this space is partial supported only (at best), on some cards outthere.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16171 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2006-01-31 14:17:20 +00:00
parent 1a3348d9c2
commit 8a72136d5f

View File

@ -4,7 +4,7 @@
Other authors:
Mark Watson,
Rudolf Cornelissen 10/2002-12/2005
Rudolf Cornelissen 10/2002-1/2006
*/
#define MODULE_BIT 0x08000000
@ -212,8 +212,10 @@ status_t check_acc_capability(uint32 feature)
break;
case B_SCREEN_TO_SCREEN_SCALED_FILTERED_BLIT:
msg = "B_SCREEN_TO_SCREEN_SCALED_FILTERED_BLIT";
/* this function is only defined for DMA acceleration */
if (!si->settings.dma_acc)
/* this function is only defined for DMA acceleration,
* but doesn't support the B_CMAP8 colorspace */
//fixme: checkout B_CMAP8 support sometime, as some cards seem to support it?
if (!si->settings.dma_acc || (si->dm.space == B_CMAP8))
{
LOG(4, ("Acc: Not exporting hook %s.\n", msg));
return B_ERROR;