Searched refs:web_attributes (Results 1 – 2 of 2) sorted by relevance
714 const blink::Platform::ContextAttributes& web_attributes, in CreateOffscreenGraphicsContext3DProvider() argument740 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 …]
729 const blink::Platform::ContextAttributes& web_attributes, in CreateOffscreenGraphicsContext3DProvider() argument755 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 …]