#include <gal/gal.h>
#include <cstddef>
#include <cstdint>
#include <vector>
Go to the source code of this file.
|
| namespace | KIGFX |
| | The Cairo implementation of the graphics abstraction layer.
|
| |
|
| wxImage | KIGFX::FitImageToTexture (const wxImage &aImage, int aMaxTextureSize) |
| | Fit an image into the largest texture a GPU can hold.
|
| |
| std::vector< uint8_t > | KIGFX::RgbToRgba (const uint8_t *aRgb, const uint8_t *aAlpha, size_t aPixelCount) |
| | Expand packed RGB to tightly packed RGBA.
|
| |
| std::vector< uint8_t > | KIGFX::ImageToRgba (const wxImage &aImage) |
| | The pixels of aImage as tightly packed RGBA, transparent where it has alpha or a mask.
|
| |
|
| constexpr size_t | KIGFX::BITMAP_CACHE_MAX_BYTES = 256 * 1024 * 1024 |
| | Texture memory the GPU canvases may hold for placed bitmaps before they evict the oldest.
|
| |