webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | Protected Member Functions | List of all members
sh::Std140BlockEncoder Class Reference

#include <blocklayout.h>

Inheritance diagram for sh::Std140BlockEncoder:
sh::BlockLayoutEncoder

Public Member Functions

 Std140BlockEncoder ()
 
void enterAggregateType () override
 
void exitAggregateType () override
 
- Public Member Functions inherited from sh::BlockLayoutEncoder
 BlockLayoutEncoder ()
 
virtual ~BlockLayoutEncoder ()
 
BlockMemberInfo encodeType (GLenum type, unsigned int arraySize, bool isRowMajorMatrix)
 
size_t getBlockSize () const
 

Protected Member Functions

void getBlockLayoutInfo (GLenum type, unsigned int arraySize, bool isRowMajorMatrix, int *arrayStrideOut, int *matrixStrideOut) override
 
void advanceOffset (GLenum type, unsigned int arraySize, bool isRowMajorMatrix, int arrayStride, int matrixStride) override
 
- Protected Member Functions inherited from sh::BlockLayoutEncoder
void nextRegister ()
 

Additional Inherited Members

- Static Public Member Functions inherited from sh::BlockLayoutEncoder
static size_t getBlockRegister (const BlockMemberInfo &info)
 
static size_t getBlockRegisterElement (const BlockMemberInfo &info)
 
- Static Public Attributes inherited from sh::BlockLayoutEncoder
static const size_t BytesPerComponent = 4u
 
static const unsigned int ComponentsPerRegister = 4u
 
- Protected Attributes inherited from sh::BlockLayoutEncoder
size_t mCurrentOffset
 

Constructor & Destructor Documentation

◆ Std140BlockEncoder()

sh::Std140BlockEncoder::Std140BlockEncoder ( )

Member Function Documentation

◆ advanceOffset()

void sh::Std140BlockEncoder::advanceOffset ( GLenum  type,
unsigned int  arraySize,
bool  isRowMajorMatrix,
int  arrayStride,
int  matrixStride 
)
overrideprotectedvirtual

◆ enterAggregateType()

void sh::Std140BlockEncoder::enterAggregateType ( )
overridevirtual

◆ exitAggregateType()

void sh::Std140BlockEncoder::exitAggregateType ( )
overridevirtual

◆ getBlockLayoutInfo()

void sh::Std140BlockEncoder::getBlockLayoutInfo ( GLenum  type,
unsigned int  arraySize,
bool  isRowMajorMatrix,
int *  arrayStrideOut,
int *  matrixStrideOut 
)
overrideprotectedvirtual

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