mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:22:45 +00:00 
			
		
		
		
	 6e19ab2bbc
			
		
	
	
		6e19ab2bbc
		
	
	
	
	
		
			
			We have a new, improved string type coming up in AK (OOM aware, no null state), and while it's going to use UTF-8, the name UTF8String is a mouthful - so let's free up the String name by renaming the existing class. Making the old one have an annoying name will hopefully also help with quick adoption :^)
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			569 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			569 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| /*
 | |
|  * Copyright (c) 2021, Stephan Unverwerth <s.unverwerth@serenityos.org>
 | |
|  *
 | |
|  * SPDX-License-Identifier: BSD-2-Clause
 | |
|  */
 | |
| 
 | |
| #pragma once
 | |
| 
 | |
| #include <AK/DeprecatedString.h>
 | |
| 
 | |
| namespace GPU {
 | |
| 
 | |
| struct DeviceInfo final {
 | |
|     DeprecatedString vendor_name;
 | |
|     DeprecatedString device_name;
 | |
|     unsigned num_texture_units;
 | |
|     unsigned num_lights;
 | |
|     unsigned max_clip_planes;
 | |
|     unsigned max_texture_size;
 | |
|     float max_texture_lod_bias;
 | |
|     u8 stencil_bits;
 | |
|     bool supports_npot_textures;
 | |
|     bool supports_texture_clamp_to_edge;
 | |
|     bool supports_texture_env_add;
 | |
| };
 | |
| 
 | |
| }
 |