#include <qmeegographicssystem.h>
|
static void * | createFenceSync () |
|
static void | destroyFenceSync (void *fenceSync) |
|
static Qt::HANDLE | getLiveTextureHandle (QPixmap *pixmap) |
|
static QImage * | lockLiveTexture (QPixmap *pixmap, void *fenceSync) |
|
static QPixmapData * | pixmapDataFromEGLImage (Qt::HANDLE handle) |
|
static QPixmapData * | pixmapDataFromEGLSharedImage (Qt::HANDLE handle, const QImage &softImage) |
|
static QPixmapData * | pixmapDataFromLiveTextureHandle (Qt::HANDLE handle) |
|
static QPixmapData * | pixmapDataWithGLTexture (int w, int h) |
|
static QPixmapData * | pixmapDataWithNewLiveTexture (int w, int h, QImage::Format format) |
|
static void | registerSwitchCallback (QMeeGoSwitchCallback callback) |
|
static bool | releaseLiveTexture (QPixmap *pixmap, QImage *image) |
|
static QString | runningGraphicsSystemName () |
|
static void | setSurfaceFixedSize (int width, int height) |
|
static void | setSurfaceScaling (int x, int y, int width, int height) |
|
static void | setTranslucent (bool translucent) |
|
static void | switchToMeeGo () |
|
static void | switchToRaster () |
|
static void | updateEGLSharedImagePixmap (QPixmap *pixmap) |
|
static QPixmapData * | wrapPixmapData (QPixmapData *pmd) |
|
static QPixmapData * | createDefaultPixmapData (QPixmapData::PixelType type) |
|
Definition at line 52 of file qmeegographicssystem.h.
◆ SwitchPolicy
◆ QMeeGoGraphicsSystem()
QMeeGoGraphicsSystem::QMeeGoGraphicsSystem |
( |
| ) |
|
◆ ~QMeeGoGraphicsSystem()
QMeeGoGraphicsSystem::~QMeeGoGraphicsSystem |
( |
| ) |
|
Definition at line 77 of file qmeegographicssystem.cpp.
79 qDebug(
"Meego graphics system destroyed");
Q_CORE_EXPORT void qDebug(const char *,...)
void qt_destroy_gl_share_widget()
◆ createFenceSync()
void * QMeeGoGraphicsSystem::createFenceSync |
( |
| ) |
|
|
static |
Definition at line 363 of file qmeegographicssystem.cpp.
Referenced by qt_meego_create_fence_sync().
Q_OPENGL_EXPORT QGLWidget * qt_gl_share_widget()
Q_GUI_EXPORT EGLDisplay display()
static EGLSyncKHR eglCreateSyncKHR(EGLDisplay dpy, EGLenum type, const EGLint *attrib_list)
#define EGL_SYNC_FENCE_KHR
static void ensureInitialized()
◆ createPixmapData() [1/2]
◆ createPixmapData() [2/2]
◆ createWindowSurface()
Implements QGraphicsSystem.
Definition at line 200 of file qmeegographicssystem.cpp.
210 switch_handler()->addWidget(widget);
Q_OPENGL_EXPORT QGLWidget * qt_gl_share_widget()
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
static QApplicationPrivate * instance()
static QString graphics_system_name
The QWindowSurface class provides the drawing area for top-level windows.
static bool surfaceWasCreated
◆ destroyFenceSync()
void QMeeGoGraphicsSystem::destroyFenceSync |
( |
void * |
fenceSync | ) |
|
|
static |
◆ destroySurfaceForLiveTexturePixmap()
static void QMeeGoGraphicsSystem::destroySurfaceForLiveTexturePixmap |
( |
QPixmapData * |
pmd | ) |
|
|
staticprivate |
◆ getLiveTextureHandle()
◆ getSurfaceForLiveTexturePixmap()
static EGLSurface QMeeGoGraphicsSystem::getSurfaceForLiveTexturePixmap |
( |
QPixmap * |
pixmap | ) |
|
|
staticprivate |
◆ lockLiveTexture()
QImage * QMeeGoGraphicsSystem::lockLiveTexture |
( |
QPixmap * |
pixmap, |
|
|
void * |
fenceSync |
|
) |
| |
|
static |
◆ meeGoRunning()
bool QMeeGoGraphicsSystem::meeGoRunning |
( |
| ) |
|
|
staticprivate |
◆ pixmapDataFromEGLImage()
◆ pixmapDataFromEGLSharedImage()
Definition at line 286 of file qmeegographicssystem.cpp.
Referenced by qt_meego_pixmapdata_from_egl_shared_image().
290 qFatal(
"For egl shared images, the soft image has to be ARGB32_Premultiplied or RGB32");
305 qFatal(
"Iternal misalignment of raster data detected. Prolly a QImage copy fail.");
static void registerSharedImage(Qt::HANDLE handle, const QImage &si)
Format format() const
Returns the format of the image.
The QImage class provides a hardware-independent image representation that allows direct access to th...
Q_CORE_EXPORT void qFatal(const char *,...)
static bool meeGoRunning()
void * data_ptr(const QTransform &t)
virtual void fromEGLSharedImage(Qt::HANDLE handle, const QImage &softImage)
static QPixmapData * wrapPixmapData(QPixmapData *pmd)
void fromImage(const QImage &image, Qt::ImageConversionFlags flags)
◆ pixmapDataFromLiveTextureHandle()
◆ pixmapDataWithGLTexture()
QPixmapData * QMeeGoGraphicsSystem::pixmapDataWithGLTexture |
( |
int |
w, |
|
|
int |
h |
|
) |
| |
|
static |
◆ pixmapDataWithNewLiveTexture()
◆ registerSwitchCallback()
◆ releaseLiveTexture()
bool QMeeGoGraphicsSystem::releaseLiveTexture |
( |
QPixmap * |
pixmap, |
|
|
QImage * |
image |
|
) |
| |
|
static |
◆ runningGraphicsSystemName()
QString QMeeGoGraphicsSystem::runningGraphicsSystemName |
( |
| ) |
|
|
static |
Definition at line 377 of file qmeegographicssystem.cpp.
Referenced by meeGoRunning(), and switchToRaster().
380 qWarning(
"Querying graphics system but application not running yet!");
QLatin1String(DBUS_INTERFACE_DBUS))) Q_GLOBAL_STATIC_WITH_ARGS(QString
static QApplicationPrivate * instance()
The QString class provides a Unicode character string.
QString graphicsSystemName() const
Q_CORE_EXPORT void qWarning(const char *,...)
static QString graphics_system_name
static QGraphicsSystem * graphics_system
◆ setSurfaceFixedSize()
void QMeeGoGraphicsSystem::setSurfaceFixedSize |
( |
int |
width, |
|
|
int |
height |
|
) |
| |
|
static |
Definition at line 253 of file qmeegographicssystem.cpp.
Referenced by qt_meego_set_surface_fixed_size().
256 qWarning(
"Trying to set surface fixed size but surface already created!");
260 #ifdef QT_WAS_PATCHED static void setExtraWindowSurfaceCreationProps(QEglProperties *props)
void setValue(int name, int value)
Q_CORE_EXPORT void qWarning(const char *,...)
static const QCssKnownValue properties[NumProperties - 1]
#define EGL_FIXED_HEIGHT_NOK
#define EGL_FIXED_WIDTH_NOK
static bool surfaceWasCreated
◆ setSurfaceScaling()
void QMeeGoGraphicsSystem::setSurfaceScaling |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
width, |
|
|
int |
height |
|
) |
| |
|
static |
Definition at line 268 of file qmeegographicssystem.cpp.
Referenced by qt_meego_set_surface_scaling().
static bool eglSetSurfaceScalingNOK(EGLDisplay dpy, EGLSurface surface, int x, int y, int width, int height)
Q_GUI_EXPORT EGLDisplay display()
static QEglContext * currentContext(QEgl::API api)
static void ensureInitialized()
◆ setTranslucent()
void QMeeGoGraphicsSystem::setTranslucent |
( |
bool |
translucent | ) |
|
|
static |
◆ switchToMeeGo()
void QMeeGoGraphicsSystem::switchToMeeGo |
( |
| ) |
|
|
static |
◆ switchToRaster()
void QMeeGoGraphicsSystem::switchToRaster |
( |
| ) |
|
|
static |
◆ triggerSwitchCallbacks()
void QMeeGoGraphicsSystem::triggerSwitchCallbacks |
( |
int |
type, |
|
|
const char * |
name |
|
) |
| |
|
staticprivate |
Definition at line 434 of file qmeegographicssystem.cpp.
Referenced by switchToMeeGo(), and switchToRaster().
const T & at(int i) const
Returns the item at index position i in the list.
int size() const
Returns the number of items in the list.
static QList< QMeeGoSwitchCallback > switchCallbacks
◆ updateEGLSharedImagePixmap()
void QMeeGoGraphicsSystem::updateEGLSharedImagePixmap |
( |
QPixmap * |
pixmap | ) |
|
|
static |
◆ wrapPixmapData()
◆ liveTexturePixmaps
◆ surfaceWasCreated
bool QMeeGoGraphicsSystem::surfaceWasCreated = false |
|
staticprivate |
◆ switchCallbacks
◆ switchPolicy
The documentation for this class was generated from the following files: