mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:52:43 +00:00 
			
		
		
		
	Ladybird+WebContent: Add option to use GPU painter
Adds `--enable-gpu-painting` param to enable painting command executor that uses LibAccelGfx.
This commit is contained in:
		
							parent
							
								
									7d26cbf523
								
							
						
					
					
						commit
						b6732b0234
					
				
					 17 changed files with 63 additions and 17 deletions
				
			
		|  | @ -51,7 +51,7 @@ static QIcon create_tvg_icon_with_theme_colors(QString name, QPalette const& pal | |||
|     return QIcon(icon_engine); | ||||
| } | ||||
| 
 | ||||
| Tab::Tab(BrowserWindow* window, StringView webdriver_content_ipc_path, WebView::EnableCallgrindProfiling enable_callgrind_profiling, UseLagomNetworking use_lagom_networking) | ||||
| Tab::Tab(BrowserWindow* window, StringView webdriver_content_ipc_path, WebView::EnableCallgrindProfiling enable_callgrind_profiling, UseLagomNetworking use_lagom_networking, WebView::EnableGPUPainting enable_gpu_painting) | ||||
|     : QWidget(window) | ||||
|     , m_window(window) | ||||
| { | ||||
|  | @ -59,7 +59,7 @@ Tab::Tab(BrowserWindow* window, StringView webdriver_content_ipc_path, WebView:: | |||
|     m_layout->setSpacing(0); | ||||
|     m_layout->setContentsMargins(0, 0, 0, 0); | ||||
| 
 | ||||
|     m_view = new WebContentView(webdriver_content_ipc_path, enable_callgrind_profiling, use_lagom_networking); | ||||
|     m_view = new WebContentView(webdriver_content_ipc_path, enable_callgrind_profiling, use_lagom_networking, enable_gpu_painting); | ||||
|     m_toolbar = new QToolBar(this); | ||||
|     m_location_edit = new LocationEdit(this); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Aliaksandr Kalenik
						Aliaksandr Kalenik