Отправить отзыв
alloc_device_t Справочник по структуре
#include < gralloc.h >
Каждая структура данных устройства должна начинаться с hw_device_t, за которым следуют общедоступные методы и атрибуты модуля.
Определение в строке 326 файла gralloc.h .
int (* alloc) (struct alloc_device_t * dev, int w, int h, формат int, использование int, buffer_handle_t * handle, int * stride)
void (* дамп) (struct alloc_device_t * dev, char * buff, int buff_len)
int (* бесплатно) (struct alloc_device_t * dev, дескриптор buffer_handle_t)
Документация для этой структуры была создана из следующего файла:
оборудование / libhardware / включает / оборудование / gralloc.h
Отправить отзыв
Content and code samples on this page are subject to the licenses described in the Content License . Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Отсутствует нужная мне информация"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Слишком сложен/слишком много шагов"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Устарел"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Проблема с переводом текста"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Проблемы образцов/кода"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Другое"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Прост для понимания"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Помог мне решить мою проблему"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Другое"
}]
Хотите рассказать подробнее?