MMSFBSurface Class Reference

This class describes a surface. More...

#include <mmsfbsurface.h>

List of all members.


Public Member Functions

 MMSFBSurface (int w, int h, MMSFBSurfacePixelFormat pixelformat, int backbuffer=0, bool systemonly=true)
 MMSFBSurface (IDirectFBSurface *dfb_surface, MMSFBSurface *parent=NULL, MMSFBRectangle *sub_surface_rect=NULL)
 MMSFBSurface (MMSFBSurface *parent=NULL, MMSFBRectangle *sub_surface_rect=NULL)
 MMSFBSurface (int w, int h, MMSFBSurfacePixelFormat pixelformat, MMSFBSurfacePlanes *planes)
 MMSFBSurface (int w, int h, MMSFBSurfacePixelFormat pixelformat, int backbuffer, MMSFBSurfacePlanes *planes)
 MMSFBSurface (int w, int h, MMSFBSurfacePixelFormat pixelformat, XImage *x_image1, XImage *x_image2, MMSFBSurface *scaler)
 MMSFBSurface (int w, int h, MMSFBSurfaceAllocatedBy allocated_by)
virtual ~MMSFBSurface ()
bool isInitialized ()
void * getDFBSurface ()
bool getConfiguration (MMSFBSurfaceConfig *config=NULL)
void setExtendedAcceleration (bool extendedaccel)
bool getExtendedAcceleration ()
void setAllocMethod (MMSFBSurfaceAllocMethod allocmethod)
MMSFBSurfaceAllocMethod getAllocMethod ()
bool isWinSurface ()
bool isLayerSurface ()
bool isSubSurface ()
MMSFBSurfacegetParent ()
MMSFBSurfacegetRootParent ()
bool isOpaque ()
bool getPixelFormat (MMSFBSurfacePixelFormat *pf)
bool getSize (int *w, int *h)
bool getNumberOfBuffers (int *num)
bool getMemSize (int *size)
bool setFlipFlags (MMSFBFlipFlags flags)
bool calcClip (int x, int y, int w, int h, MMSFBRectangle *crect)
 Get the clipping rectangle.
bool clear (unsigned char r=0, unsigned char g=0, unsigned char b=0, unsigned char a=0)
bool setColor (unsigned char r, unsigned char g, unsigned char b, unsigned char a)
bool setColor (MMSFBColor &color)
bool getColor (MMSFBColor *color)
bool setShadowColor (MMSFBColor &shadow_top_color, MMSFBColor &shadow_bottom_color, MMSFBColor &shadow_left_color, MMSFBColor &shadow_right_color, MMSFBColor &shadow_top_left_color, MMSFBColor &shadow_top_right_color, MMSFBColor &shadow_bottom_left_color, MMSFBColor &shadow_bottom_right_color)
bool setClip (MMSFBRegion *clip)
bool setClip (int x1, int y1, int x2, int y2)
bool getClip (MMSFBRegion *clip)
bool setDrawingFlags (MMSFBDrawingFlags flags)
bool drawLine (int x1, int y1, int x2, int y2)
bool drawRectangle (int x, int y, int w, int h)
bool fillRectangle (int x=0, int y=0, int w=0, int h=0)
bool drawTriangle (int x1, int y1, int x2, int y2, int x3, int y3)
bool fillTriangle (int x1, int y1, int x2, int y2, int x3, int y3)
bool drawCircle (int x, int y, int radius, int start_octant=0, int end_octant=7)
bool setBlittingFlags (MMSFBBlittingFlags flags)
bool getBlittingFlags (MMSFBBlittingFlags *flags)
bool blit (MMSFBSurface *source, MMSFBRectangle *src_rect=NULL, int x=0, int y=0)
bool blitBuffer (MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, MMSFBRectangle *src_rect=NULL, int x=0, int y=0, bool opaque=false)
bool blitBuffer (void *src_ptr, int src_pitch, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, MMSFBRectangle *src_rect=NULL, int x=0, int y=0, bool opaque=false)
bool stretchBlit (MMSFBSurface *source, MMSFBRectangle *src_rect=NULL, MMSFBRectangle *dest_rect=NULL, MMSFBRectangle *real_dest_rect=NULL, bool calc_dest_rect=false)
bool stretchBlitBuffer (MMSFBExternalSurfaceBuffer *extbuf, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, MMSFBRectangle *src_rect, MMSFBRectangle *dest_rect, MMSFBRectangle *real_dest_rect=NULL, bool calc_dest_rect=false)
bool stretchBlitBuffer (void *src_ptr, int src_pitch, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, MMSFBRectangle *src_rect, MMSFBRectangle *dest_rect, MMSFBRectangle *real_dest_rect=NULL, bool calc_dest_rect=false)
bool renderScene (MMS_VERTEX_ARRAY **varrays, MMS_INDEX_ARRAY **iarrays, MMS3D_MATERIAL *materials, MMSFBSurface **textures, MMS3D_OBJECT **objects)
bool merge (MMSFBSurface *source1, MMSFBSurface *source2, MMSFBMergingMode mergingmode)
bool flip (MMSFBRegion *region=NULL)
bool flip (int x1, int y1, int x2, int y2)
bool refresh ()
bool createCopy (MMSFBSurface **dstsurface, int w=0, int h=0, bool copycontent=false, bool withbackbuffer=false, MMSFBSurfacePixelFormat pixelformat=MMSFB_PF_NONE)
bool resize (int w=0, int h=0)
void modulateBrightness (MMSFBColor *color, unsigned char brightness)
void modulateOpacity (MMSFBColor *color, unsigned char opacity)
bool setBlittingFlagsByBrightnessAlphaAndOpacity (unsigned char brightness, unsigned char alpha, unsigned char opacity)
bool setBlittingFlagsByBrightnessAlphaAndOpacityAndSource (unsigned char brightness, unsigned char alpha, unsigned char opacity, MMSFBSurface *source)
bool setDrawingFlagsByAlpha (unsigned char alpha)
bool setDrawingColorAndFlagsByBrightnessAndOpacity (MMSFBColor color, unsigned char brightness, unsigned char opacity)
bool setDrawingColorAndFlagsByBrightnessAndOpacity (MMSFBColor color, MMSFBColor shadow_top_color, MMSFBColor shadow_bottom_color, MMSFBColor shadow_left_color, MMSFBColor shadow_right_color, MMSFBColor shadow_top_left_color, MMSFBColor shadow_top_right_color, MMSFBColor shadow_bottom_left_color, MMSFBColor shadow_bottom_right_color, unsigned char brightness, unsigned char opacity)
bool setFont (MMSFBFont *font)
bool drawString (string text, int len, int x, int y)
void lock (MMSFBLockFlags flags=MMSFB_LOCK_NONE, void **ptr=NULL, int *pitch=NULL)
void lock (MMSFBLockFlags flags, MMSFBSurfacePlanes *planes)
bool tryToLock ()
void unlock ()
unsigned int getNumberOfSubSurfaces ()
MMSFBSurfacegetSubSurface (MMSFBRectangle *rect)
bool setSubSurface (MMSFBRectangle *rect)
bool setSubSurface (MMSFBRegion *region)
bool moveTo (int x, int y)
bool move (int x, int y)
bool dump2fcb (bool(*fcb)(char *, int, void *, int *), void *argp, int *argi, int x, int y, int w, int h, MMSFBSurfaceDumpMode dumpmode)
int dump2buffer (char *buffer, int buffer_len, int x=0, int y=0, int w=0, int h=0, MMSFBSurfaceDumpMode dumpmode=MMSFBSURFACE_DUMPMODE_BYTE)
bool dump2file (string filename, int x=0, int y=0, int w=0, int h=0, MMSFBSurfaceDumpMode dumpmode=MMSFBSURFACE_DUMPMODE_BYTE)
bool dump2file (string filename, MMSFBSurfaceDumpMode dumpmode)
bool dump (int x=0, int y=0, int w=0, int h=0, MMSFBSurfaceDumpMode dumpmode=MMSFBSURFACE_DUMPMODE_BYTE)
bool dump (MMSFBSurfaceDumpMode dumpmode)

Private Member Functions

void createSurfaceBuffer ()
void freeSurfaceBuffer ()
void deleteSubSurface (MMSFBSurface *surface)
int calcPitch (int width)
int calcSize (int pitch, int height)
void initPlanePointers (MMSFBSurfacePlanes *planes, int height)
void getRealSubSurfacePos (MMSFBSurface *surface=NULL, bool refreshChilds=false)
bool clipSubSurface (MMSFBRegion *region, bool regionset, MMSFBRegion *tmp, bool *tmpset)
bool setWinSurface (bool iswinsurface=true)
bool setLayerSurface (bool islayersurface=true)
bool checkDrawingStatus (int x, int y, int w, int h, MMSFBRectangle &crect, MMSFBDrawingFlags &drawingflags, MMSFBColor *color=NULL, bool force_cleaning=false)
bool checkBlittingStatus (bool src_opaque, bool src_transparent, int x, int y, int w, int h, MMSFBRectangle &crect, MMSFBBlittingFlags &blittingflags)
bool checkBlittingStatus (MMSFBSurface *source, int x, int y, int w, int h, MMSFBRectangle &crect, MMSFBBlittingFlags &blittingflags)
bool extendedLock (MMSFBSurface *src, MMSFBSurfacePlanes *src_planes, MMSFBSurface *dst, MMSFBSurfacePlanes *dst_planes)
void extendedUnlock (MMSFBSurface *src, MMSFBSurface *dst, MMSFBSurfacePlanes *dst_planes=NULL)
bool printMissingCombination (string method, MMSFBSurface *source=NULL, MMSFBSurfacePlanes *src_planes=NULL, MMSFBSurfacePixelFormat src_pixelformat=MMSFB_PF_NONE, int src_width=0, int src_height=0, MMSFBBlittingFlags blittingflags=MMSFB_BLIT_NOFX)
bool extendedAccelBlitEx (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, MMSFBRectangle *src_rect, int x, int y, MMSFBBlittingFlags blittingflags)
bool extendedAccelBlit (MMSFBSurface *source, MMSFBRectangle *src_rect, int x, int y, MMSFBBlittingFlags blittingflags)
bool extendedAccelBlitBuffer (MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, MMSFBRectangle *src_rect, int x, int y, MMSFBBlittingFlags blittingflags)
bool extendedAccelStretchBlitEx (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, MMSFBRectangle *src_rect, MMSFBRectangle *dest_rect, MMSFBRectangle *real_dest_rect, bool calc_dest_rect)
bool extendedAccelStretchBlit (MMSFBSurface *source, MMSFBRectangle *src_rect, MMSFBRectangle *dest_rect, MMSFBRectangle *real_dest_rect, bool calc_dest_rect)
bool extendedAccelStretchBlitBuffer (MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, MMSFBRectangle *src_rect, MMSFBRectangle *dest_rect, MMSFBRectangle *real_dest_rect, bool calc_dest_rect)
bool extendedAccelFillRectangleEx (int x, int y, int w, int h, MMSFBDrawingFlags drawingflags, MMSFBColor *col)
bool extendedAccelFillRectangle (int x, int y, int w, int h, MMSFBDrawingFlags drawingflags, MMSFBColor *color=NULL)
bool extendedAccelDrawLineEx (int x1, int y1, int x2, int y2)
bool extendedAccelDrawLine (int x1, int y1, int x2, int y2)
bool blit_text (string &text, int len, int x, int y)
bool blit_text_with_shadow (string &text, int len, int x, int y)
void init (MMSFBSurfaceAllocatedBy allocated_by, MMSFBSurface *parent, MMSFBRectangle *sub_surface_rect)
void lock (MMSFBLockFlags flags, MMSFBSurfacePlanes *planes, bool pthread_lock)
void unlock (bool pthread_unlock)
void processSwapDisplay (void *in_data, int in_data_len, void **out_data, int *out_data_len)
void swapDisplay (bool vsync)
bool doClear (unsigned char r=0, unsigned char g=0, unsigned char b=0, unsigned char a=0)
bool finClear (MMSFBRectangle *check_rect=NULL, bool test=false)
bool blitARGBtoARGB (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoARGB_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoARGB_BLEND_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoAiRGB_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoRGB32 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoRGB32_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoRGB32_BLEND_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoRGB32_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoRGB16 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoRGB16_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoARGB3565 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoARGB3565_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoYV12 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoYV12_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoYV12_BLEND_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoRGB24 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoRGB24_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoBGR24_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoBGR24_BLEND_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGBtoBGR555_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitRGB32toARGB (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitRGB32toRGB32 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitRGB32toRGB32_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitRGB16toRGB16 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitRGB16toARGB (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitRGB16toRGB32 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitAiRGBtoAiRGB (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitAiRGBtoAiRGB_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitAiRGBtoAiRGB_BLEND_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitAiRGBtoARGB (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitAiRGBtoARGB_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitAiRGBtoRGB16 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitAiRGBtoRGB16_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitAYUVtoAYUV (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitAYUVtoAYUV_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitAYUVtoAYUV_BLEND_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitAYUVtoRGB16 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitAYUVtoRGB16_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitAYUVtoYV12_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitAYUVtoYV12_BLEND_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitYV12toYV12 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitYV12toRGB32 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitI420toI420 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitI420toYV12 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitYUY2toYUY2 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitYUY2toYV12 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitRGB24toRGB24 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitRGB24toARGB (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitRGB24toRGB32 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitRGB24toYV12 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitBGR24toBGR24 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitBGR24toBGR24_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGB3565toARGB3565 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGB4444toARGB4444 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGB4444toARGB4444_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGB4444toARGB4444_BLEND_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGB4444toRGB32_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitARGB4444toRGB32_BLEND_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool blitBGR555toBGR555 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int x, int y)
bool stretchBlitARGBtoARGB (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitARGBtoARGB_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitARGBtoARGB_BLEND_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitARGBtoRGB32_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitRGB32toRGB32 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitRGB24toARGB (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitRGB24toRGB32 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitAiRGBtoAiRGB (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitAiRGBtoAiRGB_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitAiRGBtoAiRGB_BLEND_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitAYUVtoAYUV (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitAYUVtoAYUV_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitAYUVtoAYUV_BLEND_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitYV12toYV12 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitI420toYV12 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitYUY2toYV12 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitARGB4444toARGB4444_BLEND (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitARGB4444toARGB4444_BLEND_COLORALPHA (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool stretchBlitRGB16toRGB16 (MMSFBSurface *source, MMSFBSurfacePlanes *src_planes, MMSFBSurfacePixelFormat src_pixelformat, int src_width, int src_height, int sx, int sy, int sw, int sh, int dx, int dy, int dw, int dh, bool antialiasing)
bool fillRectangleARGB (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleARGB_BLEND (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleAYUV (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleAYUV_BLEND (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleRGB32 (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleRGB24 (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleRGB16 (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleRGB16_BLEND (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleYV12 (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleI420 (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleYUY2 (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleARGB3565 (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleARGB4444 (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleARGB4444_BLEND (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleBGR24 (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)
bool fillRectangleBGR555 (int dst_height, int dx, int dy, int dw, int dh, MMSFBColor &color)

Private Attributes

IDirectFBSurface * dfb_surface
 dfb surface for drawing/blitting
MMSThreadServerfbdev_ts
 separate thread used for display panning
MMSFBSurfaceAllocatedBy allocated_by
 which system has allocated the memory?
bool initialized
 surface initialized?
bool surface_read_locked
int surface_read_lock_cnt
bool surface_write_locked
int surface_write_lock_cnt
bool surface_invert_lock
MMSFBSurfacescaler
class MMSFBLayerlayer
MMSFBSurfaceConfig config
 surface configuration
MMSFBFlipFlags flipflags
 flags which are used when flipping
MMSMutex Lock
 to make it thread-safe
unsigned long TID
 save the id of the thread which has locked the surface
int Lock_cnt
 count the number of times the thread has call lock()
bool is_sub_surface
 is it a sub surface?
MMSFBSurfaceparent
 parent surface in case of subsurface
MMSFBSurfaceroot_parent
 root parent surface in case of subsurface
MMSFBRectangle sub_surface_rect
 sub surface position and size relative to the parent
int sub_surface_xoff
 x offset which is added to sub_surface_rect
int sub_surface_yoff
 y offset which is added to sub_surface_rect
vector< MMSFBSurface * > children
 list of sub surfaces connected to this surface
CLEAR_REQUEST clear_request

Static Private Attributes

static bool extendedaccel = false
static MMSFBSurfaceAllocMethod allocmethod = MMSFBSurfaceAllocMethod_malloc

Friends

class MMSFBLayer
class MMSFBSurfaceManager
class MMSFBWindowManager
class MMSFBBackEndInterface
class MMSPerf

Classes

struct  CLEAR_REQUEST

Detailed Description

This class describes a surface.

Author:
Jens Schneider

Definition at line 188 of file mmsfbsurface.h.


Constructor & Destructor Documentation

MMSFBSurface::MMSFBSurface ( int  w,
int  h,
MMSFBSurfacePixelFormat  pixelformat,
int  backbuffer = 0,
bool  systemonly = true 
)

Definition at line 96 of file mmsfbsurface.cpp.

MMSFBSurface::MMSFBSurface ( IDirectFBSurface *  dfb_surface,
MMSFBSurface parent = NULL,
MMSFBRectangle sub_surface_rect = NULL 
)

Definition at line 227 of file mmsfbsurface.cpp.

MMSFBSurface::MMSFBSurface ( MMSFBSurface parent = NULL,
MMSFBRectangle sub_surface_rect = NULL 
)

Definition at line 247 of file mmsfbsurface.cpp.

MMSFBSurface::MMSFBSurface ( int  w,
int  h,
MMSFBSurfacePixelFormat  pixelformat,
MMSFBSurfacePlanes planes 
)

Definition at line 329 of file mmsfbsurface.cpp.

MMSFBSurface::MMSFBSurface ( int  w,
int  h,
MMSFBSurfacePixelFormat  pixelformat,
int  backbuffer,
MMSFBSurfacePlanes planes 
)

Definition at line 273 of file mmsfbsurface.cpp.

MMSFBSurface::MMSFBSurface ( int  w,
int  h,
MMSFBSurfacePixelFormat  pixelformat,
XImage *  x_image1,
XImage *  x_image2,
MMSFBSurface scaler 
)

Definition at line 381 of file mmsfbsurface.cpp.

MMSFBSurface::MMSFBSurface ( int  w,
int  h,
MMSFBSurfaceAllocatedBy  allocated_by 
)

Definition at line 448 of file mmsfbsurface.cpp.

MMSFBSurface::~MMSFBSurface (  )  [virtual]

Definition at line 493 of file mmsfbsurface.cpp.


Member Function Documentation

void MMSFBSurface::createSurfaceBuffer (  )  [private]

Definition at line 623 of file mmsfbsurface.cpp.

void MMSFBSurface::freeSurfaceBuffer (  )  [private]

Definition at line 654 of file mmsfbsurface.cpp.

void MMSFBSurface::deleteSubSurface ( MMSFBSurface surface  )  [private]

Definition at line 714 of file mmsfbsurface.cpp.

int MMSFBSurface::calcPitch ( int  width  )  [private]

Definition at line 732 of file mmsfbsurface.cpp.

int MMSFBSurface::calcSize ( int  pitch,
int  height 
) [private]

Definition at line 824 of file mmsfbsurface.cpp.

void MMSFBSurface::initPlanePointers ( MMSFBSurfacePlanes planes,
int  height 
) [private]

Definition at line 854 of file mmsfbsurface.cpp.

void MMSFBSurface::getRealSubSurfacePos ( MMSFBSurface surface = NULL,
bool  refreshChilds = false 
) [private]

Definition at line 876 of file mmsfbsurface.cpp.

bool MMSFBSurface::clipSubSurface ( MMSFBRegion region,
bool  regionset,
MMSFBRegion tmp,
bool *  tmpset 
) [private]

Definition at line 892 of file mmsfbsurface.cpp.

bool MMSFBSurface::setWinSurface ( bool  iswinsurface = true  )  [private]

Definition at line 1238 of file mmsfbsurface.cpp.

bool MMSFBSurface::setLayerSurface ( bool  islayersurface = true  )  [private]

Definition at line 1249 of file mmsfbsurface.cpp.

bool MMSFBSurface::checkDrawingStatus ( int  x,
int  y,
int  w,
int  h,
MMSFBRectangle crect,
MMSFBDrawingFlags drawingflags,
MMSFBColor color = NULL,
bool  force_cleaning = false 
) [private]

Definition at line 2009 of file mmsfbsurface.cpp.

bool MMSFBSurface::checkBlittingStatus ( bool  src_opaque,
bool  src_transparent,
int  x,
int  y,
int  w,
int  h,
MMSFBRectangle crect,
MMSFBBlittingFlags blittingflags 
) [private]

Definition at line 4430 of file mmsfbsurface.cpp.

bool MMSFBSurface::checkBlittingStatus ( MMSFBSurface source,
int  x,
int  y,
int  w,
int  h,
MMSFBRectangle crect,
MMSFBBlittingFlags blittingflags 
) [private]

Definition at line 4503 of file mmsfbsurface.cpp.

bool MMSFBSurface::extendedLock ( MMSFBSurface src,
MMSFBSurfacePlanes src_planes,
MMSFBSurface dst,
MMSFBSurfacePlanes dst_planes 
) [private]

Definition at line 2478 of file mmsfbsurface.cpp.

void MMSFBSurface::extendedUnlock ( MMSFBSurface src,
MMSFBSurface dst,
MMSFBSurfacePlanes dst_planes = NULL 
) [private]

Definition at line 2510 of file mmsfbsurface.cpp.

bool MMSFBSurface::printMissingCombination ( string  method,
MMSFBSurface source = NULL,
MMSFBSurfacePlanes src_planes = NULL,
MMSFBSurfacePixelFormat  src_pixelformat = MMSFB_PF_NONE,
int  src_width = 0,
int  src_height = 0,
MMSFBBlittingFlags  blittingflags = MMSFB_BLIT_NOFX 
) [private]

Definition at line 2530 of file mmsfbsurface.cpp.

bool MMSFBSurface::extendedAccelBlitEx ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
MMSFBRectangle src_rect,
int  x,
int  y,
MMSFBBlittingFlags  blittingflags 
) [private]

Definition at line 2629 of file mmsfbsurface.cpp.

bool MMSFBSurface::extendedAccelBlit ( MMSFBSurface source,
MMSFBRectangle src_rect,
int  x,
int  y,
MMSFBBlittingFlags  blittingflags 
) [private]

Definition at line 3476 of file mmsfbsurface.cpp.

bool MMSFBSurface::extendedAccelBlitBuffer ( MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
MMSFBRectangle src_rect,
int  x,
int  y,
MMSFBBlittingFlags  blittingflags 
) [private]

Definition at line 3490 of file mmsfbsurface.cpp.

bool MMSFBSurface::extendedAccelStretchBlitEx ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
MMSFBRectangle src_rect,
MMSFBRectangle dest_rect,
MMSFBRectangle real_dest_rect,
bool  calc_dest_rect 
) [private]

Definition at line 3508 of file mmsfbsurface.cpp.

bool MMSFBSurface::extendedAccelStretchBlit ( MMSFBSurface source,
MMSFBRectangle src_rect,
MMSFBRectangle dest_rect,
MMSFBRectangle real_dest_rect,
bool  calc_dest_rect 
) [private]

Definition at line 3967 of file mmsfbsurface.cpp.

bool MMSFBSurface::extendedAccelStretchBlitBuffer ( MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
MMSFBRectangle src_rect,
MMSFBRectangle dest_rect,
MMSFBRectangle real_dest_rect,
bool  calc_dest_rect 
) [private]

Definition at line 3983 of file mmsfbsurface.cpp.

bool MMSFBSurface::extendedAccelFillRectangleEx ( int  x,
int  y,
int  w,
int  h,
MMSFBDrawingFlags  drawingflags,
MMSFBColor col 
) [private]

Definition at line 4003 of file mmsfbsurface.cpp.

bool MMSFBSurface::extendedAccelFillRectangle ( int  x,
int  y,
int  w,
int  h,
MMSFBDrawingFlags  drawingflags,
MMSFBColor color = NULL 
) [private]

Definition at line 4217 of file mmsfbsurface.cpp.

bool MMSFBSurface::extendedAccelDrawLineEx ( int  x1,
int  y1,
int  x2,
int  y2 
) [private]

Definition at line 4233 of file mmsfbsurface.cpp.

bool MMSFBSurface::extendedAccelDrawLine ( int  x1,
int  y1,
int  x2,
int  y2 
) [private]

Definition at line 4352 of file mmsfbsurface.cpp.

bool MMSFBSurface::blit_text ( string &  text,
int  len,
int  x,
int  y 
) [private]

Definition at line 6347 of file mmsfbsurface.cpp.

bool MMSFBSurface::blit_text_with_shadow ( string &  text,
int  len,
int  x,
int  y 
) [private]

Definition at line 6538 of file mmsfbsurface.cpp.

void MMSFBSurface::init ( MMSFBSurfaceAllocatedBy  allocated_by,
MMSFBSurface parent,
MMSFBRectangle sub_surface_rect 
) [private]

Definition at line 526 of file mmsfbsurface.cpp.

void MMSFBSurface::lock ( MMSFBLockFlags  flags,
MMSFBSurfacePlanes planes,
bool  pthread_lock 
) [private]

Definition at line 6784 of file mmsfbsurface.cpp.

void MMSFBSurface::unlock ( bool  pthread_unlock  )  [private]

Definition at line 6964 of file mmsfbsurface.cpp.

void MMSFBSurface::processSwapDisplay ( void *  in_data,
int  in_data_len,
void **  out_data,
int *  out_data_len 
) [private]

Definition at line 5187 of file mmsfbsurface.cpp.

void MMSFBSurface::swapDisplay ( bool  vsync  )  [private]

Definition at line 5209 of file mmsfbsurface.cpp.

bool MMSFBSurface::doClear ( unsigned char  r = 0,
unsigned char  g = 0,
unsigned char  b = 0,
unsigned char  a = 0 
) [private]

Definition at line 1408 of file mmsfbsurface.cpp.

bool MMSFBSurface::finClear ( MMSFBRectangle check_rect = NULL,
bool  test = false 
) [private]

Definition at line 1517 of file mmsfbsurface.cpp.

bool MMSFBSurface::isInitialized (  ) 

Definition at line 618 of file mmsfbsurface.cpp.

void * MMSFBSurface::getDFBSurface (  ) 

Definition at line 962 of file mmsfbsurface.cpp.

bool MMSFBSurface::getConfiguration ( MMSFBSurfaceConfig config = NULL  ) 

Definition at line 973 of file mmsfbsurface.cpp.

void MMSFBSurface::setExtendedAcceleration ( bool  extendedaccel  ) 

Definition at line 1200 of file mmsfbsurface.cpp.

bool MMSFBSurface::getExtendedAcceleration (  ) 

Definition at line 1204 of file mmsfbsurface.cpp.

void MMSFBSurface::setAllocMethod ( MMSFBSurfaceAllocMethod  allocmethod  ) 

Definition at line 1208 of file mmsfbsurface.cpp.

MMSFBSurfaceAllocMethod MMSFBSurface::getAllocMethod (  ) 

Definition at line 1214 of file mmsfbsurface.cpp.

bool MMSFBSurface::isWinSurface (  ) 

Definition at line 1218 of file mmsfbsurface.cpp.

bool MMSFBSurface::isLayerSurface (  ) 

Definition at line 1222 of file mmsfbsurface.cpp.

bool MMSFBSurface::isSubSurface (  ) 

Definition at line 1226 of file mmsfbsurface.cpp.

MMSFBSurface * MMSFBSurface::getParent (  ) 

Definition at line 1230 of file mmsfbsurface.cpp.

MMSFBSurface * MMSFBSurface::getRootParent (  ) 

Definition at line 1234 of file mmsfbsurface.cpp.

bool MMSFBSurface::isOpaque (  ) 

Definition at line 1261 of file mmsfbsurface.cpp.

bool MMSFBSurface::getPixelFormat ( MMSFBSurfacePixelFormat pf  ) 

Definition at line 1271 of file mmsfbsurface.cpp.

bool MMSFBSurface::getSize ( int *  w,
int *  h 
)

Definition at line 1282 of file mmsfbsurface.cpp.

bool MMSFBSurface::getNumberOfBuffers ( int *  num  ) 

Definition at line 1294 of file mmsfbsurface.cpp.

bool MMSFBSurface::getMemSize ( int *  size  ) 

Definition at line 1305 of file mmsfbsurface.cpp.

bool MMSFBSurface::setFlipFlags ( MMSFBFlipFlags  flags  ) 

Definition at line 1321 of file mmsfbsurface.cpp.

bool MMSFBSurface::calcClip ( int  x,
int  y,
int  w,
int  h,
MMSFBRectangle crect 
)

Get the clipping rectangle.

Returns:
true, if clipping rectangle (crect) is set

false, if the rectangle described with x,y,w,h is outside of the surface or clipping rectangle

Definition at line 1328 of file mmsfbsurface.cpp.

bool MMSFBSurface::clear ( unsigned char  r = 0,
unsigned char  g = 0,
unsigned char  b = 0,
unsigned char  a = 0 
)

Definition at line 1599 of file mmsfbsurface.cpp.

bool MMSFBSurface::setColor ( unsigned char  r,
unsigned char  g,
unsigned char  b,
unsigned char  a 
)

Definition at line 1656 of file mmsfbsurface.cpp.

bool MMSFBSurface::setColor ( MMSFBColor color  ) 

Definition at line 1700 of file mmsfbsurface.cpp.

bool MMSFBSurface::getColor ( MMSFBColor color  ) 

Definition at line 1704 of file mmsfbsurface.cpp.

bool MMSFBSurface::setShadowColor ( MMSFBColor shadow_top_color,
MMSFBColor shadow_bottom_color,
MMSFBColor shadow_left_color,
MMSFBColor shadow_right_color,
MMSFBColor shadow_top_left_color,
MMSFBColor shadow_top_right_color,
MMSFBColor shadow_bottom_left_color,
MMSFBColor shadow_bottom_right_color 
)

Definition at line 1715 of file mmsfbsurface.cpp.

bool MMSFBSurface::setClip ( MMSFBRegion clip  ) 

Definition at line 1737 of file mmsfbsurface.cpp.

bool MMSFBSurface::setClip ( int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 1775 of file mmsfbsurface.cpp.

bool MMSFBSurface::getClip ( MMSFBRegion clip  ) 

Definition at line 1784 of file mmsfbsurface.cpp.

bool MMSFBSurface::setDrawingFlags ( MMSFBDrawingFlags  flags  ) 

Definition at line 1804 of file mmsfbsurface.cpp.

bool MMSFBSurface::drawLine ( int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 1838 of file mmsfbsurface.cpp.

bool MMSFBSurface::drawRectangle ( int  x,
int  y,
int  w,
int  h 
)

Definition at line 1954 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangle ( int  x = 0,
int  y = 0,
int  w = 0,
int  h = 0 
)

Definition at line 2130 of file mmsfbsurface.cpp.

bool MMSFBSurface::drawTriangle ( int  x1,
int  y1,
int  x2,
int  y2,
int  x3,
int  y3 
)

Definition at line 2234 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillTriangle ( int  x1,
int  y1,
int  x2,
int  y2,
int  x3,
int  y3 
)

Definition at line 2280 of file mmsfbsurface.cpp.

bool MMSFBSurface::drawCircle ( int  x,
int  y,
int  radius,
int  start_octant = 0,
int  end_octant = 7 
)

Definition at line 2362 of file mmsfbsurface.cpp.

bool MMSFBSurface::setBlittingFlags ( MMSFBBlittingFlags  flags  ) 

Definition at line 2427 of file mmsfbsurface.cpp.

bool MMSFBSurface::getBlittingFlags ( MMSFBBlittingFlags flags  ) 

Definition at line 2463 of file mmsfbsurface.cpp.

bool MMSFBSurface::blit ( MMSFBSurface source,
MMSFBRectangle src_rect = NULL,
int  x = 0,
int  y = 0 
)

Definition at line 4510 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitBuffer ( MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
MMSFBRectangle src_rect = NULL,
int  x = 0,
int  y = 0,
bool  opaque = false 
)

Definition at line 4650 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitBuffer ( void *  src_ptr,
int  src_pitch,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
MMSFBRectangle src_rect = NULL,
int  x = 0,
int  y = 0,
bool  opaque = false 
)

Definition at line 4742 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlit ( MMSFBSurface source,
MMSFBRectangle src_rect = NULL,
MMSFBRectangle dest_rect = NULL,
MMSFBRectangle real_dest_rect = NULL,
bool  calc_dest_rect = false 
)

Definition at line 4748 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitBuffer ( MMSFBExternalSurfaceBuffer *  extbuf,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
MMSFBRectangle src_rect,
MMSFBRectangle dest_rect,
MMSFBRectangle real_dest_rect = NULL,
bool  calc_dest_rect = false 
)

Definition at line 5057 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitBuffer ( void *  src_ptr,
int  src_pitch,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
MMSFBRectangle src_rect,
MMSFBRectangle dest_rect,
MMSFBRectangle real_dest_rect = NULL,
bool  calc_dest_rect = false 
)

Definition at line 5175 of file mmsfbsurface.cpp.

bool MMSFBSurface::renderScene ( MMS_VERTEX_ARRAY **  varrays,
MMS_INDEX_ARRAY **  iarrays,
MMS3D_MATERIAL materials,
MMSFBSurface **  textures,
MMS3D_OBJECT **  objects 
)

Definition at line 4367 of file mmsfbsurface.cpp.

bool MMSFBSurface::merge ( MMSFBSurface source1,
MMSFBSurface source2,
MMSFBMergingMode  mergingmode 
)

Definition at line 4400 of file mmsfbsurface.cpp.

bool MMSFBSurface::flip ( MMSFBRegion region = NULL  ) 

Definition at line 5257 of file mmsfbsurface.cpp.

bool MMSFBSurface::flip ( int  x1,
int  y1,
int  x2,
int  y2 
)

Definition at line 5869 of file mmsfbsurface.cpp.

bool MMSFBSurface::refresh (  ) 

Definition at line 5875 of file mmsfbsurface.cpp.

bool MMSFBSurface::createCopy ( MMSFBSurface **  dstsurface,
int  w = 0,
int  h = 0,
bool  copycontent = false,
bool  withbackbuffer = false,
MMSFBSurfacePixelFormat  pixelformat = MMSFB_PF_NONE 
)

Definition at line 5997 of file mmsfbsurface.cpp.

bool MMSFBSurface::resize ( int  w = 0,
int  h = 0 
)

Definition at line 6041 of file mmsfbsurface.cpp.

void MMSFBSurface::modulateBrightness ( MMSFBColor color,
unsigned char  brightness 
)

Definition at line 6105 of file mmsfbsurface.cpp.

void MMSFBSurface::modulateOpacity ( MMSFBColor color,
unsigned char  opacity 
)

Definition at line 6134 of file mmsfbsurface.cpp.

bool MMSFBSurface::setBlittingFlagsByBrightnessAlphaAndOpacity ( unsigned char  brightness,
unsigned char  alpha,
unsigned char  opacity 
)

Definition at line 6154 of file mmsfbsurface.cpp.

bool MMSFBSurface::setBlittingFlagsByBrightnessAlphaAndOpacityAndSource ( unsigned char  brightness,
unsigned char  alpha,
unsigned char  opacity,
MMSFBSurface source 
)

Definition at line 6186 of file mmsfbsurface.cpp.

bool MMSFBSurface::setDrawingFlagsByAlpha ( unsigned char  alpha  ) 

Definition at line 6238 of file mmsfbsurface.cpp.

bool MMSFBSurface::setDrawingColorAndFlagsByBrightnessAndOpacity ( MMSFBColor  color,
unsigned char  brightness,
unsigned char  opacity 
)

Definition at line 6262 of file mmsfbsurface.cpp.

bool MMSFBSurface::setDrawingColorAndFlagsByBrightnessAndOpacity ( MMSFBColor  color,
MMSFBColor  shadow_top_color,
MMSFBColor  shadow_bottom_color,
MMSFBColor  shadow_left_color,
MMSFBColor  shadow_right_color,
MMSFBColor  shadow_top_left_color,
MMSFBColor  shadow_top_right_color,
MMSFBColor  shadow_bottom_left_color,
MMSFBColor  shadow_bottom_right_color,
unsigned char  brightness,
unsigned char  opacity 
)

Definition at line 6284 of file mmsfbsurface.cpp.

bool MMSFBSurface::setFont ( MMSFBFont font  ) 

Definition at line 6319 of file mmsfbsurface.cpp.

bool MMSFBSurface::drawString ( string  text,
int  len,
int  x,
int  y 
)

Definition at line 6697 of file mmsfbsurface.cpp.

void MMSFBSurface::lock ( MMSFBLockFlags  flags = MMSFB_LOCK_NONE,
void **  ptr = NULL,
int *  pitch = NULL 
)

Definition at line 6911 of file mmsfbsurface.cpp.

void MMSFBSurface::lock ( MMSFBLockFlags  flags,
MMSFBSurfacePlanes planes 
)

Definition at line 6925 of file mmsfbsurface.cpp.

bool MMSFBSurface::tryToLock (  ) 

Definition at line 6929 of file mmsfbsurface.cpp.

void MMSFBSurface::unlock (  ) 

Definition at line 7016 of file mmsfbsurface.cpp.

unsigned int MMSFBSurface::getNumberOfSubSurfaces (  ) 

Definition at line 7020 of file mmsfbsurface.cpp.

MMSFBSurface * MMSFBSurface::getSubSurface ( MMSFBRectangle rect  ) 

Definition at line 7024 of file mmsfbsurface.cpp.

bool MMSFBSurface::setSubSurface ( MMSFBRectangle rect  ) 

Definition at line 7066 of file mmsfbsurface.cpp.

bool MMSFBSurface::setSubSurface ( MMSFBRegion region  ) 

Definition at line 7116 of file mmsfbsurface.cpp.

bool MMSFBSurface::moveTo ( int  x,
int  y 
)

Definition at line 7130 of file mmsfbsurface.cpp.

bool MMSFBSurface::move ( int  x,
int  y 
)

Definition at line 7140 of file mmsfbsurface.cpp.

bool MMSFBSurface::dump2fcb ( bool(*)(char *, int, void *, int *)  fcb,
void *  argp,
int *  argi,
int  x,
int  y,
int  w,
int  h,
MMSFBSurfaceDumpMode  dumpmode 
)

Definition at line 7151 of file mmsfbsurface.cpp.

int MMSFBSurface::dump2buffer ( char *  buffer,
int  buffer_len,
int  x = 0,
int  y = 0,
int  w = 0,
int  h = 0,
MMSFBSurfaceDumpMode  dumpmode = MMSFBSURFACE_DUMPMODE_BYTE 
)

Definition at line 7348 of file mmsfbsurface.cpp.

bool MMSFBSurface::dump2file ( string  filename,
int  x = 0,
int  y = 0,
int  w = 0,
int  h = 0,
MMSFBSurfaceDumpMode  dumpmode = MMSFBSURFACE_DUMPMODE_BYTE 
)

Definition at line 7364 of file mmsfbsurface.cpp.

bool MMSFBSurface::dump2file ( string  filename,
MMSFBSurfaceDumpMode  dumpmode 
)

Definition at line 7377 of file mmsfbsurface.cpp.

bool MMSFBSurface::dump ( int  x = 0,
int  y = 0,
int  w = 0,
int  h = 0,
MMSFBSurfaceDumpMode  dumpmode = MMSFBSURFACE_DUMPMODE_BYTE 
)

Definition at line 7387 of file mmsfbsurface.cpp.

bool MMSFBSurface::dump ( MMSFBSurfaceDumpMode  dumpmode  ) 

Definition at line 7396 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoARGB ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7437 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoARGB_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7463 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoARGB_BLEND_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7489 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoAiRGB_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7517 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoRGB32 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7546 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoRGB32_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7574 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoRGB32_BLEND_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7602 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoRGB32_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7631 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoRGB16 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7660 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoRGB16_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7687 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoARGB3565 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7714 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoARGB3565_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7742 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoYV12 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7771 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoYV12_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7799 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoYV12_BLEND_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7827 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoRGB24 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7856 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoRGB24_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7884 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoBGR24_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7912 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoBGR24_BLEND_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7940 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGBtoBGR555_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7969 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitRGB32toARGB ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8023 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitRGB32toRGB32 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 7997 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitRGB32toRGB32_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8049 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitRGB16toRGB16 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8076 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitRGB16toARGB ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8102 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitRGB16toRGB32 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8130 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitAiRGBtoAiRGB ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8158 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitAiRGBtoAiRGB_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8183 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitAiRGBtoAiRGB_BLEND_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8208 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitAiRGBtoARGB ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8234 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitAiRGBtoARGB_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8262 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitAiRGBtoRGB16 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8290 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitAiRGBtoRGB16_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8317 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitAYUVtoAYUV ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8344 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitAYUVtoAYUV_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8369 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitAYUVtoAYUV_BLEND_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8394 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitAYUVtoRGB16 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8420 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitAYUVtoRGB16_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8447 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitAYUVtoYV12_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8474 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitAYUVtoYV12_BLEND_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8501 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitYV12toYV12 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8529 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitYV12toRGB32 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8554 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitI420toI420 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8581 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitI420toYV12 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8606 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitYUY2toYUY2 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8634 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitYUY2toYV12 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8660 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitRGB24toRGB24 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8688 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitRGB24toARGB ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8713 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitRGB24toRGB32 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8740 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitRGB24toYV12 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8767 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitBGR24toBGR24 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8795 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitBGR24toBGR24_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8821 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGB3565toARGB3565 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8848 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGB4444toARGB4444 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8873 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGB4444toARGB4444_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8899 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGB4444toARGB4444_BLEND_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8925 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGB4444toRGB32_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8952 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitARGB4444toRGB32_BLEND_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 8980 of file mmsfbsurface.cpp.

bool MMSFBSurface::blitBGR555toBGR555 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  x,
int  y 
) [private]

Definition at line 9009 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitARGBtoARGB ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9037 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitARGBtoARGB_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9067 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitARGBtoARGB_BLEND_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9095 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitARGBtoRGB32_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9124 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitRGB32toRGB32 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9154 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitRGB24toARGB ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9183 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitRGB24toRGB32 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9214 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitAiRGBtoAiRGB ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9246 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitAiRGBtoAiRGB_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9275 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitAiRGBtoAiRGB_BLEND_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9303 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitAYUVtoAYUV ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9332 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitAYUVtoAYUV_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9361 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitAYUVtoAYUV_BLEND_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9389 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitYV12toYV12 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9418 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitI420toYV12 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9446 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitYUY2toYV12 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9476 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitARGB4444toARGB4444_BLEND ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9507 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitARGB4444toARGB4444_BLEND_COLORALPHA ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9536 of file mmsfbsurface.cpp.

bool MMSFBSurface::stretchBlitRGB16toRGB16 ( MMSFBSurface source,
MMSFBSurfacePlanes src_planes,
MMSFBSurfacePixelFormat  src_pixelformat,
int  src_width,
int  src_height,
int  sx,
int  sy,
int  sw,
int  sh,
int  dx,
int  dy,
int  dw,
int  dh,
bool  antialiasing 
) [private]

Definition at line 9565 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleARGB ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9595 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleARGB_BLEND ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9614 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleAYUV ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9633 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleAYUV_BLEND ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9652 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleRGB32 ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9671 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleRGB24 ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9690 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleRGB16 ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9709 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleRGB16_BLEND ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9728 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleYV12 ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9747 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleI420 ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9766 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleYUY2 ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9785 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleARGB3565 ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9804 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleARGB4444 ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9823 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleARGB4444_BLEND ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9842 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleBGR24 ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9861 of file mmsfbsurface.cpp.

bool MMSFBSurface::fillRectangleBGR555 ( int  dst_height,
int  dx,
int  dy,
int  dw,
int  dh,
MMSFBColor color 
) [private]

Definition at line 9880 of file mmsfbsurface.cpp.


Friends And Related Function Documentation

friend class MMSFBLayer [friend]

Definition at line 507 of file mmsfbsurface.h.

friend class MMSFBSurfaceManager [friend]

Definition at line 508 of file mmsfbsurface.h.

friend class MMSFBWindowManager [friend]

Definition at line 509 of file mmsfbsurface.h.

friend class MMSFBBackEndInterface [friend]

Definition at line 510 of file mmsfbsurface.h.

friend class MMSPerf [friend]

Definition at line 511 of file mmsfbsurface.h.


Member Data Documentation

IDirectFBSurface* MMSFBSurface::dfb_surface [private]

dfb surface for drawing/blitting

Definition at line 192 of file mmsfbsurface.h.

separate thread used for display panning

Definition at line 202 of file mmsfbsurface.h.

which system has allocated the memory?

Definition at line 206 of file mmsfbsurface.h.

bool MMSFBSurface::initialized [private]

surface initialized?

Definition at line 209 of file mmsfbsurface.h.

Definition at line 212 of file mmsfbsurface.h.

Definition at line 213 of file mmsfbsurface.h.

Definition at line 214 of file mmsfbsurface.h.

Definition at line 215 of file mmsfbsurface.h.

Definition at line 216 of file mmsfbsurface.h.

Definition at line 219 of file mmsfbsurface.h.

class MMSFBLayer* MMSFBSurface::layer [private]

Definition at line 221 of file mmsfbsurface.h.

surface configuration

Definition at line 223 of file mmsfbsurface.h.

bool MMSFBSurface::extendedaccel = false [static, private]

Definition at line 226 of file mmsfbsurface.h.

MMSFBSurfaceAllocMethod MMSFBSurface::allocmethod = MMSFBSurfaceAllocMethod_malloc [static, private]

Definition at line 229 of file mmsfbsurface.h.

flags which are used when flipping

Definition at line 294 of file mmsfbsurface.h.

to make it thread-safe

Definition at line 297 of file mmsfbsurface.h.

unsigned long MMSFBSurface::TID [private]

save the id of the thread which has locked the surface

Definition at line 299 of file mmsfbsurface.h.

int MMSFBSurface::Lock_cnt [private]

count the number of times the thread has call lock()

Definition at line 301 of file mmsfbsurface.h.

is it a sub surface?

Definition at line 304 of file mmsfbsurface.h.

parent surface in case of subsurface

Definition at line 306 of file mmsfbsurface.h.

root parent surface in case of subsurface

Definition at line 308 of file mmsfbsurface.h.

sub surface position and size relative to the parent

Definition at line 310 of file mmsfbsurface.h.

x offset which is added to sub_surface_rect

Definition at line 312 of file mmsfbsurface.h.

y offset which is added to sub_surface_rect

Definition at line 314 of file mmsfbsurface.h.

vector<MMSFBSurface *> MMSFBSurface::children [private]

list of sub surfaces connected to this surface

Definition at line 316 of file mmsfbsurface.h.

Definition at line 328 of file mmsfbsurface.h.


The documentation for this class was generated from the following files: