xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Opened 8 years ago

Last modified 6 months ago

#465 closed enhancement

improve picture buffer handling — at Initial Version

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: major Milestone: 0.16
Component: core Version:
Keywords: Cc:

Description

At the moment, some picture decoders return the pixel data as a read-only string buffer (PIL does). Others return a read-write buffer just because downstream requires it (ie: OpenCL does, despite only reading from the pixel buffer..)

Tasks:

  • Use the new buffer API
  • We should use something better and allow read-write access if the underlying buffer allows it (non reference frames), or use a copy-on-write mechanism
  • Try to fix OpenCL? (if possible..)
  • Carry a flag telling us if the buffer is read-only or not?

Change History (0)

Note: See TracTickets for help on using tickets.