MCPcopy Create free account
hub / github.com/VirtualGL/virtualgl / glGetInteger64v

Function glGetInteger64v

server/faker-gl.cpp:554–585  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552
553
554void glGetInteger64v(GLenum pname, GLint64 *data)
555{
556 if(faker::getOGLExcludeCurrent() || faker::getEGLXContextCurrent() || !data
557 || !fconfig.egl)
558 {
559 _glGetInteger64v(pname, data); return;
560 }
561
562 TRY();
563
564 switch(pname)
565 {
566 case GL_DOUBLEBUFFER:
567 case GL_DRAW_BUFFER:
568 case GL_DRAW_BUFFER0:
569 case GL_DRAW_FRAMEBUFFER_BINDING:
570 case GL_MAX_DRAW_BUFFERS:
571 case GL_READ_BUFFER:
572 case GL_READ_FRAMEBUFFER_BINDING:
573 case GL_STEREO:
574 {
575 GLint val = -1;
576 backend::getIntegerv(pname, &val);
577 *data = (GLint64)val;
578 break;
579 }
580 default:
581 _glGetInteger64v(pname, data);
582 }
583
584 CATCH();
585}
586
587
588void glGetNamedFramebufferParameteriv(GLuint framebuffer, GLenum pname,

Callers

nothing calls this directly

Calls 1

getIntegervFunction · 0.85

Tested by

no test coverage detected