MCPcopy Index your code
hub / github.com/processing/processing / saveFirstFrame

Method saveFirstFrame

core/src/processing/opengl/PGL.java:995–999  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

993
994
995 protected void saveFirstFrame() {
996 firstFrame = allocateDirectIntBuffer(graphics.width * graphics.height);
997 if (hasReadBuffer()) readBuffer(BACK);
998 readPixelsImpl(0, 0, graphics.width, graphics.height, RGBA, UNSIGNED_BYTE, firstFrame);
999 }
1000
1001
1002 protected void restoreFirstFrame() {

Callers 1

endRenderMethod · 0.95

Calls 4

hasReadBufferMethod · 0.95
readBufferMethod · 0.95
readPixelsImplMethod · 0.95

Tested by

no test coverage detected