Hajime Hoshi
|
bc8a96eda7
|
graphicsutil: Avoid duplicated copying
Fixes #521
|
2018-03-09 01:00:23 +09:00 |
|
Hajime Hoshi
|
24dcaf7f28
|
graphcis: Fix comments
|
2018-03-04 03:07:06 +09:00 |
|
Hajime Hoshi
|
d944d51c14
|
graphics: Now images from NewImage also shares a texture
|
2018-03-03 21:01:25 +09:00 |
|
Hajime Hoshi
|
4b4404bc7e
|
graphics: Ensure the image is not disposed when restorableImage() is called
|
2018-03-03 20:36:33 +09:00 |
|
Hajime Hoshi
|
caf4e9504f
|
graphics: ReplacePixels should work on shared textures
|
2018-03-03 20:35:44 +09:00 |
|
Hajime Hoshi
|
4ae9d5780c
|
graphics: Implement shared texture (#514)
|
2018-03-03 19:54:53 +09:00 |
|
Hajime Hoshi
|
d5bca2d499
|
graphics: Bug fix: (*Image).At must return color.RGBA type value
|
2018-03-03 18:51:52 +09:00 |
|
Hajime Hoshi
|
046a6cd014
|
graphics: Swap error checking
|
2018-03-02 23:59:04 +09:00 |
|
Hajime Hoshi
|
247cd6e1c3
|
Add graphicsutil package
|
2018-03-02 12:34:56 +09:00 |
|
Hajime Hoshi
|
d4112004b0
|
graphics: Move calculating source region from restorable package
|
2018-03-02 12:20:44 +09:00 |
|
Hajime Hoshi
|
127f6c09c8
|
graphics: Specify rect to glTexSubImage2D
|
2018-03-01 01:58:09 +09:00 |
|
Hajime Hoshi
|
9f6fd0db9a
|
graphics: Use the original width/height for glTexSubImage2D
|
2018-03-01 00:47:37 +09:00 |
|
Hajime Hoshi
|
9db042ae9e
|
graphics: Refactoring: easier way to clear framebuffer
|
2018-02-28 22:46:57 +09:00 |
|
Hajime Hoshi
|
8c8e512059
|
affine: User nillable pattern for ColorM
|
2018-02-28 02:14:06 +09:00 |
|
Hajime Hoshi
|
adbd0db765
|
restorable: Accept source rect and geom instead of vertices
|
2018-02-27 01:35:30 +09:00 |
|
Hajime Hoshi
|
2bd099014b
|
affine: Remove geoMImpl and use nillable pattern
|
2018-02-27 01:02:53 +09:00 |
|
Hajime Hoshi
|
9031a989ec
|
graphics: Add (*Image).isDisposed
|
2018-02-26 11:35:55 +09:00 |
|
Hajime Hoshi
|
ccfa8f7ef8
|
graphics: Refactoring: call (*Image).Size() funciton as much as possible
|
2018-02-26 02:46:30 +09:00 |
|
Hajime Hoshi
|
85b133dad0
|
graphics: Remove NewImageFromImage command
|
2018-02-25 23:22:49 +09:00 |
|
Hajime Hoshi
|
9adc1ac6a0
|
Revert "graphics: Refactoring: clearing framebuffer"
This reverts commit 58f5c9c1d0 .
Fixes #515
|
2018-02-25 22:04:04 +09:00 |
|
Hajime Hoshi
|
94c4cc35ab
|
graphics: Forbid copying Image objects
|
2018-02-25 21:55:46 +09:00 |
|
Hajime Hoshi
|
c7a733fb16
|
graphics: Refactoring: remove drawWithFittingScale
|
2018-02-25 03:12:33 +09:00 |
|
Hajime Hoshi
|
58f5c9c1d0
|
graphics: Refactoring: clearing framebuffer
|
2018-02-24 23:51:05 +09:00 |
|
Hajime Hoshi
|
a644e92298
|
restorable: Better calculation to clear restorable.Image
|
2018-02-24 21:16:30 +09:00 |
|
Hajime Hoshi
|
556b2ec31b
|
graphics: Implement Image.Fill with DrawImage
|
2018-02-24 05:28:50 +09:00 |
|
Hajime Hoshi
|
cf333775f2
|
Add examples/filter
|
2018-02-14 03:07:17 +09:00 |
|
Hajime Hoshi
|
6ef4bbde2d
|
graphics: Add FilterDefault; Make DrawImageOptions specify Filter (#453)
|
2018-02-14 02:59:44 +09:00 |
|
Hajime Hoshi
|
80596820cf
|
graphics: Replace []uint8 with []byte
|
2018-01-28 22:40:36 +09:00 |
|
Hajime Hoshi
|
94d54b7d2c
|
graphics: Add comments
|
2017-12-16 18:35:25 +09:00 |
|
Hajime Hoshi
|
d6878d6887
|
graphics: Remove one bound check from fragment shader (#461)
|
2017-12-16 01:33:35 +09:00 |
|
Hajime Hoshi
|
98532d8983
|
graphics: Add TestImageOutside
|
2017-12-14 00:25:35 +09:00 |
|
Hajime Hoshi
|
723d153800
|
Reland(2): graphics: Appropriate rendering of edges on linear filter
|
2017-12-12 00:03:01 +09:00 |
|
Hajime Hoshi
|
362d1c417f
|
Revert 'graphics: Appropriate rendering of edges on linear filter (Reland)' (#458)
|
2017-12-11 20:30:54 +09:00 |
|
Hajime Hoshi
|
1152439e65
|
graphics: Appropriate rendering of edges on linear filter (Reland)
Fixes #456
|
2017-12-07 02:26:16 +09:00 |
|
Hajime Hoshi
|
8091aa5190
|
Revert 'graphics: Appropriate rendering of edges on linear filter' #456
|
2017-12-06 23:40:29 +09:00 |
|
Hajime Hoshi
|
bc0432f310
|
graphics: Appropriate rendering of edges on linear filter
Fixes #315
|
2017-12-06 21:40:24 +09:00 |
|
Hajime Hoshi
|
626b772b25
|
doc: Improve comments
|
2017-10-01 17:24:30 +09:00 |
|
Hajime Hoshi
|
a7fc463d91
|
doc: Improve comments
|
2017-10-01 03:15:50 +09:00 |
|
Hajime Hoshi
|
1995219b55
|
graphics: Add performance tips on DrawImage
|
2017-09-24 01:14:16 +09:00 |
|
Hajime Hoshi
|
e8acd9b6a2
|
graphics: Fix document
|
2017-09-23 18:15:31 +09:00 |
|
Hajime Hoshi
|
fc125eb531
|
graphics: Add comments
|
2017-09-16 15:49:29 +09:00 |
|
Hajime Hoshi
|
ccddf3c4ac
|
restorable: Refactoring: Remove arguments from NewImageFromImage
|
2017-09-15 00:51:17 +09:00 |
|
Hajime Hoshi
|
1fb7e123c2
|
Remove dependencies on internal/graphics from ebiten
|
2017-08-06 21:34:24 +09:00 |
|
Hajime Hoshi
|
c0ecb7a386
|
graphics: Move CopyImage to restorable
|
2017-08-06 21:21:38 +09:00 |
|
Hajime Hoshi
|
631264fce1
|
Add 'internal/math' package
|
2017-08-06 20:05:14 +09:00 |
|
Hajime Hoshi
|
d2d19d0764
|
doc: Fix comments
|
2017-07-23 05:46:32 +09:00 |
|
Hajime Hoshi
|
3a3a4af035
|
graphics: Avoid type assertions for Fill
|
2017-07-02 21:32:07 +09:00 |
|
Hajime Hoshi
|
c694851765
|
ui: Center the screen on fullscreen mode (#374)
|
2017-07-01 04:12:09 +09:00 |
|
Hajime Hoshi
|
1d60c009ed
|
ui: Bug fix: fullscreen scale calculation was wrong (#267)
|
2017-06-30 02:08:12 +09:00 |
|
Hajime Hoshi
|
b526aed817
|
graphics: VRAM -> GPU
|
2017-06-06 00:57:14 +09:00 |
|
Hajime Hoshi
|
1d59938295
|
ui: Refactoring: Remove unneeded error handlings
|
2017-05-31 10:47:52 +09:00 |
|
Hajime Hoshi
|
7d181e3182
|
opengl: Hide OpenGL context usages into internal/graphics package
|
2017-05-31 02:18:04 +09:00 |
|
Hajime Hoshi
|
5a4a82ab50
|
restorable: Add TODO comments (#357)
|
2017-05-30 03:31:29 +09:00 |
|
Hajime Hoshi
|
c6c8ff22d7
|
graphics: Panic first when drawing the same image
|
2017-05-30 00:56:01 +09:00 |
|
Hajime Hoshi
|
de7215f3fc
|
graphics: Add DrawImageOptions.SourceRect
|
2017-05-28 00:49:44 +09:00 |
|
Hajime Hoshi
|
1b1b996817
|
graphics: Avoid copying ColorM
|
2017-05-27 16:17:49 +09:00 |
|
Hajime Hoshi
|
8b48d010ed
|
restorable: Refactoring
|
2017-05-03 23:24:00 +09:00 |
|
Hajime Hoshi
|
aa5c278445
|
restorable: Unexport add
|
2017-05-03 23:15:18 +09:00 |
|
Hajime Hoshi
|
ed4cd67fb3
|
graphics: finalizers must be reset when disposing
|
2017-05-03 23:15:03 +09:00 |
|
Hajime Hoshi
|
9f5cf48d24
|
restorable: Move Images to resotrable package
|
2017-05-03 23:11:43 +09:00 |
|
Hajime Hoshi
|
d94e9c9d86
|
restorable: Bug fix: Make limit to the number of draw-image command history (#349)
|
2017-05-03 22:16:32 +09:00 |
|
Hajime Hoshi
|
e8b155fefe
|
graphics: Remove duplicated runtime.SetFinalizer
|
2017-05-03 03:15:50 +09:00 |
|
Hajime Hoshi
|
f30b274c1f
|
graphics: Bug fix: Keep a restorable.Image before disposing
|
2017-05-03 03:13:22 +09:00 |
|
Hajime Hoshi
|
e8e502cc26
|
graphics: Bug fix: disposing check must be done before any operations
|
2017-05-03 03:07:45 +09:00 |
|
Hajime Hoshi
|
6be25d3297
|
graphics: Remove imageImpl
|
2017-05-03 02:52:42 +09:00 |
|
Hajime Hoshi
|
16b0c9186e
|
graphics: Refactoring: Reduce imageImpl's functions
|
2017-05-03 02:45:33 +09:00 |
|
Hajime Hoshi
|
858824821f
|
doc: Remove 'concurrent-safe' comments from most of non-global functions
|
2017-04-18 01:33:03 +09:00 |
|
Hajime Hoshi
|
a7d844ce5e
|
graphics: Add doc about error to struct Image (#331)
|
2017-03-04 02:30:10 +09:00 |
|
Hajime Hoshi
|
a3e14c9ddb
|
graphics: Image.ReplacePixels/Dispose always returns nil (#331)
|
2017-03-04 02:23:39 +09:00 |
|
Hajime Hoshi
|
b567a07d5f
|
graphics: DrawImage always returns nil (#331)
|
2017-03-04 01:33:43 +09:00 |
|
Hajime Hoshi
|
6ca71c6931
|
graphics: Errors of NewImage* are always nil (#331)
|
2017-03-04 01:22:51 +09:00 |
|
Hajime Hoshi
|
2c5ee99769
|
Simplify internal API not to return errors
|
2017-03-04 01:00:18 +09:00 |
|
Hajime Hoshi
|
7ba18a5d0d
|
graphics: Image.Clear/Fill now always return nil (#331)
|
2017-03-04 00:53:49 +09:00 |
|
Hajime Hoshi
|
1c7ce07edf
|
Simplify internal API not to return errors
|
2017-03-04 00:44:41 +09:00 |
|
Hajime Hoshi
|
147798e14d
|
Simplify internal API not to return errors
|
2017-03-03 23:59:44 +09:00 |
|
Hajime Hoshi
|
2b1dc69497
|
graphics: Document bug fix: DrawImage
|
2017-02-27 23:53:21 +09:00 |
|
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
|
2b2d6157c7
|
graphics: Skip resetPixelsIfDependingOn if possible
|
2016-10-28 02:54:09 +09:00 |
|
Hajime Hoshi
|
43e8349567
|
graphics: Remove imageImpl.width/height
|
2016-09-04 01:25:02 +09:00 |
|
Hajime Hoshi
|
02151e48ea
|
restorable: Remove Image()
|
2016-09-04 00:53:30 +09:00 |
|
Hajime Hoshi
|
fb3724a40e
|
graphics: Remove imageImpl.image member
|
2016-09-03 23:08:51 +09:00 |
|
Hajime Hoshi
|
8855df40e4
|
gprahics: Bug fix: Check if an image is disposed before resetting pixels (examples/windowsize crashes)
|
2016-07-28 01:17:57 +09:00 |
|
Hajime Hoshi
|
4ad5c65efe
|
graphics: Rename s/ensure/resolveStale/
|
2016-07-27 23:08:28 +09:00 |
|
Hajime Hoshi
|
5c56058d6e
|
pixels Rename s/history/dependency/
|
2016-07-27 01:28:16 +09:00 |
|
Hajime Hoshi
|
c5f3eaf925
|
graphics: Refactoring
|
2016-07-26 12:28:05 +09:00 |
|
Hajime Hoshi
|
0fc61ed568
|
pixels: Rename fuctions
|
2016-07-26 10:51:48 +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
|
3ea6033c3d
|
graphics: Don't ref *Image in pixels. Ref *graphics.Image instead
|
2016-07-24 06:22:33 +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
|
75916490b7
|
graphics: Better name functions
|
2016-07-24 00:46:24 +09:00 |
|
Hajime Hoshi
|
2ba835373b
|
graphics: Refactoring: passing a GL context from the top level
|
2016-07-14 01:20:45 +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
|
0c611d875b
|
graphics: Bug fix: glTexSubImage2D on Android now works (#211)
|
2016-07-10 05:59:21 +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
|
1fdfa5707a
|
graphics: Fix a comment
|
2016-07-05 11:43:47 +09:00 |
|
Hajime Hoshi
|
31d1af9740
|
graphics: Add NewVolatileImage (#235)
|
2016-07-05 03:40:40 +09:00 |
|