Go to the documentation of this file.
20 #ifndef __DEVICE_GLUE_H__
21 #define __DEVICE_GLUE_H__ 1
51 #ifdef BUILD_EGL_DEVICE
54 #ifdef BUILD_RAWFB_DEVICE
57 #ifdef BUILD_DIRECTFB_DEVICE
60 #ifdef BUILD_X11_DEVICE
64 std::unique_ptr<renderer::GnashDevice::dtype_t[]> devs
68 #ifdef BUILD_X11_DEVICE
71 #ifdef BUILD_EGL_DEVICE
74 #ifdef BUILD_RAWFB_DEVICE
77 #ifdef BUILD_DIRECTFB_DEVICE
139 std::unique_ptr<renderer::GnashDevice>
_device;
144 #endif // end of __DEVICE_GLUE_H__
long native_window_t
Definition: GnashDevice.h:43
size_t getDepth()
Depth of the display.
Definition: DeviceGlue.h:131
bool swapBuffers()
Make the current buffer the active one.
Definition: DeviceGlue.h:134
@ GNASH_NODEV
Definition: GnashDevice.h:48
dtype_t
The list of supported device types.
Definition: GnashDevice.h:48
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
bool bindClient(renderer::GnashDevice::rtype_t rtype)
Definition: DeviceGlue.h:118
#define GNASH_REPORT_FUNCTION
Definition: log.h:452
@ DIRECTFB
Definition: GnashDevice.h:48
@ EGL
Definition: GnashDevice.h:48
void resetDevice()
Reset the the current device, which disables output.
Definition: DeviceGlue.h:84
void log_error(StringType msg, Args... args)
Definition: log.h:283
std::unique_ptr< renderer::GnashDevice > _device
Definition: DeviceGlue.h:139
std::unique_ptr< renderer::GnashDevice::dtype_t[]> probeDevices()
Definition: DeviceGlue.h:47
Definition: X11Device.h:46
size_t getHeight()
Definition: DeviceGlue.h:128
Definition: DirectFBDevice.h:44
renderer::GnashDevice::dtype_t getDevice()
Get the current active device type.
Definition: DeviceGlue.h:87
Definition: RawFBDevice.h:46
bool attachWindow(renderer::GnashDevice::native_window_t window)
Definition: DeviceGlue.h:111
Definition: eglDevice.h:57
bool initDevice(int argc, char *argv[])
Definition: DeviceGlue.h:104
DeviceGlue()
Definition: DeviceGlue.h:39
@ RAWFB
Definition: GnashDevice.h:48
~DeviceGlue()
Definition: DeviceGlue.h:40
@ X11
Definition: GnashDevice.h:48
rtype_t
The list of supported renders that use devices.
Definition: GnashDevice.h:46
size_t getWidth()
Definition: DeviceGlue.h:124
Definition: DeviceGlue.h:37
void setDevice(renderer::GnashDevice::dtype_t dtype)
Definition: DeviceGlue.cpp:41