summaryrefslogtreecommitdiff
path: root/libkmstest/kmstest.h
blob: aed40fe9fb2c07634a9d96b959116db78dff4447 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "color.h"
#include "framebuffer.h"

namespace kms
{
class IMappedFramebuffer;

void draw_color_bar(IMappedFramebuffer& buf, int old_xpos, int xpos, int width);

void draw_test_pattern(IMappedFramebuffer &fb);

void draw_rect(IMappedFramebuffer &fb, uint32_t x, uint32_t y, uint32_t w, uint32_t h, RGB color);
}