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

#include <eglswapchain.h>

Public Member Functions

 EglSwapchainSlot (GraphicsBuffer *buffer, std::unique_ptr< GLFramebuffer > &&framebuffer, const std::shared_ptr< GLTexture > &texture)
 
 ~EglSwapchainSlot ()
 
GraphicsBufferbuffer () const
 
std::shared_ptr< GLTexturetexture () const
 
GLFramebufferframebuffer () const
 
int age () const
 

Static Public Member Functions

static std::shared_ptr< EglSwapchainSlotcreate (EglContext *context, GraphicsBuffer *buffer)
 

Friends

class EglSwapchain
 

Detailed Description

Definition at line 29 of file eglswapchain.h.

Constructor & Destructor Documentation

◆ EglSwapchainSlot()

KWin::EglSwapchainSlot::EglSwapchainSlot ( GraphicsBuffer * buffer,
std::unique_ptr< GLFramebuffer > && framebuffer,
const std::shared_ptr< GLTexture > & texture )

Definition at line 23 of file eglswapchain.cpp.

◆ ~EglSwapchainSlot()

KWin::EglSwapchainSlot::~EglSwapchainSlot ( )

Definition at line 30 of file eglswapchain.cpp.

Member Function Documentation

◆ age()

int KWin::EglSwapchainSlot::age ( ) const

Definition at line 52 of file eglswapchain.cpp.

◆ buffer()

GraphicsBuffer * KWin::EglSwapchainSlot::buffer ( ) const

Definition at line 37 of file eglswapchain.cpp.

◆ create()

std::shared_ptr< EglSwapchainSlot > KWin::EglSwapchainSlot::create ( EglContext * context,
GraphicsBuffer * buffer )
static

Definition at line 57 of file eglswapchain.cpp.

◆ framebuffer()

GLFramebuffer * KWin::EglSwapchainSlot::framebuffer ( ) const

Definition at line 47 of file eglswapchain.cpp.

◆ texture()

std::shared_ptr< GLTexture > KWin::EglSwapchainSlot::texture ( ) const

Definition at line 42 of file eglswapchain.cpp.

Friends And Related Symbol Documentation

◆ EglSwapchain

friend class EglSwapchain
friend

Definition at line 47 of file eglswapchain.h.


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