#include "mmstools/mmslogger.h"
#include "mmstools/mmsthreadserver.h"
#include "mmsgui/fb/mmsfbbase.h"
#include "mmsgui/fb/mmsfbfont.h"
#include "mmsgui/fb/mmsfbconv.h"
#include "mmsgui/fb/mmsfbgl.h"
Go to the source code of this file.
Classes | |
struct | MMSFBSurfaceBuffer |
struct | MMSFBSurfaceConfig |
class | MMSFBSurface |
This class describes a surface. More... | |
struct | MMSFBSurface::CLEAR_REQUEST |
Defines | |
#define | MMSFBSurfaceMaxBuffers 3 |
this is the maximum number of buffers for a surface (backbuffers + 1) | |
#define | MMSFBSURFACE_WRITE_BUFFER(surface) surface->config.surface_buffer->buffers[surface->config.surface_buffer->currbuffer_write] |
get access to the current write buffer | |
#define | MMSFBSURFACE_READ_BUFFER(surface) surface->config.surface_buffer->buffers[surface->config.surface_buffer->currbuffer_read] |
get access to the current read buffer | |
Enumerations | |
enum | MMSFBSurfaceAllocMethod { MMSFBSurfaceAllocMethod_dfb = 0, MMSFBSurfaceAllocMethod_malloc, MMSFBSurfaceAllocMethod_ogl } |
enum | MMSFBSurfaceAllocatedBy { MMSFBSurfaceAllocatedBy_dfb = 0, MMSFBSurfaceAllocatedBy_malloc, MMSFBSurfaceAllocatedBy_xvimage, MMSFBSurfaceAllocatedBy_ximage, MMSFBSurfaceAllocatedBy_ogl } |
enum | MMSFBSurfaceDumpMode { MMSFBSURFACE_DUMPMODE_BYTE = 0, MMSFBSURFACE_DUMPMODE_PIXEL } |
dump mode More... | |
Functions | |
bool | mmsfb_create_cached_surface (MMSFBSurface **cs, int width, int height, MMSFBSurfacePixelFormat pixelformat) |
#define MMSFBSURFACE_READ_BUFFER | ( | surface | ) | surface->config.surface_buffer->buffers[surface->config.surface_buffer->currbuffer_read] |
#define MMSFBSURFACE_WRITE_BUFFER | ( | surface | ) | surface->config.surface_buffer->buffers[surface->config.surface_buffer->currbuffer_write] |
#define MMSFBSurfaceMaxBuffers 3 |
this is the maximum number of buffers for a surface (backbuffers + 1)
Definition at line 77 of file mmsfbsurface.h.
Definition at line 55 of file mmsfbsurface.h.
MMSFBSurfaceAllocMethod_dfb | using directfb surfaces |
MMSFBSurfaceAllocMethod_malloc | using malloc |
MMSFBSurfaceAllocMethod_ogl | using opengl surfaces |
Definition at line 46 of file mmsfbsurface.h.
enum MMSFBSurfaceDumpMode |
dump mode
MMSFBSURFACE_DUMPMODE_BYTE | dump byte-by-byte hex values |
MMSFBSURFACE_DUMPMODE_PIXEL | dump pixels as 1, 2, 3 or 4 byte hex values |
Definition at line 69 of file mmsfbsurface.h.
bool mmsfb_create_cached_surface | ( | MMSFBSurface ** | cs, | |
int | width, | |||
int | height, | |||
MMSFBSurfacePixelFormat | pixelformat | |||
) |
Definition at line 7421 of file mmsfbsurface.cpp.