Qt 4.8
Classes | Typedefs | Functions
qmeegographicssystem.h File Reference
#include <private/qgraphicssystem_p.h>
#include <EGL/egl.h>
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>

Go to the source code of this file.

Classes

class  QMeeGoGraphicsSystem
 

Typedefs

typedef void(* QMeeGoSwitchCallback) (int type, const char *name)
 

Functions

Q_DECL_EXPORT void * qt_meego_create_fence_sync (void)
 
Q_DECL_EXPORT bool qt_meego_destroy_egl_shared_image (Qt::HANDLE handle)
 
Q_DECL_EXPORT void qt_meego_destroy_fence_sync (void *fs)
 
Q_DECL_EXPORT int qt_meego_image_to_egl_shared_image (const QImage &image)
 
Q_DECL_EXPORT void qt_meego_invalidate_live_surfaces (void)
 
Q_DECL_EXPORT Qt::HANDLE qt_meego_live_texture_get_handle (QPixmap *pixmap)
 
Q_DECL_EXPORT QImageqt_meego_live_texture_lock (QPixmap *pixmap, void *fenceSync)
 
Q_DECL_EXPORT bool qt_meego_live_texture_release (QPixmap *pixmap, QImage *image)
 
Q_DECL_EXPORT QPixmapDataqt_meego_pixmapdata_from_egl_shared_image (Qt::HANDLE handle, const QImage &softImage)
 
Q_DECL_EXPORT QPixmapDataqt_meego_pixmapdata_from_live_texture_handle (Qt::HANDLE handle)
 
Q_DECL_EXPORT QPixmapDataqt_meego_pixmapdata_with_gl_texture (int w, int h)
 
Q_DECL_EXPORT QPixmapDataqt_meego_pixmapdata_with_new_live_texture (int w, int h, QImage::Format format)
 
Q_DECL_EXPORT void qt_meego_register_switch_callback (QMeeGoSwitchCallback callback)
 
Q_DECL_EXPORT void qt_meego_set_surface_fixed_size (int width, int height)
 
Q_DECL_EXPORT void qt_meego_set_surface_scaling (int x, int y, int width, int height)
 
Q_DECL_EXPORT void qt_meego_set_switch_policy (int policy)
 
Q_DECL_EXPORT void qt_meego_set_translucent (bool translucent)
 
Q_DECL_EXPORT void qt_meego_switch_to_meego (void)
 
Q_DECL_EXPORT void qt_meego_switch_to_raster (void)
 
Q_DECL_EXPORT void qt_meego_update_egl_shared_image_pixmap (QPixmap *pixmap)
 

Typedef Documentation

◆ QMeeGoSwitchCallback

typedef void(* QMeeGoSwitchCallback) (int type, const char *name)

Definition at line 50 of file qmeegographicssystem.h.

Function Documentation

◆ qt_meego_create_fence_sync()

Q_DECL_EXPORT void* qt_meego_create_fence_sync ( void  )

Definition at line 507 of file qmeegographicssystem.cpp.

508 {
510 }

◆ qt_meego_destroy_egl_shared_image()

Q_DECL_EXPORT bool qt_meego_destroy_egl_shared_image ( Qt::HANDLE  handle)

Definition at line 457 of file qmeegographicssystem.cpp.

458 {
460 }
static bool destroyEGLSharedImage(Qt::HANDLE h)

◆ qt_meego_destroy_fence_sync()

Q_DECL_EXPORT void qt_meego_destroy_fence_sync ( void *  fs)

Definition at line 512 of file qmeegographicssystem.cpp.

513 {
515 }
static void destroyFenceSync(void *fenceSync)

◆ qt_meego_image_to_egl_shared_image()

Q_DECL_EXPORT int qt_meego_image_to_egl_shared_image ( const QImage image)

Definition at line 442 of file qmeegographicssystem.cpp.

443 {
445 }
static Qt::HANDLE imageToEGLSharedImage(const QImage &image)

◆ qt_meego_invalidate_live_surfaces()

Q_DECL_EXPORT void qt_meego_invalidate_live_surfaces ( void  )

Definition at line 517 of file qmeegographicssystem.cpp.

518 {
520 }

◆ qt_meego_live_texture_get_handle()

Q_DECL_EXPORT Qt::HANDLE qt_meego_live_texture_get_handle ( QPixmap pixmap)

Definition at line 502 of file qmeegographicssystem.cpp.

503 {
505 }
static Qt::HANDLE getLiveTextureHandle(QPixmap *pixmap)

◆ qt_meego_live_texture_lock()

Q_DECL_EXPORT QImage* qt_meego_live_texture_lock ( QPixmap pixmap,
void *  fenceSync 
)

Definition at line 492 of file qmeegographicssystem.cpp.

493 {
494  return QMeeGoGraphicsSystem::lockLiveTexture(pixmap, fenceSync);
495 }
static QImage * lockLiveTexture(QPixmap *pixmap, void *fenceSync)

◆ qt_meego_live_texture_release()

Q_DECL_EXPORT bool qt_meego_live_texture_release ( QPixmap pixmap,
QImage image 
)

Definition at line 497 of file qmeegographicssystem.cpp.

498 {
499  return QMeeGoGraphicsSystem::releaseLiveTexture(pixmap, image);
500 }
static bool releaseLiveTexture(QPixmap *pixmap, QImage *image)

◆ qt_meego_pixmapdata_from_egl_shared_image()

Q_DECL_EXPORT QPixmapData* qt_meego_pixmapdata_from_egl_shared_image ( Qt::HANDLE  handle,
const QImage softImage 
)

Definition at line 447 of file qmeegographicssystem.cpp.

448 {
449  return QMeeGoGraphicsSystem::pixmapDataFromEGLSharedImage(handle, softImage);
450 }
static QPixmapData * pixmapDataFromEGLSharedImage(Qt::HANDLE handle, const QImage &softImage)

◆ qt_meego_pixmapdata_from_live_texture_handle()

Q_DECL_EXPORT QPixmapData* qt_meego_pixmapdata_from_live_texture_handle ( Qt::HANDLE  handle)

Definition at line 487 of file qmeegographicssystem.cpp.

488 {
490 }
static QPixmapData * pixmapDataFromLiveTextureHandle(Qt::HANDLE handle)

◆ qt_meego_pixmapdata_with_gl_texture()

Q_DECL_EXPORT QPixmapData* qt_meego_pixmapdata_with_gl_texture ( int  w,
int  h 
)

Definition at line 452 of file qmeegographicssystem.cpp.

453 {
455 }
static QPixmapData * pixmapDataWithGLTexture(int w, int h)

◆ qt_meego_pixmapdata_with_new_live_texture()

Q_DECL_EXPORT QPixmapData* qt_meego_pixmapdata_with_new_live_texture ( int  w,
int  h,
QImage::Format  format 
)

Definition at line 482 of file qmeegographicssystem.cpp.

483 {
485 }
static QPixmapData * pixmapDataWithNewLiveTexture(int w, int h, QImage::Format format)

◆ qt_meego_register_switch_callback()

Q_DECL_EXPORT void qt_meego_register_switch_callback ( QMeeGoSwitchCallback  callback)

Definition at line 532 of file qmeegographicssystem.cpp.

533 {
535 }
static void callback(AuServer *, AuEventHandlerRec *, AuEvent *e, AuPointer p)
Definition: qsound_x11.cpp:170
static void registerSwitchCallback(QMeeGoSwitchCallback callback)

◆ qt_meego_set_surface_fixed_size()

Q_DECL_EXPORT void qt_meego_set_surface_fixed_size ( int  width,
int  height 
)

Definition at line 462 of file qmeegographicssystem.cpp.

463 {
465 }
static void setSurfaceFixedSize(int width, int height)

◆ qt_meego_set_surface_scaling()

Q_DECL_EXPORT void qt_meego_set_surface_scaling ( int  x,
int  y,
int  width,
int  height 
)

Definition at line 467 of file qmeegographicssystem.cpp.

468 {
469  QMeeGoGraphicsSystem::setSurfaceScaling(x, y, width, height);
470 }
static void setSurfaceScaling(int x, int y, int width, int height)

◆ qt_meego_set_switch_policy()

Q_DECL_EXPORT void qt_meego_set_switch_policy ( int  policy)

◆ qt_meego_set_translucent()

Q_DECL_EXPORT void qt_meego_set_translucent ( bool  translucent)

Definition at line 472 of file qmeegographicssystem.cpp.

473 {
475 }
static void setTranslucent(bool translucent)

◆ qt_meego_switch_to_meego()

Q_DECL_EXPORT void qt_meego_switch_to_meego ( void  )

Definition at line 527 of file qmeegographicssystem.cpp.

◆ qt_meego_switch_to_raster()

Q_DECL_EXPORT void qt_meego_switch_to_raster ( void  )

Definition at line 522 of file qmeegographicssystem.cpp.

◆ qt_meego_update_egl_shared_image_pixmap()

Q_DECL_EXPORT void qt_meego_update_egl_shared_image_pixmap ( QPixmap pixmap)

Definition at line 477 of file qmeegographicssystem.cpp.

478 {
480 }
static void updateEGLSharedImagePixmap(QPixmap *pixmap)