Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
BrcmBuffer Class Reference

#include <brcmbuffer.h>

+ Inheritance diagram for BrcmBuffer:
+ Collaboration diagram for BrcmBuffer:

Public Member Functions

 BrcmBuffer (struct ::wl_client *client, uint32_t id, const QSize &size, EGLint *data, size_t count)
 
 ~BrcmBuffer ()
 
bool isYInverted () const
 
void setInvertedY (bool inverted)
 
EGLint * handle ()
 
QSize size ()
 

Static Public Member Functions

static BrcmBufferfromResource (struct ::wl_resource *resource)
 

Protected Member Functions

void buffer_destroy_resource (Resource *resource) override
 
void buffer_destroy (Resource *resource) override
 

Detailed Description

Definition at line 17 of file brcmbuffer.h.

Constructor & Destructor Documentation

◆ BrcmBuffer()

QT_BEGIN_NAMESPACE BrcmBuffer::BrcmBuffer ( struct ::wl_client *  client,
uint32_t  id,
const QSize size,
EGLint *  data,
size_t  count 
)

Definition at line 12 of file brcmbuffer.cpp.

References i.

◆ ~BrcmBuffer()

BrcmBuffer::~BrcmBuffer ( )

Definition at line 21 of file brcmbuffer.cpp.

References handle().

+ Here is the call graph for this function:

Member Function Documentation

◆ buffer_destroy()

void BrcmBuffer::buffer_destroy ( Resource *  resource)
overrideprotected

Definition at line 33 of file brcmbuffer.cpp.

◆ buffer_destroy_resource()

void BrcmBuffer::buffer_destroy_resource ( Resource *  resource)
overrideprotected

Definition at line 28 of file brcmbuffer.cpp.

◆ fromResource()

static BrcmBuffer * BrcmBuffer::fromResource ( struct ::wl_resource *  resource)
inlinestatic

Definition at line 30 of file brcmbuffer.h.

Referenced by BrcmEglClientBuffer::origin(), BrcmEglClientBuffer::size(), and BrcmEglClientBuffer::toOpenGlTexture().

+ Here is the caller graph for this function:

◆ handle()

EGLint * BrcmBuffer::handle ( )
inline

Definition at line 26 of file brcmbuffer.h.

References QList< T >::data().

Referenced by ~BrcmBuffer(), and BrcmEglClientBuffer::toOpenGlTexture().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isYInverted()

bool BrcmBuffer::isYInverted ( ) const
inline

Definition at line 23 of file brcmbuffer.h.

Referenced by BrcmEglClientBuffer::origin().

+ Here is the caller graph for this function:

◆ setInvertedY()

void BrcmBuffer::setInvertedY ( bool  inverted)
inline

Definition at line 24 of file brcmbuffer.h.

◆ size()

QSize BrcmBuffer::size ( )
inline

Definition at line 28 of file brcmbuffer.h.

Referenced by BrcmEglClientBuffer::size().

+ Here is the caller graph for this function:

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