com.jogamp.nativewindow
Class DelegatedUpstreamSurfaceHookMutableSize
java.lang.Object
com.jogamp.nativewindow.UpstreamSurfaceHookMutableSize
com.jogamp.nativewindow.DelegatedUpstreamSurfaceHookMutableSize
- All Implemented Interfaces:
- UpstreamSurfaceHook, UpstreamSurfaceHook.MutableSize
public class DelegatedUpstreamSurfaceHookMutableSize
- extends UpstreamSurfaceHookMutableSize
DelegatedUpstreamSurfaceHookMutableSize
public DelegatedUpstreamSurfaceHookMutableSize(UpstreamSurfaceHook upstream,
int width,
int height)
- Parameters:
upstream - optional upstream UpstreamSurfaceHook used for create(ProxySurface) and destroy(ProxySurface).width - initial widthheight - initial height
create
public final void create(ProxySurface s)
- Description copied from interface:
UpstreamSurfaceHook
- called within
ProxySurface.createNotify() within lock, before using surface.
- Specified by:
create in interface UpstreamSurfaceHook- Overrides:
create in class UpstreamSurfaceHookMutableSize
destroy
public final void destroy(ProxySurface s)
- Description copied from interface:
UpstreamSurfaceHook
- called within
ProxySurface.destroyNotify() within lock, before clearing fields.
- Specified by:
destroy in interface UpstreamSurfaceHook- Overrides:
destroy in class UpstreamSurfaceHookMutableSize
toString
public String toString()
- Overrides:
toString in class UpstreamSurfaceHookMutableSize
Copyright 2010 JogAmp Community.