Home
last modified time | relevance | path

Searched refs:SetToggle (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DDeviceGL.cpp95 SetToggle(Toggle::DisableBaseVertex, !supportsBaseVertex); in InitTogglesFromDriver()
96 SetToggle(Toggle::DisableBaseInstance, !supportsBaseInstance); in InitTogglesFromDriver()
97 SetToggle(Toggle::DisableIndexedDrawBuffers, !supportsIndexedDrawBuffers); in InitTogglesFromDriver()
98 SetToggle(Toggle::DisableSnormRead, !supportsSnormRead); in InitTogglesFromDriver()
99 SetToggle(Toggle::DisableDepthStencilRead, !supportsDepthStencilRead); in InitTogglesFromDriver()
100 SetToggle(Toggle::DisableSampleVariables, !supportsSampleVariables); in InitTogglesFromDriver()
101 SetToggle(Toggle::FlushBeforeClientWaitSync, gl.GetVersion().IsES()); in InitTogglesFromDriver()
103 SetToggle(Toggle::UseDummyFragmentInVertexOnlyPipeline, gl.GetVersion().IsES()); in InitTogglesFromDriver()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DDeviceD3D12.cpp578 SetToggle(Toggle::UseD3D12ResourceHeapTier2, useResourceHeapTier2); in InitTogglesFromDriver()
579 SetToggle(Toggle::UseD3D12RenderPass, GetDeviceInfo().supportsRenderPass); in InitTogglesFromDriver()
580 SetToggle(Toggle::UseD3D12ResidencyManagement, true); in InitTogglesFromDriver()
581 SetToggle(Toggle::UseDXC, false); in InitTogglesFromDriver()
585 SetToggle(Toggle::FxcOptimizations, false); in InitTogglesFromDriver()
588 SetToggle(Toggle::UseD3D12SmallShaderVisibleHeapForTesting, false); in InitTogglesFromDriver()
601 SetToggle( in InitTogglesFromDriver()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DDeviceMTL.mm174 SetToggle(Toggle::EmulateStoreAndMSAAResolve, !haveStoreAndMSAAResolve);
181 SetToggle(Toggle::MetalDisableSamplerCompare, !haveSamplerCompare);
189 SetToggle(Toggle::DisableBaseVertex, !haveBaseVertexBaseInstance);
190 SetToggle(Toggle::DisableBaseInstance, !haveBaseVertexBaseInstance);
196 SetToggle(Toggle::MetalEnableVertexPulling, true);
200 SetToggle(Toggle::AlwaysResolveIntoZeroLevelAndLayer, true);
209 SetToggle(Toggle::MetalUseSharedModeForCounterSampleBuffer, useSharedMode);
215 SetToggle(Toggle::DisableR8RG8Mipmaps, true);
225 SetToggle(Toggle::UseDummyFragmentInVertexOnlyPipeline, useDummyFragmentShader);
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DDevice.cpp458 mTogglesSet.SetToggle(toggle, true); in ApplyToggleOverrides()
464 mTogglesSet.SetToggle(toggle, false); in ApplyToggleOverrides()
489 mTogglesSet.SetToggle(Toggle::LazyClearResourceOnFirstUse, true); in SetDefaultToggles()
596 void DeviceBase::SetToggle(Toggle toggle, bool isEnabled) { in SetToggle() function in dawn_native::DeviceBase
597 mTogglesSet.SetToggle(toggle, isEnabled); in SetToggle()
DToggles.h39 void SetToggle(Toggle toggle, bool enabled) { in SetToggle() function
DDevice.h156 void SetToggle(Toggle toggle, bool isEnabled);
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/mocks/
DDeviceMock.h29 using DeviceBase::SetToggle;
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DDeviceMTL.mm81 SetToggle(Toggle::EmulateStoreAndMSAAResolve, emulateStoreAndMSAAResolve);
84 SetToggle(Toggle::AlwaysResolveIntoZeroLevelAndLayer, true);
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DDevice.cpp1576 void DeviceBase::SetToggle(Toggle toggle, bool isEnabled) { in SetToggle() function in dawn_native::DeviceBase
1591 SetToggle(Toggle::LazyClearResourceOnFirstUse, true); in SetDefaultToggles()
1592 SetToggle(Toggle::DisallowUnsafeAPIs, true); in SetDefaultToggles()
DDevice.h376 void SetToggle(Toggle toggle, bool isEnabled);
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DDeviceVk.cpp493 SetToggle(Toggle::UseTemporaryBufferInCompressedTextureToTextureCopy, true); in InitTogglesFromDriver()
496 SetToggle(Toggle::VulkanUseD32S8, true); in InitTogglesFromDriver()
/third_party/skia/third_party/externals/dawn/docs/
Ddevice_facilities.md81 …backend device default toggles are applied (unless already overriden) using `DeviceBase::SetToggle`
/third_party/skia/third_party/externals/dawn/src/tests/unittests/native/
DDestroyObjectTests.cpp47 mDevice.SetToggle(Toggle::SkipValidation, true); in DestroyObjectTests()