summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_buffer_base.eo
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2019-12-06 15:22:56 +0900
committerHermet Park <hermetpark@gmail.com>2019-12-06 15:31:30 +0900
commit19ef1555268e99cfb6ab07521d81519ada251617 (patch)
treef00252ec04eee40ad2b8c83e8b6c45932c40e35a /src/lib/ector/software/ector_software_buffer_base.eo
parent562ae738ccafbe1d876cc1a90de79fe97ad3ba79 (diff)
vg ector: Call a pair of ector begin/end for ector buffer drawing.
While we render vector drawing on ector,it uses ector buffers for subsequent compositions. In this sequence, it switches ector buffer with a composition target, while resuing the global ector context. Previously, it trickly switched ector buffer, it broke the ector begin/end pair. Now, it needs to recover global ector buffer once the composition finished. Thus ector buffer need to return the current pixels information for this.
Diffstat (limited to 'src/lib/ector/software/ector_software_buffer_base.eo')
-rw-r--r--src/lib/ector/software/ector_software_buffer_base.eo1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/ector/software/ector_software_buffer_base.eo b/src/lib/ector/software/ector_software_buffer_base.eo
index 8cb576ef0a..39ad47ccac 100644
--- a/src/lib/ector/software/ector_software_buffer_base.eo
+++ b/src/lib/ector/software/ector_software_buffer_base.eo
@@ -10,6 +10,7 @@ mixin @beta Ector.Software.Buffer.Base extends Ector.Buffer
10 implements { 10 implements {
11 Ector.Buffer.flags { get; } 11 Ector.Buffer.flags { get; }
12 Ector.Buffer.pixels_set; 12 Ector.Buffer.pixels_set;
13 Ector.Buffer.pixels_get;
13 Ector.Buffer.map; 14 Ector.Buffer.map;
14 Ector.Buffer.unmap; 15 Ector.Buffer.unmap;
15 } 16 }