wlmaker
Loading...
Searching...
No Matches
Typedefs | Functions
output.h File Reference
#include <libbase/libbase.h>
#include "output_config.h"
Include dependency graph for output.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef struct _wlmbe_output_t wlmbe_output_t
 

Functions

wlmbe_output_twlmbe_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, wlmbe_output_config_t *config_ptr, int width, int height)
 
void wlmbe_output_destroy (wlmbe_output_t *output_ptr)
 
const char * wlmbe_output_description (wlmbe_output_t *output_ptr)
 
struct wlr_output * wlmbe_wlr_output_from_output (wlmbe_output_t *output_ptr)
 
wlmbe_output_config_attributes_twlmbe_output_attributes (wlmbe_output_t *output_ptr)
 
bs_dllist_node_t * wlmbe_dlnode_from_output (wlmbe_output_t *output_ptr)
 
wlmbe_output_twlmbe_output_from_dlnode (bs_dllist_node_t *dlnode_ptr)
 

Detailed Description

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.

Typedef Documentation

◆ wlmbe_output_t

Handle for an output device.

Function Documentation

◆ wlmbe_dlnode_from_output()

bs_dllist_node_t * wlmbe_dlnode_from_output ( wlmbe_output_t output_ptr)

Returns a pointer to wlmbe_output_t::dlnode.

◆ wlmbe_output_attributes()

wlmbe_output_config_attributes_t * wlmbe_output_attributes ( wlmbe_output_t output_ptr)

◆ wlmbe_output_create()

wlmbe_output_t * wlmbe_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,
wlmbe_output_config_t config_ptr,
int  width,
int  height 
)

Creates an output device from wlr_output_ptr.

Parameters
wlr_output_ptr
wlr_allocator_ptr
wlr_renderer_ptr
wlr_scene_ptr
config_ptr
width
height
Returns
The output device handle or NULL on error.

◆ wlmbe_output_description()

const char * wlmbe_output_description ( wlmbe_output_t output_ptr)
Returns
A long description string,
See also
wlmbe_output_t::description_ptr.

◆ wlmbe_output_destroy()

void wlmbe_output_destroy ( wlmbe_output_t output_ptr)

Destroys the output device handle, as created by wlmbe_output_create.

Parameters
output_ptr

◆ wlmbe_output_from_dlnode()

wlmbe_output_t * wlmbe_output_from_dlnode ( bs_dllist_node_t *  dlnode_ptr)

◆ wlmbe_wlr_output_from_output()

struct wlr_output * wlmbe_wlr_output_from_output ( wlmbe_output_t output_ptr)