diff options
author | Chia-I Wu <olvaffe@gmail.com> | 2010-02-02 13:39:36 +0800 |
---|---|---|
committer | Chia-I Wu <olvaffe@gmail.com> | 2010-02-02 13:40:11 +0800 |
commit | 7d56fc70b15ff52658a3e6c416f5c1699a8b670c (patch) | |
tree | 9c2853f04d88f03c844a90b6c12c606bd6da1367 | |
parent | c87dec2e5ddc8f9a326d9ea1f1645fbf7faa019f (diff) |
Extend st_api_type and st_attachment_type.
Add ST_API_COUNT and ST_ATTACHMENT_COUNT for the numbers of apis and
attachments. Add ST_ATTACHMENT_INVALID (-1) to denote an invalid
attachment.
-rw-r--r-- | st_api.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -58,6 +58,8 @@ enum st_api_type { ST_API_OPENGL_ES1, ST_API_OPENGL_ES2, ST_API_OPENVG, + + ST_API_COUNT }; /** @@ -81,6 +83,9 @@ enum st_attachment_type { ST_ATTACHMENT_DEPTH_STENCIL, ST_ATTACHMENT_ACCUM, ST_ATTACHMENT_SAMPLE, + + ST_ATTACHMENT_COUNT, + ST_ATTACHMENT_INVALID = -1 }; /* for buffer_mask in st_visual */ |