Home
last modified time | relevance | path

Searched refs:rasterState (Results 1 – 21 of 21) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DRenderStateCache.cpp166 const gl::RasterizerState &rasterState, in getRasterizerState() argument
171 key.rasterizerState = rasterState; in getRasterizerState()
184 gl_d3d11::ConvertCullMode(rasterState.cullFace, rasterState.cullMode); in getRasterizerState()
187 if (rasterState.pointDrawMode) in getRasterizerState()
195 rasterDesc.FrontCounterClockwise = (rasterState.frontFace == GL_CCW) ? FALSE : TRUE; in getRasterizerState()
200 rasterDesc.MultisampleEnable = rasterState.multiSample; in getRasterizerState()
203 if (rasterState.polygonOffsetFill) in getRasterizerState()
205 rasterDesc.SlopeScaledDepthBias = rasterState.polygonOffsetFactor; in getRasterizerState()
206 rasterDesc.DepthBias = (INT)rasterState.polygonOffsetUnits; in getRasterizerState()
DRenderStateCache.h80 const gl::RasterizerState &rasterState,
DStateManager11.cpp1090 const gl::RasterizerState &rasterState = state.getRasterizerState(); in syncState() local
1091 if (rasterState.polygonOffsetFactor != mCurRasterState.polygonOffsetFactor || in syncState()
1092 rasterState.polygonOffsetUnits != mCurRasterState.polygonOffsetUnits) in syncState()
1361 gl::RasterizerState rasterState = context->getState().getRasterizerState(); in syncRasterizerState() local
1362 rasterState.pointDrawMode = (mode == gl::PrimitiveMode::Points); in syncRasterizerState()
1363 rasterState.multiSample = mCurRasterState.multiSample; in syncRasterizerState()
1369 gl::RasterizerState modifiedRasterState = rasterState; in syncRasterizerState()
1389 ANGLE_TRY(mRenderer->getRasterizerState(context, rasterState, mCurScissorEnabled, in syncRasterizerState()
1395 mCurRasterState = rasterState; in syncRasterizerState()
DRenderer11.h306 const gl::RasterizerState &rasterState,
DRenderer11.cpp4178 const gl::RasterizerState &rasterState, in getRasterizerState() argument
4182 return mStateCache.getRasterizerState(context, this, rasterState, scissorEnabled, in getRasterizerState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp330 const gl::RasterizerState &rasterState = glState.getRasterizerState(); in setBlendDepthRasterStates() local
364 setDither(rasterState.dither); in setBlendDepthRasterStates()
367 setCullMode(rasterState.cullFace, rasterState.cullMode, rasterState.frontFace); in setBlendDepthRasterStates()
370 setDepthBias(rasterState.polygonOffsetFill, rasterState.polygonOffsetFactor, in setBlendDepthRasterStates()
371 rasterState.polygonOffsetUnits); in setBlendDepthRasterStates()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp729 VkPipelineRasterizationStateCreateInfo rasterState; in generateWork() local
839 deMemset(&rasterState, 0xcd, sizeof(rasterState)); in generateWork()
840 rasterState.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO; in generateWork()
841 rasterState.pNext = DE_NULL; in generateWork()
842 rasterState.flags = 0; in generateWork()
843 rasterState.depthClampEnable = VK_FALSE; in generateWork()
844 rasterState.rasterizerDiscardEnable = VK_FALSE; in generateWork()
845 rasterState.polygonMode = VK_POLYGON_MODE_FILL; in generateWork()
846 rasterState.cullMode = VK_CULL_MODE_NONE; in generateWork()
847 rasterState.frontFace = VK_FRONT_FACE_COUNTER_CLOCKWISE; in generateWork()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp729 VkPipelineRasterizationStateCreateInfo rasterState; in generateWork() local
839 deMemset(&rasterState, 0xcd, sizeof(rasterState)); in generateWork()
840 rasterState.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO; in generateWork()
841 rasterState.pNext = DE_NULL; in generateWork()
842 rasterState.flags = 0; in generateWork()
843 rasterState.depthClampEnable = VK_FALSE; in generateWork()
844 rasterState.rasterizerDiscardEnable = VK_FALSE; in generateWork()
845 rasterState.polygonMode = VK_POLYGON_MODE_FILL; in generateWork()
846 rasterState.cullMode = VK_CULL_MODE_NONE; in generateWork()
847 rasterState.frontFace = VK_FRONT_FACE_COUNTER_CLOCKWISE; in generateWork()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp1716 VkPipelineRasterizationStateCreateInfo rasterState = {}; in initializePipeline() local
1794 sizeof(inputAssemblyState) + sizeof(viewportState) + sizeof(rasterState) + in initializePipeline()
1921 rasterState.sType = VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO; in initializePipeline()
1922 rasterState.flags = 0; in initializePipeline()
1923 rasterState.depthClampEnable = static_cast<VkBool32>(rasterAndMS.bits.depthClampEnable); in initializePipeline()
1924 rasterState.rasterizerDiscardEnable = in initializePipeline()
1926 rasterState.polygonMode = static_cast<VkPolygonMode>(rasterAndMS.bits.polygonMode); in initializePipeline()
1927 rasterState.cullMode = static_cast<VkCullModeFlags>(rasterAndMS.bits.cullMode); in initializePipeline()
1928 rasterState.frontFace = static_cast<VkFrontFace>(rasterAndMS.bits.frontFace); in initializePipeline()
1929 rasterState.depthBiasEnable = static_cast<VkBool32>(rasterAndMS.bits.depthBiasEnable); in initializePipeline()
[all …]
Dvk_utils.cpp1337 VkCullModeFlagBits GetCullMode(const gl::RasterizerState &rasterState) in GetCullMode() argument
1339 if (!rasterState.cullFace) in GetCullMode()
1344 switch (rasterState.cullMode) in GetCullMode()
Dvk_cache_utils.h596 const gl::RasterizerState &rasterState);
598 const gl::RasterizerState &rasterState,
689 const gl::RasterizerState &rasterState);
Dvk_utils.h1027 VkCullModeFlagBits GetCullMode(const gl::RasterizerState &rasterState);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/mesh_shader/
DvktMeshShaderProvokingVertexTestsEXT.cpp341 const VkPipelineRasterizationStateCreateInfo rasterState = in iterate() local
364 renderPass.get(), viewports, scissors, 0u, &rasterState)); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/mesh_shader/
DvktMeshShaderProvokingVertexTestsEXT.cpp341 const VkPipelineRasterizationStateCreateInfo rasterState = in iterate() local
364 renderPass.get(), viewports, scissors, 0u, &rasterState)); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/
DvktMemoryAddressBindingTests.cpp1100 const VkPipelineRasterizationStateCreateInfo rasterState = in create() local
1195 &rasterState, // const VkPipelineRasterizationStateCreateInfo* pRasterizationState; in create()
DvktMemoryDeviceMemoryReportTests.cpp1118 const VkPipelineRasterizationStateCreateInfo rasterState = in create() local
1213 &rasterState, // const VkPipelineRasterizationStateCreateInfo* pRasterizationState; in create()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/
DvktMemoryAddressBindingTests.cpp1100 const VkPipelineRasterizationStateCreateInfo rasterState = in create() local
1195 &rasterState, // const VkPipelineRasterizationStateCreateInfo* pRasterizationState; in create()
DvktMemoryDeviceMemoryReportTests.cpp1118 const VkPipelineRasterizationStateCreateInfo rasterState = in create() local
1213 &rasterState, // const VkPipelineRasterizationStateCreateInfo* pRasterizationState; in create()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
DContextMtl.mm1762 const gl::RasterizerState &rasterState = glState.getRasterizerState();
1765 if (!rasterState.cullFace)
1771 switch (rasterState.cullMode)
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiObjectManagementTests.cpp1908 const VkPipelineRasterizationStateCreateInfo rasterState = in createMultiple() local
1986 &rasterState, in createMultiple()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/
DvktApiObjectManagementTests.cpp1908 const VkPipelineRasterizationStateCreateInfo rasterState = in createMultiple() local
1986 &rasterState, in createMultiple()