KWin
|
#include <x11_standalone_glx_backend.h>
Public Member Functions | |
GlxPixmapTexture (GlxBackend *backend) | |
~GlxPixmapTexture () | |
bool | create (SurfacePixmapX11 *texture) |
![]() | |
GLTexture (GLenum target) | |
bool | create () |
virtual | ~GLTexture () |
bool | isNull () const |
QSize | size () const |
void | setSize (const QSize &size) |
int | width () const |
int | height () const |
void | setContentTransform (OutputTransform transform) |
OutputTransform | contentTransform () const |
void | setSwizzle (GLenum red, GLenum green, GLenum blue, GLenum alpha) |
QMatrix4x4 | matrix (TextureCoordinateType type) const |
void | update (const QImage &image, const QPoint &offset=QPoint(0, 0), const QRect &src=QRect()) |
void | bind () |
void | unbind () |
void | render (const QSizeF &size) |
void | render (const QRegion ®ion, const QSizeF &size, bool hardwareClipping=false) |
void | render (const QRectF &source, const QRegion ®ion, const QSizeF &targetSize, bool hardwareClipping=false) |
GLuint | texture () const |
GLenum | target () const |
GLenum | filter () const |
GLenum | internalFormat () const |
QImage | toImage () |
void | clear () |
Make the texture fully transparent. | |
void | setDirty () |
bool | isDirty () const |
void | setFilter (GLenum filter) |
void | setWrapMode (GLenum mode) |
void | generateMipmaps () |
Additional Inherited Members | |
![]() | |
static bool | framebufferObjectSupported () |
static bool | supportsSwizzle () |
static bool | supportsFormatRG () |
static std::unique_ptr< GLTexture > | createNonOwningWrapper (GLuint textureId, GLenum internalFormat, const QSize &size) |
static std::unique_ptr< GLTexture > | allocate (GLenum internalFormat, const QSize &size, int levels=1) |
static std::unique_ptr< GLTexture > | upload (const QImage &image) |
static std::unique_ptr< GLTexture > | upload (const QPixmap &pixmap) |
![]() | |
GLTexture (GLenum target, GLuint textureId, GLenum internalFormat, const QSize &size, int levels, bool owning, OutputTransform transform) | |
![]() | |
const std::unique_ptr< GLTexturePrivate > | d |
Definition at line 146 of file x11_standalone_glx_backend.h.
|
explicit |
Definition at line 803 of file x11_standalone_glx_backend.cpp.
KWin::GlxPixmapTexture::~GlxPixmapTexture | ( | ) |
Definition at line 810 of file x11_standalone_glx_backend.cpp.
bool KWin::GlxPixmapTexture::create | ( | SurfacePixmapX11 * | texture | ) |
Definition at line 821 of file x11_standalone_glx_backend.cpp.