projects
/
platform
/
core
/
uifw
/
dali-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Tizen] Using Depth and Stencil buffer & texture
[platform/core/uifw/dali-core.git]
/
dali
/
public-api
/
images
/
pixel.h
diff --git
a/dali/public-api/images/pixel.h
b/dali/public-api/images/pixel.h
index
f699af4
..
c03d9df
100644
(file)
--- 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) 20
18
Samsung Electronics Co., Ltd.
+ * Copyright (c) 20
20
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.
*
* 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
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.
};
///! 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.
*/
*
* 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.
/**
* @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
*/
} // namespace Dali
-#endif //
__DALI_PIXEL_H__
+#endif //
DALI_PIXEL_H