Home
last modified time | relevance | path

Searched refs:FrontFace (Results 1 - 25 of 57) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A 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()
H A 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/mesa3d/src/mesa/main/
H A 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()
H A Dpolygon.c102 * 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 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()
H A 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/vk-gl-cts/external/amber/src/src/
H A 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;
H A Dcommand_data.h51 enum class FrontFace : uint8_t { class
/third_party/mesa3d/src/microsoft/vulkan/
H A 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()
H A 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 in dzn_graphics_pipeline_get_state()
[all...]
/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_dx10.cpp498 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 Dimgui_impl_dx11.cpp510 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 Dimgui_impl_dx12.cpp656 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 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/
H A 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/skia/src/gpu/d3d/
H A DGrD3DPipelineStateBuilder.cpp469 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 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/skia/third_party/externals/dawn/src/dawn_native/
H A DRenderPipeline.h84 wgpu::FrontFace GetFrontFace() const;
/third_party/skia/third_party/externals/dawn/src/utils/
H A DComboRenderPipelineDescriptor.cpp82 primitive->frontFace = wgpu::FrontFace::CCW; in ComboRenderPipelineDescriptor()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DRenderPipelineD3D12.cpp294 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 Dengine_dawn.cc752 ::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 Dst_atom_rasterizer.c76 raster->front_ccw = (ctx->Polygon.FrontFace == GL_CCW); in st_update_rasterizer()
/third_party/skia/src/gpu/gl/
H A DGrGLAssembleWebGLInterfaceAutogen.cpp96 GET_PROC(FrontFace); in GrGLMakeAssembledWebGLInterface()
/third_party/skia/third_party/externals/angle2/src/tests/gles1_conformance_tests/
H A DCovglTests.cpp476 TEST_P(GLES1CovglTest, FrontFace) in TEST_P()
/third_party/vk-gl-cts/external/amber/src/src/vulkan/
H A Dgraphics_pipeline.cc153 VkFrontFace ToVkFrontFace(FrontFace front_face) { in ToVkFrontFace()
154 return front_face == FrontFace::kClockwise ? VK_FRONT_FACE_CLOCKWISE in ToVkFrontFace()

Completed in 26 milliseconds

123