Hi,
I have a question about drawing to large bitmap, something similar to 10k x 10k, what was asked in this thread 15 years ago:
Something new in this regard?
In particular, we are using OpenGL, and when a device context is drawing to Window (flag PFD_DRAW_TO_WINDOW in dwFlags, pixel format), glGetIntegerv(GL_MAX_TEXTURE_SIZE returns 16384 size.
But when the context is drawing to Bitmap (flag PFD_DRAW_TO_BITMAP in pixel format), glGetIntegerv(GL_MAX_TEXTURE_SIZE returns only 1024 size.
Or is there some other reason for this GL_MAX_TEXTURE_SIZE difference?
As of OpenGL 4.6, GL_MAX_TEXTURE_SIZE, GL_MAX_RENDERBUFFER_SIZE, GL_MAX_FRAMEBUFFER_WIDTH and GL_MAX_FRAMEBUFFER_HEIGHT must all be at least 16384.
[QUOTE=Marcin95777;1293008]In particular, we are using OpenGL, and when a device context is drawing to Window (flag PFD_DRAW_TO_WINDOW in dwFlags, pixel format), glGetIntegerv(GL_MAX_TEXTURE_SIZE returns 16384 size.
But when the context is drawing to Bitmap (flag PFD_DRAW_TO_BITMAP in pixel format), glGetIntegerv(GL_MAX_TEXTURE_SIZE returns only 1024 size.
Or is there some other reason for this GL_MAX_TEXTURE_SIZE difference?
[/QUOTE]
I suspect that PFD_DRAW_TO_BITMAP is using the built-in OpenGL 1.1 software renderer.