Hermet Park
2f174560eb
test: rename testPath to testPathCopy
...
Change-Id: I8cf2a26437a804d2cd061d61d3a99b3c6f3aa0e6
2020-05-01 12:46:54 +09:00
Hermet Park
14efeb4f0b
test: updated comments
...
Change-Id: I92fccb5a9de088f837a768a2f1d60ac94eac9410
2020-04-30 23:40:35 +09:00
Hermet Park
700a44c623
common shape: added path commands interfaces for user convenient.
...
+lineTo()
+moveTo()
+cubicTo()
+close()
These interfaces might not perfect optmizied,
but you can build path commands easier than manual data set.
Change-Id: Icb934ca256d3107ca0c938d28015d767fb93355e
2020-04-30 23:36:28 +09:00
Hermet Park
308456ebad
common shape: remove unnecessary log
...
Change-Id: Ie85153afdc01270ed282d9ff87607ee1a882be31
2020-04-30 18:38:34 +09:00
Hermet Park
9b8ab42e54
common shape: support path appending
...
it's usage may require a little handy but
The path data is very low manipulated, its usage may require a little handy,
but appedingPath() is designed for performance.
Also added testPath.
Change-Id: Ifd929d48506926e3f529198c0b40ee8f922835d4
2020-04-30 18:33:01 +09:00
Hermet Park
e0ecd680a0
sw_engine: fix crash at merge shape test
...
increased spare cell memory for rasterizing.
Change-Id: I391dfbfae0ef028d213c55fe1ceca023e272e676
2020-04-30 15:43:13 +09:00
Hermet Park
46ba3352a8
sw_engine: case cover out of surface boundary.
...
Also added surface boundary test code.
Change-Id: Ib4c327d12ce52d506f1b8a566ffa48e5b5b8c03e
2020-04-30 15:19:46 +09:00
Hermet Park
5120a7ae12
canvas: correct convention
...
add missing noexcept option.
Change-Id: I14eacb0fdb2c9bd40e365bf81bb5cc0b73239ffe
2020-04-27 02:00:38 +09:00
Hermet Park
c813de45ca
update gitignore file
...
Change-Id: I0b245f1177e3df04ddc6f345213bbb1207d3e950
2020-04-27 01:59:49 +09:00
Hermet Park
809dfd8644
canvas: add reserve() method.
...
This allocates nodes slots in advance to avoid memory grow & copy.
it will be benefit if you know how many shapes will be used in your canvas.
Change-Id: I7d93d166c9c054078bd86593d3471a2ade3671ee
2020-04-27 01:52:44 +09:00
Hermet Park
0e6faa9276
common: code refactoring.
...
introduce Canvas class to replace the CanvasBase.
now, SwCanvas, GlCanvas inherits this Canvas for polymorphism
and remove duplicated interfaces.
Change-Id: I65a87e3aa2289d04997930a54aeccd14f57dd73a
2020-04-27 01:48:48 +09:00
Hermet Park
6be53b0779
test: close the window at exit button
...
Change-Id: Idf46d7132ae97356637816e54dc6c267be7122e6
2020-04-26 18:47:34 +09:00
Hermet Park
dc87a59d53
test: add merge shapes
...
Change-Id: I2dc91d3514aed1cbb1bd3490ea5d91debeab662a
2020-04-26 18:44:41 +09:00
Hermet Park
1e96cc2b10
common shape: support ellipse
...
Now, you can pass separate width radius and height radius in circle.
Change-Id: Ie1e2b58fbb399d8ef74d55d83ec48d8f4323f21e
2020-04-26 18:18:52 +09:00
Hermet Park
e655471e09
common shape: support rounded rectangle.
...
Also remove arcTo implementation since curveTo could covers it.
Change-Id: Icc63eca55e51622fc80b57672f308f25f2301f85
2020-04-26 16:18:25 +09:00
Hermet Park
a15e2c9ca0
sw_engine: fix wrong comparison that brings broken shapes.
...
These implementation is still at hot coding,
we still need to improve a lot.
Change-Id: I61398bff75395ff5e692ca48f4d62243f74bed85
2020-04-26 14:57:14 +09:00
Hermet Park
fe9c2c9162
common shape: implement appendCircle body.
...
Change-Id: Ib8507366f84532db3119f04c8d55e0d4e8206f9f
2020-04-26 11:38:06 +09:00
Hermet Park
37d34eeb19
sw_engine: concrete shape rendering sequence.
...
Succeed first sw backend screen up!
Change-Id: I882fb1726ed1f45e92e73fbc36170e93645dfbd2
2020-04-19 18:28:01 +09:00
Hermet Park
69f2fb4965
test: update test code for the first showcase.
...
To show the result, we use efl library.
Most linux distribution supports efl library from their package repo,
you can easily install efl from its package repo:
Ubuntu:
$ apt-get install libelementary-dev
Or, please visit efl site to install EFL libarary manually:
https://www.enlightenment.org/download
Change-Id: I696ac72e4ec7ea3258161a15b58171d74c16830d
2020-04-19 12:17:48 +09:00
Hermet Park
2628a5a935
sw_engine: tag one optimization point for future work.
...
Change-Id: Ib41b18c097d24636efbba633972e1c8b7f9a63ef
2020-04-19 11:55:19 +09:00
Hermet Park
75f2bc5f38
sw_engine: optimization++
...
Adjust rle span generation size to reduce memory allocation.
This span growing is experimentally increased, undeterministic.
Thus We need too increase them every requests, if we increase their
size x 4, we can avoid a lot of memory copy in advance.
Change-Id: Idd24024204a69fa3b6857728b95aa63a3ac26c5e
2020-04-19 11:13:28 +09:00
Hermet Park
b2de30ba48
code refactoring.
...
separate Renderer interfaces to RenderCommon.
Change-Id: I682b20db6cc8a058efee7dd4f519277d86306153
2020-04-18 23:21:22 +09:00
Hermet Park
7097940c22
code refactoring.
...
revise internal class & variable names for better code readibility.
Change-Id: I7f1b4474f3129c3be04444350496485f000afd15
2020-04-18 23:07:15 +09:00
Hermet Park
9b7337622d
rename class names.
...
RasterMethod -> RenderMethod
SwEngine -> SwRenderer
GlEngine -> GlRenderer
Change-Id: Ic2ded698e49c4373fe21fe31fa34baca01bf43a2
2020-04-18 23:00:44 +09:00
Hermet Park
c8d800f6c6
sw_engine: implement line and curve raster
...
Change-Id: I22a77892544cd510cfe646aee60093cebb848806
2020-04-18 19:56:10 +09:00
Hermet Park
de242b018b
replace backend class names.
...
SwRaster to SwEngine
GlRaster to GlEngine
Change-Id: I3cf70e168b78c64754807a62c221e13c11b95c35
2020-04-18 12:44:40 +09:00
Hermet Park
2a39617527
implement rle path parts.
...
Change-Id: I7200d80320404d6e7fb722042b8f330961bee76d
2020-04-15 21:55:53 +09:00
Hermet Park
70c9860d8f
implement rle raster.
...
Change-Id: Ie21dfbf0ff1aed43bfa750eeef3b8c033a986416
2020-04-13 13:42:24 +09:00
Hermet Park
f9fcd58744
implement shape basics sw engine.
...
Change-Id: I93788f40f7c4f59bcc9ab4dff9127bcb4e6c1466
2020-04-04 13:47:20 +09:00
Hermet Park
701b482131
implement sw engine basic sequence.
...
Change-Id: Ide27c9b191088109f95e03fcd1c80ad3ecc058cd
2020-04-03 19:36:31 +09:00
Hermet Park
02b2d812e4
implement basic interfaces
...
major functions are added for Path specification.
added backend engine infra skeleton.
Change-Id: Ia923b02649cff545fa768ab8538ad7187195826f
2020-04-02 17:24:38 +09:00
Hermet Park
bf05660666
Update sample prototypes.
...
This is still a hard work and under the intensive settle up stage.
Change-Id: Ibfbeaabe8a51dc5edeeccf8fe75e65e60b91f703
2020-03-30 20:51:44 +09:00
Hermet Park
df94be1d9d
build up base infra code for prototype.
...
Change-Id: I117a798caf4d9fedfe5c467471dee2f0150c2630
2020-03-30 16:36:13 +09:00
Hermet Park
c20274aaf8
+ Initial draft
...
Introduce project skeleton such as build envrionment and interfaces
to build up code further cooperatively.
Change-Id: Ie9ac38991f609d33637283134906d7cc3f2ac19e
2020-03-25 11:53:03 +09:00
Tizen Infrastructure
65f9dbaa1e
Initial empty repository
2020-03-24 02:52:35 +00:00