Hajime Hoshi
|
6e897d1479
|
graphcis: Bug fix: Can't dispose textures/framebuffers after the context is lost (fixing #305)
|
2017-01-22 01:37:08 +09:00 |
|
Hajime Hoshi
|
07294a98b6
|
Move internal/graphics/opengl -> internal/opengl
|
2016-11-03 23:31:25 +09:00 |
|
Hajime Hoshi
|
c7106f595c
|
Add error checks
|
2016-08-02 02:26:44 +09:00 |
|
Hajime Hoshi
|
4ad5c65efe
|
graphics: Rename s/ensure/resolveStale/
|
2016-07-27 23:08:28 +09:00 |
|
Hajime Hoshi
|
0fc61ed568
|
pixels: Rename fuctions
|
2016-07-26 10:51:48 +09:00 |
|
Hajime Hoshi
|
558f559323
|
graphics: Remove pixels when inconsistent
|
2016-07-26 10:35:24 +09:00 |
|
Hajime Hoshi
|
c0eb01d69e
|
pixels: Rename s/flush/reset/
|
2016-07-25 09:10:51 +09:00 |
|
Hajime Hoshi
|
95dae4ad45
|
pixels: Remove 'inconsistent' property
|
2016-07-25 09:01:00 +09:00 |
|
Hajime Hoshi
|
9bbd5e89c3
|
graphics: Bug fix: GL context is not available until graphics context is initialized
|
2016-07-24 06:02:04 +09:00 |
|
Hajime Hoshi
|
8d074ecc20
|
graphics: Add Pixel's 'inconsistent' state
|
2016-07-24 01:28:39 +09:00 |
|
Hajime Hoshi
|
823834c013
|
graphics: Bug fix: dispose offscreen2
|
2016-07-20 02:09:09 +09:00 |
|
Hajime Hoshi
|
1627176d59
|
graphics: Restoring by recording drawing-images history
|
2016-07-13 12:38:59 +09:00 |
|
Hajime Hoshi
|
ebe7f10af1
|
graphics: Make NewVolatileImage unexported
|
2016-07-12 01:58:10 +09:00 |
|
Hajime Hoshi
|
e4a7d9bde4
|
graphics: Remove unneeded clearing
|
2016-07-06 01:41:49 +09:00 |
|
Hajime Hoshi
|
c7783b2ecf
|
graphics: Clear volatile images at the start of a frame
|
2016-07-06 01:30:49 +09:00 |
|
Hajime Hoshi
|
31d1af9740
|
graphics: Add NewVolatileImage (#235)
|
2016-07-05 03:40:40 +09:00 |
|
Hajime Hoshi
|
17fbffb720
|
graphics: Rename noSave -> volatile
|
2016-07-05 03:18:55 +09:00 |
|
Hajime Hoshi
|
793aad2681
|
graphics: Rename restorePixels -> restore
|
2016-07-05 03:01:32 +09:00 |
|
Hajime Hoshi
|
760e1aa288
|
graphics: Add newImageImplFromImage; Rename theImages -> theImagesForRestoring
|
2016-07-05 01:34:40 +09:00 |
|
Hajime Hoshi
|
163ee01bd5
|
graphics: Rename Initialize/Resume -> Reset
|
2016-07-04 00:30:14 +09:00 |
|
Hajime Hoshi
|
2c1bcaf87a
|
graphics: Remove imageM (global lock)
|
2016-07-03 23:31:03 +09:00 |
|
Hajime Hoshi
|
f7a84fe969
|
graphics: Move all context usages to internal/graphics
|
2016-07-03 22:35:27 +09:00 |
|
Hajime Hoshi
|
6e76c3ed6b
|
graphics: Move context.resume() to internal/graphics
|
2016-07-03 21:42:01 +09:00 |
|
Hajime Hoshi
|
146c1e5846
|
graphics: Refactoring: Remove graphicsContext.Draw and flush
|
2016-07-03 18:56:44 +09:00 |
|
Hajime Hoshi
|
fbc1a4238c
|
graphics: Reduce calls of ui.GLContext()
|
2016-07-03 17:27:33 +09:00 |
|
Hajime Hoshi
|
f29ff4a9e2
|
graphics: Refactoring: No need to call ResetViewportSize
|
2016-07-03 16:41:05 +09:00 |
|
Hajime Hoshi
|
93f052de8c
|
graphics: Refactoring
|
2016-07-03 16:18:29 +09:00 |
|
Hajime Hoshi
|
375d71e085
|
graphics: Reduce calls of ui.GLContext()
|
2016-07-03 15:41:04 +09:00 |
|
Hajime Hoshi
|
0519c69c13
|
graphics: Add Image.noSave
|
2016-07-03 01:08:47 +09:00 |
|
Hajime Hoshi
|
baba009a28
|
graphics: Better scaling (especially for the case 1 < scale < 2)
|
2016-06-25 04:15:30 +09:00 |
|
Hajime Hoshi
|
5983e94cb8
|
graphics: Better scaling with a real number (#236)
|
2016-06-25 01:27:03 +09:00 |
|
Hajime Hoshi
|
bb511b2c13
|
ui: Scale is now float64 (#236)
|
2016-06-25 01:26:59 +09:00 |
|
Hajime Hoshi
|
42332c7b49
|
graphics: Fix a comment
|
2016-06-24 01:24:08 +09:00 |
|
Hajime Hoshi
|
e9de66aca2
|
graphics: Reset Viewport cache at each frame
|
2016-06-22 02:08:58 +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
|
4d8897b785
|
graphics: Refactoring
|
2016-06-14 02:10:43 +09:00 |
|
Hajime Hoshi
|
b852f5a0f7
|
graphics: Bug fix: Initialize must be done even when Draw is called first
|
2016-06-14 00:55:25 +09:00 |
|
Hajime Hoshi
|
6640f60c88
|
graphics: Bug fix: screen flicks on Android (#229)
|
2016-06-14 00:30:27 +09:00 |
|
Hajime Hoshi
|
a1fbf2cd2d
|
graphics: Remove 'Resume'
|
2016-06-12 23:54:36 +09:00 |
|
Hajime Hoshi
|
d99bfaf034
|
graphice: Dispose old images before restoring
|
2016-06-12 20:57:02 +09:00 |
|
Hajime Hoshi
|
870ce85615
|
opengl: Remove Pause
|
2016-06-12 18:18:43 +09:00 |
|
Hajime Hoshi
|
15e85398e2
|
graphics: Save pixels more aggressively
|
2016-06-12 17:12:37 +09:00 |
|
Hajime Hoshi
|
fabed66b4a
|
graphics: Remove delayedImageTasks
|
2016-06-12 00:32:35 +09:00 |
|
Hajime Hoshi
|
b59206b777
|
graphics: Move command flushing to ebiten package
|
2016-06-11 21:50:13 +09:00 |
|
Hajime Hoshi
|
dfd4bc89ed
|
graphics: Revert FlushCommand execution
|
2016-06-11 20:21:14 +09:00 |
|
Hajime Hoshi
|
912d498cdf
|
graphics: Remove unused arguments
|
2016-06-11 05:48:09 +09:00 |
|
Hajime Hoshi
|
f897c3958e
|
graphics: Fix restoring logic
|
2016-06-11 01:25:03 +09:00 |
|
Hajime Hoshi
|
f71dcd3466
|
Remove 'Pause'
|
2016-06-11 00:57:10 +09:00 |
|
Hajime Hoshi
|
f03a99e89a
|
opengl: Add Resume() and Pause()
|
2016-06-10 01:19:10 +09:00 |
|
Hajime Hoshi
|
cabea24815
|
graphics: Move glFlush to a more appropriate place
|
2016-06-07 03:02:15 +09:00 |
|
Hajime Hoshi
|
83a96dc532
|
android: Bug fix: Black flicking (#226)
|
2016-06-07 02:24:36 +09:00 |
|
Hajime Hoshi
|
3195ae32d8
|
mobile: Implement Pause/Resume
|
2016-05-24 00:00:54 +09:00 |
|
Hajime Hoshi
|
6d06b01cae
|
gomobile bind works
|
2016-05-22 04:25:15 +09:00 |
|
Hajime Hoshi
|
dbd6ed8139
|
graphics: Move theDelayedImageTasks.exec() to newImageWithZeroFramebuffer
|
2016-05-18 22:45:15 +09:00 |
|
Hajime Hoshi
|
4d04413bf9
|
ui: Move the run loop to internal/ui
|
2016-05-18 10:46:23 +09:00 |
|
Hajime Hoshi
|
da0196911d
|
graphics: Refactoring: Now all Image objects are generated from New* funcs
|
2016-05-15 21:08:39 +09:00 |
|
Hajime Hoshi
|
c291e2abad
|
graphics: Refactoring
|
2016-05-11 00:48:30 +09:00 |
|
Hajime Hoshi
|
c3d8cf2366
|
graphics: Make Image functions concurrent safe (#201)
|
2016-04-07 03:49:11 +09:00 |
|
Hajime Hoshi
|
deabfa5e15
|
graphics: Clear the default render target just after initializing
|
2016-03-21 23:24:30 +09:00 |
|
Hajime Hoshi
|
b3d7e04de5
|
ui: Introduce IsRunningSlowly (#168)
|
2016-02-28 02:28:16 +09:00 |
|
Hajime Hoshi
|
8788c8439f
|
Refactoring: Remove postUpdate
|
2016-02-28 00:11:27 +09:00 |
|
Hajime Hoshi
|
e2f528d206
|
Refactoring: unify preUpdate and calling f
|
2016-02-27 23:39:06 +09:00 |
|
Hajime Hoshi
|
63f2c3cb9f
|
graphics: Refactoring: remove ExecOnUIThread
|
2016-02-20 04:39:43 +09:00 |
|
Hajime Hoshi
|
e8c2e5f3d6
|
image: Add image.Dipose and image.IsDisposed
|
2016-02-07 01:27:55 +09:00 |
|
Hajime Hoshi
|
633ee4096e
|
#132 Temporal hack to run with Go1.5
|
2015-07-22 23:28:15 +09:00 |
|
Hajime Hoshi
|
936942a28d
|
Add comments
|
2015-02-20 02:01:56 +09:00 |
|
Hajime Hoshi
|
af09da1665
|
graphics: Rename defaultR -> defaultRenderTarget
|
2015-02-19 01:12:00 +09:00 |
|
Hajime Hoshi
|
249add3979
|
Add SetScreenSize
|
2015-02-09 11:02:04 +09:00 |
|
Hajime Hoshi
|
3964944deb
|
Move ui_*.go back to internal/ui again
|
2015-01-27 22:37:00 +09:00 |
|
Hajime Hoshi
|
346bc53d53
|
Move internal/opengl -> internal/graphics/internal/opengl
|
2015-01-26 23:27:28 +09:00 |
|
Hajime Hoshi
|
01dbc515b5
|
Remove innerImage
|
2015-01-12 19:54:25 +09:00 |
|
Hajime Hoshi
|
4226354e4a
|
Use new style methods of matrices
|
2015-01-05 10:30:33 +09:00 |
|
Hajime Hoshi
|
96f5315c49
|
Add internal/ui module
|
2015-01-02 02:13:27 +09:00 |
|
Hajime Hoshi
|
e10bcb3dd8
|
Move some methods to opengl.Context
|
2014-12-31 19:27:41 +09:00 |
|
Hajime Hoshi
|
dc6a153c65
|
Add opengl.Context.NewShader
|
2014-12-31 16:12:13 +09:00 |
|
Hajime Hoshi
|
fbcd04cda8
|
Add opengl.Framebuffer.SetAsViewport
|
2014-12-31 15:22:15 +09:00 |
|
Hajime Hoshi
|
cc9b874dd0
|
Add opengl.NewTexture
|
2014-12-31 15:00:28 +09:00 |
|
Hajime Hoshi
|
450a8da267
|
Rename internal/opengl -> internal/graphics
|
2014-12-31 02:55:17 +09:00 |
|
Hajime Hoshi
|
957b4d392f
|
Refactoring: Hide some functions of opengl
|
2014-12-31 02:06:08 +09:00 |
|
Hajime Hoshi
|
ffab448d40
|
Rename ColorGeometry -> ColorM, GeometryMatrix -> GeoM (#27)
|
2014-12-26 22:50:25 +09:00 |
|
Hajime Hoshi
|
48f639db02
|
Bug fix: glfw's framebuffer might be lately changed after consuming some events
|
2014-12-26 20:44:35 +09:00 |
|
Hajime Hoshi
|
ec6dc4b7ec
|
Use value-type values for some of DrawImageOption's members
|
2014-12-26 11:29:44 +09:00 |
|
Hajime Hoshi
|
d53d55a629
|
Rename *MatrixI -> New*Matrix
|
2014-12-26 03:58:33 +09:00 |
|
Hajime Hoshi
|
f2fbd991d2
|
Rename ImageDrawOptions -> DrawImageOptions (#43)
|
2014-12-26 01:39:48 +09:00 |
|
Hajime Hoshi
|
90665944b9
|
Rename ImageDrawOption -> ImageDrawOptions
|
2014-12-24 23:38:04 +09:00 |
|
Hajime Hoshi
|
b39df50979
|
Introduce ImageDrawOption
|
2014-12-24 22:46:00 +09:00 |
|
Hajime Hoshi
|
373371d1b2
|
Change license comments style to use magic comments (magic comments like +build should be placed before a general comment)
|
2014-12-24 11:04:10 +09:00 |
|
Hajime Hoshi
|
604c0d095f
|
Remove ImagePart
|
2014-12-24 02:04:56 +09:00 |
|
Hajime Hoshi
|
84f2e8aad2
|
Remove ebiten.Rect (#37)
|
2014-12-24 01:15:16 +09:00 |
|
Hajime Hoshi
|
27fe3d9ab8
|
Reduce depndencies on go-gl/gl
|
2014-12-23 04:32:36 +09:00 |
|
Hajime Hoshi
|
b3581d1c7a
|
Bug fix: Need to clear the default framebuffer
|
2014-12-23 02:35:17 +09:00 |
|
Hajime Hoshi
|
095c3ca380
|
Rename opengl.Image (that is originally wrong) -> opengl.Framebuffer
|
2014-12-23 00:01:22 +09:00 |
|
Hajime Hoshi
|
baf18ba479
|
Rename variables
|
2014-12-22 11:18:05 +09:00 |
|
Hajime Hoshi
|
0f8ac49055
|
Unify RenderTarget and Image into Image (#34)
|
2014-12-22 11:10:08 +09:00 |
|
Hajime Hoshi
|
480289cd5d
|
Rename innerRenderTarget.texture -> .image
|
2014-12-21 02:47:53 +09:00 |
|
Hajime Hoshi
|
6a2cfab839
|
Rename TexturePart -> ImagePart
|
2014-12-21 02:42:55 +09:00 |
|
Hajime Hoshi
|
ee61db3478
|
Rename DrawTexture -> DrawImage
|
2014-12-21 02:24:57 +09:00 |
|
Hajime Hoshi
|
a9aa1589de
|
Rename renderTarget -> innerRenderTarget; Remove TextureDrawer
|
2014-12-21 00:46:50 +09:00 |
|
Hajime Hoshi
|
01e0d42451
|
Remove GraphicsContext; Add rendering methods to RenderTarget (#26)
|
2014-12-20 23:24:15 +09:00 |
|