Home
last modified time | relevance | path

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

1234

/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 …]
DvktPipelineSamplerTests.cpp75 virtual tcu::UVec2 getRenderSize (VkImageViewType viewType) const;
81 static tcu::IVec3 getImageSize (VkImageViewType viewType, int size);
82 static int getArraySize (VkImageViewType viewType);
206 virtual tcu::UVec2 getRenderSize (VkImageViewType viewType) const;
376 tcu::UVec2 SamplerTest::getRenderSize (VkImageViewType viewType) const in getRenderSize()
378 if (viewType == VK_IMAGE_VIEW_TYPE_1D || viewType == VK_IMAGE_VIEW_TYPE_2D) in getRenderSize()
480 tcu::IVec3 SamplerTest::getImageSize (VkImageViewType viewType, int size) in getImageSize() argument
482 switch (viewType) in getImageSize()
498 int SamplerTest::getArraySize (VkImageViewType viewType) in getArraySize() argument
500 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 …]
DvktPipelineVertexUtil.hpp82 std::vector<Vertex4Tex4> createTestQuadMosaic (vk::VkImageViewType viewType);
DvktPipelineImageTests.cpp407 std::string getSizeName (VkImageViewType viewType, const tcu::IVec3& size, int arraySize) in getSizeName() argument
411 switch (viewType) in getSizeName()
792 const VkImageViewType viewType = imageViewTypes[viewTypeNdx].type; in createImageViewTypeTests() local
794 …stCaseGroup> formatTests = createImageFormatTests(testCtx, allocationKind, samplingType, viewType); in createImageViewTypeTests()
DvktPipelineImageSamplingInstance.cpp113 static VkImageType getCompatibleImageType (VkImageViewType viewType) in getCompatibleImageType() argument
115 switch (viewType) in getCompatibleImageType()
133 static MovePtr<TestTexture> createTestTexture (const TcuFormatType format, VkImageViewType viewType in createTestTexture() argument
136 const VkImageType imageType = getCompatibleImageType(viewType); in createTestTexture()
155 if (viewType == VK_IMAGE_VIEW_TYPE_CUBE || viewType == VK_IMAGE_VIEW_TYPE_CUBE_ARRAY) in createTestTexture()
157 if (layerCount == tcu::CUBEFACE_LAST && viewType == VK_IMAGE_VIEW_TYPE_CUBE) in createTestTexture()
/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/deqp/external/vulkancts/modules/vulkan/ycbcr/
DvktYCbCrViewTests.cpp287 ViewType viewType; member
295 : viewType (viewType_) in TestParameters()
305 : viewType (VIEWTYPE_LAST) in TestParameters()
396 const Unique<VkImage> imageAlias ((params.viewType == TestParameters::VIEWTYPE_MEMORY_ALIAS) in testPlaneView()
649 if ((params.viewType != TestParameters::VIEWTYPE_MEMORY_ALIAS) && in addPlaneViewCase()
658 void populateViewTypeGroup (tcu::TestCaseGroup* group, TestParameters::ViewType viewType) in populateViewTypeGroup() argument
663 …| (viewType == TestParameters::VIEWTYPE_MEMORY_ALIAS ? (VkImageCreateFlags)VK_IMAGE_CREATE_ALIAS_B… in populateViewTypeGroup()
677 if ((viewType == TestParameters::VIEWTYPE_MEMORY_ALIAS) && in populateViewTypeGroup()
682 addPlaneViewCase(group, TestParameters(viewType, format, size, flags, planeNdx, shaderType)); in populateViewTypeGroup()
/external/skia/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/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/swiftshader/src/Vulkan/
DVkImageView.cpp61 , viewType(pCreateInfo->viewType) in ImageView()
83 switch(viewType) in imageTypesMatch()
112 UNREACHABLE("Unexpected viewType %d", (int)viewType); in imageTypesMatch()
DVkImageView.hpp54 VkImageViewType getType() const { return viewType; } in getType()
95 const VkImageViewType viewType = VK_IMAGE_VIEW_TYPE_2D; member in vk::ImageView
/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/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/setupdesign/main/src/com/google/android/setupdesign/items/
DRecyclerItemAdapter.java102 public ItemViewHolder onCreateViewHolder(ViewGroup parent, int viewType) { in onCreateViewHolder() argument
104 final View view = inflater.inflate(viewType, parent, false); in onCreateViewHolder()
/external/angle/src/libANGLE/renderer/vulkan/
DRenderbufferVk.cpp131 gl::TextureType viewType = imageVk->getImageTextureType(); in setStorageEGLImageTarget() local
135 viewType = vk::Get2DTextureType(imageVk->getImage()->getLayerCount(), in setStorageEGLImageTarget()
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiImageClearingTests.cpp503 …Move<VkImageView> createImageView (VkImage image, VkImageViewType viewType, VkFormat forma…
523 …VkImageViewType getCorrespondingImageViewType (VkImageType imageType, ViewType viewType) cons…
613 …learingTestInstance::getCorrespondingImageViewType (VkImageType imageType, ViewType viewType) const in getCorrespondingImageViewType()
618 return (viewType == VIEW_TYPE_ARRAY) ? VK_IMAGE_VIEW_TYPE_1D_ARRAY : VK_IMAGE_VIEW_TYPE_1D; in getCorrespondingImageViewType()
620 if (viewType == VIEW_TYPE_ARRAY) in getCorrespondingImageViewType()
622 else if (viewType == VIEW_TYPE_CUBE) in getCorrespondingImageViewType()
627 if (viewType != VIEW_TYPE_SINGLE) in getCorrespondingImageViewType()
758 …geClearingTestInstance::createImageView (VkImage image, VkImageViewType viewType, VkFormat format,… in createImageView() argument
766 viewType, // VkImageViewType viewType; in createImageView()

1234