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

Method blitFramebuffer

core/src/processing/opengl/PJOGL.java:1930–1941  ·  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

1928 }
1929
1930 @Override
1931 public void blitFramebuffer(int srcX0, int srcY0, int srcX1, int srcY1, int dstX0, int dstY0, int dstX1, int dstY1, int mask, int filter) {
1932 if (gl2x != null) {
1933 gl2x.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
1934 } else if (gl3 != null) {
1935 gl3.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
1936 } else if (gl3es3 != null) {
1937 gl3es3.glBlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
1938 } else {
1939 throw new RuntimeException(String.format(MISSING_GLFUNC_ERROR, "glBlitFramebuffer()"));
1940 }
1941 }
1942
1943 @Override
1944 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