Kodi Documentation 18.0
Kodi is an open source media player and entertainment hub.
LinuxRendererGL.cpp File Reference

Macros

#define PBO_OFFSET   16
 
#define BUFFER_OFFSET(i)   ((char *)NULL + (i))
 

Macro Definition Documentation

◆ BUFFER_OFFSET

#define BUFFER_OFFSET (   i)    ((char *)NULL + (i))

◆ PBO_OFFSET

#define PBO_OFFSET   16
Bug:
due to a bug on osx nvidia, using gltexsubimage2d with a pbo bound and a null pointer screws up the alpha, an offset fixes this, there might still be a problem if stride + PBO_OFFSET is a multiple of 128 and deinterlacing is on