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

Method initDisplay

core/src/processing/opengl/PSurfaceJOGL.java:162–170  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

160
161
162 protected void initDisplay() {
163 display = NewtFactory.createDisplay(null);
164 display.addReference();
165 screen = NewtFactory.createScreen(display, 0);
166 screen.addReference();
167
168 int displayNum = sketch.sketchDisplay();
169 displayRect = getDisplayBounds(displayNum);
170 }
171
172
173 // TODO This code is mostly copied from code found in PSurfaceAWT.

Callers 1

initFrameMethod · 0.95

Calls 2

getDisplayBoundsMethod · 0.95
sketchDisplayMethod · 0.80

Tested by

no test coverage detected