From 8118b7593eda013305ff49769455183953dbd48d Mon Sep 17 00:00:00 2001 From: Rudolf Cornelissen Date: Mon, 17 Jan 2005 13:11:39 +0000 Subject: [PATCH] added pattern cmd colorspace define (PIO/DMA) git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10796 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/graphics/nvidia/nv_acc.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/headers/private/graphics/nvidia/nv_acc.h b/headers/private/graphics/nvidia/nv_acc.h index e10d072892..49581fec42 100644 --- a/headers/private/graphics/nvidia/nv_acc.h +++ b/headers/private/graphics/nvidia/nv_acc.h @@ -37,9 +37,11 @@ typedef struct { uint32 reserved01[0x000b]; uint32 DMAPut; /* b2-28 is DMA Put offset (FIFO internal register) */ uint32 DMAGet; /* b2-28 is DMA Get offset (FIFO internal register) */ - uint32 reserved02[0x00b0]; - uint32 SetShape; /* b0-1: %00 = 8X_8Y; %01 = 64X_1Y; %10 = 1X_64Y */ + uint32 reserved02[0x00ae]; + uint32 SetColorFormat; /* colorspace */ uint32 reserved03[0x0001]; + uint32 SetShape; /* b0-1: %00 = 8X_8Y; %01 = 64X_1Y; %10 = 1X_64Y */ + uint32 reserved04[0x0001]; uint32 SetColor0; /* b0-31 is color */ uint32 SetColor1; /* b0-31 is color */ uint32 SetPattern[0x0002]; /* b0-31 is bitmap */ @@ -294,6 +296,7 @@ typedef struct { #define NV_GENERAL_DMAGET 0x0044 #define NV_ROP5_SOLID_SETROP5 0x0300 #define NV_IMAGE_BLACK_RECTANGLE_TOPLEFT 0x0300 +#define NV_IMAGE_PATTERN_SETCOLORFORMAT 0x0300 #define NV_IMAGE_PATTERN_SETSHAPE 0x0308 #define NV_IMAGE_PATTERN_SETCOLOR0 0x0310 #define NV_IMAGE_BLIT_SOURCEORG 0x0300