backends/native: Add a bunch of "_in_impl" suffixes to functions

They're a dime a dozen. If it gets called exclusively from the
input thread, it got one. Hopefully these breadcrumbs will be
enough so people don't lose their way here.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403>
This commit is contained in:
Carlos Garnacho
2020-11-20 01:36:19 +01:00
committed by Marge Bot
parent 820262e537
commit c03be03cd3
14 changed files with 544 additions and 537 deletions

View File

@@ -90,8 +90,8 @@ meta_input_device_tool_native_new (struct libinput_tablet_tool *tool,
}
void
meta_input_device_tool_native_set_pressure_curve (ClutterInputDeviceTool *tool,
double curve[4])
meta_input_device_tool_native_set_pressure_curve_in_impl (ClutterInputDeviceTool *tool,
double curve[4])
{
MetaInputDeviceToolNative *evdev_tool;
@@ -109,9 +109,9 @@ meta_input_device_tool_native_set_pressure_curve (ClutterInputDeviceTool *tool,
}
void
meta_input_device_tool_native_set_button_code (ClutterInputDeviceTool *tool,
uint32_t button,
uint32_t evcode)
meta_input_device_tool_native_set_button_code_in_impl (ClutterInputDeviceTool *tool,
uint32_t button,
uint32_t evcode)
{
MetaInputDeviceToolNative *evdev_tool;
@@ -152,8 +152,8 @@ calculate_bezier_position (double pos,
}
double
meta_input_device_tool_native_translate_pressure (ClutterInputDeviceTool *tool,
double pressure)
meta_input_device_tool_native_translate_pressure_in_impl (ClutterInputDeviceTool *tool,
double pressure)
{
MetaInputDeviceToolNative *evdev_tool;
@@ -169,8 +169,8 @@ meta_input_device_tool_native_translate_pressure (ClutterInputDeviceTool *tool,
}
uint32_t
meta_input_device_tool_native_get_button_code (ClutterInputDeviceTool *tool,
uint32_t button)
meta_input_device_tool_native_get_button_code_in_impl (ClutterInputDeviceTool *tool,
uint32_t button)
{
MetaInputDeviceToolNative *evdev_tool;