f8fcd7f06a 
								
							
								 
							
						 
						
							
							
								
								Remove glEGLImageTargetTexture2DOES  
							
							... 
							
							
 
							
							It's declared via render/glapi.txt. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								d592dcdedd 
								
									
								
							
								 
							
						 
						
							
							
								
								render/gles2: check for GL_OES_EGL_image_external  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								62d646f2b8 
								
									
								
							
								 
							
						 
						
							
							
								
								render/gles2: remove assumptions about supported formats  
							
							... 
							
							
 
							
							We were assuming GL_BGRA_EXT was always supported.
We now check that it's supported for rendering. We fail if it isn't because
this format is specified as "always supported" by the Wayland protocol.
We also check if it's supported for reading pixels. A new preferred_read_format
function returns the preferred format that can be used to read pixels. This is
used by the screencopy protocol. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								cb03a41a3b 
								
							
								 
							
						 
						
							
							
								
								Use enum wl_shm_format for gles2 texture formats  
							
							... 
							
							
 
							
							Also rephrase the write_pixels comment. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								cd28637187 
								
							
								 
							
						 
						
							
							
								
								Remove fmt parameter from wlr_texture_write_pixels  
							
							... 
							
							
 
							
							It's not allowed to change the format of a texture so remove
the confusing parameter. 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								ad406db21c 
								
							
								 
							
						 
						
							
							
								
								gles2: change context when it is not current  
							
							... 
							
							
 
							
							Texture functions, that create and manipulate textures should switch
the current context if necessary.
thanks to: @emersion
Fixes  #934  
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								7cbef15206 
								
									
								
							
								 
							
						 
						
							
							
								
								util: add wlr_ prefix to log symbols  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								6f29db1044 
								
							
								 
							
						 
						
							
							
								
								gles2 renderer: introduce struct wlr_gles2_tex_shader  
							
							
 
							
						 
						
							7 years ago  
				
					
						
							
							
								 
						
							
							
								de91c55ea9 
								
							
								 
							
						 
						
							
							
								
								Fix GLES2 renderer to use glGetUniformLocations locations  
							
							... 
							
							
 
							
							This is needed as uniform locations are driver implementation-specific. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								71ca45e2c0 
								
									
								
							
								 
							
						 
						
							
							
								
								Make sure we don't use others' prefixes  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1b802d9251 
								
									
								
							
								 
							
						 
						
							
							
								
								Make wlr_renderer_scissor take normal coords instead of upside-down ones  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f3f61bed3e 
								
									
								
							
								 
							
						 
						
							
							
								
								Untie wlr_gles2_renderer and wlr_gles2_texture  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								330ee08126 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge pull request  #744  from emersion/texture-redesign  
							
							... 
							
							
 
							
							Redesign wlr_texture 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c42fd1018b 
								
									
								
							
								 
							
						 
						
							
							
								
								render: remove GL calls from wlr_egl  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c63d94483b 
								
									
								
							
								 
							
						 
						
							
							
								
								Redesign wlr_texture  
							
							... 
							
							
 
							
							- Textures are now immutable (apart from those created from raw
  pixels), no more invalid textures
- Move all wl_drm stuff in wlr_renderer
- Most of wlr_texture fields are now private
- Remove some duplicated DMA-BUF code in the DRM backend
- Add more assertions
- Stride is now always given as bytes rather than pixels
- Drop wl_shm functions
Fun fact: this patch has been written 10,000 meters up in the air. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								cc5ef1d2ff 
								
									
								
							
								 
							
						 
						
							
							
								
								render/gles2: move list of supported WL formats to pixel_format.c  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								95e86e675a 
								
									
								
							
								 
							
						 
						
							
							
								
								render/gles2: remove global state, use OpenGL debug extension  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b3cb5a36c7 
								
							
								 
							
						 
						
							
							
								
								gles2: allow to specify texture target type  
							
							... 
							
							
 
							
							Allow to set the texture target type when generating/binding the
texture.  This allows us to attach the texture type to the texture so we
don't have to keep the logic elsewhere. 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c41de2d1be 
								
									
								
							
								 
							
						 
						
							
							
								
								render: split render.h into wlr_renderer.h and wlr_texture.h  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2688f6163f 
								
							
								 
							
						 
						
							
							
								
								Rename _strip_path to wlr_strip_path  
							
							... 
							
							
 
							
							since it's a public function 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c2e1474010 
								
									
								
							
								 
							
						 
						
							
							
								
								Reformat all #include directives  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								9b984253e2 
								
							
								 
							
						 
						
							
							
								
								Move egl.h to render/egl.h  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								427bdb5b55 
								
									
								
							
								 
							
						 
						
							
							
								
								Use more consistent include guard names  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								f24b3df980 
								
							
								 
							
						 
						
							
							
								
								wlr renderer/texture: rename init to create when it does alloc  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								de6f32c84e 
								
							
								 
							
						 
						
							
							
								
								Refactor away wlr_renderer_state  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								94e6e6334b 
								
							
								 
							
						 
						
							
							
								
								Refactor out wlr_texture_state  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								c24351681f 
								
							
								 
							
						 
						
							
							
								
								Refactor EGL handling  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								1901c3e1b6 
								
							
								 
							
						 
						
							
							
								
								Fix example for updated gles  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								67369173aa 
								
							
								 
							
						 
						
							
							
								
								Implement drm (egl) buffer attaching  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								e167f41fde 
								
							
								 
							
						 
						
							
							
								
								Rename wlr_surface -> wlr_texture; attach -> upload  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								8189c64d7f 
								
							
								 
							
						 
						
							
							
								
								Fixed that warnings that showed up with optimisations.  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								5a2796266f 
								
							
								 
							
						 
						
							
							
								
								Support wl_shm pixel formats in gles2 renderer  
							
							
 
							
						 
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								b18209c904 
								
							
								 
							
						 
						
							
							
								
								Switch to GLES2  
							
							... 
							
							
 
							
							Closes  #13  
						
							8 years ago  
				
					
						
							
							
								 
						
							
							
								2443a070e7 
								
							
								 
							
						 
						
							
							
								
								Add colored quad and ellipse rendering primitives  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								2b909e1729 
								
							
								 
							
						 
						
							
							
								
								Add error "handling" to gles3 backend  
							
							
 
							
						 
						
							9 years ago  
				
					
						
							
							
								 
						
							
							
								cd6a40d816 
								
							
								 
							
						 
						
							
							
								
								Further improvements to rendering subsystem  
							
							
 
							
						 
						
							9 years ago