ERIS CORE

◆ bltFrameBuffer2FrameBuffer()

void AppWren::bltFrameBuffer2FrameBuffer ( int16_t  from_x,
int16_t  from_y,
int16_t  width,
int16_t  height,
int16_t  to_x,
int16_t  to_y,
bltMode  blt_mode 
)
inline

Definition at line 374 of file AppWren.h.

374  {
375  uint16_t *sb = surface_cache->getSurfaceBufferP();
376  Surface dest(draw->getFrameBuffer(),SCREEN_WIDTH,SCREEN_HEIGHT);
377  Surface source(draw->getFrameBuffer(),SCREEN_WIDTH,SCREEN_HEIGHT);
378 
379  //bltSurface2Surface(Surface *dest, Surface *source,int16_t pos_x,int16_t pos_y,bltMode blt_mode)
380  draw->bltSurface2Surface(&dest,to_x,to_y,&source,from_x,from_y,width,height,blt_mode);
381  }
int16_t height
Definition: AppBaseClass.h:68
ILI9341_t3_ERIS * draw
Definition: AppBaseClass.h:41
int16_t width
Definition: AppBaseClass.h:67
Surface * surface_cache
Definition: AppWren.h:770
void bltSurface2Surface(Surface *dest, int16_t dest_x, int16_t dest_y, Surface *source, int16_t from_x, int16_t from_y, int16_t from_width, int16_t from_height, bltMode blt_mode)
block transfer from source to dest with the given parameters
uint16_t * getSurfaceBufferP()
a Surface object manages a memory block with defined width and height dimensions

References ILI9341_t3_ERIS::bltSurface2Surface(), AppBaseClass::draw, Surface::getSurfaceBufferP(), AppBaseClass::height, surface_cache, and AppBaseClass::width.

Referenced by bltInPlaceCallback(), and bltInPlaceFBCallback().

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