1 #ifndef DUMP_FRAME_DATA_H
2 #define DUMP_FRAME_DATA_H
16 DumpFrameData(CkMigrateMessage *m) : CBase_DumpFrameData(m) { bufImage = NULL;}
17 void pup(PUP::er &p) { CBase_DumpFrameData::pup(p); }
20 void clearFrame(
InDumpFrame in,
const CkCallback& cb) {
22 bufImage = malloc(
sizeof(in) + in.nxPix*in.nyPix*
sizeof(
DFIMAGE));
23 Image = ((
char *)bufImage) +
sizeof(in);
26 dfClearImage( &in, Image, &nImage);
30 void combineFrame(
InDumpFrame in,
const CkCallback& cb) {
31 contribute(
sizeof(in) + nImage, bufImage, dfImageReduction, cb);
pixel of a dumpframe image
Definition: dumpframe.h:21
Group to hold the frame buffer memory.
Definition: DumpFrameData.h:8
Data needed for a TreePiece to render its part of the image.
Definition: dumpframe.h:116