Lines Matching refs:device
36 * allocate may be NULL, which instructs the device to report whether the
82 * dequeued buffer before. May be ignored by the gralloc device. */
277 * gralloc1_capability_t above) supported by this device. This list must not
278 * change after the device has been loaded.
285 * outCapabilities - a list of capabilities supported by this device; may
290 void (*getCapabilities)(struct gralloc1_device* device, uint32_t* outCount,
301 * or NULL if the described function is not supported by this device.
303 gralloc1_function_pointer_t (*getFunction)(struct gralloc1_device* device,
308 gralloc1_device_t** device) {
310 TO_HW_DEVICE_T_OPEN(device));
313 static inline int gralloc1_close(gralloc1_device_t* device) {
314 return device->common.close(&device->common);
324 * If called with outBuffer == NULL, the device should store a copy of the
325 * desired output and return its length in bytes in outSize. If the device
329 * If called with outBuffer != NULL, the device should copy its stored version
332 * maximum number of bytes outBuffer can hold. The device must not write more
333 * than this amount into outBuffer. If the device does not currently have a
340 * device's stored output; if outBuffer was not NULL, the number of bytes
347 typedef void (*GRALLOC1_PFN_DUMP)(gralloc1_device_t* device, uint32_t* outSize,
353 * All of these functions take as their first parameter a device pointer, so
370 gralloc1_device_t* device, gralloc1_buffer_descriptor_t* outDescriptor);
386 gralloc1_device_t* device, gralloc1_buffer_descriptor_t descriptor);
391 * All of these functions take as their first two parameters a device pointer
413 gralloc1_device_t* device, gralloc1_buffer_descriptor_t descriptor,
438 gralloc1_device_t* device, gralloc1_buffer_descriptor_t descriptor,
457 gralloc1_device_t* device, gralloc1_buffer_descriptor_t descriptor,
481 gralloc1_device_t* device, gralloc1_buffer_descriptor_t descriptor,
501 gralloc1_device_t* device, gralloc1_buffer_descriptor_t descriptor,
507 * All of these functions take as their first two parameters a device pointer
512 * which means that the device is not able to retrieve the requested information
534 * GRALLOC1_ERROR_UNSUPPORTED - the device is unable to retrieve the
539 gralloc1_device_t* device, buffer_handle_t buffer,
556 * GRALLOC1_ERROR_UNSUPPORTED - the device is unable to retrieve the
561 gralloc1_device_t* device, buffer_handle_t buffer,
578 * GRALLOC1_ERROR_UNSUPPORTED - the device is unable to retrieve the
583 gralloc1_device_t* device, buffer_handle_t buffer, uint32_t* outWidth,
600 * GRALLOC1_ERROR_UNSUPPORTED - the device is unable to retrieve the format
605 gralloc1_device_t* device, buffer_handle_t descriptor,
622 * GRALLOC1_ERROR_UNSUPPORTED - the device is unable to retrieve the
627 gralloc1_device_t* device, buffer_handle_t buffer,
644 * GRALLOC1_ERROR_UNSUPPORTED - the device is unable to retrieve the usage
649 gralloc1_device_t* device, buffer_handle_t buffer,
669 * GRALLOC1_ERROR_UNSUPPORTED - the device is unable to retrieve the stride
674 gralloc1_device_t* device, buffer_handle_t buffer, uint32_t* outStride);
694 * GRALLOC1_ERROR_UNSUPPORTED - the device is unable to retrieve the numFds
698 gralloc1_device_t* device, buffer_handle_t buffer, uint32_t *outNumFds,
725 * GRALLOC1_ERROR_UNSUPPORTED - the device is unable to validate the buffer
729 gralloc1_device_t* device, buffer_handle_t buffer,
744 * function. If the device is unable to share the backing store between the
751 * reference added by the device before returning.
753 * If GRALLOC1_CAPABILITY_TEST_ALLOCATE is supported by this device, outBuffers
754 * may be NULL. In this case, the device must not attempt to allocate any
760 * allocated by the device.
766 * outBuffers - the allocated buffers; must be non-NULL unless the device
768 * modified by the device if allocation is unsuccessful
779 * satisfied by the device
782 gralloc1_device_t* device, uint32_t numDescriptors,
814 gralloc1_device_t* device, const buffer_handle_t rawHandle,
838 gralloc1_device_t* device, buffer_handle_t buffer);
863 gralloc1_device_t* device, buffer_handle_t buffer);
868 * All of these functions take as their first parameter a device pointer, so
901 gralloc1_device_t* device, buffer_handle_t buffer,
922 * and the device need not guarantee that content outside of accessRegion is
932 * which will be signaled when it is safe for the device to access the contents
961 gralloc1_device_t* device, buffer_handle_t buffer,
977 * supported by the device, as well as with any other formats requested by
1010 gralloc1_device_t* device, buffer_handle_t buffer,
1020 * This function indicates to the device that the client will be done with the
1039 gralloc1_device_t* device, buffer_handle_t buffer,