Return TRUE if the display supports premultiplied alpha.
/**
* Return the maximum supported swap interval.
*/
- NATIVE_PARAM_MAX_SWAP_INTERVAL
+ NATIVE_PARAM_MAX_SWAP_INTERVAL,
+
+ /**
+ * Return TRUE if the display supports premultiplied alpha, regardless of
+ * the surface color format.
+ */
+ NATIVE_PARAM_PREMULTIPLIED_ALPHA
};
/**
/**< wait until the given vsyncs has passed since the last presentation */
uint swap_interval;
+
+ /**< pixels use premultiplied alpha */
+ boolean premultiplied_alpha;
};
struct native_surface {