X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Fimages%2Fpixel.h;h=c03d9dff083da65e5be5e2b81843f61e15f6983f;hb=481e9d8aefa1276909f0598d18c8533b93a2e31c;hp=f699af4a35ceb4dcc712770f2a35f93f18e4c3b0;hpb=646f736e77b085c86e982c0d1d4b895c2a431330;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/images/pixel.h b/dali/public-api/images/pixel.h index f699af4..c03d9df 100644 --- a/dali/public-api/images/pixel.h +++ b/dali/public-api/images/pixel.h @@ -1,8 +1,8 @@ -#ifndef __DALI_PIXEL_H__ -#define __DALI_PIXEL_H__ +#ifndef DALI_PIXEL_H +#define DALI_PIXEL_H /* - * Copyright (c) 2018 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. @@ -114,6 +114,10 @@ enum Format RGB16F, ///< Color depth 48-bit, 16-16-16 half floating point. @SINCE_1_2.60 RGB32F, ///< Color depth 96-bit, 32-32-32 floating point. @SINCE_1_2.60 + DEPTH_UNSIGNED_INT, ///< Unsigned int depth format 32-bit. @SINCE_1_5_9 + DEPTH_FLOAT, ///< Float depth format 32-bit. @SINCE_1_5_9 + + DEPTH_STENCIL ///< Depth stencil 32-bit, 24 bit for depth, 8 bit for stencil. @SINCE_1_5_9 ///! Update LAST_VALID_PIXEL_FORMAT below if you add an enum value here. }; @@ -129,7 +133,7 @@ const Format FIRST_VALID_PIXEL_FORMAT = A8; * * Sync it to the last value above. */ -const Format LAST_VALID_PIXEL_FORMAT = RGB32F; +const Format LAST_VALID_PIXEL_FORMAT = DEPTH_STENCIL; /** * @brief Whether specified pixel format contains an alpha value. @@ -172,4 +176,4 @@ DALI_CORE_API void GetAlphaOffsetAndMask(Format pixelFormat, int& byteOffset, in */ } // namespace Dali -#endif // __DALI_PIXEL_H__ +#endif // DALI_PIXEL_H