File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed
sdk/include/reactos/drivers/bootvid Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change @@ -50,17 +50,35 @@ typedef struct _CM_FRAMEBUF_DEVICE_DATA
5050 ULONG PixelsPerScanLine ; ///< Pitch/stride in pixels
5151 ULONG BitsPerPixel ; ///< Pixel depth
5252
53- /* Pixel physical format for BPP > 8 */
54- struct
53+ /* Pixel physical format for BPP > 8, specified by bit-masks.
54+ * A bit being set defines those used for the given color component,
55+ * such as Red, Green, Blue, or Reserved. */
56+ struct /*_PIXEL_BITMASK*/
5557 {
5658 ULONG RedMask ;
5759 ULONG GreenMask ;
5860 ULONG BlueMask ;
5961 ULONG ReservedMask ;
60- } PixelMasks ;
62+ } PixelMasks ; /*PIXEL_BITMASK, *PPIXEL_BITMASK*/
6163
6264} CM_FRAMEBUF_DEVICE_DATA , * PCM_FRAMEBUF_DEVICE_DATA ;
6365
66+
67+ /* UEFI support, see efi/GraphicsOutput.h */
68+ #ifdef EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID // __GRAPHICS_OUTPUT_H__
69+ // TODO: this version of the struct is temporary
70+ // REACTOS_INTERNAL_BGCONTEXT
71+ typedef struct _ROSEFI_FRAMEBUFFER_DATA
72+ {
73+ ULONG_PTR BaseAddress ;
74+ ULONG BufferSize ;
75+ UINT32 ScreenWidth ;
76+ UINT32 ScreenHeight ;
77+ UINT32 PixelsPerScanLine ;
78+ UINT32 PixelFormat ;
79+ } ROSEFI_FRAMEBUFFER_DATA , * PROSEFI_FRAMEBUFFER_DATA ;
80+ #endif
81+
6482#ifdef __cplusplus
6583}
6684#endif
You can’t perform that action at this time.
0 commit comments