Frame buffer clear when using NvDrmRenderer

What is the recommended way to clear frame buffers after they have been displayed by the NvDrmRenderer? I.e. just set all bytes in the buffer to 0.

You can create a NvBuffer with all bytes to 0, and call NvBufferTransform() to copy it to the frame buffer.