Commit Graph

49 Commits

Author SHA1 Message Date
Hajime Hoshi
3553fc55c3 ui: Unify the context thread and the UI thread 2016-07-23 21:22:59 +09:00
Hajime Hoshi
1627176d59 graphics: Restoring by recording drawing-images history 2016-07-13 12:38:59 +09:00
Hajime Hoshi
1b152ae771 opengl: Bug fix: Reset lastTexture when deleting 2016-07-10 05:04:25 +09:00
Hajime Hoshi
d8e7ec5274 opengl: Initialize lastTexture 2016-07-09 23:14:24 +09:00
Hajime Hoshi
275fc66f06 graphics: Bug fix: textuer should be stored at OpenGL layer 2016-07-09 19:36:34 +09:00
Hajime Hoshi
0d91883fb9 opengl: Remove init (desktops) 2016-07-04 00:51:58 +09:00
Hajime Hoshi
163ee01bd5 graphics: Rename Initialize/Resume -> Reset 2016-07-04 00:30:14 +09:00
Hajime Hoshi
d0a779e272 graphics: Delete programs and buffers when resuming 2016-07-04 00:23:45 +09:00
Hajime Hoshi
86144a1cd6 opengl: Move members to variables 2016-07-03 18:23:19 +09:00
Hajime Hoshi
ff30f01c1b graphics: Remove Finalize 2016-06-30 00:21:47 +09:00
Hajime Hoshi
3004d4d7af opengl: Fix a misspell 2016-06-28 02:53:35 +09:00
Hajime Hoshi
bc2703c345 opengl: Call glViewport each time when different framebuffer is set 2016-06-18 22:47:34 +09:00
Hajime Hoshi
98fccb563e graphics: Bug fix: Need to reset viewport size after resizing (#232) 2016-06-18 06:47:35 +09:00
Hajime Hoshi
5eb77d2fb5 Remove 'default framebuffer' and add 'screen framebuffer' for iOS 2016-06-18 04:56:13 +09:00
Hajime Hoshi
dfe4db67be Fix for iOS 2016-06-17 02:08:25 +09:00
Hajime Hoshi
10ebe3274c Fix build tags 2016-06-15 03:35:35 +09:00
Hajime Hoshi
13f594baed Fix build tags for iOS (WIP) 2016-06-15 00:19:02 +09:00
Hajime Hoshi
a1fbf2cd2d graphics: Remove 'Resume' 2016-06-12 23:54:36 +09:00
Hajime Hoshi
5fbbb6dc6a opengl: Check texture/framebuffer is valid before deleting it 2016-06-12 23:19:01 +09:00
Hajime Hoshi
870ce85615 opengl: Remove Pause 2016-06-12 18:18:43 +09:00
Hajime Hoshi
f03a99e89a opengl: Add Resume() and Pause() 2016-06-10 01:19:10 +09:00
Hajime Hoshi
83a96dc532 android: Bug fix: Black flicking (#226) 2016-06-07 02:24:36 +09:00
Hajime Hoshi
26ef56232b opengl: Bug fix: Reset viewport when framebuffer delation 2016-06-05 08:16:16 +09:00
Hajime Hoshi
12904d168d opengl: Bug fix: glViewport must be called after framebuffer deletion 2016-06-05 07:47:11 +09:00
Hajime Hoshi
e5965d7771 opengl: Reduce calls of glSetViewport 2016-06-05 03:16:54 +09:00
Hajime Hoshi
388dd835a6 opengl: Move ZeroFramebuffer to context.go 2016-06-04 04:04:18 +09:00
Hajime Hoshi
ca3322edbc opengl: Refactoring: Rename functions 2016-06-04 03:50:28 +09:00
Hajime Hoshi
da1354ec51 opengl: Bug fix: Reset the bound framebuffer after deletion (#227) 2016-06-04 03:41:14 +09:00
Hajime Hoshi
3e912ce7f8 graphics: Optimize commands: call glBufferSubData as less times as possible 2016-06-03 12:52:20 +09:00
Hajime Hoshi
16ef82fa23 opengl: Reduce CheckFramebufferState call for speed 2016-06-01 03:53:55 +09:00
Hajime Hoshi
91491e58f4 opengl: Reduce glBindFramebuffer calls 2016-06-01 02:33:31 +09:00
Hajime Hoshi
5638bb93f5 opengl: Remove glFlush to improve performance 2016-06-01 01:48:46 +09:00
Hajime Hoshi
76ea075896 Add example/mobile (not-compilable yet) 2016-05-19 03:17:50 +09:00
Hajime Hoshi
46cbd0c4a0 graphics: Add a func to delete programs and buffers 2016-05-16 11:54:34 +09:00
Hajime Hoshi
ebe6296222 opengl: Remove (*Program).Equals 2016-05-15 02:37:25 +09:00
Hajime Hoshi
a04ce352f8 opengl: Bug fixed: there were some errors shadowed and not used 2016-05-14 03:24:01 +09:00
Hajime Hoshi
df23b57b16 openg: Refactoring 2016-05-07 19:26:35 +09:00
Hajime Hoshi
e99736d5a5 opengl: Refactoring 2016-05-07 19:07:56 +09:00
Hajime Hoshi
5a379cb7cb Reduce panics (#196) 2016-04-11 01:48:40 +09:00
Hajime Hoshi
3ec0020f02 graphics: Bug fix (#201): Remove gl.Flush for performance (this ws added by #161 but no longer needed because of BindZeroFrameBuffer) 2016-04-08 21:45:53 +09:00
Hajime Hoshi
c6fc5ab865 graphics: CompositionMode -> CompositeMode (#170) 2016-03-01 02:16:32 +09:00
Hajime Hoshi
321f5e376e opengl: Cache a composition mode 2016-02-29 01:44:09 +09:00
Hajime Hoshi
8ae1e292ab graphics: Introduce CompositionMode (#151) 2016-02-29 01:37:06 +09:00
Hajime Hoshi
997539b243 opengl: Unexport Attrib/UniformLocation 2016-02-27 03:13:42 +09:00
Hajime Hoshi
93f9d9fbb0 opengl: Introduce locationCache struct 2016-02-27 03:01:55 +09:00
Hajime Hoshi
2bda89709f opengl: Unexport ProgramID 2016-02-27 02:41:38 +09:00
Hajime Hoshi
f432c15078 opengl: GetProgramID() -> Program.ID() 2016-02-27 02:27:39 +09:00
Hajime Hoshi
3d79e086a9 opengl: Rename some functions not to be exported 2016-02-26 02:03:24 +09:00
Hajime Hoshi
ce9f957cd8 opengl: Use go-gl/gl again (#162) 2016-02-26 02:01:13 +09:00