PatchworkOS
Loading...
Searching...
No Matches
surface.c File Reference
#include "surface.h"
#include "client.h"
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/io.h>
#include <sys/list.h>

Go to the source code of this file.

Functions

surface_tsurface_new (client_t *client, const char *name, const point_t *point, uint64_t width, uint64_t height, surface_type_t type)
 
void surface_free (surface_t *surface)
 
void surface_get_info (surface_t *surface, surface_info_t *info)
 

Variables

static surface_id_t newId = 0
 

Function Documentation

◆ surface_free()

void surface_free ( surface_t surface)

◆ surface_get_info()

void surface_get_info ( surface_t surface,
surface_info_t info 
)

◆ surface_new()

Variable Documentation

◆ newId

surface_id_t newId = 0
static

Definition at line 12 of file surface.c.

Referenced by surface_new().