Home
last modified time | relevance | path

Searched refs:CullMode (Results 1 – 25 of 51) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DCullingTests.cpp22 wgpu::RenderPipeline CreatePipelineForTest(wgpu::FrontFace frontFace, wgpu::CullMode cullMode) { in CreatePipelineForTest()
72 wgpu::CullMode cullMode, in DoTest()
105 DoTest(wgpu::FrontFace::CCW, wgpu::CullMode::None, false, false); in TEST_P()
109 DoTest(wgpu::FrontFace::CCW, wgpu::CullMode::Front, true, false); in TEST_P()
113 DoTest(wgpu::FrontFace::CCW, wgpu::CullMode::Back, false, true); in TEST_P()
117 DoTest(wgpu::FrontFace::CW, wgpu::CullMode::None, false, false); in TEST_P()
121 DoTest(wgpu::FrontFace::CW, wgpu::CullMode::Front, false, true); in TEST_P()
125 DoTest(wgpu::FrontFace::CW, wgpu::CullMode::Back, true, false); in TEST_P()
/third_party/vk-gl-cts/external/amber/src/src/
Dpipeline_data.h48 void SetCullMode(CullMode mode) { cull_mode_ = mode; } in SetCullMode()
49 CullMode GetCullMode() const { return cull_mode_; } in GetCullMode()
199 CullMode cull_mode_ = CullMode::kNone;
Dcommand_data.h44 enum class CullMode : uint8_t { enum
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DRasterizer.cpp158 translate_cull_mode(D3D10_DDI_CULL_MODE CullMode) in translate_cull_mode() argument
160 switch (CullMode) { in translate_cull_mode()
215 state.cull_face = translate_cull_mode(pRasterizerDesc->CullMode); in CreateRasterizerState()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DRenderPipelineD3D12.cpp138 D3D12_CULL_MODE D3D12CullMode(wgpu::CullMode mode) { in D3D12CullMode()
140 case wgpu::CullMode::None: in D3D12CullMode()
142 case wgpu::CullMode::Front: in D3D12CullMode()
144 case wgpu::CullMode::Back: in D3D12CullMode()
379 descriptorD3D12.RasterizerState.CullMode = D3D12CullMode(GetCullMode()); in Initialize()
/third_party/vk-gl-cts/framework/referencerenderer/
DrrRenderState.hpp57 enum CullMode enum
386 CullMode cullMode;
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DRenderPipelineGL.cpp44 wgpu::CullMode mode) { in ApplyFrontFaceAndCulling()
50 if (mode == wgpu::CullMode::None) { in ApplyFrontFaceAndCulling()
55 GLenum cullMode = (mode == wgpu::CullMode::Front) ? GL_FRONT : GL_BACK; in ApplyFrontFaceAndCulling()
/third_party/vk-gl-cts/external/amber/src/src/vkscript/
Dcommand_parser.cc1211 CullMode mode = CullMode::kNone; in ProcessCullMode()
1218 if (mode == CullMode::kNone) in ProcessCullMode()
1219 mode = CullMode::kFront; in ProcessCullMode()
1220 else if (mode == CullMode::kBack) in ProcessCullMode()
1221 mode = CullMode::kFrontAndBack; in ProcessCullMode()
1223 if (mode == CullMode::kNone) in ProcessCullMode()
1224 mode = CullMode::kBack; in ProcessCullMode()
1225 else if (mode == CullMode::kFront) in ProcessCullMode()
1226 mode = CullMode::kFrontAndBack; in ProcessCullMode()
1228 mode = CullMode::kFrontAndBack; in ProcessCullMode()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp149 VkCullModeFlagBits VulkanCullMode(wgpu::CullMode mode) { in VulkanCullMode()
151 case wgpu::CullMode::None: in VulkanCullMode()
153 case wgpu::CullMode::Front: in VulkanCullMode()
155 case wgpu::CullMode::Back: in VulkanCullMode()
/third_party/skia/third_party/externals/swiftshader/src/Renderer/
DSetupProcessor.hpp52 CullMode cullMode : BITS(CULL_LAST);
DContext.hpp174 enum CullMode ENUM_UNDERLYING_TYPE_UNSIGNED_INT
434 CullMode cullMode;
DPixelProcessor.hpp258 void setCullMode(CullMode cullMode, bool frontFacingCCW);
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
Dgraphics_pipeline.cc138 VkCullModeFlags ToVkCullMode(CullMode mode) { in ToVkCullMode()
140 case CullMode::kNone: in ToVkCullMode()
142 case CullMode::kFront: in ToVkCullMode()
144 case CullMode::kBack: in ToVkCullMode()
146 case CullMode::kFrontAndBack: in ToVkCullMode()
/third_party/vk-gl-cts/external/amber/src/src/dawn/
Dengine_dawn.cc757 ::dawn::CullMode GetDawnCullMode(CullMode amber_cull_mode) { in GetDawnCullMode()
759 case CullMode::kNone: in GetDawnCullMode()
760 return ::dawn::CullMode::None; in GetDawnCullMode()
761 case CullMode::kFront: in GetDawnCullMode()
762 return ::dawn::CullMode::Front; in GetDawnCullMode()
763 case CullMode::kBack: in GetDawnCullMode()
764 return ::dawn::CullMode::Back; in GetDawnCullMode()
767 return ::dawn::CullMode::None; in GetDawnCullMode()
1043 rasterizationState.cullMode = ::dawn::CullMode::None; in CreateRenderPipelineDescriptor()
/third_party/skia/third_party/externals/dawn/src/dawn_native/metal/
DRenderPipelineMTL.mm300 MTLCullMode ToMTLCullMode(wgpu::CullMode mode) {
302 case wgpu::CullMode::None:
304 case wgpu::CullMode::Front:
306 case wgpu::CullMode::Back:
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DRenderPipeline.h83 wgpu::CullMode GetCullMode() const;
DRenderPipeline.cpp632 if ((mPrimitive.cullMode != wgpu::CullMode::Front && in RenderPipelineBase()
636 (mPrimitive.cullMode != wgpu::CullMode::Back && in RenderPipelineBase()
790 wgpu::CullMode RenderPipelineBase::GetCullMode() const { in GetCullMode()
/third_party/skia/third_party/externals/dawn/src/utils/
DComboRenderPipelineDescriptor.cpp83 primitive->cullMode = wgpu::CullMode::None; in ComboRenderPipelineDescriptor()
/third_party/skia/third_party/externals/dawn/src/dawn_node/binding/
DConverter.cpp600 bool Converter::Convert(wgpu::CullMode& out, const interop::GPUCullMode& in) { in Convert()
601 out = wgpu::CullMode::None; in Convert()
604 out = wgpu::CullMode::None; in Convert()
607 out = wgpu::CullMode::Front; in Convert()
610 out = wgpu::CullMode::Back; in Convert()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
Dutilities.h105 sw::CullMode ConvertCullMode(GLenum cullFace, GLenum frontFace);
/third_party/mesa3d/src/gallium/drivers/crocus/
Dgen4_blorp_exec.h95 sf.CullMode = CULLMODE_NONE; in blorp_emit_sf_state()
/third_party/libdrm/intel/tests/
Dgen6-3d.batch-ref.txt93 0x12300170: 0x22000000: AA disable, CullMode 1, Scissor disable, Multisample m ode 0
216 0x1230035c: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
346 0x12300564: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
413 0x12300670: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
483 0x12300788: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
616 0x1230099c: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
683 0x12300aa8: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
753 0x12300bc0: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
886 0x12300dd4: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
953 0x12300ee0: 0x62000000: AA disable, CullMode 3, Scissor disable, Multisample m ode 0
/third_party/mesa3d/src/gallium/targets/d3d10sw/tests/
Dtri.cpp256 RasterizerDesc.CullMode = D3D11_CULL_NONE; in main()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DPixelTransfer11.cpp59 rasterDesc.CullMode = D3D11_CULL_NONE; in loadResources()
DRenderStateCache.cpp194 rasterDesc.CullMode = cullMode; in getRasterizerState()

123