Hajime Hoshi
|
4e21bfd005
|
graphics: Rename elements -> indices
|
2018-06-10 17:06:40 +09:00 |
|
Hajime Hoshi
|
8a268e871f
|
graphics: Specify indices before commands
|
2018-06-10 17:04:58 +09:00 |
|
Hajime Hoshi
|
fac639f9b7
|
graphics: Refactoring: Remove drawImageCommand.quadsNum
|
2018-06-03 23:58:08 +09:00 |
|
Hajime Hoshi
|
c9dd04d471
|
graphics: Refactoring: Remove command groups
|
2018-06-03 23:13:01 +09:00 |
|
Hajime Hoshi
|
9d87622a19
|
graphics: Set elements for every EnqueueDrawImageCommand
|
2018-06-03 20:42:45 +09:00 |
|
Hajime Hoshi
|
525ad04568
|
graphics: Split the notion of vertices and elements
|
2018-06-03 16:07:26 +09:00 |
|
Hajime Hoshi
|
03e3f0f5f7
|
graphics: Call glBufferSubData for element array buffer every frame
This is a preparation for more flexible drawing commands.
|
2018-05-31 00:53:05 +09:00 |
|
Hajime Hoshi
|
5e93d75ae0
|
graphics: Fix comments
|
2018-05-28 02:38:26 +09:00 |
|
Hajime Hoshi
|
0e19aa558a
|
graphics: Remove unneeded GL calls
|
2018-05-02 01:12:17 +09:00 |
|
Hajime Hoshi
|
1571e04753
|
Revert "graphics: Call glFlush after glTexSubImage2D for MacBook Pro"
This reverts commit 7f5719fadd .
Reason: This didn't change the situation
|
2018-04-22 22:06:38 +09:00 |
|
Hajime Hoshi
|
b691e73342
|
Revert "graphics: Experimental fix: call glFlush always after glTexSubImage2D"
This reverts commit d2da77eb96 .
Reason: This doesn't solve the issue on MacBook Late 2013.
|
2018-04-14 23:16:26 +09:00 |
|
Hajime Hoshi
|
d2da77eb96
|
graphics: Experimental fix: call glFlush always after glTexSubImage2D
|
2018-04-14 23:06:20 +09:00 |
|
Hajime Hoshi
|
7f5719fadd
|
graphics: Call glFlush after glTexSubImage2D for MacBook Pro
|
2018-04-14 17:59:10 +09:00 |
|
Hajime Hoshi
|
ab7a3e1ab3
|
graphics: Remove unneeded mutex
|
2018-03-25 23:55:38 +09:00 |
|
Hajime Hoshi
|
9009b293e5
|
graphics: Remove type assertion
|
2018-03-21 16:51:27 +09:00 |
|
Hajime Hoshi
|
23c2fc0134
|
Revert "graphics: Remove type assertion"
This reverts commit ff331d031a .
Compile error
|
2018-03-21 16:48:51 +09:00 |
|
Hajime Hoshi
|
ff331d031a
|
graphics: Remove type assertion
|
2018-03-21 16:45:57 +09:00 |
|
Hajime Hoshi
|
e977019d2f
|
graphics: Detect maximum texture size for each environment
Fixes #537, #539
See also #541
|
2018-03-09 11:47:23 +09:00 |
|
Hajime Hoshi
|
0418ce0761
|
graphics: Refactoring: Remove duplication of checking image size
|
2018-03-09 11:04:02 +09:00 |
|
Hajime Hoshi
|
8d98f297f2
|
graphics: Refactoring: Avoid type switch
|
2018-03-05 00:00:25 +09:00 |
|
Hajime Hoshi
|
3479b80f1c
|
opengl: Use unsafe-way to convert []float32/[]uint16 to []byte; Remove internal/endian
|
2018-03-04 18:06:35 +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
|
15d2e6b82b
|
graphics: Fix comments
|
2018-02-28 23:40:43 +09:00 |
|
Hajime Hoshi
|
c624359163
|
graphics: Remove glClear before glTexSubImage2D, that is no longer needed
|
2018-02-28 23:35:05 +09:00 |
|
Hajime Hoshi
|
8c8e512059
|
affine: User nillable pattern for ColorM
|
2018-02-28 02:14:06 +09:00 |
|
Hajime Hoshi
|
86671f3337
|
opengl: Remove pixels argument from NewTexture
|
2018-02-25 23:34:34 +09:00 |
|
Hajime Hoshi
|
85b133dad0
|
graphics: Remove NewImageFromImage command
|
2018-02-25 23:22:49 +09:00 |
|
Hajime Hoshi
|
a2d40e0908
|
graphics: Remove offsetX/offsetY from framebuffer
|
2018-02-24 23:35:55 +09:00 |
|
Hajime Hoshi
|
c5d1f11d95
|
graphics: Remove unused argument from projectionMatrix
|
2018-02-24 23:33:28 +09:00 |
|
Hajime Hoshi
|
b58dc26832
|
graphics: Remove fillCommand
|
2018-02-24 16:19:43 +09:00 |
|
Hajime Hoshi
|
591e0ad995
|
graphics: Add 'screen' filter for fast rendering (#509)
|
2018-02-23 01:28:35 +09:00 |
|
Hajime Hoshi
|
2db1753503
|
opengl: Remove struct usages to avoid copying (texture)
|
2018-02-19 02:49:00 +09:00 |
|
Hajime Hoshi
|
6ef4bbde2d
|
graphics: Add FilterDefault; Make DrawImageOptions specify Filter (#453)
|
2018-02-14 02:59:44 +09:00 |
|
Hajime Hoshi
|
24d7487fc7
|
graphics: Bug fix: TestImageTooManyFill didin't pass on some machines (reland)
Fixes #492
|
2018-02-03 23:03:18 +09:00 |
|
Hajime Hoshi
|
9ece27e7e8
|
Revert "graphics: Bug fix: TestImageTooManyFill didin't pass on some machines"
This reverts commit 7cb7b7b4ff .
|
2018-02-03 20:39:33 +09:00 |
|
Hajime Hoshi
|
7cb7b7b4ff
|
graphics: Bug fix: TestImageTooManyFill didin't pass on some machines
Fixes #492
|
2018-02-03 20:36:16 +09:00 |
|
Hajime Hoshi
|
80596820cf
|
graphics: Replace []uint8 with []byte
|
2018-01-28 22:40:36 +09:00 |
|
Hajime Hoshi
|
5d4c4f1283
|
graphics: Bug fix: Don't delete the screen framebuffer (iOS)
|
2017-12-31 20:55:04 +09:00 |
|
Hajime Hoshi
|
c636dec721
|
graphics: Remove glFlush() for performance
|
2017-12-21 03:19:28 +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
|
264ca49a43
|
graphics: Bug fix: revert viewport size for Edge
|
2017-12-05 03:13:40 +09:00 |
|
Hajime Hoshi
|
f74c1e67ea
|
graphics: Use power-of-2 size for the default framebuffer
|
2017-12-05 02:33:04 +09:00 |
|
Hajime Hoshi
|
847ba9de0c
|
graphics: Refactoring: Move adjustment logic for glClearColor to opengl package
|
2017-12-03 03:51:42 +09:00 |
|
Hajime Hoshi
|
c2fab6cca3
|
graphics: Bug fix: glClear doesn't treat 0 or 1 correctly
Fixes #452
|
2017-12-02 22:25:02 +09:00 |
|
Hajime Hoshi
|
d455b9b8bb
|
opengl: SetViewport no longer returns error
|
2017-09-25 00:17:20 +09:00 |
|