mirror of
				https://gitlab.freedesktop.org/wayland/wayland.git
				synced 2025-11-03 09:01:42 -05:00 
			
		
		
		
	protocol: mention that buffers with alpha are assumed premultiplied
This turns out to be the default assumption by compositors, OpenGL, and the DRM framework. Let's say it explicitly to avoid misinterpretation. See https://lists.freedesktop.org/archives/wayland-devel/2021-September/041990.html. Signed-off-by: Matt Hoosier <matt.hoosier@garmin.com>
This commit is contained in:
		
							parent
							
								
									616b4ae618
								
							
						
					
					
						commit
						c6c1bbe4ab
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -436,6 +436,10 @@
 | 
			
		|||
      a height and can be attached to a wl_surface, but the mechanism by which a
 | 
			
		||||
      client provides and updates the contents is defined by the buffer factory
 | 
			
		||||
      interface.
 | 
			
		||||
 | 
			
		||||
      If the buffer uses a format that has an alpha channel, the alpha channel
 | 
			
		||||
      is assumed to be premultiplied in the color channels unless otherwise
 | 
			
		||||
      specified.
 | 
			
		||||
    </description>
 | 
			
		||||
 | 
			
		||||
    <request name="destroy" type="destructor">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue