on demand. If there is already a non-NULL data pointer in gl_mem->data, then this function imply returns TRUE.
Returns
whether the system memory could be allocated
bool allocData()on demand. If there is already a non-NULL data pointer in gl_mem->data, then this function imply returns TRUE.