wlmaker
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
output.h File Reference
#include <libbase/libbase.h>
#include <wlr/render/allocator.h>
#include <wlr/render/wlr_renderer.h>
#include <wlr/types/wlr_output.h>
#include "server.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.

Classes

struct  _wlmaker_output_t
 

Typedefs

typedef struct _wlmaker_output_t wlmaker_output_t
 

Functions

wlmaker_output_twlmaker_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, wlmaker_server_t *server_ptr)
 
void wlmaker_output_destroy (wlmaker_output_t *output_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

◆ wlmaker_output_t

Handle for a compositor output device.

Function Documentation

◆ wlmaker_output_create()

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,
wlmaker_server_t * server_ptr )

Creates an output device from |wlr_output_ptr|.

Parameters
wlr_output_ptr
wlr_allocator_ptr
wlr_renderer_ptr
wlr_scene_ptr
server_ptr
Returns
The output device handle or NULL on error.

◆ wlmaker_output_destroy()

void wlmaker_output_destroy ( wlmaker_output_t * output_ptr)

Destroys the output device handle, as created by wlmaker_output_create().

Parameters
output_ptr