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

Method blitFramebuffer

core/src/processing/opengl/PJOGL.java:1935–1946  ·  view source on GitHub ↗
(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter)

Source from the content-addressed store, hash-verified

1933 }
1934
1935 @Override
1936 public void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) {
1937 if (gl2x != null) {
1938 gl2x.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
1939 } else if (gl3 != null) {
1940 gl3.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
1941 } else if (gl3es3 != null) {
1942 gl3es3.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
1943 } else {
1944 throw new RuntimeException(String.format(MISSING_GLFUNC_ERROR, "glBlitFramebuffer()"));
1945 }
1946 }
1947
1948 @Override
1949 public void renderbufferStorageMultisample(int target, int samples, int format, int width, int height) {

Callers 1

initFBOLayerGLMethod · 0.95

Calls 1

formatMethod · 0.65

Tested by

no test coverage detected