Lines Matching refs:GL_FRAMEBUFFER
191 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init()
192 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
241 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
242 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
248 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
249 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
255 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
256 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
262 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
263 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
279 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, rbo); in init()
283 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
304 glBindFramebuffer (GL_FRAMEBUFFER, 0); in init()
417 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
418 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
419 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
425 glClearBufferiv(GL_FRAMEBUFFER, 0, &data[0]); in init()
461 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
462 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
463 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
469 glClearBufferuiv(GL_FRAMEBUFFER, 0, &data[0]); in init()
502 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
503 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
504 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
510 glClearBufferfv(GL_FRAMEBUFFER, 0, &data[0]); in init()
541 glClearBufferfi(GL_FRAMEBUFFER, 0, 1.0f, 1); in init()
653 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
654 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
655 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
664 glBindFramebuffer (GL_FRAMEBUFFER, 0); in init()
670 glBindFramebuffer (GL_FRAMEBUFFER, 0); in init()
676 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
818 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
819 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
820 glCheckFramebufferStatus(GL_FRAMEBUFFER); in init()
828 glReadBuffer (GL_FRAMEBUFFER); in init()
863 glBindFramebuffer (GL_FRAMEBUFFER, 0); in init()
869 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
910 glBindRenderbuffer(GL_FRAMEBUFFER, 0); in init()
956 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init()
966 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, rbo); in init()
972 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, -1); in init()
977 glBindFramebuffer(GL_FRAMEBUFFER, 0); in init()
978 glFramebufferRenderbuffer(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_RENDERBUFFER, 0); in init()
991 glBindFramebuffer(GL_FRAMEBUFFER, fbo); in init()
1004 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, tex2D, 0); in init()
1010 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex2D, -1); in init()
1013 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, tex2D, maxSize); in init()
1016 …glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, texCu… in init()
1021 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, -1, 0); in init()
1026 …glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_CUBE_MAP_POSITIVE_X, tex2D… in init()
1030 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texCube, 0); in init()
1036 glBindFramebuffer(GL_FRAMEBUFFER, 0); in init()
1037 glFramebufferTexture2D(GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, 0, 0); in init()
1052 glRenderbufferStorage (GL_FRAMEBUFFER, GL_RGBA4, 1, 1); in init()
1184 glBindFramebuffer (GL_FRAMEBUFFER, 0); in init()
1232 glBindFramebuffer (GL_FRAMEBUFFER, 0); in init()
1247 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
1266 glFramebufferTextureLayer (GL_FRAMEBUFFER, -1, tex3D, 0, 1); in init()
1268 glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_BACK, tex3D, 0, 1); in init()
1273 glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, -1, 0, 0); in init()
1275 glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2D, 0, 0); in init()
1280 glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex3D, 0, -1); in init()
1287 glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex3D, 0, max3DTexSize); in init()
1294 …glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex2DArray, 0, maxArrayTexLayers); in init()
1299 glBindFramebuffer (GL_FRAMEBUFFER, 0); in init()
1300 glFramebufferTextureLayer (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, tex3D, 0, 1); in init()
1321 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
1324 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
1325 glCheckFramebufferStatus (GL_FRAMEBUFFER); in init()
1336 glInvalidateFramebuffer (GL_FRAMEBUFFER, 1, &attachments[1]); in init()
1355 glBindFramebuffer (GL_FRAMEBUFFER, fbo); in init()
1358 glFramebufferTexture2D (GL_FRAMEBUFFER, GL_COLOR_ATTACHMENT0, GL_TEXTURE_2D, texture, 0); in init()
1359 glCheckFramebufferStatus (GL_FRAMEBUFFER); in init()
1370 glInvalidateSubFramebuffer (GL_FRAMEBUFFER, 1, &attachments[1], 0, 0, 16, 16); in init()
1389 glRenderbufferStorageMultisample (GL_FRAMEBUFFER, 2, GL_RGBA4, 1, 1); in init()