Blame view

build3/kandinsky/src/framebuffer_context.cpp 555 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
  #include <kandinsky/framebuffer_context.h>
  
  KDFrameBufferContext::KDFrameBufferContext(KDFrameBuffer * frameBuffer) :
    KDContext(KDPointZero, frameBuffer->bounds()),
    m_frameBuffer(frameBuffer)
  {
  }
  
  void KDFrameBufferContext::pushRect(KDRect rect, const KDColor * pixels) {
    m_frameBuffer->pushRect(rect, pixels);
  }
  
  void KDFrameBufferContext::pushRectUniform(KDRect rect, KDColor color) {
    m_frameBuffer->pushRectUniform(rect, color);
  }
  
  void KDFrameBufferContext::pullRect(KDRect rect, KDColor * pixels) {
    m_frameBuffer->pullRect(rect, pixels);
  }