|
@@ -177,6 +177,15 @@ EXPORT void device_debug_marker_begin(gs_device_t *device,
|
|
|
const char *markername,
|
|
|
const float color[4]);
|
|
|
EXPORT void device_debug_marker_end(gs_device_t *device);
|
|
|
+EXPORT bool device_is_monitor_hdr(gs_device_t *device, void *monitor);
|
|
|
+EXPORT bool device_shared_texture_available(void);
|
|
|
+
|
|
|
+#ifdef __APPLE__
|
|
|
+EXPORT gs_texture_t *device_texture_create_from_iosurface(gs_device_t *device,
|
|
|
+ void *iosurf);
|
|
|
+EXPORT gs_texture_t *device_texture_open_shared(gs_device_t *device,
|
|
|
+ uint32_t handle);
|
|
|
+#endif
|
|
|
|
|
|
#if defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
|
|
|
|
@@ -196,6 +205,9 @@ EXPORT bool device_query_dmabuf_modifiers_for_format(gs_device_t *device,
|
|
|
uint64_t **modifiers,
|
|
|
size_t *n_modifiers);
|
|
|
|
|
|
+EXPORT gs_texture_t *device_texture_create_from_pixmap(
|
|
|
+ gs_device_t *device, uint32_t width, uint32_t height,
|
|
|
+ enum gs_color_format color_format, uint32_t target, void *pixmap);
|
|
|
#endif
|
|
|
|
|
|
#ifdef __cplusplus
|