mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:12:43 +00:00 
			
		
		
		
	 2da1c1c10e
			
		
	
	
		2da1c1c10e
		
	
	
	
	
		
			
			We now generate all LibGL API wrappers from a single API method definition list stored in `GLAPI.json`. Since a significant portion of the OpenGL API methods are relatively consistent variants, we take advantage of this to generate a lot of these variants at once. The autogenerated methods check for the non-nullness of the current `GLContext`, and only perform an action if a `GLContext` is present. This prevents a crash in ports like GLTron, who assume you can still call the OpenGL API without an active context. This increases our API wrapper method count from 211 to 356. Fixes #15814.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			232 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			232 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| add_subdirectory(IPCCompiler)
 | |
| add_subdirectory(LibEDID)
 | |
| add_subdirectory(LibGL)
 | |
| add_subdirectory(LibLocale)
 | |
| add_subdirectory(LibTimeZone)
 | |
| add_subdirectory(LibUnicode)
 | |
| add_subdirectory(LibWeb)
 | |
| add_subdirectory(StateMachineGenerator)
 |