#include <X11/Xft/Xft.h>
#include <glib.h>
#include "color.h"
+#include "../kernel/geom.h"
typedef enum {
Surface_Planar,
typedef enum {
Bitmask,
Text,
- RGBA
+ RGBA,
+ NoTexture
} TextureType;
typedef struct PlanarSurface {
} TextureMask;
typedef struct TextureRGBA {
- int poo;
+ int width;
+ int height;
+ unsigned long *data;
+/* cached scaled so we don't have to scale often */
+ int cwidth;
+ int cheight;
+ unsigned long *cache;
} TextureRGBA;
typedef union {