# HG changeset patch # User Matti Hamalainen # Date 1560492255 -10800 # Node ID b858ade0fb0b88da2d1ecd529656b60b9616aa97 # Parent a8b4e9c9f337399a87429ef3c64f6179d8a29964 Add some comments. diff -r a8b4e9c9f337 -r b858ade0fb0b tools/libgfx.h --- a/tools/libgfx.h Fri Jun 14 08:33:18 2019 +0300 +++ b/tools/libgfx.h Fri Jun 14 09:04:15 2019 +0300 @@ -114,9 +114,11 @@ int pixfmt; // Target color format DM_PIXFMT_* int scaleX, scaleY; // Integer scale factors (1..) - int nplanes, bpp, mask; // number of planes, bits per PLANE, masking + int nplanes, bpp; // number of bitplanes to use, bits per PLANE to use + int mask; // masking BOOL planar; // use planar format if the format supports it int compression; // Use compression/compression level (0 = none, 9 = max) + // (not all formats support any, or more than on/off compression) } DMImageWriteSpec;