mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:02:45 +00:00 
			
		
		
		
	AK: Move the userspace SharedBuffer from LibC to AK
This always felt out-of-place in LibC.
This commit is contained in:
		
							parent
							
								
									38f93ef13b
								
							
						
					
					
						commit
						fc86460134
					
				
					 22 changed files with 41 additions and 24 deletions
				
			
		|  | @ -6,9 +6,9 @@ | |||
| #include <AK/MappedFile.h> | ||||
| #include <AK/RefCounted.h> | ||||
| #include <AK/RefPtr.h> | ||||
| #include <AK/SharedBuffer.h> | ||||
| #include <AK/String.h> | ||||
| #include <AK/StringView.h> | ||||
| #include <SharedBuffer.h> | ||||
| 
 | ||||
| class GraphicsBitmap : public RefCounted<GraphicsBitmap> { | ||||
| public: | ||||
|  | @ -105,7 +105,8 @@ public: | |||
|     [[nodiscard]] bool set_nonvolatile(); | ||||
| 
 | ||||
| private: | ||||
|     enum class Purgeable { No, Yes }; | ||||
|     enum class Purgeable { No, | ||||
|         Yes }; | ||||
|     GraphicsBitmap(Format, const Size&, Purgeable); | ||||
|     GraphicsBitmap(Format, const Size&, size_t pitch, RGBA32*); | ||||
|     GraphicsBitmap(Format, const Size&, MappedFile&&); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Andreas Kling
						Andreas Kling