0030136: Visualization, TKOpenGl - Graphic3d_TOSM_FACET does not work on mobile devices
authormnv <mnv@opencascade.com>
Thu, 13 Sep 2018 14:47:51 +0000 (17:47 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 20 Sep 2018 14:08:47 +0000 (17:08 +0300)
commitc39bb31bacfd30a9a604ece1feb84d5363c2e4df
treec536fc59e7bff8c41909be346e0bb40d9a9bd24f
parent39effd08e568135d7121b7317df4a99b3e907176
0030136: Visualization, TKOpenGl - Graphic3d_TOSM_FACET does not work on mobile devices

Added new type of graphic3d limit Graphic3d_TypeOfLimit_HasFlatShading.
Added workaround for unexpected behaviour of mobile devices with Adreno GPU.
Added new complex flag hasFlatShading to OpenGl_Context for indicating support of flat shading.
src/Graphic3d/Graphic3d_TypeOfLimit.hxx
src/OpenGl/OpenGl_Context.cxx
src/OpenGl/OpenGl_Context.hxx
src/OpenGl/OpenGl_GraphicDriver.cxx
src/OpenGl/OpenGl_ShaderManager.cxx