Home
last modified time | relevance | path

Searched refs:RenderTarget (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DRenderTarget.java38 public final class RenderTarget { class
53 private static ThreadLocal<RenderTarget> mCurrentTarget = new ThreadLocal<RenderTarget>();
86 public static RenderTarget newTarget(int width, int height) { in newTarget()
92 RenderTarget result = new RenderTarget(eglDisplay, eglContext, eglSurface, 0, true, true); in newTarget()
97 public static RenderTarget currentTarget() { in currentTarget()
103 public RenderTarget forTexture(TextureSource texture, int width, int height) { in forTexture()
115 return new RenderTarget(mDisplay, mContext, surface(), fbo, false, false); in forTexture()
118 public RenderTarget forSurfaceHolder(SurfaceHolder surfaceHolder) { in forSurfaceHolder()
130 RenderTarget result = new RenderTarget(mDisplay, mContext, eglSurf, 0, false, true); in forSurfaceHolder()
137 public RenderTarget forSurfaceTexture(SurfaceTexture surfaceTexture) { in forSurfaceTexture()
[all …]
DBackingStore.java518 RenderTarget renderTarget = (RenderTarget) backing.lock(ACCESS_RENDERTARGET); in syncTo()
582 private RenderTarget mRenderTarget = null;
683 private RenderTarget getRenderTarget() { in getRenderTarget()
687 mRenderTarget = RenderTarget.currentTarget().forTexture(getTexture(), w, h); in getRenderTarget()
726 RenderTarget target = (RenderTarget) backing.lock(ACCESS_RENDERTARGET); in syncTo()
845 RenderTarget target = (RenderTarget) backing.lock(ACCESS_RENDERTARGET); in syncTo()
DCameraStreamer.java109 EGLContext context = RenderTarget.currentContext(); in registerClient()
117 EGLContext context = RenderTarget.currentContext(); in unregisterClient()
214 ImageShader copyShader = shaderForContext(RenderTarget.currentContext()); in grabFrame()
288 protected HashMap<SurfaceTexture, RenderTarget> mClientRenderTargets
289 = new HashMap<SurfaceTexture, RenderTarget>();
335 EGLContext clientContext = RenderTarget.currentContext(); in grabFrame()
383 RenderTarget clientTarget = renderTargetFor(clientTexture); in distributeFrames()
394 protected RenderTarget renderTargetFor(SurfaceTexture surfaceTex) { in renderTargetFor()
395 RenderTarget target = mClientRenderTargets.get(surfaceTex); in renderTargetFor()
397 target = RenderTarget.currentTarget().forSurfaceTexture(surfaceTex); in renderTargetFor()
[all …]
DFrameImage2D.java46 public RenderTarget lockRenderTarget() { in lockRenderTarget()
47 return (RenderTarget)mBackingStore.lockData(MODE_WRITE, BackingStore.ACCESS_RENDERTARGET); in lockRenderTarget()
146 ImageShader idShader = RenderTarget.currentTarget().getIdentityShader(); in gpuImageCopy()
DImageShader.java243 RenderTarget target, in renderTextureToTarget()
246 ImageShader shader = RenderTarget.currentTarget().getIdentityShader(); in renderTextureToTarget()
252 RenderTarget renderTarget = output.lockRenderTarget(); in process()
266 RenderTarget renderTarget = output.lockRenderTarget(); in processMulti()
277 public void process(TextureSource texture, RenderTarget target, int width, int height) { in process()
281 public void processMulti(TextureSource[] sources, RenderTarget target, int width, int height) { in processMulti()
292 RenderTarget renderTarget = output.lockRenderTarget(); in processNoInput()
297 public void processNoInput(RenderTarget target, int width, int height) { in processNoInput()
604 private void focusTarget(RenderTarget target, int width, int height) { in focusTarget()
DSurfaceHolderTarget.java35 import androidx.media.filterfw.RenderTarget;
42 private RenderTarget mRenderTarget = null;
145 mRenderTarget = RenderTarget.currentTarget().forSurfaceHolder(mSurfaceHolder); in renderGL()
DToGrayValuesFilter.java27 import androidx.media.filterfw.RenderTarget;
101 RenderTarget grayTarget = targetFrame.lockRenderTarget(); in onProcess()
DGLToolbox.java76 public static void readTarget(RenderTarget target, ByteBuffer pixels, int width, int height) { in readTarget()
DMffContext.java280 RenderTarget.setEGLConfigChooser(redSize, in setEGLConfigChooser()
DGraphRunner.java116 private RenderTarget mRenderTarget = null;
284 mRenderTarget = RenderTarget.newTarget(1, 1); in onInit()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
DMediaDecoder.java29 import androidx.media.filterfw.RenderTarget;
95 private RenderTarget mRenderTarget;
305 RenderTarget.focusNone(); in onStop()
396 private RenderTarget getRenderTarget() { in getRenderTarget()
398 mRenderTarget = RenderTarget.newTarget(1, 1); in getRenderTarget()