summaryrefslogtreecommitdiff
path: root/kms++/inc/kms++/extframebuffer.h
blob: 227a57631e8c36738833de81d3c00eff81e1f39a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "framebuffer.h"
#include "pixelformats.h"

namespace kms
{

class ExtFramebuffer : public Framebuffer
{
public:
	ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
		       uint32_t handles[4], uint32_t pitches[4], uint32_t offsets[4]);
	ExtFramebuffer(Card& card, uint32_t width, uint32_t height, PixelFormat format,
		       int fds[4], uint32_t pitches[4], uint32_t offsets[4]);
	virtual ~ExtFramebuffer();

private:
};
}