public class GenericUpstreamSurfacelessHook extends UpstreamSurfaceHookMutableSize
UpstreamSurfaceHook.MutableSize| Constructor and Description |
|---|
GenericUpstreamSurfacelessHook(int width,
int height) |
| Modifier and Type | Method and Description |
|---|---|
void |
create(ProxySurface s)
called within
ProxySurface.createNotify() within lock, before using surface. |
void |
destroy(ProxySurface s)
called within
ProxySurface.destroyNotify() within lock, before clearing fields. |
getSurfaceHeight, getSurfaceWidth, getUpstreamSurface, setSurfaceSize, toStringpublic GenericUpstreamSurfacelessHook(int width,
int height)
width - the initial width as returned by NativeSurface.getSurfaceWidth() via UpstreamSurfaceHook.getSurfaceWidth(ProxySurface),
not the actual dummy surface width.
The latter is platform specific and smallheight - the initial height as returned by NativeSurface.getSurfaceHeight() via UpstreamSurfaceHook.getSurfaceHeight(ProxySurface),
not the actual dummy surface height,
The latter is platform specific and smallpublic final void create(ProxySurface s)
UpstreamSurfaceHookProxySurface.createNotify() within lock, before using surface.create in interface UpstreamSurfaceHookcreate in class UpstreamSurfaceHookMutableSizepublic final void destroy(ProxySurface s)
UpstreamSurfaceHookProxySurface.destroyNotify() within lock, before clearing fields.destroy in interface UpstreamSurfaceHookdestroy in class UpstreamSurfaceHookMutableSizeCopyright 2010 JogAmp Community.