summaryrefslogtreecommitdiff
path: root/src/lib/ector/software/ector_software_buffer_base.eo
blob: aa38738e84eba037b3db002b4155fe53f8a5b743 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
mixin Ector.Software.Buffer.Base (Ector.Buffer)
{
   [[A buffer in Ector Software is a readable & optionally writable image]]
   eo_prefix: ector_software_buffer;
   legacy_prefix: null;
   methods {
      pixels_clear @protected {
        [[Clear internal pixel buffer]]
      }
   }
   implements {
      Ector.Buffer.flags.get;
      Ector.Buffer.pixels_set;
      Ector.Buffer.span_get;
      Ector.Buffer.span_free;
      Ector.Buffer.map;
      Ector.Buffer.unmap;
   }
}