Bug 1004500 - Document imgIContainer::FLAG_WANT_DATA_SURFACE. r=seth

This commit is contained in:
Jonathan Watt 2014-05-12 01:54:21 +01:00
parent 68fe03ef59
commit 4b6d3a8f6d

View File

@ -152,6 +152,12 @@ interface imgIContainer : nsISupports
const long FLAG_DECODE_NO_COLORSPACE_CONVERSION = 0x4;
const long FLAG_CLAMP = 0x8;
const long FLAG_HIGH_QUALITY_SCALING = 0x10;
/**
* Can be passed to GetFrame when the caller wants a DataSourceSurface
* instead of a hardware accelerated surface. This can be important for
* performance (by avoiding an upload to/readback from the GPU) when the
* caller knows they want a SourceSurface of type DATA.
*/
const long FLAG_WANT_DATA_SURFACE = 0x20;
/**