X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Ftpl_drv_terminal.h;h=ee50392b79620e14d027603407abe6e6bc4421d7;hb=6e1cf1d50bca85f01b5f802b1a76f090e362bf05;hp=21ba2909d2aff054652934d53b0bc2ef457f937d;hpb=0dbc91f0676576b954aa95dafdb434ce19bc805c;p=tpg%2Facess2.git diff --git a/Kernel/include/tpl_drv_terminal.h b/Kernel/include/tpl_drv_terminal.h index 21ba2909..ee50392b 100644 --- a/Kernel/include/tpl_drv_terminal.h +++ b/Kernel/include/tpl_drv_terminal.h @@ -103,6 +103,11 @@ enum eTplTerminal_Modes { */ TERM_MODE_FB, + /** + * \brief 32bpp 2D Accellerated mode + * Writes to the terminal file will be read as a command stream + * defined in ::eTplTerminal_2D_Commands + */ TERM_MODE_2DACCEL, /** @@ -119,17 +124,27 @@ enum eTplTerminal_Modes { NUM_TERM_MODES }; +/** + * \brief 2D Command IDs + * \todo Complete this structure + * + * Command IDs for when the terminal type is eTplTerminal_Modes.TERM_MODE_2DACCEL + */ enum eTplTerminal_2D_Commands { + /** + * \brief No Operation - Used for padding + */ TERM_2DCMD_NOP, /** * (Uint16 X, Y, W, H, Uint32 Data[]) + * \brief Blits a bitmap to the display * \param X,Y Coordinates of Top-Left corner * \param W,H Dimensions * \param Data 32-bpp pixel data */ - TERM_2DCMD_PUSH, + TERM_2DCMD_PUSH }; #endif