Home
last modified time | relevance | path

Searched refs:FrontFace (Results 1 – 25 of 112) sorted by relevance

12345

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DCullingTests.cpp22 wgpu::RenderPipeline CreatePipelineForTest(wgpu::FrontFace frontFace, wgpu::CullMode cullMode) { in CreatePipelineForTest()
71 void DoTest(wgpu::FrontFace frontFace, 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()
DDepthStencilStateTests.cpp94 wgpu::FrontFace frontFace = wgpu::FrontFace::CCW;
786 DoTest({{state, RGBA8::kRed, 0.f, 0u, wgpu::FrontFace::CCW}}, RGBA8::kRed, RGBA8::kZero); in TEST_P()
787 DoTest({{state, RGBA8::kRed, 0.f, 0u, wgpu::FrontFace::CW}}, RGBA8::kZero, RGBA8::kRed); in TEST_P()
810 {stencilAlwaysReplaceState, RGBA8::kRed, 0.f, 0x1, wgpu::FrontFace::CCW, true}, in TEST_P()
811 {stencilEqualKeepState, RGBA8::kGreen, 0.f, 0x0, wgpu::FrontFace::CCW, false}}; in TEST_P()
824 {stencilAlwaysReplaceState, RGBA8::kRed, 0.f, 0x1, wgpu::FrontFace::CCW, true}, in TEST_P()
825 {stencilAlwaysReplaceState, RGBA8::kGreen, 0.f, 0x1, wgpu::FrontFace::CCW, false}, in TEST_P()
826 {stencilEqualKeepState, RGBA8::kBlue, 0.f, 0x0, wgpu::FrontFace::CCW, true}}; in TEST_P()
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DCullingTests.cpp22 dawn::RenderPipeline CreatePipelineForTest(dawn::FrontFace frontFace, dawn::CullMode cullMode) { in CreatePipelineForTest()
74 void DoTest(dawn::FrontFace frontFace, in DoTest()
109 DoTest(dawn::FrontFace::CCW, dawn::CullMode::None, false, false); in TEST_P()
113 DoTest(dawn::FrontFace::CCW, dawn::CullMode::Front, true, false); in TEST_P()
117 DoTest(dawn::FrontFace::CCW, dawn::CullMode::Back, false, true); in TEST_P()
121 DoTest(dawn::FrontFace::CW, dawn::CullMode::None, false, false); in TEST_P()
125 DoTest(dawn::FrontFace::CW, dawn::CullMode::Front, false, true); in TEST_P()
129 DoTest(dawn::FrontFace::CW, dawn::CullMode::Back, true, false); in TEST_P()
/third_party/vk-gl-cts/external/amber/src/src/
Dpipeline_data.h51 void SetFrontFace(FrontFace face) { front_face_ = face; } in SetFrontFace()
52 FrontFace GetFrontFace() const { return front_face_; } in GetFrontFace()
200 FrontFace front_face_ = FrontFace::kCounterClockwise;
Dcommand_data.h51 enum class FrontFace : uint8_t { enum
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DPixelTransfer11.cpp79 depthStencilDesc.FrontFace.StencilFailOp = D3D11_STENCIL_OP_KEEP; in loadResources()
80 depthStencilDesc.FrontFace.StencilDepthFailOp = D3D11_STENCIL_OP_KEEP; in loadResources()
81 depthStencilDesc.FrontFace.StencilPassOp = D3D11_STENCIL_OP_KEEP; in loadResources()
82 depthStencilDesc.FrontFace.StencilFunc = D3D11_COMPARISON_ALWAYS; in loadResources()
DRenderStateCache.cpp205 dsDesc.FrontFace.StencilFailOp = ConvertStencilOp(glState.stencilFail); in getDepthStencilState()
206 dsDesc.FrontFace.StencilDepthFailOp = ConvertStencilOp(glState.stencilPassDepthFail); in getDepthStencilState()
207 dsDesc.FrontFace.StencilPassOp = ConvertStencilOp(glState.stencilPassDepthPass); in getDepthStencilState()
208 dsDesc.FrontFace.StencilFunc = ConvertComparison(glState.stencilFunc); in getDepthStencilState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DPixelTransfer11.cpp80 depthStencilDesc.FrontFace.StencilFailOp = D3D11_STENCIL_OP_KEEP; in loadResources()
81 depthStencilDesc.FrontFace.StencilDepthFailOp = D3D11_STENCIL_OP_KEEP; in loadResources()
82 depthStencilDesc.FrontFace.StencilPassOp = D3D11_STENCIL_OP_KEEP; in loadResources()
83 depthStencilDesc.FrontFace.StencilFunc = D3D11_COMPARISON_ALWAYS; in loadResources()
DRenderStateCache.cpp244 dsDesc.FrontFace.StencilFailOp = ConvertStencilOp(glState.stencilFail); in getDepthStencilState()
245 dsDesc.FrontFace.StencilDepthFailOp = ConvertStencilOp(glState.stencilPassDepthFail); in getDepthStencilState()
246 dsDesc.FrontFace.StencilPassOp = ConvertStencilOp(glState.stencilPassDepthPass); in getDepthStencilState()
247 dsDesc.FrontFace.StencilFunc = ConvertComparison(glState.stencilFunc); in getDepthStencilState()
/third_party/mesa3d/src/mesa/main/
Dstate.h117 return ctx->Polygon.FrontFace == GL_CW; in _mesa_polygon_get_front_bit()
119 return ctx->Polygon.FrontFace == GL_CCW; in _mesa_polygon_get_front_bit()
Dpolygon.c109 if (ctx->Polygon.FrontFace == mode) in front_face()
120 ctx->Polygon.FrontFace = mode; in front_face()
369 ctx->Polygon.FrontFace = GL_CCW; in _mesa_init_polygon()
/third_party/flutter/skia/third_party/externals/imgui/examples/
Dimgui_impl_dx10.cpp437 …desc.FrontFace.StencilFailOp = desc.FrontFace.StencilDepthFailOp = desc.FrontFace.StencilPassOp = … in ImGui_ImplDX10_CreateDeviceObjects()
438 desc.FrontFace.StencilFunc = D3D10_COMPARISON_ALWAYS; in ImGui_ImplDX10_CreateDeviceObjects()
439 desc.BackFace = desc.FrontFace; in ImGui_ImplDX10_CreateDeviceObjects()
Dimgui_impl_dx11.cpp444 …desc.FrontFace.StencilFailOp = desc.FrontFace.StencilDepthFailOp = desc.FrontFace.StencilPassOp = … in ImGui_ImplDX11_CreateDeviceObjects()
445 desc.FrontFace.StencilFunc = D3D11_COMPARISON_ALWAYS; in ImGui_ImplDX11_CreateDeviceObjects()
446 desc.BackFace = desc.FrontFace; in ImGui_ImplDX11_CreateDeviceObjects()
Dimgui_impl_dx12.cpp561 …desc.FrontFace.StencilFailOp = desc.FrontFace.StencilDepthFailOp = desc.FrontFace.StencilPassOp = … in ImGui_ImplDX12_CreateDeviceObjects()
562 desc.FrontFace.StencilFunc = D3D12_COMPARISON_FUNC_ALWAYS; in ImGui_ImplDX12_CreateDeviceObjects()
563 desc.BackFace = desc.FrontFace; in ImGui_ImplDX12_CreateDeviceObjects()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/opengl/
DRenderPipelineGL.cpp44 dawn::FrontFace face, in ApplyFrontFaceAndCulling()
52 GLenum direction = (face == dawn::FrontFace::CCW) ? GL_CW : GL_CCW; in ApplyFrontFaceAndCulling()
53 gl.FrontFace(direction); in ApplyFrontFaceAndCulling()
/third_party/skia/third_party/externals/imgui/backends/
Dimgui_impl_dx10.cpp498 …desc.FrontFace.StencilFailOp = desc.FrontFace.StencilDepthFailOp = desc.FrontFace.StencilPassOp = … in ImGui_ImplDX10_CreateDeviceObjects()
499 desc.FrontFace.StencilFunc = D3D10_COMPARISON_ALWAYS; in ImGui_ImplDX10_CreateDeviceObjects()
500 desc.BackFace = desc.FrontFace; in ImGui_ImplDX10_CreateDeviceObjects()
Dimgui_impl_dx11.cpp510 …desc.FrontFace.StencilFailOp = desc.FrontFace.StencilDepthFailOp = desc.FrontFace.StencilPassOp = … in ImGui_ImplDX11_CreateDeviceObjects()
511 desc.FrontFace.StencilFunc = D3D11_COMPARISON_ALWAYS; in ImGui_ImplDX11_CreateDeviceObjects()
512 desc.BackFace = desc.FrontFace; in ImGui_ImplDX11_CreateDeviceObjects()
Dimgui_impl_dx12.cpp656 …desc.FrontFace.StencilFailOp = desc.FrontFace.StencilDepthFailOp = desc.FrontFace.StencilPassOp = … in ImGui_ImplDX12_CreateDeviceObjects()
657 desc.FrontFace.StencilFunc = D3D12_COMPARISON_FUNC_ALWAYS; in ImGui_ImplDX12_CreateDeviceObjects()
658 desc.BackFace = desc.FrontFace; in ImGui_ImplDX12_CreateDeviceObjects()
/third_party/mesa3d/src/microsoft/vulkan/
Ddzn_meta.c675 desc.DepthStencilState.FrontFace.StencilFailOp = D3D12_STENCIL_OP_REPLACE; in dzn_meta_blit_create()
676 desc.DepthStencilState.FrontFace.StencilDepthFailOp = D3D12_STENCIL_OP_REPLACE; in dzn_meta_blit_create()
677 desc.DepthStencilState.FrontFace.StencilPassOp = D3D12_STENCIL_OP_REPLACE; in dzn_meta_blit_create()
678 desc.DepthStencilState.FrontFace.StencilFunc = D3D12_COMPARISON_FUNC_ALWAYS; in dzn_meta_blit_create()
679 desc.DepthStencilState.BackFace = desc.DepthStencilState.FrontFace; in dzn_meta_blit_create()
Ddzn_pipeline.c1356 desc->FrontFace.StencilFailOp = in dzn_graphics_pipeline_translate_zsa()
1358 desc->FrontFace.StencilDepthFailOp = in dzn_graphics_pipeline_translate_zsa()
1360 desc->FrontFace.StencilPassOp = in dzn_graphics_pipeline_translate_zsa()
1362 desc->FrontFace.StencilFunc = in dzn_graphics_pipeline_translate_zsa()
1787 if (ds_templ->FrontFace.StencilFunc != D3D12_COMPARISON_FUNC_NEVER && in dzn_graphics_pipeline_get_state()
1788 ds_templ->FrontFace.StencilFunc != D3D12_COMPARISON_FUNC_ALWAYS) in dzn_graphics_pipeline_get_state()
1835 if (ds->FrontFace.StencilFunc != D3D12_COMPARISON_FUNC_NEVER && in dzn_graphics_pipeline_get_state()
1836 ds->FrontFace.StencilFunc != D3D12_COMPARISON_FUNC_ALWAYS) { in dzn_graphics_pipeline_get_state()
1845 if (ds->FrontFace.StencilFunc != D3D12_COMPARISON_FUNC_NEVER && in dzn_graphics_pipeline_get_state()
1846 ds->FrontFace.StencilFunc != D3D12_COMPARISON_FUNC_ALWAYS && in dzn_graphics_pipeline_get_state()
/third_party/skia/third_party/externals/dawn/src/dawn_native/opengl/
DRenderPipelineGL.cpp43 wgpu::FrontFace face, in ApplyFrontFaceAndCulling()
47 GLenum direction = (face == wgpu::FrontFace::CCW) ? GL_CW : GL_CCW; in ApplyFrontFaceAndCulling()
48 gl.FrontFace(direction); in ApplyFrontFaceAndCulling()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DOutputMerger.cpp913 face0->func = translateComparison(pDepthStencilDesc->FrontFace.StencilFunc); in CreateDepthStencilState()
914 face0->fail_op = translateStencilOp(pDepthStencilDesc->FrontFace.StencilFailOp); in CreateDepthStencilState()
915 face0->zpass_op = translateStencilOp(pDepthStencilDesc->FrontFace.StencilPassOp); in CreateDepthStencilState()
916 face0->zfail_op = translateStencilOp(pDepthStencilDesc->FrontFace.StencilDepthFailOp); in CreateDepthStencilState()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp140 VkFrontFace VulkanFrontFace(dawn::FrontFace face) { in VulkanFrontFace()
142 case dawn::FrontFace::CCW: in VulkanFrontFace()
144 case dawn::FrontFace::CW: in VulkanFrontFace()
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp139 VkFrontFace VulkanFrontFace(wgpu::FrontFace face) { in VulkanFrontFace()
141 case wgpu::FrontFace::CCW: in VulkanFrontFace()
143 case wgpu::FrontFace::CW: in VulkanFrontFace()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/metal/
DRenderPipelineMTL.mm285 MTLWinding MTLFrontFace(dawn::FrontFace face) {
287 case dawn::FrontFace::CW:
289 case dawn::FrontFace::CCW:

12345