Closed Nejsplitter closed 2 months ago
bNeedSwap - swap buffers required. bCFB - color frame buffer was modified by CPU, we need to swap buffers to show these modifications gDP.colorImage.changed != 0 - there were modifications of color frame buffer since the previous VI_UpdateScreen() call
bNeedRender = (gDP.changed & CHANGED_COLORBUFFER) != 0; it means that there was a call of RSP_ProcessDList(), color buffer was changed and thus it should be rendered.
also, is it possible to not use buffer swap at all like original gln64 did?
Yes, but why?
understood, thanks for the answer gonetz
hi @gonetz , in vi.cpp what does this line do?
bNeedSwap = bCFB ? true : (gDP.colorImage.changed != 0);
and this one:
bNeedRender = (gDP.changed & CHANGED_COLORBUFFER) != 0;
also, is it possible to not use buffer swap at all like original gln64 did?