Go to the documentation of this file.
19 #ifndef GNASH_FB_GLUE_AGG_H
20 #define GNASH_FB_GLUE_AGG_H
54 bool init(
int argc,
char ***argv);
116 #endif // GNASH_FB_GLUE_AGG_H
bool setGrayscaleLUT8()
Definition: RawFBDevice.cpp:161
int height()
Definition: fb_glue_agg.cpp:245
DSOEXPORT Renderer_agg_base * create_Renderer_agg(const char *pixelformat)
Create a render handler.
Definition: Renderer_agg.cpp:2048
void render(void *const)
Definition: fb_glue_agg.h:95
void prepDrawingArea(void *drawing_area)
Hand off a handle to the native drawing area to the renderer.
Definition: fb_glue_agg.cpp:209
void log_debug(StringType msg, Args... args)
Definition: log.h:301
geometry::Range2d< int > _validbounds
Definition: fb_glue_agg.h:109
int getGreenSize()
Get the size of the Green pixel.
Definition: RawFBDevice.h:86
int getRedSize()
Get the size of the Red pixel.
Definition: RawFBDevice.h:85
#define _(String)
Definition: log.h:44
Anonymous namespace for callbacks, local functions, event handlers etc.
Definition: dbus_ext.cpp:41
~FBAggGlue()
Definition: fb_glue_agg.cpp:61
void FbWidget
Definition: fb_glue.h:48
Base class for render handlers.
Definition: Renderer.h:189
virtual void init_buffer(unsigned char *mem, int size, int x, int y, int rowstride)=0
struct fb_var_screeninfo _varinfo
Definition: fb_glue_agg.h:105
size_t getHeight()
Definition: fb_glue_agg.h:98
#define __FUNCTION__
Definition: log.h:437
void log_error(StringType msg, Args... args)
Definition: log.h:283
bool isNull() const
Returns true if this is the NULL Range2d.
Definition: Range2d.h:181
int getDepth()
Get the depth of the device.
Definition: RawFBDevice.h:69
Rectangle class, see swf defined rectangle record.
Definition: SWFRect.h:45
Range2d< T > Intersection(const Range2d< T > &r1, const Range2d< T > &r2)
Return a rectangle being the intersetion of the two rectangles.
Definition: Range2d.h:762
int getBlueSize()
Get the size of the Blue pixel.
Definition: RawFBDevice.h:87
std::unique_ptr< renderer::GnashDevice > _device
Definition: DeviceGlue.h:139
std::uint8_t * getOffscreenBuffer()
Get the memory from an offscreen buffer to support Double Buffering.
Definition: RawFBDevice.h:113
size_t getDepth()
Definition: fb_glue_agg.h:99
size_t getStride()
Query the system for all supported configs.
Definition: RawFBDevice.h:115
void setInvalidatedRegion(const SWFRect &bounds)
Gives the GUI a hint which region of the stage should be redrawn.
Definition: fb_glue_agg.cpp:72
int width()
The Width of the drawing area, in pixels. For framebuffer based devices, this is the size of the disp...
Definition: fb_glue_agg.cpp:234
int _fd
This is the file descriptor for the framebuffer memory.
Definition: fb_glue_agg.h:99
DSOEXPORT const char * agg_detect_pixel_format(unsigned int rofs, unsigned int rsize, unsigned int gofs, unsigned int gsize, unsigned int bofs, unsigned int bsize, unsigned int bpp)
Definition: Renderer_agg.cpp:2109
size_type size() const
Returns the number of ranges in the list.
Definition: snappingrange.h:320
Definition: RawFBDevice.h:46
struct fb_fix_screeninfo _fixinfo
Definition: fb_glue_agg.h:104
Definition: Renderer_agg.h:30
Definition: fb_glue_agg.h:37
size_t getFBMemSize()
Definition: RawFBDevice.h:116
void setInvalidatedRegions(const InvalidatedRanges &ranges)
Definition: fb_glue_agg.cpp:83
int getHandle()
Definition: RawFBDevice.h:117
Range2d< T > & setTo(T x, T y)
Set ourself to bound the given point.
Definition: Range2d.h:339
bool init(int argc, char ***argv)
Initialise the Framebuffer GUI and the AGG renderer.
Definition: fb_glue_agg.cpp:109
Renderer * createRenderHandler()
Create the renderer handler.
Definition: fb_glue_agg.cpp:147
std::uint8_t * getFBMemory()
Get the memory from the real framebuffer.
Definition: RawFBDevice.h:110
const RangeType & getRange(size_type index) const
Returns the range at the specified index.
Definition: snappingrange.h:326
size_t getWidth()
Definition: fb_glue_agg.h:97
std::unique_ptr< Renderer > _renderer
Definition: fb_glue_agg.h:107
FBAggGlue()
Definition: fb_glue_agg.cpp:45
std::vector< geometry::Range2d< int > > _drawbounds
Definition: fb_glue_agg.h:110
void render()
Render the current buffer.
Definition: fb_glue_agg.cpp:217
bool isSingleBuffered()
Is this device single buffered.
Definition: RawFBDevice.h:131