2019-06-07 18:07:57 +02:00
|
|
|
#ifndef VULKAN_DEVICE_X11_H
|
|
|
|
#define VULKAN_DEVICE_X11_H
|
|
|
|
|
|
|
|
#include "drivers/vulkan/vulkan_context.h"
|
|
|
|
#include <X11/Xlib.h>
|
|
|
|
|
|
|
|
class VulkanContextX11 : public VulkanContext {
|
|
|
|
|
|
|
|
virtual const char *_get_platform_surface_extension() const;
|
|
|
|
|
|
|
|
public:
|
2019-06-24 21:13:06 +02:00
|
|
|
int window_create(::Window p_window, Display *p_display, int p_width, int p_height);
|
|
|
|
|
|
|
|
VulkanContextX11();
|
2019-06-07 18:07:57 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // VULKAN_DEVICE_X11_H
|