FastLED 3.9.12
Loading...
Searching...
No Matches
fl::RectangularDrawBuffer Class Reference

Detailed Description

Definition at line 33 of file rectangular_draw_buffer.h.

Public Types

enum  QueueState { IDLE , QUEUEING , QUEUE_DONE }
 
typedef fl::HeapVector< DrawItemDrawList
 

Public Member Functions

fl::Slice< uint8_t > getLedsBufferBytesForPin (uint8_t pin, bool clear_first=true)
 
bool onQueuingStart ()
 
void queue (const DrawItem &item)
 
bool onQueuingDone ()
 
uint32_t getMaxBytesInStrip () const
 
uint32_t getTotalBytes () const
 
void getBlockInfo (uint32_t *num_strips, uint32_t *bytes_per_strip, uint32_t *total_bytes) const
 

Public Attributes

scoped_array< uint8_t > mAllLedsBufferUint8
 
uint32_t mAllLedsBufferUint8Size = 0
 
fl::FixedMap< uint8_t, fl::Slice< uint8_t >, 50 > mPinToLedSegment
 
DrawList mDrawList
 
DrawList mPrevDrawList
 
bool mDrawListChangedThisFrame = false
 
QueueState mQueueState = IDLE
 

Member Typedef Documentation

◆ DrawList

Member Enumeration Documentation

◆ QueueState

enum fl::RectangularDrawBuffer::QueueState

Definition at line 45 of file rectangular_draw_buffer.h.

Member Function Documentation

◆ getBlockInfo()

void fl::RectangularDrawBuffer::getBlockInfo ( uint32_t * num_strips,
uint32_t * bytes_per_strip,
uint32_t * total_bytes ) const

Definition at line 92 of file rectangular_draw_buffer.cpp.

◆ getLedsBufferBytesForPin()

Slice< uint8_t > fl::RectangularDrawBuffer::getLedsBufferBytesForPin ( uint8_t pin,
bool clear_first = true )

Definition at line 17 of file rectangular_draw_buffer.cpp.

◆ getMaxBytesInStrip()

uint32_t fl::RectangularDrawBuffer::getMaxBytesInStrip ( ) const

Definition at line 78 of file rectangular_draw_buffer.cpp.

◆ getTotalBytes()

uint32_t fl::RectangularDrawBuffer::getTotalBytes ( ) const

Definition at line 86 of file rectangular_draw_buffer.cpp.

◆ onQueuingDone()

bool fl::RectangularDrawBuffer::onQueuingDone ( )

Definition at line 48 of file rectangular_draw_buffer.cpp.

◆ onQueuingStart()

bool fl::RectangularDrawBuffer::onQueuingStart ( )

Definition at line 30 of file rectangular_draw_buffer.cpp.

◆ queue()

void fl::RectangularDrawBuffer::queue ( const DrawItem & item)

Definition at line 44 of file rectangular_draw_buffer.cpp.

Member Data Documentation

◆ mAllLedsBufferUint8

scoped_array<uint8_t> fl::RectangularDrawBuffer::mAllLedsBufferUint8

Definition at line 38 of file rectangular_draw_buffer.h.

◆ mAllLedsBufferUint8Size

uint32_t fl::RectangularDrawBuffer::mAllLedsBufferUint8Size = 0

Definition at line 39 of file rectangular_draw_buffer.h.

◆ mDrawList

DrawList fl::RectangularDrawBuffer::mDrawList

Definition at line 41 of file rectangular_draw_buffer.h.

◆ mDrawListChangedThisFrame

bool fl::RectangularDrawBuffer::mDrawListChangedThisFrame = false

Definition at line 43 of file rectangular_draw_buffer.h.

◆ mPinToLedSegment

fl::FixedMap<uint8_t, fl::Slice<uint8_t>, 50> fl::RectangularDrawBuffer::mPinToLedSegment

Definition at line 40 of file rectangular_draw_buffer.h.

◆ mPrevDrawList

DrawList fl::RectangularDrawBuffer::mPrevDrawList

Definition at line 42 of file rectangular_draw_buffer.h.

◆ mQueueState

QueueState fl::RectangularDrawBuffer::mQueueState = IDLE

Definition at line 46 of file rectangular_draw_buffer.h.


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