@deprecated - use #wrapBackendRenderTarget(DirectContext, BackendRenderTarget, SurfaceOrigin, ColorType, ColorSpace)
(DirectContext context,
BackendRenderTarget rt,
SurfaceOrigin origin,
ColorType colorType,
ColorSpace colorSpace)
| 244 | * @deprecated - use {@link #wrapBackendRenderTarget(DirectContext, BackendRenderTarget, SurfaceOrigin, ColorType, ColorSpace)} |
| 245 | */ |
| 246 | @Deprecated |
| 247 | public static Surface makeFromBackendRenderTarget(DirectContext context, |
| 248 | BackendRenderTarget rt, |
| 249 | SurfaceOrigin origin, |
| 250 | ColorType colorType, |
| 251 | ColorSpace colorSpace) { |
| 252 | return wrapBackendRenderTarget(context, rt, origin, colorType, colorSpace, null); |
| 253 | } |
| 254 | |
| 255 | /** |
| 256 | * <p>Wraps a GPU-backed buffer into {@link Surface}.</p> |
no test coverage detected