On terça-feira, 10 de abril de 2012 23.08.26, André Pönitz wrote:
> But I am not sure that kind of guarantee needs to be given.
>
> Would it be really needed in practice? How many occurences of such
> code are there in Qt/Qt Creator?

The guarantees we give change how we can optimise this code. I'll be satisfied
if we require that no single pixel is both source and destination.

I can't think anymore of a case where adjacency would cause a problem. The
source loads never cause a write back and bytes off limits must not be used.
The destination stores, if they write off-limits, they need to ensure that they
store the same value that was there before in any case.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to