Home | History | Annotate | Download | only in vk

Lines Matching refs:Face

164         // Set front face
165 GrStencilSettings::Face face = GrStencilSettings::kFront_Face;
166 stencilInfo->front.failOp = stencil_op_to_vk_stencil_op(stencilSettings.failOp(face));
167 stencilInfo->front.passOp = stencil_op_to_vk_stencil_op(stencilSettings.passOp(face));
169 stencilInfo->front.compareOp = stencil_func_to_vk_compare_op(stencilSettings.func(face));
170 stencilInfo->front.compareMask = stencilSettings.funcMask(face);
174 // Set back face
175 face = GrStencilSettings::kBack_Face;
176 stencilInfo->back.failOp = stencil_op_to_vk_stencil_op(stencilSettings.failOp(face));
177 stencilInfo->back.passOp = stencil_op_to_vk_stencil_op(stencilSettings.passOp(face));
179 stencilInfo->back.compareOp = stencil_func_to_vk_compare_op(stencilSettings.func(face));
180 stencilInfo->back.compareMask = stencilSettings.funcMask(face);
385 // Assumes that we've set the front face to be ccw
388 VK_CULL_MODE_BACK_BIT, // kCCW_DrawFace, cull back face
389 VK_CULL_MODE_FRONT_BIT, // kCW_DrawFace, cull front face