// In-process, OpenGL-backed implementation of the UIX.RenderApi interfaces.
// See logs/MicrosoftIris/RenderApiOpenGL.md for design notes.
using System.Collections.Generic;
namespace Microsoft.Iris.Render.OpenGL
{
///
/// Common base for render objects that participate in the reference-counted
/// lifetime protocol. The original renderer
/// tracks a set of "users" per object; releasing the last user tears the object
/// down. We reproduce that behaviour with a simple user set.
///
public abstract class SharedRenderObject : ISharedRenderObject
{
private readonly HashSet