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__ bool swapBuffers()
Make the current buffer the active one.
Definition: DeviceGlue.h:134
Definition: GnashDevice.h:48
Definition: GnashDevice.h:48
DeviceGlue()
Definition: DeviceGlue.h:39
std::unique_ptr< renderer::GnashDevice::dtype_t[]> probeDevices()
Definition: DeviceGlue.h:47
size_t getWidth()
Definition: DeviceGlue.h:124
long native_window_t
Definition: GnashDevice.h:43
size_t getHeight()
Definition: DeviceGlue.h:128
Definition: GnashDevice.h:48
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:40
dtype_t
The list of supported device types.
Definition: GnashDevice.h:48
renderer::GnashDevice::dtype_t getDevice()
Get the current active device type.
Definition: DeviceGlue.h:87
Definition: GnashDevice.h:48
Definition: DeviceGlue.h:37
bool initDevice(int argc, char *argv[])
Definition: DeviceGlue.h:104
rtype_t
The list of supported renders that use devices.
Definition: GnashDevice.h:46
Definition: GnashDevice.h:48
size_t getDepth()
Depth of the display.
Definition: DeviceGlue.h:131
void resetDevice()
Reset the the current device, which disables output.
Definition: DeviceGlue.h:84
~DeviceGlue()
Definition: DeviceGlue.h:40
bool bindClient(renderer::GnashDevice::rtype_t rtype)
Definition: DeviceGlue.h:118
#define GNASH_REPORT_FUNCTION
Definition: log.h:452
bool attachWindow(renderer::GnashDevice::native_window_t window)
Definition: DeviceGlue.h:111
void setDevice(renderer::GnashDevice::dtype_t dtype)
Definition: DeviceGlue.cpp:41
std::unique_ptr< renderer::GnashDevice > _device
Definition: DeviceGlue.h:139