mirror of
				https://gitlab.freedesktop.org/wlroots/wlroots.git
				synced 2025-11-03 09:01:40 -05:00 
			
		
		
		
	
		
			
	
	
		
			18 lines
		
	
	
	
		
			369 B
		
	
	
	
		
			C
		
	
	
	
	
	
		
		
			
		
	
	
			18 lines
		
	
	
	
		
			369 B
		
	
	
	
		
			C
		
	
	
	
	
	
| 
								 | 
							
								#ifndef WLR_BACKEND_EGL_H
							 | 
						||
| 
								 | 
							
								#define WLR_BACKEND_EGL_H
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#include <EGL/egl.h>
							 | 
						||
| 
								 | 
							
								#include <stdbool.h>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								struct wlr_egl {
							 | 
						||
| 
								 | 
							
									EGLDisplay display;
							 | 
						||
| 
								 | 
							
									EGLConfig config;
							 | 
						||
| 
								 | 
							
									EGLContext context;
							 | 
						||
| 
								 | 
							
								};
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								bool wlr_egl_init(struct wlr_egl *egl, EGLenum platform, void *display);
							 | 
						||
| 
								 | 
							
								void wlr_egl_free(struct wlr_egl *egl);
							 | 
						||
| 
								 | 
							
								EGLSurface wlr_egl_create_surface(struct wlr_egl *egl, void *window);
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								#endif
							 |