20 #ifndef __GNASH_DEVICE_H__ 21 #define __GNASH_DEVICE_H__ 1 62 virtual bool initDevice(
int argc,
char *argv[]) = 0;
105 virtual int getID() = 0;
137 #endif // end of __GNASH_DEVICE_H__ virtual const char * getErrorString(int error)=0
Return a string with the error code as text, instead of a numeric value.
virtual int getBlueSize()=0
Get the size of the Blue pixel.
Definition: GnashDevice.h:48
Definition: GnashDevice.h:48
Definition: GnashDevice.h:46
virtual dtype_t getType()=0
virtual std::uint8_t * getOffscreenBuffer()
Get the memory from an offscreen buffer to support Double Buffering.
Definition: GnashDevice.h:119
virtual ~GnashDevice()
Definition: GnashDevice.h:53
virtual size_t getWidth()=0
Get the width of the device.
virtual int getRedSize()=0
Get the size of the Red pixel.
long native_window_t
Definition: GnashDevice.h:43
Definition: GnashDevice.h:46
Definition: GnashDevice.h:48
Definition: GnashDevice.h:39
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
virtual bool isBufferDestroyed()=0
Are buffers destroyed ?
Definition: GnashDevice.h:46
virtual size_t getFBMemSize()
Definition: GnashDevice.h:121
virtual bool isNativeRender()=0
Is this renderering natively.
Definition: GnashDevice.h:48
virtual bool supportsRenderer(rtype_t rtype)=0
Is the specified renderer supported by this hardware ?
virtual bool attachWindow(native_window_t window)=0
Definition: GnashDevice.h:46
virtual size_t getHeight()=0
Get the Height of the device.
Definition: GnashDevice.h:46
virtual bool isSingleBuffered()=0
Is this device single buffered.
virtual int getID()=0
Get the window ID handle.
rtype_t
The list of supported renders that use devices.
Definition: GnashDevice.h:46
Definition: GnashDevice.h:48
GnashDevice()
Definition: GnashDevice.h:51
Definition: GnashDevice.h:46
virtual size_t getStride()=0
Query the system for all supported configs.
virtual bool swapBuffers()
Definition: GnashDevice.h:128
#define GNASH_REPORT_FUNCTION
Definition: log.h:452
virtual int getGreenSize()=0
Get the size of the Green pixel.
virtual std::uint8_t * getFBMemory()
Get the memory from the real framebuffer.
Definition: GnashDevice.h:116
virtual bool initDevice(int argc, char *argv[])=0
virtual int getDepth()=0
Get the depth of the device.
virtual bool bindClient(GnashDevice::rtype_t)
Definition: GnashDevice.h:126