20 #ifndef __DEVICE_GLUE_H__
21 #define __DEVICE_GLUE_H__ 1
27 #include <boost/shared_array.hpp>
28 #include <boost/scoped_ptr.hpp>
48 boost::shared_array<renderer::GnashDevice::dtype_t>
probeDevices() {
52 #ifdef BUILD_EGL_DEVICE
55 #ifdef BUILD_RAWFB_DEVICE
58 #ifdef BUILD_DIRECTFB_DEVICE
61 #ifdef BUILD_X11_DEVICE
65 boost::shared_array<renderer::GnashDevice::dtype_t> devs
69 #ifdef BUILD_X11_DEVICE
72 #ifdef BUILD_EGL_DEVICE
75 #ifdef BUILD_RAWFB_DEVICE
78 #ifdef BUILD_DIRECTFB_DEVICE
140 boost::scoped_ptr<renderer::GnashDevice>
_device;
145 #endif // end of __DEVICE_GLUE_H__
bool swapBuffers()
Make the current buffer the active one.
Definition: DeviceGlue.h:135
Definition: GnashDevice.h:48
Definition: GnashDevice.h:48
DeviceGlue()
Definition: DeviceGlue.h:40
size_t getWidth()
Definition: DeviceGlue.h:125
long native_window_t
Definition: GnashDevice.h:43
size_t getHeight()
Definition: DeviceGlue.h:129
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
boost::shared_array< renderer::GnashDevice::dtype_t > probeDevices()
Definition: DeviceGlue.h:48
renderer::GnashDevice::dtype_t getDevice()
Get the current active device type.
Definition: DeviceGlue.h:88
Definition: GnashDevice.h:48
Definition: DeviceGlue.h:38
bool initDevice(int argc, char *argv[])
Definition: DeviceGlue.h:105
rtype_t
The list of supported renders that use devices.
Definition: GnashDevice.h:46
boost::scoped_ptr< renderer::GnashDevice > _device
Definition: DeviceGlue.h:140
Definition: GnashDevice.h:48
size_t getDepth()
Depth of the display.
Definition: DeviceGlue.h:132
void resetDevice()
Reset the the current device, which disables output.
Definition: DeviceGlue.h:85
~DeviceGlue()
Definition: DeviceGlue.h:41
bool bindClient(renderer::GnashDevice::rtype_t rtype)
Definition: DeviceGlue.h:119
#define GNASH_REPORT_FUNCTION
Definition: log.h:438
bool attachWindow(renderer::GnashDevice::native_window_t window)
Definition: DeviceGlue.h:112
void setDevice(renderer::GnashDevice::dtype_t dtype)
Definition: DeviceGlue.cpp:41