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 6368 of file mmsfbsurface.cpp.

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

Definition at line 6559 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 6805 of file mmsfbsurface.cpp.

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

Definition at line 6985 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 5218 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 5274 of file mmsfbsurface.cpp.

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

Definition at line 5890 of file mmsfbsurface.cpp.

bool MMSFBSurface::refresh (  ) 

Definition at line 5896 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 6018 of file mmsfbsurface.cpp.

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

Definition at line 6062 of file mmsfbsurface.cpp.

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

Definition at line 6126 of file mmsfbsurface.cpp.

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

Definition at line 6155 of file mmsfbsurface.cpp.

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

Definition at line 6175 of file mmsfbsurface.cpp.

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

Definition at line 6207 of file mmsfbsurface.cpp.

bool MMSFBSurface::setDrawingFlagsByAlpha ( unsigned char  alpha  ) 

Definition at line 6259 of file mmsfbsurface.cpp.

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

Definition at line 6283 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 6305 of file mmsfbsurface.cpp.

bool MMSFBSurface::setFont ( MMSFBFont font  ) 

Definition at line 6340 of file mmsfbsurface.cpp.

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

Definition at line 6718 of file mmsfbsurface.cpp.

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

Definition at line 6932 of file mmsfbsurface.cpp.

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

Definition at line 6946 of file mmsfbsurface.cpp.

bool MMSFBSurface::tryToLock (  ) 

Definition at line 6950 of file mmsfbsurface.cpp.

void MMSFBSurface::unlock (  ) 

Definition at line 7037 of file mmsfbsurface.cpp.

unsigned int MMSFBSurface::getNumberOfSubSurfaces (  ) 

Definition at line 7041 of file mmsfbsurface.cpp.

MMSFBSurface * MMSFBSurface::getSubSurface ( MMSFBRectangle rect  ) 

Definition at line 7045 of file mmsfbsurface.cpp.

bool MMSFBSurface::setSubSurface ( MMSFBRectangle rect  ) 

Definition at line 7087 of file mmsfbsurface.cpp.

bool MMSFBSurface::setSubSurface ( MMSFBRegion region  ) 

Definition at line 7137 of file mmsfbsurface.cpp.

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

Definition at line 7151 of file mmsfbsurface.cpp.

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

Definition at line 7161 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 7172 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 7369 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 7385 of file mmsfbsurface.cpp.

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

Definition at line 7398 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 7408 of file mmsfbsurface.cpp.

bool MMSFBSurface::dump ( MMSFBSurfaceDumpMode  dumpmode  ) 

Definition at line 7417 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 7458 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 7484 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 7510 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 7538 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 7567 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 7595 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 7623 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 7652 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 7681 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 7708 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 7735 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 7763 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 7792 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 7820 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 7848 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 7877 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 7905 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 7933 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 7961 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 7990 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 8044 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 8018 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 8070 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 8097 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 8123 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 8151 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 8179 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 8204 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 8229 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 8255 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 8283 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 8311 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 8338 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 8365 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 8390 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 8415 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 8441 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 8468 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 8495 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 8522 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 8550 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 8575 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 8602 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 8627 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 8655 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 8681 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 8709 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 8734 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 8761 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 8788 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 8816 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 8842 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 8869 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 8894 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 8920 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 8946 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 8973 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 9001 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 9030 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 9058 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 9088 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 9116 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 9145 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 9175 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 9204 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 9235 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 9267 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 9296 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 9324 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 9353 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 9382 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 9410 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 9439 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 9467 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 9497 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 9528 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 9557 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 9586 of file mmsfbsurface.cpp.

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

Definition at line 9616 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 9635 of file mmsfbsurface.cpp.

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

Definition at line 9654 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 9673 of file mmsfbsurface.cpp.

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

Definition at line 9692 of file mmsfbsurface.cpp.

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

Definition at line 9711 of file mmsfbsurface.cpp.

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

Definition at line 9730 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 9749 of file mmsfbsurface.cpp.

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

Definition at line 9768 of file mmsfbsurface.cpp.

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

Definition at line 9787 of file mmsfbsurface.cpp.

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

Definition at line 9806 of file mmsfbsurface.cpp.

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

Definition at line 9825 of file mmsfbsurface.cpp.

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

Definition at line 9844 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 9863 of file mmsfbsurface.cpp.

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

Definition at line 9882 of file mmsfbsurface.cpp.

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

Definition at line 9901 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: