| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -8,14 +8,11 @@ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					#include <GLES2/gl2ext.h> | 
					 | 
					 | 
					 | 
					#include <GLES2/gl2ext.h> | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					static PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; | 
					 | 
					 | 
					 | 
					static PFNEGLCREATEIMAGEKHRPROC eglCreateImageKHR; | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					static PFNEGLDESTROYIMAGEKHRPROC eglDestroyImageKHR; | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					void TextureCameraEGLHelper::EGLInit() | 
					 | 
					 | 
					 | 
					void TextureCameraEGLHelper::EGLInit() | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					{ | 
					 | 
					 | 
					 | 
					{ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    eglCreateImageKHR = reinterpret_cast<PFNEGLCREATEIMAGEKHRPROC>( | 
					 | 
					 | 
					 | 
					    eglCreateImageKHR = reinterpret_cast<PFNEGLCREATEIMAGEKHRPROC>( | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        eglGetProcAddress("eglCreateImageKHR")); | 
					 | 
					 | 
					 | 
					        eglGetProcAddress("eglCreateImageKHR")); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    eglDestroyImageKHR = reinterpret_cast<PFNEGLDESTROYIMAGEKHRPROC>( | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					        eglGetProcAddress("eglDestroyImageKHR")); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					EGLImageKHR TextureCameraEGLHelper::EGLCreateImage(const void *handle, void *egl_display, void *egl_context) | 
					 | 
					 | 
					 | 
					EGLImageKHR TextureCameraEGLHelper::EGLCreateImage(const void *handle, void *egl_display, void *egl_context) | 
				
			
			
		
	
	
		
		
			
				
					| 
						
						
						
							
								
							
						
					 | 
					 | 
					@ -28,10 +25,3 @@ EGLImageKHR TextureCameraEGLHelper::EGLCreateImage(const void *handle, void *egl | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                             (EGLClientBuffer) handle, | 
					 | 
					 | 
					 | 
					                             (EGLClientBuffer) handle, | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					                             eglImgAttrs); | 
					 | 
					 | 
					 | 
					                             eglImgAttrs); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					void TextureCameraEGLHelper::EGLDestroyImage(EGLImageKHR image) | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					{ | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    auto display = PlatformMethods::GetEGLDisplay(); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    eglDestroyImageKHR(display, image); | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |