Home
last modified time | relevance | path

Searched refs:web_attributes (Results 1 – 2 of 2) sorted by relevance

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/renderer/
H A Drenderer_blink_platform_impl.cc714 const blink::Platform::ContextAttributes& web_attributes, in CreateOffscreenGraphicsContext3DProvider() argument
740 attributes.alpha_size = web_attributes.support_alpha ? 8 : -1; in CreateOffscreenGraphicsContext3DProvider()
741 attributes.depth_size = web_attributes.support_depth ? 24 : 0; in CreateOffscreenGraphicsContext3DProvider()
742 attributes.stencil_size = web_attributes.support_stencil ? 8 : 0; in CreateOffscreenGraphicsContext3DProvider()
743 attributes.samples = web_attributes.support_antialias ? 4 : 0; in CreateOffscreenGraphicsContext3DProvider()
745 web_attributes.support_alpha || web_attributes.support_depth || in CreateOffscreenGraphicsContext3DProvider()
746 web_attributes.support_stencil || web_attributes.support_antialias; in CreateOffscreenGraphicsContext3DProvider()
749 attributes.enable_raster_interface = web_attributes.enable_raster_interface; in CreateOffscreenGraphicsContext3DProvider()
751 attributes.gpu_preference = web_attributes.prefer_low_power_gpu in CreateOffscreenGraphicsContext3DProvider()
756 web_attributes.fail_if_major_performance_caveat; in CreateOffscreenGraphicsContext3DProvider()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/renderer/
H A Drenderer_blink_platform_impl.cc729 const blink::Platform::ContextAttributes& web_attributes, in CreateOffscreenGraphicsContext3DProvider() argument
755 attributes.alpha_size = web_attributes.support_alpha ? 8 : -1; in CreateOffscreenGraphicsContext3DProvider()
756 attributes.depth_size = web_attributes.support_depth ? 24 : 0; in CreateOffscreenGraphicsContext3DProvider()
757 attributes.stencil_size = web_attributes.support_stencil ? 8 : 0; in CreateOffscreenGraphicsContext3DProvider()
758 attributes.samples = web_attributes.support_antialias ? 4 : 0; in CreateOffscreenGraphicsContext3DProvider()
760 web_attributes.support_alpha || web_attributes.support_depth || in CreateOffscreenGraphicsContext3DProvider()
761 web_attributes.support_stencil || web_attributes.support_antialias; in CreateOffscreenGraphicsContext3DProvider()
764 attributes.enable_raster_interface = web_attributes.enable_raster_interface; in CreateOffscreenGraphicsContext3DProvider()
770 attributes.gpu_preference = web_attributes.prefer_low_power_gpu in CreateOffscreenGraphicsContext3DProvider()
775 web_attributes.fail_if_major_performance_caveat; in CreateOffscreenGraphicsContext3DProvider()
[all …]