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

Method copy

core/src/processing/opengl/PGraphicsOpenGL.java:6157–6169  ·  view source on GitHub ↗
(int sx, int sy, int sw, int sh,
                   int dx, int dy, int dw, int dh)

Source from the content-addressed store, hash-verified

6155
6156
6157 @Override
6158 public void copy(int sx, int sy, int sw, int sh,
6159 int dx, int dy, int dw, int dh) {
6160 if (primaryGraphics) pgl.enableFBOLayer();
6161 loadTexture();
6162 if (filterTexture == null || filterTexture.contextIsOutdated()) {
6163 filterTexture = new Texture(this, texture.width, texture.height, texture.getParameters());
6164 filterTexture.invertedY(true);
6165 filterImage = wrapTexture(filterTexture);
6166 }
6167 filterTexture.put(texture, sx, height - (sy + sh), sw, height - sy);
6168 copy(filterImage, sx, sy, sw, sh, dx, dy, dw, dh);
6169 }
6170
6171
6172 @Override

Callers 1

setImplMethod · 0.95

Calls 13

loadTextureMethod · 0.95
invertedYMethod · 0.95
wrapTextureMethod · 0.95
beginDrawMethod · 0.95
flushMethod · 0.95
getTextureMethod · 0.95
invertedXMethod · 0.95
endDrawMethod · 0.95
enableFBOLayerMethod · 0.80
getParametersMethod · 0.80
contextIsOutdatedMethod · 0.45
putMethod · 0.45

Tested by

no test coverage detected