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

#include <eglswapchain.h>

Public Member Functions

 EglSwapchain (GraphicsBufferAllocator *allocator, EglContext *context, const QSize &size, uint32_t format, uint64_t modifier, const std::shared_ptr< EglSwapchainSlot > &seed)
 
 ~EglSwapchain ()
 
QSize size () const
 
uint32_t format () const
 
uint64_t modifier () const
 
std::shared_ptr< EglSwapchainSlotacquire ()
 
void release (std::shared_ptr< EglSwapchainSlot > slot)
 

Static Public Member Functions

static std::shared_ptr< EglSwapchaincreate (GraphicsBufferAllocator *allocator, EglContext *context, const QSize &size, uint32_t format, const QList< uint64_t > &modifiers)
 

Detailed Description

Definition at line 50 of file eglswapchain.h.

Constructor & Destructor Documentation

◆ EglSwapchain()

KWin::EglSwapchain::EglSwapchain ( GraphicsBufferAllocator * allocator,
EglContext * context,
const QSize & size,
uint32_t format,
uint64_t modifier,
const std::shared_ptr< EglSwapchainSlot > & seed )

Definition at line 72 of file eglswapchain.cpp.

◆ ~EglSwapchain()

KWin::EglSwapchain::~EglSwapchain ( )

Definition at line 82 of file eglswapchain.cpp.

Member Function Documentation

◆ acquire()

std::shared_ptr< EglSwapchainSlot > KWin::EglSwapchain::acquire ( )

Definition at line 101 of file eglswapchain.cpp.

◆ create()

std::shared_ptr< EglSwapchain > KWin::EglSwapchain::create ( GraphicsBufferAllocator * allocator,
EglContext * context,
const QSize & size,
uint32_t format,
const QList< uint64_t > & modifiers )
static

Definition at line 138 of file eglswapchain.cpp.

◆ format()

uint32_t KWin::EglSwapchain::format ( ) const

Definition at line 91 of file eglswapchain.cpp.

◆ modifier()

uint64_t KWin::EglSwapchain::modifier ( ) const

Definition at line 96 of file eglswapchain.cpp.

◆ release()

void KWin::EglSwapchain::release ( std::shared_ptr< EglSwapchainSlot > slot)

Definition at line 127 of file eglswapchain.cpp.

◆ size()

QSize KWin::EglSwapchain::size ( ) const

Definition at line 86 of file eglswapchain.cpp.


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