Lines Matching refs:GL_FRAMEBUFFER
191 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init()
192 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
242 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
243 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
249 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
250 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
256 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
257 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
263 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
264 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
280 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in init()
284 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
305 glBindFramebuffer (GL_FRAMEBUFFER, 0); in init()
418 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
419 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
420 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
426 glClearBufferiv(GL_FRAMEBUFFER, 0, &data[0]); in init()
462 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
463 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
464 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
470 glClearBufferuiv(GL_FRAMEBUFFER, 0, &data[0]); in init()
503 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
504 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
505 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
511 glClearBufferfv(GL_FRAMEBUFFER, 0, &data[0]); in init()
542 glClearBufferfi(GL_FRAMEBUFFER, 0, 1.0f, 1); in init()
655 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
656 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
657 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
666 glBindFramebuffer (GL_FRAMEBUFFER, 0); in init()
672 glBindFramebuffer (GL_FRAMEBUFFER, 0); in init()
678 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
821 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
822 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
823 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
831 glReadBuffer (GL_FRAMEBUFFER); in init()
866 glBindFramebuffer (GL_FRAMEBUFFER, 0); in init()
872 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
913 glBindRenderbuffer(GL_FRAMEBUFFER, 0); in init()
959 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init()
969 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, rbo); in init()
975 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, -1); in init()
980 glBindFramebuffer(GL_FRAMEBUFFER, 0); in init()
981 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in init()
994 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init()
1007 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, tex2D, 0); in init()
1013 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex2D, -1); in init()
1016 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex2D, maxSize); in init()
1019 …glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, texCu… in init()
1024 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, -1, 0); in init()
1029 …glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, tex2D… in init()
1033 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texCube, 0); in init()
1039 glBindFramebuffer(GL_FRAMEBUFFER, 0); in init()
1040 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, 0, 0); in init()
1057 glRenderbufferStorage (GL_FRAMEBUFFER, GL_RGBA4, 1, 1); in init()
1189 glBindFramebuffer (GL_FRAMEBUFFER, 0); in init()
1239 glBindFramebuffer (GL_FRAMEBUFFER, 0); in init()
1254 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
1273 glFramebufferTextureLayer (GL_FRAMEBUFFER, -1, tex3D, 0, 1); in init()
1275 glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_BACK, tex3D, 0, 1); in init()
1280 glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, 0, 0); in init()
1282 glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2D, 0, 0); in init()
1287 glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex3D, 0, -1); in init()
1294 glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex3D, 0, max3DTexSize); in init()
1301 …glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DArray, 0, maxArrayTexLayers); in init()
1306 glBindFramebuffer (GL_FRAMEBUFFER, 0); in init()
1307 glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex3D, 0, 1); in init()
1328 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
1331 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
1332 glCheckFramebufferStatus (GL_FRAMEBUFFER); in init()
1343 glInvalidateFramebuffer (GL_FRAMEBUFFER, 1, &attachments[1]); in init()
1362 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
1365 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
1366 glCheckFramebufferStatus (GL_FRAMEBUFFER); in init()
1377 glInvalidateSubFramebuffer (GL_FRAMEBUFFER, 1, &attachments[1], 0, 0, 16, 16); in init()
1397 glRenderbufferStorageMultisample (GL_FRAMEBUFFER, 2, GL_RGBA4, 1, 1); in init()