Numworks Epsilon
1.4.1
Graphing Calculator Operating System
framebuffer_context.cpp
Go to the documentation of this file.
1
#include <
kandinsky/framebuffer_context.h
>
2
3
KDFrameBufferContext::KDFrameBufferContext
(
KDFrameBuffer
* frameBuffer) :
4
KDContext
(
KDPointZero
, frameBuffer->bounds()),
5
m_frameBuffer(frameBuffer)
6
{
7
}
8
9
void
KDFrameBufferContext::pushRect
(
KDRect
rect,
const
KDColor
* pixels) {
10
m_frameBuffer->
pushRect
(rect, pixels);
11
}
12
13
void
KDFrameBufferContext::pushRectUniform
(
KDRect
rect,
KDColor
color) {
14
m_frameBuffer->
pushRectUniform
(rect, color);
15
}
16
17
void
KDFrameBufferContext::pullRect
(
KDRect
rect,
KDColor
* pixels) {
18
m_frameBuffer->
pullRect
(rect, pixels);
19
}
KDFrameBuffer::pushRectUniform
void pushRectUniform(KDRect rect, KDColor color)
Definition:
framebuffer.cpp:29
KDPointZero
constexpr KDPoint KDPointZero
Definition:
point.h:25
KDFrameBufferContext::KDFrameBufferContext
KDFrameBufferContext(KDFrameBuffer *frameBuffer)
Definition:
framebuffer_context.cpp:3
KDFrameBufferContext::pushRect
void pushRect(KDRect, const KDColor *pixels) override
Definition:
framebuffer_context.cpp:9
KDFrameBuffer::pushRect
void pushRect(KDRect rect, const KDColor *pixels)
Definition:
framebuffer.cpp:18
KDContext
Definition:
context.h:8
KDFrameBuffer::pullRect
void pullRect(KDRect rect, KDColor *pixels)
Definition:
framebuffer.cpp:45
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
framebuffer_context.h
epsilon
kandinsky
src
framebuffer_context.cpp
Generated by
1.8.14