]> OCCT Git - occt.git/commit
0032648: Visualization, TKOpenGles - support MSAA anti-aliasing within WebGL 2.0
authorkgv <kgv@opencascade.com>
Tue, 2 Nov 2021 13:23:25 +0000 (16:23 +0300)
committerinv <inv@opencascade.com>
Sun, 21 Nov 2021 09:42:10 +0000 (12:42 +0300)
commitc8365a1c280fcbed1a89a6b6027a26e9f81f49ff
tree485c460f0657a0d1b5f0d003118729992aa278e9
parent45143b7a24a45a6bb0879f996514fe0890491285
0032648: Visualization, TKOpenGles - support MSAA anti-aliasing within WebGL 2.0

OpenGl_FrameBuffer::Init() now creates MSAA render buffer in case if MSAA textures are unsupported.
In this case OpenGl_View::prepareFrameBuffers() creates MSAA render buffer for main content
and non-MSAA FBO for immediate content as blitting of MSAA render buffers into MSAA targets is unsupported by OpenGL ES 3.0.

env.bat.in has been corrected to include path to custom ANGLE (GLES2_DIR)
in front of Qt which might include its own older ANGLE build.
adm/templates/env.bat.in
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_FrameBuffer.cxx
src/OpenGl/OpenGl_FrameBuffer.hxx
src/OpenGl/OpenGl_Texture.cxx
src/OpenGl/OpenGl_View.cxx
src/OpenGl/OpenGl_Window.cxx