Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						e66f1fb71e 
					 
					
						
						
							
							graphicsdriver/opengl: Use glBufferSubData instead of glTexSubImage2D on browsers  
						
						... 
						
						
						
						Updates #988  
						
						
					 
					
						2020-01-02 16:27:51 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						51f4ba1320 
					 
					
						
						
							
							graphicsdriver/opengl: Refactoring  
						
						
						
						
					 
					
						2020-01-01 01:57:12 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						85cbc7e56b 
					 
					
						
						
							
							Enable to compile Ebiten on js/wasm with Go 1.14  
						
						... 
						
						
						
						Fixes  #1024  
					
						2019-12-19 00:45:53 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						65fdf48cbf 
					 
					
						
						
							
							graphicsdriver: Refactoring: ReplacePixels takes multiple arguments  
						
						... 
						
						
						
						This reduces the number of graphics commands, and this works more
efficiently if the driver has an efficient way. 
						
						
					 
					
						2019-11-21 23:52:12 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						52f6be2639 
					 
					
						
						
							
							graphicsdriver/opengl: Fix suspicious GL function calls  
						
						... 
						
						
						
						Before this change, the pixel object buffer is unbound just after
getting a pointer by glMapBuffer. This seemed suspicious.
This change fixes to do all pixel manipulations once between
glMapBuffer and glUnmapBuffer without changing a bound buffer.
This might fix a wrong rendering on some machines, but I am not
sure.
Updates #993  
						
						
					 
					
						2019-11-20 02:41:34 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						acc933b7c3 
					 
					
						
						
							
							graphicsdriver/opengl: Experimental PBO implementation  
						
						... 
						
						
						
						This change is an experimental implementation to use Pixel Buffer
Objects. This reduces calls of glTexSubImage2D.
This works only on desktops. Unfortunately WebGL does not have
this features. Mobiles can have PBO as of OpenGL ES 3.
Updates #976  
						
						
					 
					
						2019-11-17 05:01:43 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						8c54cf639a 
					 
					
						
						
							
							graphicsdriver/opengl: Reduce glFlush calls  
						
						... 
						
						
						
						Fixes  #981  
					
						2019-11-14 01:21:08 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						fd250c8d8c 
					 
					
						
						
							
							graphics: Rename NextPowerOf2Int -> InternalImageSize and add image size adjustment  
						
						... 
						
						
						
						There is a minimum internal image size on some system like old iOS
devices. This change adds adjustment of the size.
Issue: #810  
						
						
					 
					
						2019-02-14 23:06:01 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						a3eddeb50f 
					 
					
						
						
							
							Improve panic messages  
						
						
						
						
					 
					
						2019-02-06 23:43:03 -10:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						62210c89f3 
					 
					
						
						
							
							graphicsdriver/opengl: Add assertion at ReplacePixels  
						
						
						
						
					 
					
						2018-11-18 02:09:44 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						ef08e218c8 
					 
					
						
						
							
							graphicsdriver/opengl: Refactoring: Remove framebuffer.projectionMatrix  
						
						
						
						
					 
					
						2018-11-17 22:29:04 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						14f5a03a79 
					 
					
						
						
							
							Merge math and graphics packages  
						
						
						
						
					 
					
						2018-11-17 20:23:12 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						de745f00fa 
					 
					
						
						
							
							graphicsdriver/opengl: Refactoring: Improve logic to generate framebuffer  
						
						
						
						
					 
					
						2018-11-17 19:49:30 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						44d1b137e7 
					 
					
						
						
							
							graphicsdriver/opengl: Refactoring  
						
						
						
						
					 
					
						2018-11-17 19:29:52 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						2313f79160 
					 
					
						
						
							
							graphicsdriver: Rename Delete -> Dispose  
						
						
						
						
					 
					
						2018-11-12 23:44:39 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						734aeabc8d 
					 
					
						
						
							
							graphicsdriver/opengl: Remove theContext  
						
						
						
						
					 
					
						2018-11-11 03:37:37 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						2f692d98c7 
					 
					
						
						
							
							graphicsdriver: Rename TexSubImage2D -> ReplacePixels  
						
						
						
						
					 
					
						2018-11-11 01:35:10 +09:00 
						 
				 
			
				
					
						
							
							
								Hajime Hoshi 
							
						 
					 
					
						
						
							
						
						241716d0e6 
					 
					
						
						
							
							Add package graphicsdriver; Move opengl to graphicsdriver/opengl  
						
						
						
						
					 
					
						2018-11-10 22:52:37 +09:00