KWin
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KWin::EglPixmapTexture Class Reference

#include <x11_standalone_egl_backend.h>

Inheritance diagram for KWin::EglPixmapTexture:
KWin::GLTexture

Public Member Functions

 EglPixmapTexture (EglBackend *backend)
 
 ~EglPixmapTexture () override
 
bool create (SurfacePixmapX11 *texture)
 
- Public Member Functions inherited from KWin::GLTexture
 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 &region, const QSizeF &size, bool hardwareClipping=false)
 
void render (const QRectF &source, const QRegion &region, 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 Public Member Functions inherited from KWin::GLTexture
static bool framebufferObjectSupported ()
 
static bool supportsSwizzle ()
 
static bool supportsFormatRG ()
 
static std::unique_ptr< GLTexturecreateNonOwningWrapper (GLuint textureId, GLenum internalFormat, const QSize &size)
 
static std::unique_ptr< GLTextureallocate (GLenum internalFormat, const QSize &size, int levels=1)
 
static std::unique_ptr< GLTextureupload (const QImage &image)
 
static std::unique_ptr< GLTextureupload (const QPixmap &pixmap)
 
- Protected Member Functions inherited from KWin::GLTexture
 GLTexture (GLenum target, GLuint textureId, GLenum internalFormat, const QSize &size, int levels, bool owning, OutputTransform transform)
 
- Protected Attributes inherited from KWin::GLTexture
const std::unique_ptr< GLTexturePrivated
 

Detailed Description

Definition at line 85 of file x11_standalone_egl_backend.h.

Constructor & Destructor Documentation

◆ EglPixmapTexture()

KWin::EglPixmapTexture::EglPixmapTexture ( EglBackend * backend)
explicit

Definition at line 448 of file x11_standalone_egl_backend.cpp.

◆ ~EglPixmapTexture()

KWin::EglPixmapTexture::~EglPixmapTexture ( )
override

Definition at line 454 of file x11_standalone_egl_backend.cpp.

Member Function Documentation

◆ create()

bool KWin::EglPixmapTexture::create ( SurfacePixmapX11 * texture)

Definition at line 461 of file x11_standalone_egl_backend.cpp.


The documentation for this class was generated from the following files: