PatchworkOS  966e257
A non-POSIX operating system.
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>
Include dependency graph for surface.c:

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_new()

surface_t * surface_new ( client_t client,
const char *  name,
const point_t point,
uint64_t  width,
uint64_t  height,
surface_type_t  type 
)

Definition at line 14 of file surface.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ surface_free()

void surface_free ( surface_t surface)

Definition at line 57 of file surface.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ surface_get_info()

void surface_get_info ( surface_t surface,
surface_info_t info 
)

Definition at line 63 of file surface.c.

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ newId

surface_id_t newId = 0
static

Definition at line 12 of file surface.c.