#include <mmsfbdevmatrox.h>
Public Member Functions | |
MMSFBDevMatrox () | |
virtual | ~MMSFBDevMatrox () |
bool | openDevice (char *device_file=NULL, int console=MMSFBDEV_QUERY_CONSOLE) |
void | closeDevice () |
bool | waitForVSync () |
bool | testLayer (int layer_id) |
bool | initLayer (int layer_id, int width, int height, MMSFBSurfacePixelFormat pixelformat, int backbuffer=0) |
bool | releaseLayer (int layer_id) |
bool | restoreLayer (int layer_id) |
Private Member Functions | |
void | buildCRTC2Regs () |
void | setCRTC2Regs () |
void | buildCRTC2Buffer () |
void | setCRTC2Buffer () |
void | switchCRTC2 (bool on) |
bool | enableCRTC2 () |
bool | disableCRTC2 () |
void | setMavenRegs () |
void | enableMaven () |
void | disableMaven () |
Private Attributes | |
bool | scart_rgb_cable |
bool | tv_std_pal |
unsigned char * | mmio_base |
struct { | |
unsigned int c2ctrl | |
unsigned int c2datactrl | |
unsigned int c2misc | |
unsigned int c2offset | |
unsigned int c2hparam | |
unsigned int c2vparam | |
unsigned int c2_plane1_start0 | |
unsigned int c2_plane1_start1 | |
unsigned int c2_plane2_start0 | |
unsigned int c2_plane2_start1 | |
unsigned int c2_plane3_start0 | |
unsigned int c2_plane3_start1 | |
} | crtc2_regs |
Definition at line 111 of file mmsfbdevmatrox.h.
MMSFBDevMatrox::MMSFBDevMatrox | ( | ) |
Definition at line 41 of file mmsfbdevmatrox.cpp.
MMSFBDevMatrox::~MMSFBDevMatrox | ( | ) | [virtual] |
Definition at line 47 of file mmsfbdevmatrox.cpp.
void MMSFBDevMatrox::buildCRTC2Regs | ( | ) | [private] |
Definition at line 252 of file mmsfbdevmatrox.cpp.
void MMSFBDevMatrox::setCRTC2Regs | ( | ) | [private] |
Definition at line 292 of file mmsfbdevmatrox.cpp.
void MMSFBDevMatrox::buildCRTC2Buffer | ( | ) | [private] |
Definition at line 306 of file mmsfbdevmatrox.cpp.
void MMSFBDevMatrox::setCRTC2Buffer | ( | ) | [private] |
Definition at line 340 of file mmsfbdevmatrox.cpp.
void MMSFBDevMatrox::switchCRTC2 | ( | bool | on | ) | [private] |
Definition at line 352 of file mmsfbdevmatrox.cpp.
bool MMSFBDevMatrox::enableCRTC2 | ( | ) | [private] |
Definition at line 374 of file mmsfbdevmatrox.cpp.
bool MMSFBDevMatrox::disableCRTC2 | ( | ) | [private] |
Definition at line 423 of file mmsfbdevmatrox.cpp.
void MMSFBDevMatrox::setMavenRegs | ( | ) | [private] |
Definition at line 450 of file mmsfbdevmatrox.cpp.
void MMSFBDevMatrox::enableMaven | ( | ) | [private] |
Definition at line 588 of file mmsfbdevmatrox.cpp.
void MMSFBDevMatrox::disableMaven | ( | ) | [private] |
Definition at line 604 of file mmsfbdevmatrox.cpp.
bool MMSFBDevMatrox::openDevice | ( | char * | device_file = NULL , |
|
int | console = MMSFBDEV_QUERY_CONSOLE | |||
) | [virtual] |
void MMSFBDevMatrox::closeDevice | ( | ) | [virtual] |
bool MMSFBDevMatrox::waitForVSync | ( | ) | [virtual] |
bool MMSFBDevMatrox::testLayer | ( | int | layer_id | ) | [virtual] |
bool MMSFBDevMatrox::initLayer | ( | int | layer_id, | |
int | width, | |||
int | height, | |||
MMSFBSurfacePixelFormat | pixelformat, | |||
int | backbuffer = 0 | |||
) | [virtual] |
bool MMSFBDevMatrox::releaseLayer | ( | int | layer_id | ) | [virtual] |
bool MMSFBDevMatrox::restoreLayer | ( | int | layer_id | ) | [virtual] |
bool MMSFBDevMatrox::scart_rgb_cable [private] |
Definition at line 113 of file mmsfbdevmatrox.h.
bool MMSFBDevMatrox::tv_std_pal [private] |
Definition at line 114 of file mmsfbdevmatrox.h.
unsigned char* MMSFBDevMatrox::mmio_base [private] |
Definition at line 116 of file mmsfbdevmatrox.h.
unsigned int MMSFBDevMatrox::c2ctrl |
Definition at line 120 of file mmsfbdevmatrox.h.
unsigned int MMSFBDevMatrox::c2datactrl |
Definition at line 121 of file mmsfbdevmatrox.h.
unsigned int MMSFBDevMatrox::c2misc |
Definition at line 122 of file mmsfbdevmatrox.h.
unsigned int MMSFBDevMatrox::c2offset |
Definition at line 123 of file mmsfbdevmatrox.h.
unsigned int MMSFBDevMatrox::c2hparam |
Definition at line 124 of file mmsfbdevmatrox.h.
unsigned int MMSFBDevMatrox::c2vparam |
Definition at line 125 of file mmsfbdevmatrox.h.
unsigned int MMSFBDevMatrox::c2_plane1_start0 |
Definition at line 126 of file mmsfbdevmatrox.h.
unsigned int MMSFBDevMatrox::c2_plane1_start1 |
Definition at line 127 of file mmsfbdevmatrox.h.
unsigned int MMSFBDevMatrox::c2_plane2_start0 |
Definition at line 128 of file mmsfbdevmatrox.h.
unsigned int MMSFBDevMatrox::c2_plane2_start1 |
Definition at line 129 of file mmsfbdevmatrox.h.
unsigned int MMSFBDevMatrox::c2_plane3_start0 |
Definition at line 130 of file mmsfbdevmatrox.h.
unsigned int MMSFBDevMatrox::c2_plane3_start1 |
Definition at line 131 of file mmsfbdevmatrox.h.
struct { ... } MMSFBDevMatrox::crtc2_regs [private] |