/* * Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved. * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. * * * * * * * * * * * * * * * * * * * * */ package com.sun.prism.es2; import com.sun.prism.impl.DisposerManagedResource; class ES2TextureResource extends DisposerManagedResource { ES2TextureResource(T resource) { super(resource, ES2VramPool.instance, resource); } @Override public void free() { if (resource != null) { resource.dispose(); } } }