[fix] Draw effect target
This commit is contained in:
@@ -13,5 +13,15 @@ struct gfx_context {
|
||||
|
||||
extern gfx_context g_gfx;
|
||||
|
||||
void gfx_init(EFI_GRAPHICS_OUTPUT_PROTOCOL *GOP); // 初始化 GFX
|
||||
void gfx_clear(void); // 清空 GFX(相当于重置)
|
||||
struct draw_target {
|
||||
EFI_GRAPHICS_OUTPUT_BLT_PIXEL *buf;
|
||||
unsigned int w;
|
||||
unsigned int h;
|
||||
};
|
||||
|
||||
extern draw_target g_draw_target;
|
||||
|
||||
void gfx_init(EFI_GRAPHICS_OUTPUT_PROTOCOL *GOP);
|
||||
void gfx_clear(void);
|
||||
void draw_set_target(EFI_GRAPHICS_OUTPUT_BLT_PIXEL *buf, unsigned int w, unsigned int h);
|
||||
void draw_set_default_target(void);
|
||||
Reference in New Issue
Block a user