Jump to content

SETUPBLITTERNOTIFYIN: Difference between revisions

From EDM2
Created page with "The display driver, if it supports this function, should indicate whether the hardware can handle the current image blitting parameters. If the display driver does not support..."
 
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
The display driver, if it supports this function, should indicate whether the hardware can handle the current image blitting parameters. If the display driver does not support this function, it is assumed the hardware can handle the blitter operation being set.  
The display driver, if it supports this function, should indicate whether the hardware can handle the current image blitting parameters. If the display driver does not support this function, it is assumed the hardware can handle the blitter operation being set.


==Example Code==
<PRE>
<PRE>
typedef struct _SETUPBLITTERNOTIFYIN {
typedef struct _SETUPBLITTERNOTIFYIN {
Line 20: Line 19:
   ULONG    ulNumDstRects;      /* number of visible rectangles    */
   ULONG    ulNumDstRects;      /* number of visible rectangles    */
   PRECTL    pVisDstRects;      /* ptr to visible rectangle array  */
   PRECTL    pVisDstRects;      /* ptr to visible rectangle array  */
                                                                                                                                              /* (in screen coordinates)          */
                                /* (in screen coordinates)          */
} SETUPBLITTERNOTIFYIN;
} SETUPBLITTERNOTIFYIN;



Latest revision as of 18:34, 5 April 2025

The display driver, if it supports this function, should indicate whether the hardware can handle the current image blitting parameters. If the display driver does not support this function, it is assumed the hardware can handle the blitter operation being set.

typedef struct _SETUPBLITTERNOTIFYIN {
  ULONG     ulLength;           /* length of this structure         */
  ULONG     ulHandle;           /* instance handle from register    */
  ULONG     ulInversionFlags;   /* current image inversion flags    */
                                /* 0x1 = vertical, 0x2 = horizontal */
  FOURCC    fccSrc;             /* source color format              */
  ULONG     ulSrcWidth;         /* source image width in pixels     */
  ULONG     ulSrcHeight;        /* source image height in pixels    */
  ULONG     ulSrcPosX;          /* src image X offset for blitting  */
  ULONG     ulSrcPosY;          /* src image Y offset for blitting  */
  FOURCC    fccDst;             /* destination color format         */
  ULONG     ulDstWidth;         /* destination image width in pels  */
  ULONG     ulDstHeight;        /* destination image height in pels */
  LONG      lScreenPosX;        /* destination screen X position    */
  LONG      lScreenPosY;        /* destination screen Y position    */
  ULONG     ulNumDstRects;      /* number of visible rectangles     */
  PRECTL    pVisDstRects;       /* ptr to visible rectangle array   */
                                /* (in screen coordinates)          */
} SETUPBLITTERNOTIFYIN;

typedef SETUPBLITTERNOTIFYIN *PSETUPBLITTERNOTIFYIN;