diff options
author | Rob Bradford <[email protected]> | 2011-12-20 15:40:21 +0000 |
---|---|---|
committer | Kristian Høgsberg <[email protected]> | 2012-01-13 09:31:24 -0500 |
commit | baab68e1a607b818c8988e70546fe3e6f97cf572 (patch) | |
tree | 6b7f6a27a18b1e0856fc6c4a3a107db4e776672f /src/gbm/main/gbmint.h | |
parent | d0363541058b3aa35c4d758931c02326619a5983 (diff) |
gbm: Add documentation for the public facing API
Diffstat (limited to 'src/gbm/main/gbmint.h')
-rw-r--r-- | src/gbm/main/gbmint.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/gbm/main/gbmint.h b/src/gbm/main/gbmint.h index fb8db804c1b..9e4072ef6ea 100644 --- a/src/gbm/main/gbmint.h +++ b/src/gbm/main/gbmint.h @@ -38,6 +38,16 @@ #define GBM_EXPORT #endif +/** + * \file gbmint.h + * \brief Internal implementation details of gbm + */ + +/** + * The device used for the memory allocation. + * + * The members of this structure should be not accessed directly + */ struct gbm_device { /* Hack to make a gbm_device detectable by its first element. */ struct gbm_device *(*dummy)(int); @@ -63,6 +73,11 @@ struct gbm_device { void (*bo_destroy)(struct gbm_bo *bo); }; +/** + * The allocated buffer object. + * + * The members in this structure should not be accessed directly. + */ struct gbm_bo { struct gbm_device *gbm; uint32_t width; |