UMat: added USAGE_ALLOCATE_SHARED_MEMORY

This commit is contained in:
Alexander Alekhin 2015-01-02 01:59:36 +03:00
parent 3f1fb281be
commit 58ad952b1a

View File

@ -376,9 +376,10 @@ enum UMatUsageFlags
{ {
USAGE_DEFAULT = 0, USAGE_DEFAULT = 0,
// default allocation policy is platform and usage specific // buffer allocation policy is platform and usage specific
USAGE_ALLOCATE_HOST_MEMORY = 1 << 0, USAGE_ALLOCATE_HOST_MEMORY = 1 << 0,
USAGE_ALLOCATE_DEVICE_MEMORY = 1 << 1, USAGE_ALLOCATE_DEVICE_MEMORY = 1 << 1,
USAGE_ALLOCATE_SHARED_MEMORY = 1 << 2, // It is not equal to: USAGE_ALLOCATE_HOST_MEMORY | USAGE_ALLOCATE_DEVICE_MEMORY
__UMAT_USAGE_FLAGS_32BIT = 0x7fffffff // Binary compatibility hint __UMAT_USAGE_FLAGS_32BIT = 0x7fffffff // Binary compatibility hint
}; };