|
Gnash
0.8.10
|
#include <DirectFBDevice.h>
Public Member Functions | |
| DirectFBDevice () | |
| DirectFBDevice (int argc, char *argv[]) | |
| ~DirectFBDevice () | |
| dtype_t | getType () |
| bool | initDevice (int argc, char *argv[]) |
| bool | attachWindow (GnashDevice::native_window_t window) |
| const char * | getErrorString (int error) |
| Return a string with the error code as text, instead of a numeric value. | |
| size_t | getWidth () |
| Get the width of the device. | |
| size_t | getHeight () |
| Get the Height of the device. | |
| int | getDepth () |
| Get the depth of the device. | |
| int | getRedSize () |
| Get the size of the Red pixel. | |
| int | getGreenSize () |
| Get the size of the Green pixel. | |
| int | getBlueSize () |
| Get the size of the Blue pixel. | |
| bool | isSingleBuffered () |
| Is this device single buffered. | |
| int | getID () |
| Get the window ID handle. | |
| bool | isBufferDestroyed () |
| Are buffers destroyed ? | |
| int | getSurfaceID () |
| virtual bool | supportsRenderer (rtype_t) |
| Is the specified renderer supported by this hardware ? | |
| int | getDepth (DFBSurfacePixelFormat format) |
| size_t | getWidth (IDirectFBSurface *surface) |
| size_t | getHeight (IDirectFBSurface *surface) |
| bool | isSurfaceBackBuffered () |
| int | getContextID () |
| bool | isContextSingleBuffered () |
| bool | isContextBackBuffered () |
| bool | isNativeRender () |
| Is this renderering natively. | |
| size_t | getVerticalRes () |
| size_t | getVerticalRes (IDirectFBScreen *screen) |
| size_t | getHorzRes () |
| size_t | getHorzRes (IDirectFBScreen *screen) |
| void | printDirectFB () |
| print the data in a DirectFB | |
| void | printDirectFB (IDirectFB *fb) |
| print the data in a DirectFB | |
| void | printFBSurface () |
| print the data in a DirectFBSurface | |
| void | printFBSurface (IDirectFBSurface *surface) |
| print the data in a DirectFBSurface | |
| void | printFBFont () |
| print the data in a DirectFBFont | |
| void | printFBFont (IDirectFBFont *font) |
| print the data in a DirectFBFont | |
| void | printFBDisplay () |
| print the data in a DirectFBDisplay | |
| void | printFBDisplay (IDirectFBDisplayLayer *display) |
| void | printFBLayer () |
| void | printFBDisplayLayer (IDirectFBDisplayLayer *layer) |
| void | printFBScreen () |
| print the data in a DirectFBFont | |
| void | printFBScreen (IDirectFBScreen *screen) |
| void | printFBInputDevice () |
| print the data in a DirectFBInputDevice | |
| void | printFBInputDevice (IDirectFBInputDevice *input) |
| print the data in a DirectFBInputDevice | |
Protected Member Functions | |
| void | printAccelerationMask (DFBAccelerationMask mask) |
| void | printSurfaceBlittingFlags (DFBSurfaceBlittingFlags flags) |
| void | printSurfaceDrawingFlags (DFBSurfaceDrawingFlags flags) |
| void | printGrapbicsDriverIndo (DFBGraphicsDriverInfo *driver) |
| void | printSurfaceDescriptionFlags (DFBSurfaceDescriptionFlags flags) |
| void | printSurfaceCapabilities (DFBSurfaceCapabilities caps) |
| void | printSurfacePixelFormat (DFBSurfacePixelFormat format) |
| void | printDisplayLayerTypeFlags (DFBDisplayLayerTypeFlags flags) |
| void | printDisplayLayerCapabilities (DFBDisplayLayerCapabilities caps) |
| void | printfScreenCapabilities (DFBScreenCapabilities caos) |
| void | printDisplayLayerConfig (DFBDisplayLayerConfig *config) |
| void | printDisplayLayerBufferMode (DFBDisplayLayerBufferMode mode) |
| void | printColor (DFBColor color) |
Protected Attributes | |
| IDirectFB * | _dfb |
| IDirectFBSurface * | _surface |
| IDirectFBInputDevice * | _keyboard |
| IDirectFBEventBuffer * | _keybuffer |
| IDirectFBImageProvider * | _provider |
| IDirectFBFont * | _font |
| IDirectFBDisplayLayer * | _layer |
| IDirectFBScreen * | _screen |
| gnash::renderer::directfb::DirectFBDevice::DirectFBDevice | ( | int | argc, |
| char * | argv[] | ||
| ) |
References _, GNASH_REPORT_FUNCTION, and initDevice().
| bool gnash::renderer::directfb::DirectFBDevice::attachWindow | ( | GnashDevice::native_window_t | window | ) | [virtual] |
Attach Native Window to device. This connects a Native Window to the device so surfaces can be created.
Implements gnash::renderer::GnashDevice.
References GNASH_REPORT_FUNCTION.
| int gnash::renderer::directfb::DirectFBDevice::getBlueSize | ( | ) | [inline, virtual] |
Get the size of the Blue pixel.
Implements gnash::renderer::GnashDevice.
| int gnash::renderer::directfb::DirectFBDevice::getContextID | ( | ) | [inline] |
References _layer.
| int gnash::renderer::directfb::DirectFBDevice::getDepth | ( | ) | [inline, virtual] |
| int gnash::renderer::directfb::DirectFBDevice::getDepth | ( | DFBSurfacePixelFormat | format | ) |
| const char * gnash::renderer::directfb::DirectFBDevice::getErrorString | ( | int | error | ) | [virtual] |
Return a string with the error code as text, instead of a numeric value.
Implements gnash::renderer::GnashDevice.
Referenced by initDevice(), and printFBScreen().
| int gnash::renderer::directfb::DirectFBDevice::getGreenSize | ( | ) | [inline, virtual] |
Get the size of the Green pixel.
Implements gnash::renderer::GnashDevice.
| size_t gnash::renderer::directfb::DirectFBDevice::getHeight | ( | ) | [inline, virtual] |
| size_t gnash::renderer::directfb::DirectFBDevice::getHeight | ( | IDirectFBSurface * | surface | ) | [inline] |
| size_t gnash::renderer::directfb::DirectFBDevice::getHorzRes | ( | ) | [inline] |
References _screen.
| size_t gnash::renderer::directfb::DirectFBDevice::getHorzRes | ( | IDirectFBScreen * | screen | ) | [inline] |
| int gnash::renderer::directfb::DirectFBDevice::getID | ( | ) | [inline, virtual] |
| int gnash::renderer::directfb::DirectFBDevice::getRedSize | ( | ) | [inline, virtual] |
Get the size of the Red pixel.
Implements gnash::renderer::GnashDevice.
| int gnash::renderer::directfb::DirectFBDevice::getSurfaceID | ( | ) | [inline] |
| dtype_t gnash::renderer::directfb::DirectFBDevice::getType | ( | ) | [inline, virtual] |
Get the type of the instatiated device. Since the renderer has a single value for the supported device, this is used to see which device has been loaded.
Implements gnash::renderer::GnashDevice.
References gnash::renderer::GnashDevice::DIRECTFB.
| size_t gnash::renderer::directfb::DirectFBDevice::getVerticalRes | ( | ) | [inline] |
References _screen.
| size_t gnash::renderer::directfb::DirectFBDevice::getVerticalRes | ( | IDirectFBScreen * | screen | ) | [inline] |
| size_t gnash::renderer::directfb::DirectFBDevice::getWidth | ( | ) | [inline, virtual] |
| size_t gnash::renderer::directfb::DirectFBDevice::getWidth | ( | IDirectFBSurface * | surface | ) | [inline] |
| bool gnash::renderer::directfb::DirectFBDevice::initDevice | ( | int | argc, |
| char * | argv[] | ||
| ) | [virtual] |
Initialize GNASH Device layer. This mostly just initializes all the private data.
Implements gnash::renderer::GnashDevice.
References _, _dfb, _font, _keyboard, _keybuffer, _layer, _provider, _screen, _surface, gnash::renderer::directfb::FONT, getErrorString(), GNASH_REPORT_FUNCTION, x, and y.
Referenced by DirectFBDevice().
| bool gnash::renderer::directfb::DirectFBDevice::isBufferDestroyed | ( | ) | [inline, virtual] |
Are buffers destroyed ?
Implements gnash::renderer::GnashDevice.
| bool gnash::renderer::directfb::DirectFBDevice::isContextBackBuffered | ( | ) | [inline] |
References _layer, and gnash::config.
| bool gnash::renderer::directfb::DirectFBDevice::isContextSingleBuffered | ( | ) | [inline] |
References _layer, and gnash::config.
| bool gnash::renderer::directfb::DirectFBDevice::isNativeRender | ( | ) | [inline, virtual] |
Is this renderering natively.
Implements gnash::renderer::GnashDevice.
| bool gnash::renderer::directfb::DirectFBDevice::isSingleBuffered | ( | ) | [inline, virtual] |
| bool gnash::renderer::directfb::DirectFBDevice::isSurfaceBackBuffered | ( | ) | [inline] |
References _surface.
| void gnash::renderer::directfb::DirectFBDevice::printAccelerationMask | ( | DFBAccelerationMask | mask | ) | [protected] |
Referenced by printDirectFB(), and printFBSurface().
| void gnash::renderer::directfb::DirectFBDevice::printColor | ( | DFBColor | color | ) | [protected] |
| void gnash::renderer::directfb::DirectFBDevice::printDirectFB | ( | ) | [inline] |
| void gnash::renderer::directfb::DirectFBDevice::printDirectFB | ( | IDirectFB * | fb | ) |
print the data in a DirectFB
References _, _dfb, printAccelerationMask(), printGrapbicsDriverIndo(), printSurfaceBlittingFlags(), and printSurfaceDrawingFlags().
| void gnash::renderer::directfb::DirectFBDevice::printDisplayLayerBufferMode | ( | DFBDisplayLayerBufferMode | mode | ) | [protected] |
Referenced by printDisplayLayerConfig().
| void gnash::renderer::directfb::DirectFBDevice::printDisplayLayerCapabilities | ( | DFBDisplayLayerCapabilities | caps | ) | [protected] |
Referenced by printFBDisplay().
| void gnash::renderer::directfb::DirectFBDevice::printDisplayLayerConfig | ( | DFBDisplayLayerConfig * | config | ) | [protected] |
References printDisplayLayerBufferMode(), printSurfaceCapabilities(), and printSurfacePixelFormat().
| void gnash::renderer::directfb::DirectFBDevice::printDisplayLayerTypeFlags | ( | DFBDisplayLayerTypeFlags | flags | ) | [protected] |
Referenced by printFBDisplay().
| void gnash::renderer::directfb::DirectFBDevice::printFBDisplay | ( | ) | [inline] |
print the data in a DirectFBDisplay
References _layer.
| void gnash::renderer::directfb::DirectFBDevice::printFBDisplay | ( | IDirectFBDisplayLayer * | display | ) |
References printDisplayLayerCapabilities(), and printDisplayLayerTypeFlags().
| void gnash::renderer::directfb::DirectFBDevice::printFBDisplayLayer | ( | IDirectFBDisplayLayer * | layer | ) |
Referenced by printFBLayer().
| void gnash::renderer::directfb::DirectFBDevice::printFBFont | ( | ) | [inline] |
print the data in a DirectFBFont
References _font.
| void gnash::renderer::directfb::DirectFBDevice::printFBFont | ( | IDirectFBFont * | font | ) |
print the data in a DirectFBFont
References _font.
| void gnash::renderer::directfb::DirectFBDevice::printFBInputDevice | ( | ) | [inline] |
print the data in a DirectFBInputDevice
References _keyboard.
| void gnash::renderer::directfb::DirectFBDevice::printFBInputDevice | ( | IDirectFBInputDevice * | input | ) |
print the data in a DirectFBInputDevice
| void gnash::renderer::directfb::DirectFBDevice::printFBLayer | ( | ) | [inline] |
References _layer, and printFBDisplayLayer().
| void gnash::renderer::directfb::DirectFBDevice::printFBScreen | ( | ) | [inline] |
print the data in a DirectFBFont
References _screen.
| void gnash::renderer::directfb::DirectFBDevice::printFBScreen | ( | IDirectFBScreen * | screen | ) |
References _, getErrorString(), printfScreenCapabilities(), x, and y.
| void gnash::renderer::directfb::DirectFBDevice::printFBSurface | ( | ) | [inline] |
print the data in a DirectFBSurface
References _surface.
| void gnash::renderer::directfb::DirectFBDevice::printFBSurface | ( | IDirectFBSurface * | surface | ) |
print the data in a DirectFBSurface
References _surface, printAccelerationMask(), printSurfaceCapabilities(), x, and y.
| void gnash::renderer::directfb::DirectFBDevice::printfScreenCapabilities | ( | DFBScreenCapabilities | caos | ) | [protected] |
Referenced by printFBScreen().
| void gnash::renderer::directfb::DirectFBDevice::printGrapbicsDriverIndo | ( | DFBGraphicsDriverInfo * | driver | ) | [protected] |
Referenced by printDirectFB().
| void gnash::renderer::directfb::DirectFBDevice::printSurfaceBlittingFlags | ( | DFBSurfaceBlittingFlags | flags | ) | [protected] |
Referenced by printDirectFB().
| void gnash::renderer::directfb::DirectFBDevice::printSurfaceCapabilities | ( | DFBSurfaceCapabilities | caps | ) | [protected] |
Referenced by printDisplayLayerConfig(), and printFBSurface().
| void gnash::renderer::directfb::DirectFBDevice::printSurfaceDescriptionFlags | ( | DFBSurfaceDescriptionFlags | flags | ) | [protected] |
| void gnash::renderer::directfb::DirectFBDevice::printSurfaceDrawingFlags | ( | DFBSurfaceDrawingFlags | flags | ) | [protected] |
Referenced by printDirectFB().
| void gnash::renderer::directfb::DirectFBDevice::printSurfacePixelFormat | ( | DFBSurfacePixelFormat | format | ) | [protected] |
Referenced by printDisplayLayerConfig().
| virtual bool gnash::renderer::directfb::DirectFBDevice::supportsRenderer | ( | rtype_t | rtype | ) | [inline, virtual] |
Is the specified renderer supported by this hardware ?
Implements gnash::renderer::GnashDevice.
IDirectFB* gnash::renderer::directfb::DirectFBDevice::_dfb [protected] |
Referenced by initDevice(), printDirectFB(), and ~DirectFBDevice().
IDirectFBFont* gnash::renderer::directfb::DirectFBDevice::_font [protected] |
Referenced by initDevice(), printFBFont(), and ~DirectFBDevice().
IDirectFBInputDevice* gnash::renderer::directfb::DirectFBDevice::_keyboard [protected] |
Referenced by initDevice(), and printFBInputDevice().
IDirectFBEventBuffer* gnash::renderer::directfb::DirectFBDevice::_keybuffer [protected] |
Referenced by initDevice(), and ~DirectFBDevice().
IDirectFBDisplayLayer* gnash::renderer::directfb::DirectFBDevice::_layer [protected] |
IDirectFBImageProvider* gnash::renderer::directfb::DirectFBDevice::_provider [protected] |
Referenced by initDevice(), and ~DirectFBDevice().
IDirectFBScreen* gnash::renderer::directfb::DirectFBDevice::_screen [protected] |
Referenced by getHorzRes(), getSurfaceID(), getVerticalRes(), initDevice(), and printFBScreen().
IDirectFBSurface* gnash::renderer::directfb::DirectFBDevice::_surface [protected] |
Referenced by getDepth(), getHeight(), getWidth(), initDevice(), isSingleBuffered(), isSurfaceBackBuffered(), printFBSurface(), and ~DirectFBDevice().
1.7.6.1