Function GlSurface.retainShared

Atomically increment the reference count.

final override void retainShared() shared;