Home
last modified time | relevance | path

Searched refs:getFeatures (Results 1 – 25 of 107) sorted by relevance

12345

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DShaderVk.cpp48 if (contextVk->getFeatures().clampPointSize.enabled) in compile()
53 if (contextVk->getFeatures().basicGLLineRasterization.enabled) in compile()
63 if (!contextVk->getFeatures().enablePrecisionQualifiers.enabled) in compile()
68 if (contextVk->getFeatures().forceFragmentShaderPrecisionHighpToMediump.enabled) in compile()
78 if (!contextVk->getFeatures().forceDriverUniformOverSpecConst.enabled) in compile()
83 if (contextVk->getFeatures().enablePreRotateSurfaces.enabled || in compile()
84 contextVk->getFeatures().emulatedPrerotation90.enabled || in compile()
85 contextVk->getFeatures().emulatedPrerotation180.enabled || in compile()
86 contextVk->getFeatures().emulatedPrerotation270.enabled) in compile()
92 if (contextVk->getFeatures().supportsTransformFeedbackExtension.enabled) in compile()
[all …]
DDisplayVk.cpp229 getRenderer()->getFeatures().supportsAndroidHardwareBuffer.enabled; in generateExtensions()
233 outExtensions->glColorspace && getRenderer()->getFeatures().supportsImageFormatList.enabled; in generateExtensions()
245 getRenderer()->getFeatures().supportsExternalMemoryDmaBufAndModifiers.enabled; in generateExtensions()
249 outExtensions->contextPriority = !getRenderer()->getFeatures().allocateNonZeroMemory.enabled; in generateExtensions()
254 getRenderer()->getFeatures().supportsAndroidNativeFenceSync.enabled; in generateExtensions()
259 outExtensions->swapWithFrameToken = getRenderer()->getFeatures().supportsGGPFrameToken.enabled; in generateExtensions()
265 (getRenderer()->getFeatures().supportsProtectedMemory.enabled && in generateExtensions()
266 getRenderer()->getFeatures().supportsSurfaceProtectedSwapchains.enabled); in generateExtensions()
271 getRenderer()->getFeatures().supportsSharedPresentableImageExtension.enabled; in generateExtensions()
332 mRenderer->getFeatures().populateFeatureList(features); in populateFeatureList()
DTransformFeedbackVk.cpp103 if (contextVk->getFeatures().supportsTransformFeedbackExtension.enabled) in begin()
122 ASSERT(contextVk->getFeatures().emulateTransformFeedback.enabled); in begin()
137 if (contextVk->getFeatures().supportsTransformFeedbackExtension.enabled) in begin()
155 if (transformFeedbackQuery && contextVk->getFeatures().emulateTransformFeedback.enabled) in end()
171 if (contextVk->getFeatures().emulateTransformFeedback.enabled) in pause()
197 if (contextVk->getFeatures().emulateTransformFeedback.enabled) in resume()
225 if (!contextVk->getFeatures().emulateTransformFeedback.enabled) in updateDescriptorSetLayout()
246 if (!contextVk->getFeatures().emulateTransformFeedback.enabled) in initDescriptorSet()
271 if (!contextVk->getFeatures().emulateTransformFeedback.enabled) in updateDescriptorSet()
307 if (!contextVk->getFeatures().emulateTransformFeedback.enabled) in getBufferOffsets()
[all …]
DRendererVk.cpp425 renderer->getFeatures().supportsRenderPassLoadStoreOpNone.enabled || in ShouldReportDebugMessage()
426 renderer->getFeatures().supportsRenderPassStoreOpNoneQCOM.enabled; in ShouldReportDebugMessage()
1820 if (getFeatures().supportsRenderpass2.enabled) in initializeDevice()
1825 if (getFeatures().supportsIncrementalPresent.enabled) in initializeDevice()
1831 if (getFeatures().supportsAndroidHardwareBuffer.enabled) in initializeDevice()
1841 ASSERT(!getFeatures().supportsAndroidHardwareBuffer.enabled); in initializeDevice()
1845 if (getFeatures().supportsGGPFrameToken.enabled) in initializeDevice()
1849 ANGLE_VK_CHECK(displayVk, getFeatures().supportsGGPFrameToken.enabled, in initializeDevice()
1852 ASSERT(!getFeatures().supportsGGPFrameToken.enabled); in initializeDevice()
1855 if (getFeatures().supportsAndroidHardwareBuffer.enabled || in initializeDevice()
[all …]
Dvk_caps_utils.cpp252 if (rendererVk->getFeatures().exposeNonConformantExtensionsAndVersions.enabled) in HasTextureBufferSupport()
363 getFeatures().enableMultisampledRenderToTexture.enabled; in ensureCapsInitialized()
365 getFeatures().enableMultisampledRenderToTexture.enabled; in ensureCapsInitialized()
376 mNativeExtensions.textureBorderClampOES = getFeatures().supportsCustomBorderColorEXT.enabled; in ensureCapsInitialized()
377 mNativeExtensions.textureBorderClampEXT = getFeatures().supportsCustomBorderColorEXT.enabled; in ensureCapsInitialized()
405 mNativeExtensions.memoryObjectFdEXT = getFeatures().supportsExternalMemoryFd.enabled; in ensureCapsInitialized()
408 getFeatures().supportsExternalMemoryFuchsia.enabled; in ensureCapsInitialized()
411 mNativeExtensions.semaphoreFdEXT = getFeatures().supportsExternalSemaphoreFd.enabled; in ensureCapsInitialized()
413 getFeatures().supportsExternalSemaphoreFuchsia.enabled; in ensureCapsInitialized()
496 mNativeExtensions.sRGBWriteControlEXT = getFeatures().supportsImageFormatList.enabled; in ensureCapsInitialized()
[all …]
DSurfaceVk.cpp138 if (rendererVk->getFeatures().overrideSurfaceFormatRGB8toRGBA8.enabled && in InitImageHelper()
660 if (renderer->getFeatures().supportsSurfaceCapabilities2Extension.enabled) in initializeImpl()
670 if (renderer->getFeatures().supportsSharedPresentableImageExtension.enabled) in initializeImpl()
681 if (renderer->getFeatures().supportsSurfaceProtectedCapabilitiesExtension.enabled) in initializeImpl()
770 if (renderer->getFeatures().enablePreRotateSurfaces.enabled) in initializeImpl()
793 if (renderer->getFeatures().emulatedPrerotation90.enabled) in initializeImpl()
797 else if (renderer->getFeatures().emulatedPrerotation180.enabled) in initializeImpl()
801 else if (renderer->getFeatures().emulatedPrerotation270.enabled) in initializeImpl()
828 if (renderer->getFeatures().disableFifoPresentMode.enabled) in initializeImpl()
838 if (rendererVk->getFeatures().overrideSurfaceFormatRGB8toRGBA8.enabled && in initializeImpl()
[all …]
DQueryVk.cpp41 return contextVk->getFeatures().supportsTransformFeedbackExtension.enabled; in IsRenderPassQuery()
50 contextVk->getFeatures().emulateTransformFeedback.enabled; in IsEmulatedTransformFeedbackQuery()
55 return !contextVk->getFeatures().supportsPipelineStatisticsQuery.enabled; in IsPrimitivesGeneratedQueryShared()
310 ASSERT(!contextVk->getFeatures().supportsTransformFeedbackExtension.enabled); in begin()
356 ASSERT(contextVk->getFeatures().emulateTransformFeedback.enabled); in end()
DContextVk.cpp154 contextVk->getFeatures().supportsMultiDrawIndirect.enabled; in CanMultiDrawIndirectUseCmd()
603 if (getFeatures().supportsTransformFeedbackExtension.enabled)
634 if (getFeatures().supportsTransformFeedbackExtension.enabled)
641 else if (getFeatures().emulateTransformFeedback.enabled)
792 if (getFeatures().supportsTransformFeedbackExtension.enabled) in initialize()
802 if (getFeatures().supportsPipelineStatisticsQuery.enabled) in initialize()
944 if (mRenderer->getFeatures().deferFlushUntilEndRenderPass.enabled && hasStartedRenderPass() && in flush()
1001 if (getFeatures().emulateTransformFeedback.enabled && in setupDraw()
3491 isViewportFlipEnabledForDrawFBO() && getFeatures().supportsNegativeViewport.enabled; in updateViewport()
3901 if (mRenderer->getFeatures().preferSubmitAtFBOBoundary.enabled) in syncState()
[all …]
DProgramPipelineVk.cpp61 GlslangWrapperVk::CreateSourceOptions(contextVk->getRenderer()->getFeatures()); in link()
111 if (contextVk->getFeatures().enablePrecisionQualifiers.enabled) in link()
Dvk_format_utils.cpp144 size_t skip = renderer->getFeatures().forceFallbackFormat.enabled ? 1 : 0; in initImageFallback()
179 size_t skip = renderer->getFeatures().forceFallbackFormat.enabled ? 1 : 0; in initBufferFallback()
189 if (renderer->getFeatures().compressVertexData.enabled && compressedStartIndex < numInfo) in initBufferFallback()
DBufferVk.cpp152 return contextVk->getRenderer()->getFeatures().preferCPUForBufferSubData.enabled || in ShouldAllocateNewMemoryForUpdate()
162 return renderer->getFeatures().preferCPUForBufferSubData.enabled || in ShouldUseCPUToCopyData()
256 if (!contextVk->getRenderer()->getFeatures().shadowBuffers.enabled) in initializeShadowBuffer()
322 if (contextVk->getFeatures().supportsTransformFeedbackExtension.enabled) in setExternalBufferData()
447 if (contextVk->getFeatures().supportsTransformFeedbackExtension.enabled) in setDataWithMemoryType()
/third_party/vk-gl-cts/scripts/opengl/
Dsrc_util.py160 glFeatures = registry.getFeatures('gl')
161 esFeatures = registry.getFeatures('gles2')
164 for feature in registry.getFeatures('gl'):
167 for feature in registry.getFeatures('gles2'):
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/
DEGLFeatureControlTest.cpp73 display->getFeatures().size())); in TEST_P()
93 angle::FeatureList features = display->getFeatures(); in TEST_P()
119 EXPECT_EQ(display->getFeatures().size(), static_cast<size_t>(value)); in TEST_P()
129 angle::FeatureList features = display->getFeatures(); in TEST_P()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DMCSubtargetInfo.cpp150 static FeatureBitset getFeatures(StringRef CPU, StringRef FS, in getFeatures() function
184 for (const std::string &Feature : Features.getFeatures()) { in getFeatures()
198 FeatureBits = getFeatures(CPU, FS, ProcDesc, ProcFeatures); in InitMCProcessorInfo()
206 FeatureBits = getFeatures(CPU, FS, ProcDesc, ProcFeatures); in setDefaultFeatures()
281 for (std::string F : T.getFeatures()) { in checkFeatures()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DJITTargetMachineBuilder.h111 SubtargetFeatures &getFeatures() { return Features; } in getFeatures() function
114 const SubtargetFeatures &getFeatures() const { return Features; } in getFeatures() function
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DShaderMtl.mm108 !contextMtl->getDisplay()->getFeatures().hasBaseVertexInstancedDraw.enabled)
132 if (contextMtl->getDisplay()->getFeatures().intelExplicitBoolCastWorkaround.enabled)
142 if (contextMtl->getDisplay()->getFeatures().rewriteRowMajorMatrices.enabled)
Dmtl_occlusion_query_pool.mm91 if (!clearOldValue && !contextMtl->getDisplay()->getFeatures().allowBufferReadWrite.enabled)
130 !contextMtl->getDisplay()->getFeatures().allowBufferReadWrite.enabled)
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DGPUAdapter.h33 interop::Interface<interop::GPUSupportedFeatures> getFeatures(Napi::Env) override;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DebugInfo/PDB/Native/
DInfoStream.h47 PdbRaw_Features getFeatures() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DJITTargetMachineBuilder.cpp34 TMBuilder.getFeatures().AddFeature(Feature.first(), Feature.second); in detectHost()
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/
DVkPhysicalDevice.hpp37 const VkPhysicalDeviceFeatures &getFeatures() const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/PDB/Native/
DInfoStream.cpp119 PdbRaw_Features InfoStream::getFeatures() const { return Features; } in getFeatures() function in InfoStream
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DTextureStorage11.cpp242 if (mRenderer->getFeatures().zeroMaxLodWorkaround.enabled) in getSRVForSampler()
256 mRenderer->getFeatures().emulateTinyStencilTextures.enabled; in getSRVForSampler()
381 if (mRenderer->getFeatures().zeroMaxLodWorkaround.enabled) in getSRVLevels()
544 if (level > 0 && mRenderer->getFeatures().zeroMaxLodWorkaround.enabled) in updateSubresourceLevel()
599 if (index.getLevelIndex() > 0 && mRenderer->getFeatures().zeroMaxLodWorkaround.enabled) in copySubresourceLevel()
1039 ASSERT(!mUseLevelZeroTexture || mRenderer->getFeatures().zeroMaxLodWorkaround.enabled); in TextureStorage11_2D()
1092 if (mRenderer->getFeatures().zeroMaxLodWorkaround.enabled) in copyToStorage()
1248 ASSERT(mRenderer->getFeatures().zeroMaxLodWorkaround.enabled); in getMippedResource()
1260 bool useLevelZeroTexture = mRenderer->getFeatures().zeroMaxLodWorkaround.enabled in ensureTextureExists()
1370 if (mRenderer->getFeatures().zeroMaxLodWorkaround.enabled) in getRenderTarget()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DRendererD3D.cpp172 const angle::FeaturesD3D &RendererD3D::getFeatures() const in getFeatures() function in rx::RendererD3D
/third_party/vk-gl-cts/scripts/egl/
Dproc_address_tests.py107 for feature in registry.getFeatures(api, check):

12345