Numworks Epsilon
1.4.1
Graphing Calculator Operating System
framebuffer_context.h
Go to the documentation of this file.
1
#ifndef KANDINSKY_FRAMEBUFFER_CONTEXT_H
2
#define KANDINSKY_FRAMEBUFFER_CONTEXT_H
3
4
#include <
kandinsky/context.h
>
5
#include <
kandinsky/framebuffer.h
>
6
7
class
KDFrameBufferContext
:
public
KDContext
{
8
public
:
9
KDFrameBufferContext
(
KDFrameBuffer
* frameBuffer);
10
protected
:
11
void
pushRect
(
KDRect
,
const
KDColor
* pixels)
override
;
12
void
pushRectUniform
(
KDRect
rect,
KDColor
color)
override
;
13
void
pullRect
(
KDRect
rect,
KDColor
* pixels)
override
;
14
private
:
15
KDFrameBuffer
* m_frameBuffer;
16
};
17
18
#endif
framebuffer.h
context.h
KDFrameBufferContext::KDFrameBufferContext
KDFrameBufferContext(KDFrameBuffer *frameBuffer)
Definition:
framebuffer_context.cpp:3
KDFrameBufferContext
Definition:
framebuffer_context.h:7
KDFrameBufferContext::pushRect
void pushRect(KDRect, const KDColor *pixels) override
Definition:
framebuffer_context.cpp:9
KDContext
Definition:
context.h:8
KDFrameBufferContext::pushRectUniform
void pushRectUniform(KDRect rect, KDColor color) override
Definition:
framebuffer_context.cpp:13
KDRect
Definition:
rect.h:26
KDFrameBuffer
Definition:
framebuffer.h:7
KDFrameBufferContext::pullRect
void pullRect(KDRect rect, KDColor *pixels) override
Definition:
framebuffer_context.cpp:17
KDColor
Definition:
color.h:6
epsilon
kandinsky
include
kandinsky
framebuffer_context.h
Generated by
1.8.14