mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:02:45 +00:00 
			
		
		
		
	 3b2ded1d44
			
		
	
	
		3b2ded1d44
		
	
	
	
	
		
			
			Size and format information are the same for every implementation and do not need to be virtual. This removes the need to reimplement them for each driver.
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			368 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			368 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| set(SOURCES
 | |
|     Clipper.cpp
 | |
|     Device.cpp
 | |
|     Image.cpp
 | |
|     PixelConverter.cpp
 | |
|     ShaderCompiler.cpp
 | |
|     ShaderProcessor.cpp
 | |
|     Sampler.cpp
 | |
|     Shader.cpp
 | |
| )
 | |
| 
 | |
| add_compile_options(-Wno-psabi)
 | |
| serenity_lib(LibSoftGPU softgpu)
 | |
| target_link_libraries(LibSoftGPU PRIVATE LibCore LibGfx)
 | |
| target_sources(LibSoftGPU PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/../LibGPU/Image.cpp")
 |