PatchworkOS  966e257
A non-POSIX operating system.
Loading...
Searching...
No Matches
compositor.c File Reference
#include "compositor.h"
#include "dwm.h"
#include "region.h"
#include "screen.h"
#include "surface.h"
#include <stdio.h>
Include dependency graph for compositor.c:

Go to the source code of this file.

Functions

void compositor_init (void)
 
static bool compositor_draw_surface (surface_t *surface)
 
static void compositor_draw_fullscreen (compositor_ctx_t *ctx)
 
static void compositor_draw_all (compositor_ctx_t *ctx)
 
void compositor_draw (compositor_ctx_t *ctx)
 
void compositor_invalidate (const rect_t *rect)
 

Variables

static rect_t screenRect
 
static rect_t prevCursorRect
 
static region_t invalidRegion = REGION_CREATE
 

Function Documentation

◆ compositor_init()

void compositor_init ( void  )

Definition at line 15 of file compositor.c.

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

◆ compositor_draw_surface()

static bool compositor_draw_surface ( surface_t surface)
static

Definition at line 21 of file compositor.c.

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

◆ compositor_draw_fullscreen()

static void compositor_draw_fullscreen ( compositor_ctx_t ctx)
static

Definition at line 45 of file compositor.c.

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

◆ compositor_draw_all()

static void compositor_draw_all ( compositor_ctx_t ctx)
static

Definition at line 68 of file compositor.c.

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

◆ compositor_draw()

void compositor_draw ( compositor_ctx_t ctx)

Definition at line 117 of file compositor.c.

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

◆ compositor_invalidate()

void compositor_invalidate ( const rect_t rect)

Definition at line 135 of file compositor.c.

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

Variable Documentation

◆ screenRect

rect_t screenRect
static

Definition at line 10 of file compositor.c.

◆ prevCursorRect

rect_t prevCursorRect
static

Definition at line 11 of file compositor.c.

◆ invalidRegion

region_t invalidRegion = REGION_CREATE
static

Definition at line 13 of file compositor.c.