mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 02:42:44 +00:00 
			
		
		
		
	LibGL: Implement glStencil* functions
				
					
				
			This implements the context state for stencil testing functions and operations. No rasterization is implemented.
This commit is contained in:
		
							parent
							
								
									729349ce78
								
							
						
					
					
						commit
						ea6bcda79c
					
				
					 7 changed files with 135 additions and 1 deletions
				
			
		|  | @ -204,6 +204,8 @@ static void rasterize_triangle(const RasterizerOptions& options, Gfx::Bitmap& re | |||
| 
 | ||||
|     FloatVector4 pixel_buffer[RASTERIZER_BLOCK_SIZE][RASTERIZER_BLOCK_SIZE]; | ||||
| 
 | ||||
|     // FIXME: implement stencil testing
 | ||||
| 
 | ||||
|     // Iterate over all blocks within the bounds of the triangle
 | ||||
|     for (int by = by0; by < by1; by++) { | ||||
|         for (int bx = bx0; bx < bx1; bx++) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Jelle Raaijmakers
						Jelle Raaijmakers