Merge branch 'master' of git://localhost/acess2
[tpg/acess2.git] / KernelLand / Kernel / include / api_drv_video.h
index ff9c395..0d681fe 100644 (file)
@@ -217,12 +217,12 @@ typedef struct sVideo_IOCtl_Pos
  */\r
 typedef struct sVideo_IOCtl_Bitmap\r
 {\r
-       Sint16  W;      //!< Width of image\r
-       Sint16  H;      //!< Height of image\r
+       Uint16  W;      //!< Width of image\r
+       Uint16  H;      //!< Height of image\r
        Sint16  XOfs;   //!< X Offset of center\r
        Sint16  YOfs;   //!< Y Offset of center\r
        Uint32  Data[]; //!< Image data (ARGB array)\r
-}      tVideo_IOCtl_Bitmap;\r
+} PACKED       tVideo_IOCtl_Bitmap;\r
 \r
 /**\r
  * \brief Virtual Terminal Representation of a character\r
@@ -341,6 +341,10 @@ typedef struct sDrvUtil_Video_BufInfo
         * \brief Bit depth of the framebuffer\r
         */\r
        short   Depth;\r
+       /**\r
+        * \brief Cached copy of the screens state (only used if not NULL)\r
+        */\r
+       void    *BackBuffer;\r
        /*\r
         * \}\r
         */\r

UCC git Repository :: git.ucc.asn.au