Developing Games on Intel Graphics
If you are gaming on graphics integrated in your Intel Processor, this is the place for you! Find answers to your questions or post your issues with PC games
486 Discussions

Linux OpenGL: FBO stencil buffer

rpedela
Beginner
694 Views
I am doing some feasibility research on using iCore graphics on Linux with OpenGL. I have searched for the answer to this question but found none.

Assuming GL_EXT_framebuffer_object support, is it possible to create an RGBA8, D24, S8 FBO? The reason I ask is that on ATI and NVIDIA it is possible but a packed depth/stencil buffer must be used. As far as I can tell GL_EXT_packed_depth_stencil is not supported. So can separate depth and stencil buffers be attached to an FBO?
0 Kudos
1 Solution
Doraisamy_G_Intel
694 Views
Hi,

I don't believe any current Intel graphics hardware in the market supports GL_EXT_packed_depth_stencil.

Regarding independent stencil buffers, even though the spec supports it, it is generally not advised to be used, as it is not guaranteed to be implemented. Refer to: http://www.opengl.org/wiki/GL_EXT_framebuffer_object#Stencil

Can you avoid stencil buffer and use Color+Depth only?

See http://www.opengl.org/wiki/GL_EXT_framebuffer_object#Color_texture.2C_Depth_texture

Cheers,
-Ganesh

View solution in original post

0 Kudos
3 Replies
Doraisamy_G_Intel
695 Views
Hi,

I don't believe any current Intel graphics hardware in the market supports GL_EXT_packed_depth_stencil.

Regarding independent stencil buffers, even though the spec supports it, it is generally not advised to be used, as it is not guaranteed to be implemented. Refer to: http://www.opengl.org/wiki/GL_EXT_framebuffer_object#Stencil

Can you avoid stencil buffer and use Color+Depth only?

See http://www.opengl.org/wiki/GL_EXT_framebuffer_object#Color_texture.2C_Depth_texture

Cheers,
-Ganesh

0 Kudos
rpedela
Beginner
694 Views
I need to simulate the capabilities of the screen with an FBO. So no, color + depth does not work. Do you know of any plan to support GL_EXT_packed_depth_stencil in Intel HD graphics?
0 Kudos
Doraisamy_G_Intel
694 Views
We are working to add more inclusive support of the rendering APIs and their extensions, but there are no announced plans to specifically support GL_EXT_packed_depth_stencil yet.
0 Kudos
Reply