Home
last modified time | relevance | path

Searched refs:textureView (Results 1 – 25 of 37) sorted by relevance

12

/external/skia/src/gpu/dawn/
DGrDawnTexture.cpp17 wgpu::TextureView textureView, in GrDawnTexture() argument
23 , fTextureView(textureView) {} in GrDawnTexture()
55 wgpu::TextureView textureView = tex.CreateView(); in Make() local
57 if (!textureView) { in Make()
69 textureView, in Make()
75 new GrDawnTexture(gpu, dimensions, textureView, info, status)); in Make()
91 wgpu::TextureView textureView = info.fTexture.CreateView(); in MakeWrapped() local
92 if (!textureView) { in MakeWrapped()
99 gpu, dimensions, textureView, sampleCnt, info, status)); in MakeWrapped()
102 new GrDawnTexture(gpu, dimensions, textureView, info, status)); in MakeWrapped()
DGrDawnTextureRenderTarget.cpp17 wgpu::TextureView textureView, in GrDawnTextureRenderTarget() argument
22 , GrDawnTexture(gpu, dimensions, textureView, textureInfo, mipMapsStatus) in GrDawnTextureRenderTarget()
DGrDawnProgramBuilder.cpp267 const wgpu::TextureView& textureView) { in make_bind_group_binding() argument
274 result.textureView = textureView; in make_bind_group_binding()
289 const wgpu::TextureView& textureView) { in make_bind_group_binding() argument
290 return make_bind_group_binding(binding, nullptr, 0, 0, nullptr, textureView); in make_bind_group_binding()
502 wgpu::TextureView textureView = tex->textureView(); in set_texture() local
503 bindings->push_back(make_bind_group_binding((*binding)++, textureView)); in set_texture()
DGrDawnTextureRenderTarget.h26 const wgpu::TextureView textureView,
DGrDawnRenderTarget.h31 wgpu::TextureView textureView() const { return fInfo.fTextureView; } in textureView() function
DGrDawnTexture.h40 wgpu::TextureView textureView() const { return fTextureView; } in textureView() function
DGrDawnOpsRenderPass.cpp64 colorAttachment.attachment = static_cast<GrDawnRenderTarget*>(fRenderTarget)->textureView(); in beginRenderPass()
/external/tensorflow/tensorflow/examples/android/src/org/tensorflow/demo/
DCameraConnectionFragment.java129 private AutoFitTextureView textureView; field in CameraConnectionFragment
325 textureView = (AutoFitTextureView) view.findViewById(R.id.texture); in onViewCreated()
342 if (textureView.isAvailable()) { in onResume()
343 openCamera(textureView.getWidth(), textureView.getHeight()); in onResume()
345 textureView.setSurfaceTextureListener(surfaceTextureListener); in onResume()
391 textureView.setAspectRatio(previewSize.getWidth(), previewSize.getHeight()); in setUpCameraOutputs()
393 textureView.setAspectRatio(previewSize.getHeight(), previewSize.getWidth()); in setUpCameraOutputs()
498 final SurfaceTexture texture = textureView.getSurfaceTexture(); in createCameraPreviewSession()
574 if (null == textureView || null == previewSize || null == activity) { in configureTransform()
595 textureView.setTransform(matrix); in configureTransform()
DLegacyCameraConnectionFragment.java110 textureView.setAspectRatio(s.height, s.width);
131 private AutoFitTextureView textureView; field in LegacyCameraConnectionFragment
146 textureView = (AutoFitTextureView) view.findViewById(R.id.texture); in onViewCreated()
163 if (textureView.isAvailable()) { in onResume()
166 textureView.setSurfaceTextureListener(surfaceTextureListener); in onResume()
/external/tensorflow/tensorflow/lite/java/demo/app/src/main/java/com/example/android/tflitecamerademo/
DCamera2BasicFragment.java142 private AutoFitTextureView textureView; field in Camera2BasicFragment
393 textureView = (AutoFitTextureView) view.findViewById(R.id.texture); in onViewCreated()
466 if (textureView.isAvailable()) { in onResume()
467 openCamera(textureView.getWidth(), textureView.getHeight()); in onResume()
469 textureView.setSurfaceTextureListener(surfaceTextureListener); in onResume()
579 textureView.setAspectRatio(previewSize.getWidth(), previewSize.getHeight()); in setUpCameraOutputs()
581 textureView.setAspectRatio(previewSize.getHeight(), previewSize.getWidth()); in setUpCameraOutputs()
723 SurfaceTexture texture = textureView.getSurfaceTexture(); in createCameraPreviewSession()
786 if (null == textureView || null == previewSize || null == activity) { in configureTransform()
807 textureView.setTransform(matrix); in configureTransform()
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/
DSimpleExoPlayer.java370 @Nullable private TextureView textureView; field in SimpleExoPlayer
619 public void setVideoTextureView(@Nullable TextureView textureView) { in setVideoTextureView() argument
622 if (textureView != null) { in setVideoTextureView()
625 this.textureView = textureView; in setVideoTextureView()
626 if (textureView == null) { in setVideoTextureView()
630 if (textureView.getSurfaceTextureListener() != null) { in setVideoTextureView()
633 textureView.setSurfaceTextureListener(componentListener); in setVideoTextureView()
635 textureView.isAvailable() ? textureView.getSurfaceTexture() : null; in setVideoTextureView()
641 maybeNotifySurfaceSizeChanged(textureView.getWidth(), textureView.getHeight()); in setVideoTextureView()
647 public void clearVideoTextureView(@Nullable TextureView textureView) { in clearVideoTextureView() argument
[all …]
DPlayer.java301 void setVideoTextureView(@Nullable TextureView textureView); in setVideoTextureView() argument
309 void clearVideoTextureView(@Nullable TextureView textureView); in clearVideoTextureView() argument
/external/skia/src/gpu/vk/
DGrVkPipelineState.cpp176 commandBuffer->addResource(texture->textureView()); in setAndBindTextures()
195 const GrVkImageView* textureView = texture->textureView(); in setAndBindTextures() local
208 imageInfo.imageView = textureView->imageView(); in setAndBindTextures()
230 commandBuffer->addResource(samplerBindings[i].fTexture->textureView()); in setAndBindTextures()
DGrVkTexture.h46 const GrVkImageView* textureView();
DGrVkTexture.cpp201 const GrVkImageView* GrVkTexture::textureView() { in textureView() function in GrVkTexture
/external/skqp/src/gpu/vk/
DGrVkPipelineState.cpp253 const GrVkImageView* textureView = texture->textureView(); in setAndBindTextures() local
266 imageInfo.imageView = textureView->imageView(); in setAndBindTextures()
288 commandBuffer->addResource(samplerBindings[i].fTexture->textureView()); in setAndBindTextures()
DGrVkTexture.h39 const GrVkImageView* textureView();
DGrVkCopyManager.cpp269 imageInfo.imageView = srcTex->textureView()->imageView(); in copySurfaceAsDraw()
375 descriptorResources.push_back(srcTex->textureView()); in copySurfaceAsDraw()
DGrVkTexture.cpp170 const GrVkImageView* GrVkTexture::textureView() { in textureView() function in GrVkTexture
/external/skia/src/gpu/
DGrSWMaskHelper.cpp107 auto[textureView, ct] = maker.view(GrMipMapped::kNo); in toTextureView()
108 return textureView; in toTextureView()
/external/angle/src/libANGLE/
DContext_gl_4_3_autogen.h31 void textureView(TextureID texturePacked, GLenum target, GLuint origtexture, \
/external/deqp/external/openglcts/modules/gl/
Dgl4cTextureViewTests.cpp2936 gl.textureView(*view_id_ptr, new_test_run.texture_target, *parent_id_ptr, in initTestRuns()
3563 gl.textureView(0, /* texture */ in iterate()
3587 …gl.textureView(invalid_to_id, GL_TEXTURE_2D, m_reference_immutable_to_2d_id, reference_to_internal… in iterate()
3609 …gl.textureView(m_view_bound_to_id, GL_TEXTURE_2D, m_reference_immutable_to_2d_id, reference_to_int… in iterate()
3633 gl.textureView(m_view_never_bound_to_id, GL_TEXTURE_2D, invalid_to_id, reference_to_internalformat, in iterate()
3655 …gl.textureView(m_view_never_bound_to_id, GL_TEXTURE_2D, m_reference_mutable_to_2d_id, reference_to… in iterate()
3708 gl.textureView(m_test_modified_to_id_2, /* texture */ in iterate()
3796 gl.textureView(m_test_modified_to_id_2, /* texture */ in iterate()
3818 gl.textureView(m_test_modified_to_id_2, /* texture */ in iterate()
3828 gl.textureView(m_test_modified_to_id_3, /* texture */ in iterate()
[all …]
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DPlayerView.java1471 private static void applyTextureViewRotation(TextureView textureView, int textureViewRotation) { in applyTextureViewRotation() argument
1473 float textureViewWidth = textureView.getWidth(); in applyTextureViewRotation()
1474 float textureViewHeight = textureView.getHeight(); in applyTextureViewRotation()
1490 textureView.setTransform(transformMatrix); in applyTextureViewRotation()
/external/angle/src/libANGLE/renderer/gl/
DDispatchTableGL_autogen.cpp623 ASSIGN("glTextureView", textureView); in initProcsDesktopGL()
1383 ASSIGN("glTextureView", textureView); in initProcsDesktopGL()
2476 ASSIGN("glTextureViewEXT", textureView); in initProcsGLES()
2602 ASSIGN("glTextureViewOES", textureView); in initProcsGLES()
3391 textureView = &glTextureViewNULL; in initProcsDesktopGLNULL()
4149 textureView = &glTextureViewNULL; in initProcsDesktopGLNULL()
5241 textureView = &glTextureViewNULL; in initProcsGLESNULL()
5367 textureView = &glTextureViewNULL; in initProcsGLESNULL()
/external/deqp-deps/amber/src/dawn/
Dengine_dawn.cc444 result.textureView = textureView; in GetAsBinding()
453 ::dawn::TextureView textureView;

12