Home
last modified time | relevance | path

Searched refs:numFormats (Results 1 – 18 of 18) sorted by relevance

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fApiCase.cpp104 deInt32 numFormats; in getSupportedExtensions() local
105 GLU_CHECK_CALL(glGetIntegerv(numSupportedValues, &numFormats)); in getSupportedExtensions()
106 if (numFormats == 0) in getSupportedExtensions()
111 values.resize(numFormats); in getSupportedExtensions()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fApiCase.cpp106 deInt32 numFormats; in getSupportedExtensions() local
107 GLU_CHECK_CALL(glGetIntegerv(numSupportedValues, &numFormats)); in getSupportedExtensions()
108 if (numFormats == 0) in getSupportedExtensions()
113 values.resize(numFormats); in getSupportedExtensions()
Des3fImplementationLimitTests.cpp289 const GLint numFormats = query<GLint>(gl, GL_NUM_COMPRESSED_TEXTURE_FORMATS); in iterate() local
290 vector<GLint> formats (numFormats); in iterate()
293 if (numFormats > 0) in iterate()
Des3fShaderApiTests.cpp1134 GLint numFormats = -1; in getBinaryFormats() local
1135 glGetIntegerv(GL_NUM_PROGRAM_BINARY_FORMATS, &numFormats); in getBinaryFormats()
1139 if (numFormats > 0) in getBinaryFormats()
1141 out.resize(numFormats, 0); in getBinaryFormats()
/third_party/vk-gl-cts/framework/opengl/
DgluContextInfo.cpp179 int numFormats = 0; in operator ()() local
180 gl.getIntegerv(GL_NUM_COMPRESSED_TEXTURE_FORMATS, &numFormats); in operator ()()
182 vector<int> formats(numFormats); in operator ()()
183 if (numFormats > 0) in operator ()()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/
DvktWsiSurfaceTests.cpp695 deUint32 numFormats = 0; in querySurfaceFormatsTest() local
697 …ki.getPhysicalDeviceSurfaceFormatsKHR(physicalDevices[deviceNdx], *surface, &numFormats, DE_NULL)); in querySurfaceFormatsTest()
699 std::vector<VkSurfaceFormatKHR> formats (numFormats + 1); in querySurfaceFormatsTest()
701 if (numFormats > 0) in querySurfaceFormatsTest()
703 const deUint32 numFormatsOrig = numFormats; in querySurfaceFormatsTest()
706 numFormats++; in querySurfaceFormatsTest()
708 …etPhysicalDeviceSurfaceFormatsKHR(physicalDevices[deviceNdx], *surface, &numFormats, &formats[0])); in querySurfaceFormatsTest()
710 if (numFormats != numFormatsOrig) in querySurfaceFormatsTest()
803 deUint32 numFormats = 0; in querySurfaceFormats2Test() local
805 …tPhysicalDeviceSurfaceFormats2KHR(physicalDevices[deviceNdx], &surfaceInfo, &numFormats, DE_NULL)); in querySurfaceFormats2Test()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/
DvktWsiSurfaceTests.cpp695 deUint32 numFormats = 0; in querySurfaceFormatsTest() local
697 …ki.getPhysicalDeviceSurfaceFormatsKHR(physicalDevices[deviceNdx], *surface, &numFormats, DE_NULL)); in querySurfaceFormatsTest()
699 std::vector<VkSurfaceFormatKHR> formats (numFormats + 1); in querySurfaceFormatsTest()
701 if (numFormats > 0) in querySurfaceFormatsTest()
703 const deUint32 numFormatsOrig = numFormats; in querySurfaceFormatsTest()
706 numFormats++; in querySurfaceFormatsTest()
708 …etPhysicalDeviceSurfaceFormatsKHR(physicalDevices[deviceNdx], *surface, &numFormats, &formats[0])); in querySurfaceFormatsTest()
710 if (numFormats != numFormatsOrig) in querySurfaceFormatsTest()
803 deUint32 numFormats = 0; in querySurfaceFormats2Test() local
805 …tPhysicalDeviceSurfaceFormats2KHR(physicalDevices[deviceNdx], &surfaceInfo, &numFormats, DE_NULL)); in querySurfaceFormats2Test()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/cl/
DCLContextCL.cpp191 cl_uint numFormats = 0u; in getSupportedImageFormats() local
193 mNative, flags.get(), cl::ToCLenum(imageType), 0u, nullptr, &numFormats)); in getSupportedImageFormats()
194 std::vector<cl_image_format> formats(numFormats); in getSupportedImageFormats()
196 mNative, flags.get(), cl::ToCLenum(imageType), numFormats, formats.data(), nullptr)); in getSupportedImageFormats()
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkWsiUtil.cpp543 deUint32 numFormats = 0; in getPhysicalDeviceSurfaceFormats() local
545 VK_CHECK(vki.getPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, &numFormats, DE_NULL)); in getPhysicalDeviceSurfaceFormats()
547 if (numFormats > 0) in getPhysicalDeviceSurfaceFormats()
549 std::vector<VkSurfaceFormatKHR> formats (numFormats); in getPhysicalDeviceSurfaceFormats()
551 …VK_CHECK(vki.getPhysicalDeviceSurfaceFormatsKHR(physicalDevice, surface, &numFormats, &formats[0])… in getPhysicalDeviceSurfaceFormats()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiImageCompressionControlTests.cpp649 deUint32 numFormats; in swapchainCreateTest() local
650 …Helper.vki.getPhysicalDeviceSurfaceFormats2KHR(devHelper.physicalDevice, &surfaceInfo, &numFormats, in swapchainCreateTest()
653 vector<VkSurfaceFormat2KHR> formats(numFormats); in swapchainCreateTest()
659 …Helper.vki.getPhysicalDeviceSurfaceFormats2KHR(devHelper.physicalDevice, &surfaceInfo, &numFormats, in swapchainCreateTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiImageCompressionControlTests.cpp649 deUint32 numFormats; in swapchainCreateTest() local
650 …Helper.vki.getPhysicalDeviceSurfaceFormats2KHR(devHelper.physicalDevice, &surfaceInfo, &numFormats, in swapchainCreateTest()
653 vector<VkSurfaceFormat2KHR> formats(numFormats); in swapchainCreateTest()
659 …Helper.vki.getPhysicalDeviceSurfaceFormats2KHR(devHelper.physicalDevice, &surfaceInfo, &numFormats, in swapchainCreateTest()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/
DWindowSurfaceCGL.mm66 GLint numFormats = 0;
67 CGLChoosePixelFormat(attribs, &pixelFormat, &numFormats);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmImageSamplerTests.cpp831 deUint32 numFormats = 1; in addComputeImageSamplerTest() local
833 numFormats = optypeimageFormatMismatchFormatCount; in addComputeImageSamplerTest()
835 for (deUint32 formatIndex = 0; formatIndex < numFormats; formatIndex++) in addComputeImageSamplerTest()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/
DvktSpvAsmImageSamplerTests.cpp831 deUint32 numFormats = 1; in addComputeImageSamplerTest() local
833 numFormats = optypeimageFormatMismatchFormatCount; in addComputeImageSamplerTest()
835 for (deUint32 formatIndex = 0; formatIndex < numFormats; formatIndex++) in addComputeImageSamplerTest()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/cgl/
DWindowSurfaceCGL.mm70 GLint numFormats = 0;
71 CGLChoosePixelFormat(attribs, &pixelFormat, &numFormats);
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fNegativeShaderApiTests.cpp171 deInt32 numFormats = 0x1234; in shader_binary() local
172 ctx.glGetIntegerv(GL_NUM_SHADER_BINARY_FORMATS, &numFormats); in shader_binary()
174 if (numFormats == 0) in shader_binary()
178 binaryFormats.resize(numFormats); in shader_binary()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp199 const deUint32 numFormats, in pickSupportedDepthStencilFormat() argument
202 for (deUint32 i = 0; i < numFormats; ++i) in pickSupportedDepthStencilFormat()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp199 const deUint32 numFormats, in pickSupportedDepthStencilFormat() argument
202 for (deUint32 i = 0; i < numFormats; ++i) in pickSupportedDepthStencilFormat()