The Pedigree Project
0.1
|
Public Attributes | |
uintptr_t | base |
Base of this buffer in memory. For internal use only. | |
size_t | width |
Width of the buffer in pixels. | |
size_t | height |
Height of the buffer in pixels. | |
PixelFormat | format |
size_t | bytesPerPixel |
Number of bytes per pixel (as it may be different to the format). | |
size_t | bufferId |
Buffer ID, for easy identification within drivers. | |
void * | pBacking |
Definition at line 83 of file system/include/pedigree/kernel/graphics/Graphics.h.
PixelFormat Graphics::Buffer::format |
Output format of the buffer. NOT the input format. Used for byte-per-pixel calculations.
Definition at line 96 of file system/include/pedigree/kernel/graphics/Graphics.h.
Referenced by Framebuffer::setPixel(), and Framebuffer::swCreateBuffer().
void* Graphics::Buffer::pBacking |
Backing pointer, for drivers. Typically holds a MemoryRegion for software-only framebuffers to identify the memory's location.
Definition at line 106 of file system/include/pedigree/kernel/graphics/Graphics.h.
Referenced by Framebuffer::setPixel(), and Framebuffer::swCreateBuffer().