Loading graphics/allocator/aidl/android/hardware/graphics/allocator/IAllocator.aidl +2 −2 Original line number Diff line number Diff line Loading @@ -29,8 +29,8 @@ interface IAllocator { * @param descriptor Properties of the buffers to allocate. This must be * obtained from IMapper::createDescriptor(). * @param count The number of buffers to allocate. * @return An AllocationResult containing the result of an error, or * an AllocationError status * @return An AllocationResult containing the result of the allocation * @throws AllocationError on failure */ AllocationResult allocate(in byte[] descriptor, in int count); } graphics/common/aidl/android/hardware/graphics/common/BufferUsage.aidl +8 −0 Original line number Diff line number Diff line Loading @@ -125,6 +125,14 @@ enum BufferUsage { * presents from SF (such as for panel self-refresh), but for any given * present the buffer must be composited from even if it otherwise appears * to be the same as a previous composition. * * If the GPU & HWC supports EGL_SINGLE_BUFFER, then it is recommended that * FRONT_BUFFER usage is supported for the same formats as supported by * EGL_SINGLE_BUFFER. In particular, it is recommended that the following * combination is supported when possible: * Format = RGBA_8888 * Usage = FRONT_BUFFER | GPU_RENDER_TARGET | COMPOSER_OVERLAY * */ FRONT_BUFFER = 1L << 32, Loading Loading
graphics/allocator/aidl/android/hardware/graphics/allocator/IAllocator.aidl +2 −2 Original line number Diff line number Diff line Loading @@ -29,8 +29,8 @@ interface IAllocator { * @param descriptor Properties of the buffers to allocate. This must be * obtained from IMapper::createDescriptor(). * @param count The number of buffers to allocate. * @return An AllocationResult containing the result of an error, or * an AllocationError status * @return An AllocationResult containing the result of the allocation * @throws AllocationError on failure */ AllocationResult allocate(in byte[] descriptor, in int count); }
graphics/common/aidl/android/hardware/graphics/common/BufferUsage.aidl +8 −0 Original line number Diff line number Diff line Loading @@ -125,6 +125,14 @@ enum BufferUsage { * presents from SF (such as for panel self-refresh), but for any given * present the buffer must be composited from even if it otherwise appears * to be the same as a previous composition. * * If the GPU & HWC supports EGL_SINGLE_BUFFER, then it is recommended that * FRONT_BUFFER usage is supported for the same formats as supported by * EGL_SINGLE_BUFFER. In particular, it is recommended that the following * combination is supported when possible: * Format = RGBA_8888 * Usage = FRONT_BUFFER | GPU_RENDER_TARGET | COMPOSER_OVERLAY * */ FRONT_BUFFER = 1L << 32, Loading