MCPcopy Index your code
hub / github.com/benfry/processing4 / endDraw

Method endDraw

core/src/processing/opengl/PGraphicsOpenGL.java:1439–1464  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1437
1438
1439 @Override
1440 public void endDraw() {
1441 report("top endDraw()");
1442
1443 if (!drawing) {
1444 return;
1445 }
1446
1447 // Flushing any remaining geometry.
1448 flush();
1449
1450 if (primaryGraphics) {
1451 endOnscreenDraw();
1452 } else {
1453 endOffscreenDraw();
1454 }
1455
1456 if (primaryGraphics) {
1457 setCurrentPG(null);
1458 } else {
1459 getPrimaryPG().setCurrentPG();
1460 }
1461 drawing = false;
1462
1463 report("bot endDraw()");
1464 }
1465
1466
1467 protected PGraphicsOpenGL getPrimaryPG() {

Callers 7

saveImplMethod · 0.95
loadPixelsMethod · 0.95
loadTextureMethod · 0.95
filterMethod · 0.95
copyMethod · 0.95
completeTransfersMethod · 0.45

Calls 6

reportMethod · 0.95
flushMethod · 0.95
endOnscreenDrawMethod · 0.95
endOffscreenDrawMethod · 0.95
setCurrentPGMethod · 0.95
getPrimaryPGMethod · 0.95

Tested by

no test coverage detected