Function GlInstance.retainShared

Atomically increment the reference count.

final override void retainShared() shared;