wlmaker
|
#include "output.h"
#include "toolkit/toolkit.h"
#include <libbase/libbase.h>
#include <wlr/backend/x11.h>
Macros | |
#define | _POSIX_C_SOURCE 199309L |
clock_gettime(2) is a POSIX extension, needs this macro. | |
#define | WLR_USE_UNSTABLE |
Use wlroots non-stable API. | |
Functions | |
static void | handle_output_destroy (struct wl_listener *listener_ptr, void *data_ptr) |
static void | handle_output_frame (struct wl_listener *listener_ptr, void *data_ptr) |
static void | handle_request_state (struct wl_listener *listener_ptr, void *data_ptr) |
wlmaker_output_t * | wlmaker_output_create (struct wlr_output *wlr_output_ptr, struct wlr_allocator *wlr_allocator_ptr, struct wlr_renderer *wlr_renderer_ptr, struct wlr_scene *wlr_scene_ptr, uint32_t width, uint32_t height, wlmaker_server_t *server_ptr) |
void | wlmaker_output_destroy (wlmaker_output_t *output_ptr) |
Variables | |
static const char * | _wlmaker_output_dict_name = "Output" |
static const wlmcfg_enum_desc_t | _wlmaker_output_transformation_desc [] |
static const wlmcfg_desc_t | _wlmaker_output_config_desc [] |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
|
static |
Event handler for the destroy
signal raised by wlr_output
.
listener_ptr | |
data_ptr |
|
static |
Event handler for the frame
signal raised by wlr_output
.
listener_ptr | |
data_ptr |
|
static |
Event handler for the request_state
signal raised by wlr_output
.
listener_ptr | |
data_ptr |
wlmaker_output_t * wlmaker_output_create | ( | struct wlr_output * | wlr_output_ptr, |
struct wlr_allocator * | wlr_allocator_ptr, | ||
struct wlr_renderer * | wlr_renderer_ptr, | ||
struct wlr_scene * | wlr_scene_ptr, | ||
uint32_t | width, | ||
uint32_t | height, | ||
wlmaker_server_t * | server_ptr ) |
Creates an output device from |wlr_output_ptr|.
wlr_output_ptr | |
wlr_allocator_ptr | |
wlr_renderer_ptr | |
wlr_scene_ptr | |
width | |
height | |
server_ptr |
void wlmaker_output_destroy | ( | wlmaker_output_t * | output_ptr | ) |
Destroys the output device handle, as created by wlmaker_output_create().
output_ptr |
|
static |
Descriptor for the output configuration.
|
static |
Name of the plist dict describing the (default) output configuration.
|
static |
Descriptor for output transformations.