Loading graphics/common/aidl/android/hardware/graphics/common/BufferUsage.aidl +68 −56 Original line number Diff line number Diff line Loading @@ -41,10 +41,22 @@ enum BufferUsage { /** buffer is often written by CPU */ CPU_WRITE_OFTEN = 3 << 4, /** buffer is used as a GPU texture */ /** * Buffer may be used as a GPU texture * * Buffers allocated with this flag must be * texturable both in EGL/GL & Vulkan via * their respective external memory extensions */ GPU_TEXTURE = 1 << 8, /** buffer is used as a GPU render target */ /** * Buffer may be used as a GPU render target * * Buffers allocated with this flag must be * renderable both in EGL/GL & Vulkan via * their respective external memory extensions */ GPU_RENDER_TARGET = 1 << 9, /** bit 10 must be zero */ Loading Loading
graphics/common/aidl/android/hardware/graphics/common/BufferUsage.aidl +68 −56 Original line number Diff line number Diff line Loading @@ -41,10 +41,22 @@ enum BufferUsage { /** buffer is often written by CPU */ CPU_WRITE_OFTEN = 3 << 4, /** buffer is used as a GPU texture */ /** * Buffer may be used as a GPU texture * * Buffers allocated with this flag must be * texturable both in EGL/GL & Vulkan via * their respective external memory extensions */ GPU_TEXTURE = 1 << 8, /** buffer is used as a GPU render target */ /** * Buffer may be used as a GPU render target * * Buffers allocated with this flag must be * renderable both in EGL/GL & Vulkan via * their respective external memory extensions */ GPU_RENDER_TARGET = 1 << 9, /** bit 10 must be zero */ Loading