summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_surface.eo
diff options
context:
space:
mode:
authorSubhransu Sekhar Mohanty <sub.mohanty@samsung.com>2015-04-03 16:31:45 +0200
committerCedric BAIL <cedric@osg.samsung.com>2015-04-03 16:31:45 +0200
commit891ec145857c717105deb2481d224174b1c966ac (patch)
tree57b2caa588b66f531cbb28b90be14acae6c7ad67 /src/lib/ector/software/ector_software_surface.eo
parente99774946cf596b4527dcba92bbf17798eee9260 (diff)
ector: add software backend using FreeType rasterizer.
Diffstat (limited to 'src/lib/ector/software/ector_software_surface.eo')
-rw-r--r--src/lib/ector/software/ector_software_surface.eo33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/lib/ector/software/ector_software_surface.eo b/src/lib/ector/software/ector_software_surface.eo
new file mode 100644
index 0000000000..58a6a771f6
--- /dev/null
+++ b/src/lib/ector/software/ector_software_surface.eo
@@ -0,0 +1,33 @@
1class Ector.Software.Surface (Ector.Generic.Surface)
2{
3 eo_prefix: ector_software_surface;
4 legacy_prefix: null;
5 properties {
6 context {
7 set {
8 }
9 get {
10 }
11 values {
12 Software_Rasterizer *ctx;
13 }
14 }
15 surface {
16 set {
17 }
18 get {
19 }
20 values {
21 void *pixels;
22 uint width;
23 uint height;
24 }
25 }
26 }
27
28 implements {
29 Ector.Generic.Surface.renderer_factory_new;
30 Eo.Base.destructor;
31 Eo.Base.constructor;
32 }
33}