/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | CullingTests.cpp | 22 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()
|
H A D | DepthStencilStateTests.cpp | 94 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/mesa3d/src/mesa/main/ |
H A D | state.h | 117 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()
|
H A D | polygon.c | 102 * Verifies the parameter and updates gl_polygon_attrib::FrontFace. On change 104 * the dd_function_table::FrontFace callback. 109 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/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
H A D | PixelTransfer11.cpp | 80 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()
|
H A D | RenderStateCache.cpp | 244 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/vk-gl-cts/external/amber/src/src/ |
H A D | pipeline_data.h | 51 void SetFrontFace(FrontFace face) { front_face_ = face; } in SetFrontFace() 52 FrontFace GetFrontFace() const { return front_face_; } in GetFrontFace() 200 FrontFace front_face_ = FrontFace::kCounterClockwise;
|
H A D | command_data.h | 51 enum class FrontFace : uint8_t { class
|
/third_party/mesa3d/src/microsoft/vulkan/ |
H A D | dzn_meta.c | 675 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()
|
H A D | dzn_pipeline.c | 1356 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 in dzn_graphics_pipeline_get_state() [all...] |
/third_party/skia/third_party/externals/imgui/backends/ |
H A D | imgui_impl_dx10.cpp | 498 desc.FrontFace.StencilFailOp = desc.FrontFace.StencilDepthFailOp = desc.FrontFace.StencilPassOp = D3D10_STENCIL_OP_KEEP; in ImGui_ImplDX10_CreateDeviceObjects() 499 desc.FrontFace.StencilFunc = D3D10_COMPARISON_ALWAYS; in ImGui_ImplDX10_CreateDeviceObjects() 500 desc.BackFace = desc.FrontFace; in ImGui_ImplDX10_CreateDeviceObjects()
|
H A D | imgui_impl_dx11.cpp | 510 desc.FrontFace.StencilFailOp = desc.FrontFace.StencilDepthFailOp = desc.FrontFace.StencilPassOp = D3D11_STENCIL_OP_KEEP; in ImGui_ImplDX11_CreateDeviceObjects() 511 desc.FrontFace.StencilFunc = D3D11_COMPARISON_ALWAYS; in ImGui_ImplDX11_CreateDeviceObjects() 512 desc.BackFace = desc.FrontFace; in ImGui_ImplDX11_CreateDeviceObjects()
|
H A D | imgui_impl_dx12.cpp | 656 desc.FrontFace.StencilFailOp = desc.FrontFace.StencilDepthFailOp = desc.FrontFace.StencilPassOp = D3D12_STENCIL_OP_KEEP; 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/skia/third_party/externals/dawn/src/dawn_native/opengl/ |
H A D | RenderPipelineGL.cpp | 43 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/ |
H A D | OutputMerger.cpp | 913 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/skia/src/gpu/d3d/ |
H A D | GrD3DPipelineStateBuilder.cpp | 469 setup_stencilop_desc(&dsDesc->FrontFace, frontFace); in fill_in_depth_stencil_state() 474 setup_stencilop_desc(&dsDesc->FrontFace, stencilSettings.singleSidedFace()); in fill_in_depth_stencil_state() 475 dsDesc->BackFace = dsDesc->FrontFace; in fill_in_depth_stencil_state()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | RenderPipelineVk.cpp | 139 VkFrontFace VulkanFrontFace(wgpu::FrontFace face) { in VulkanFrontFace() 141 case wgpu::FrontFace::CCW: in VulkanFrontFace() 143 case wgpu::FrontFace::CW: in VulkanFrontFace()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/ |
H A D | RenderPipeline.h | 84 wgpu::FrontFace GetFrontFace() const;
|
/third_party/skia/third_party/externals/dawn/src/utils/ |
H A D | ComboRenderPipelineDescriptor.cpp | 82 primitive->frontFace = wgpu::FrontFace::CCW; in ComboRenderPipelineDescriptor()
|
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/ |
H A D | RenderPipelineD3D12.cpp | 294 mDepthStencilDescriptor.FrontFace = StencilOpDesc(descriptor->stencilFront); in ComputeDepthStencilDesc() 381 (GetFrontFace() == wgpu::FrontFace::CCW) ? TRUE : FALSE; in Initialize()
|
/third_party/vk-gl-cts/external/amber/src/src/dawn/ |
H A D | engine_dawn.cc | 752 ::dawn::FrontFace GetDawnFrontFace(FrontFace amber_front_face) { in GetDawnFrontFace() 753 return amber_front_face == FrontFace::kClockwise ? ::dawn::FrontFace::CW in GetDawnFrontFace() 754 : ::dawn::FrontFace::CCW; in GetDawnFrontFace() 1042 rasterizationState.frontFace = ::dawn::FrontFace::CCW; in CreateRenderPipelineDescriptor()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_atom_rasterizer.c | 76 raster->front_ccw = (ctx->Polygon.FrontFace == GL_CCW); in st_update_rasterizer()
|
/third_party/skia/src/gpu/gl/ |
H A D | GrGLAssembleWebGLInterfaceAutogen.cpp | 96 GET_PROC(FrontFace); in GrGLMakeAssembledWebGLInterface()
|
/third_party/skia/third_party/externals/angle2/src/tests/gles1_conformance_tests/ |
H A D | CovglTests.cpp | 476 TEST_P(GLES1CovglTest, FrontFace) in TEST_P()
|
/third_party/vk-gl-cts/external/amber/src/src/vulkan/ |
H A D | graphics_pipeline.cc | 153 VkFrontFace ToVkFrontFace(FrontFace front_face) { in ToVkFrontFace() 154 return front_face == FrontFace::kClockwise ? VK_FRONT_FACE_CLOCKWISE in ToVkFrontFace()
|