38 #include "rom/lldesc.h" 39 #include "driver/gpio.h" 41 #include "freertos/FreeRTOS.h" 42 #include "freertos/queue.h" 52 #define VGA16_LinesCount 4 97 void readScreen(
Rect const & rect,
RGB888 * destBuf);
115 void setupDefaultPalette();
122 void setPixelAt(PixelDesc
const & pixelDesc,
Rect & updateRect);
125 void drawEllipse(
Size const & size,
Rect & updateRect);
128 void clear(
Rect & updateRect);
131 void VScroll(
int scroll,
Rect & updateRect);
134 void HScroll(
int scroll,
Rect & updateRect);
140 void invertRect(
Rect const & rect,
Rect & updateRect);
143 void copyRect(
Rect const & source,
Rect & updateRect);
146 void swapFGBG(
Rect const & rect,
Rect & updateRect);
149 void rawDrawBitmap_Native(
int destX,
int destY,
Bitmap const * bitmap,
int X1,
int Y1,
int XCount,
int YCount);
152 void rawDrawBitmap_Mask(
int destX,
int destY,
Bitmap const * bitmap,
void * saveBackground,
int X1,
int Y1,
int XCount,
int YCount);
155 void rawDrawBitmap_RGBA2222(
int destX,
int destY,
Bitmap const * bitmap,
void * saveBackground,
int X1,
int Y1,
int XCount,
int YCount);
158 void rawDrawBitmap_RGBA8888(
int destX,
int destY,
Bitmap const * bitmap,
void * saveBackground,
int X1,
int Y1,
int XCount,
int YCount);
161 void rawFillRow(
int y,
int x1,
int x2,
RGB888 color);
162 void rawFillRow(
int y,
int x1,
int x2, uint8_t colorIndex);
164 void rawInvertRow(
int y,
int x1,
int x2);
166 void rawCopyRow(
int x1,
int x2,
int srcY,
int dstY);
168 void swapRows(
int yA,
int yB,
int x1,
int x2);
174 int getBitmapSavePixelSize() {
return 1; }
176 static void ISRHandler(
void * arg);
179 static VGA16Controller * s_instance;
181 volatile uint16_t m_packedPaletteIndexPair_to_signals[256];
Represents a 24 bit RGB color.
static VGA16Controller * instance()
Returns the singleton instance of VGA16Controller class.
This file contains fabgl::GPIOStream definition.
This file contains fabgl::BitmappedDisplayController definition.
void setPaletteItem(int index, RGB888 const &color)
Determines color of specified palette item.
Represents a glyph position, size and binary data.
This file contains some utility classes and functions.
Represents the VGA 16 colors bitmapped controller.
This file contains fabgl::VGAPalettedController definition.
Specifies various glyph painting options.
This file contains FabGL library configuration settings, like number of supported colors...
Represents a bidimensional size.
Represents the base class for paletted bitmapped controllers like VGA16Controller, VGA8Controller, etc..