/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
return ( channel == RED || channel == GREEN || channel == BLUE || channel == ALPHA );
}
+ case Dali::Pixel::DEPTH_UNSIGNED_INT:
+ case Dali::Pixel::DEPTH_FLOAT:
+ {
+ return ( channel == DEPTH );
+ }
+
+ case Dali::Pixel::DEPTH_STENCIL:
+ {
+ return ( channel == DEPTH || channel == STENCIL );
+ }
+
case Dali::Pixel::INVALID:
case Dali::Pixel::COMPRESSED_R11_EAC:
case Dali::Pixel::COMPRESSED_SIGNED_R11_EAC:
else return 0u;
}
+ case Dali::Pixel::DEPTH_UNSIGNED_INT:
+ case Dali::Pixel::DEPTH_FLOAT:
+ case Dali::Pixel::DEPTH_STENCIL:
+ {
+ return 0u;
+ }
+
default:
{
return 0u;
break;
}
+ case Dali::Pixel::DEPTH_UNSIGNED_INT:
+ case Dali::Pixel::DEPTH_FLOAT:
+ case Dali::Pixel::DEPTH_STENCIL:
+ {
+ break;
+ }
+
default:
break;
}
#define DALI_INTERNAL_ADAPTOR_PIXEL_MANIPULATION_H
/*
- * Copyright (c) 2017 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2020 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
GREEN,
BLUE,
ALPHA,
+ DEPTH,
+ STENCIL,
MAX_NUMBER_OF_CHANNELS
};