Home
last modified time | relevance | path

Searched refs:viewType (Results 1 – 25 of 114) sorted by relevance

12345

/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineImageViewTests.cpp76 static tcu::UVec2 getRenderSize (VkImageViewType viewType);
77 static tcu::IVec3 getImageSize (VkImageViewType viewType);
78 static int getArraySize (VkImageViewType viewType);
79 static int getNumLevels (VkImageViewType viewType);
293 tcu::UVec2 ImageViewTest::getRenderSize (VkImageViewType viewType) in getRenderSize() argument
295 if (viewType == VK_IMAGE_VIEW_TYPE_1D || viewType == VK_IMAGE_VIEW_TYPE_2D) in getRenderSize()
301 tcu::IVec3 ImageViewTest::getImageSize (VkImageViewType viewType) in getImageSize() argument
303 switch (viewType) in getImageSize()
319 int ImageViewTest::getArraySize (VkImageViewType viewType) in getArraySize() argument
321 switch (viewType) in getArraySize()
[all …]
DvktPipelineRenderToImageTests.cpp112 VkImageViewType viewType; member
131 inline bool isCube (const VkImageViewType viewType) in isCube() argument
133 return (viewType == VK_IMAGE_VIEW_TYPE_CUBE || viewType == VK_IMAGE_VIEW_TYPE_CUBE_ARRAY); in isCube()
605 VkImageType getImageType (const VkImageViewType viewType) in getImageType() argument
607 switch (viewType) in getImageType()
629 VkImageViewType getImageViewSliceType (const VkImageViewType viewType) in getImageViewSliceType() argument
631 switch (viewType) in getImageViewSliceType()
650 VkImageCreateFlags getImageCreateFlags (const VkImageViewType viewType) in getImageCreateFlags() argument
654 if (viewType == VK_IMAGE_VIEW_TYPE_3D) flags |= VK_IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT_KHR; in getImageCreateFlags()
655 if (isCube(viewType)) flags |= VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT; in getImageCreateFlags()
[all …]
DvktPipelineSamplerTests.cpp117 virtual tcu::UVec2 getRenderSize (SamplerViewType viewType) const;
123 static tcu::IVec3 getImageSize (SamplerViewType viewType, int size);
124 static int getArraySize (SamplerViewType viewType);
262 virtual tcu::UVec2 getRenderSize (SamplerViewType viewType) const;
442 tcu::UVec2 SamplerTest::getRenderSize (SamplerViewType viewType) const in getRenderSize()
444 if (viewType == VK_IMAGE_VIEW_TYPE_1D || viewType == VK_IMAGE_VIEW_TYPE_2D) in getRenderSize()
551 tcu::IVec3 SamplerTest::getImageSize (SamplerViewType viewType, int size) in getImageSize() argument
553 switch (viewType) in getImageSize()
569 int SamplerTest::getArraySize (SamplerViewType viewType) in getArraySize() argument
571 switch (viewType) in getArraySize()
[all …]
/external/mesa3d/src/gallium/drivers/zink/
Dzink_surface.c64 ivci.viewType = VK_IMAGE_VIEW_TYPE_1D; in zink_create_surface()
68 ivci.viewType = VK_IMAGE_VIEW_TYPE_1D_ARRAY; in zink_create_surface()
73 ivci.viewType = VK_IMAGE_VIEW_TYPE_2D; in zink_create_surface()
77 ivci.viewType = VK_IMAGE_VIEW_TYPE_2D_ARRAY; in zink_create_surface()
81 ivci.viewType = VK_IMAGE_VIEW_TYPE_CUBE; in zink_create_surface()
85 ivci.viewType = VK_IMAGE_VIEW_TYPE_CUBE_ARRAY; in zink_create_surface()
89 ivci.viewType = VK_IMAGE_VIEW_TYPE_2D; in zink_create_surface()
/external/exoplayer/tree/library/ui/src/main/java/com/google/android/exoplayer2/ui/
DSubtitleView.java88 private @ViewType int viewType; field in SubtitleView
102 viewType = VIEW_TYPE_TEXT; in SubtitleView()
127 public void setViewType(@ViewType int viewType) { in setViewType() argument
128 if (this.viewType == viewType) { in setViewType()
131 switch (viewType) { in setViewType()
141 this.viewType = viewType; in setViewType()
/external/deqp/external/vulkancts/modules/vulkan/geometry/
DvktGeometryLayeredRenderingTests.cpp77 VkImageViewType viewType; member
119 if (imageParams.viewType == VK_IMAGE_VIEW_TYPE_3D) in getTargetLayer()
131 VkImageType getImageType (const VkImageViewType viewType) in getImageType() argument
133 switch (viewType) in getImageType()
164 inline bool isCubeImageViewType (const VkImageViewType viewType) in isCubeImageViewType() argument
166 return viewType == VK_IMAGE_VIEW_TYPE_CUBE || viewType == VK_IMAGE_VIEW_TYPE_CUBE_ARRAY; in isCubeImageViewType()
807 std::string getLayerDescription (const VkImageViewType viewType, const int layer) in getLayerDescription() argument
812 if (isCubeImageViewType(viewType)) in getLayerDescription()
814 else if (viewType == VK_IMAGE_VIEW_TYPE_3D) in getLayerDescription()
824 …const LayeredImageAccess image = LayeredImageAccess::create(getImageType(params.image.viewType), i… in verifyResults()
[all …]
/external/emma/core/java12/com/vladium/emma/report/
DReportDataModel.java34 public synchronized IReportDataView getView (final int viewType) in getView() argument
38 …if (viewType >= m_views.length) throw new IllegalArgumentException ("invalid viewType: " + viewTyp… in getView()
40 IReportDataView view = m_views [viewType]; in getView()
46 final boolean srcView = viewType == IReportDataView.HIER_SRC_VIEW; in getView()
128 m_views [viewType] = view; in getView()
DReportProperties.java89 public void setViewType (final int viewType) in setViewType() argument
91 …$assert.ASSERT (viewType >= IReportDataView.HIER_CLS_VIEW && viewType <= IReportDataView.HIER_SRC_… in setViewType()
93 m_viewType = viewType; in setViewType()
DIReportDataModel.java23 IReportDataView getView (int viewType); in getView() argument
/external/swiftshader/src/Vulkan/
DVkImageView.cpp100 , viewType(pCreateInfo->viewType) in ImageView()
105 , id(image, viewType, format.getAspectFormat(subresourceRange.aspectMask), components) in ImageView()
123 switch(viewType) in imageTypesMatch()
152 UNREACHABLE("Unexpected viewType %d", (int)viewType); in imageTypesMatch()
339 if(viewType == VK_IMAGE_VIEW_TYPE_CUBE || in getDepthOrLayerCount()
340 viewType == VK_IMAGE_VIEW_TYPE_CUBE_ARRAY) in getDepthOrLayerCount()
DVkImageView.hpp84 VkImageViewType getType() const { return viewType; } in getType()
126 const VkImageViewType viewType = VK_IMAGE_VIEW_TYPE_2D; member in vk::ImageView
/external/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrViewTests.cpp287 ViewType viewType; member
295 : viewType (viewType_) in TestParameters()
305 : viewType (VIEWTYPE_LAST) in TestParameters()
397 const Unique<VkImage> imageAlias ((params.viewType == TestParameters::VIEWTYPE_MEMORY_ALIAS) in testPlaneView()
676 if ((params.viewType != TestParameters::VIEWTYPE_MEMORY_ALIAS) && in addPlaneViewCase()
685 void populateViewTypeGroup (tcu::TestCaseGroup* group, TestParameters::ViewType viewType) in populateViewTypeGroup() argument
690 …| (viewType == TestParameters::VIEWTYPE_MEMORY_ALIAS ? (VkImageCreateFlags)VK_IMAGE_CREATE_ALIAS_B… in populateViewTypeGroup()
704 if ((viewType == TestParameters::VIEWTYPE_MEMORY_ALIAS) && in populateViewTypeGroup()
709 addPlaneViewCase(group, TestParameters(viewType, format, size, flags, planeNdx, shaderType)); in populateViewTypeGroup()
/external/skia/src/gpu/vk/
DGrVkAttachment.cpp103 GrVkImageView::Type viewType; in make_views() local
107 viewType = GrVkImageView::kStencil_Type; in make_views()
109 viewType = GrVkImageView::kColor_Type; in make_views()
115 *framebufferView = GrVkImageView::Make(gpu, info.fImage, info.fFormat, viewType, 1, in make_views()
123 *textureView = GrVkImageView::Make(gpu, info.fImage, info.fFormat, viewType, in make_views()
DGrVkImageView.cpp16 Type viewType, uint32_t miplevels, in Make() argument
53 if (kStencil_Type == viewType) { in Make()
DGrVkImageView.h26 Type viewType, uint32_t miplevels,
/external/deqp/external/vulkancts/modules/vulkan/robustness/
DvktRobustnessExtsTests.cpp169 VkImageViewType viewType; member
853 switch (m_data.viewType) in initPrograms()
866 switch (m_data.viewType) in initPrograms()
874 …bool dataDependsOnLayer = (m_data.viewType == VK_IMAGE_VIEW_TYPE_1D_ARRAY || m_data.viewType == VK… in initPrograms()
878 m_data.viewType == VK_IMAGE_VIEW_TYPE_CUBE_ARRAY) in initPrograms()
1158 … (m_data.viewType == VK_IMAGE_VIEW_TYPE_CUBE || m_data.viewType == VK_IMAGE_VIEW_TYPE_CUBE_ARRAY))) in initPrograms()
1281 if (m_data.viewType == VK_IMAGE_VIEW_TYPE_CUBE || in initPrograms()
1282 m_data.viewType == VK_IMAGE_VIEW_TYPE_CUBE_ARRAY || in initPrograms()
1310 switch (m_data.viewType) in initPrograms()
1530 …const std::string ivecCords = (m_data.viewType == VK_IMAGE_VIEW_TYPE_2D ? "ivec2(gx, gy)" : "ivec3… in initPrograms()
[all …]
/external/skqp/src/gpu/vk/
DGrVkImageView.cpp14 Type viewType, uint32_t miplevels, in Create() argument
51 if (kStencil_Type == viewType) { in Create()
DGrVkImageView.h26 Type viewType, uint32_t miplevels,
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp172 vk::VkImageViewType viewType = vk::VK_IMAGE_VIEW_TYPE_2D) in verifyDriverSupport() argument
259 if (viewType == vk::VK_IMAGE_VIEW_TYPE_CUBE_ARRAY && !deviceFeatures.imageCubeArray) in verifyDriverSupport()
304 …2 dstLen, const tcu::TextureLevelPyramid& srcImage, vk::VkImageViewType viewType, std::vector<vk::… in writeTextureLevelPyramidData() argument
307 …const deUint32 arraySize = (viewType == vk::VK_IMAGE_VIEW_TYPE_1D || viewType == vk::VK_IMAGE_VIEW… in writeTextureLevelPyramidData()
308 …(viewType == vk::VK_IMAGE_VIEW_TYPE_2D || viewType == vk::VK_IMAGE_VIEW_TYPE_2D_ARRAY) ? (srcImag… in writeTextureLevelPyramidData()
309 (viewType == vk::VK_IMAGE_VIEW_TYPE_3D) ? (1) : in writeTextureLevelPyramidData()
310 …(viewType == vk::VK_IMAGE_VIEW_TYPE_CUBE || viewType == vk::VK_IMAGE_VIEW_TYPE_CUBE_ARRAY) ? (srcI… in writeTextureLevelPyramidData()
322 …const deInt32 sliceHeight = (viewType == vk::VK_IMAGE_VIEW_TYPE_1D || viewType == vk::VK_IMA… in writeTextureLevelPyramidData()
323 …const deInt32 sliceDepth = (viewType == vk::VK_IMAGE_VIEW_TYPE_3D) ? (srcAccess.getDepth()) … in writeTextureLevelPyramidData()
3579 vk::VkImageViewType viewType,
[all …]
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DPromotion.cpp110 ShapedType viewType = subView.getType(); in defaultAllocBufferCallBack() local
111 int64_t rank = viewType.getRank(); in defaultAllocBufferCallBack()
120 Value buffer = allocBuffer(options, viewType.getElementType(), allocSize, in defaultAllocBufferCallBack()
125 folder, MemRefType::get(dynSizes, viewType.getElementType()), buffer, in defaultAllocBufferCallBack()
235 auto viewType = subView.getType(); in promoteSubviewAsNewBuffer() local
236 auto rank = viewType.getRank(); in promoteSubviewAsNewBuffer()
/external/setupdesign/main/src/com/google/android/setupdesign/view/
DHeaderRecyclerView.java123 public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
129 if (viewType == HEADER_VIEW_TYPE) { in onCreateViewHolder()
137 return adapter.onCreateViewHolder(parent, viewType); in onCreateViewHolder()
/external/jimfs/jimfs/src/main/java/com/google/common/jimfs/
DAttributeService.java77 byViewTypeBuilder.put(provider.viewType(), provider); in AttributeService()
275 Class<? extends FileAttributeView> viewType, in getFileAttributeView() argument
277 AttributeProvider provider = providersByViewType.get(viewType); in getFileAttributeView()
302 getFileAttributeView(lookup, inheritedProvider.viewType(), inheritedViews); in createInheritedViews()
/external/mesa3d/src/freedreno/vulkan/
Dtu_image.c218 if (pCreateInfo->viewType == VK_IMAGE_VIEW_TYPE_3D) { in tu_image_view_init()
223 if (pCreateInfo->viewType == VK_IMAGE_VIEW_TYPE_CUBE || in tu_image_view_init()
224 pCreateInfo->viewType == VK_IMAGE_VIEW_TYPE_CUBE_ARRAY) { in tu_image_view_init()
279 A6XX_TEX_CONST_2_TYPE(tu6_tex_type(pCreateInfo->viewType, false)); in tu_image_view_init()
324 assert(pCreateInfo->viewType != VK_IMAGE_VIEW_TYPE_3D); in tu_image_view_init()
342 if (pCreateInfo->viewType == VK_IMAGE_VIEW_TYPE_3D) { in tu_image_view_init()
394 A6XX_IBO_2_TYPE(tu6_tex_type(pCreateInfo->viewType, true)); in tu_image_view_init()
/external/lottie/LottieSample/src/androidTest/java/com/airbnb/lottie/samples/
DFragmentVisibilityTests.kt175 … override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecyclerView.ViewHolder { in <lambda>()
309 … override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecyclerView.ViewHolder { in <lambda>()
310 return when (viewType) { in <lambda>()
371 … override fun onCreateViewHolder(parent: ViewGroup, viewType: Int): RecyclerView.ViewHolder { in <lambda>()
372 return when (viewType) { in <lambda>()
/external/setupdesign/main/src/com/google/android/setupdesign/items/
DRecyclerItemAdapter.java111 public ItemViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
113 final View view = inflater.inflate(viewType, parent, false); in onCreateViewHolder()

12345