Add index field to the OffscreenNativeWindowBuffer implementation

Signed-off-by: Simon Busch <morphis@gravedo.de>