KiCad PCB EDA Suite
|
#include <antialiasing.h>
Public Member Functions | |
ANTIALIASING_SUPERSAMPLING (OPENGL_COMPOSITOR *aCompositor) | |
bool | Init () override |
unsigned int | CreateBuffer () override |
VECTOR2I | GetInternalBufferSize () override |
void | OnLostBuffers () override |
void | Begin () override |
void | DrawBuffer (GLuint) override |
void | Present () override |
Private Attributes | |
OPENGL_COMPOSITOR * | compositor |
unsigned int | ssaaMainBuffer |
bool | areBuffersCreated |
bool | areShadersCreated |
Definition at line 74 of file antialiasing.h.
ANTIALIASING_SUPERSAMPLING::ANTIALIASING_SUPERSAMPLING | ( | OPENGL_COMPOSITOR * | aCompositor | ) |
Definition at line 137 of file antialiasing.cpp.
|
overridevirtual |
Implements KIGFX::OPENGL_PRESENTOR.
Definition at line 167 of file antialiasing.cpp.
References KIGFX::COLOR4D::BLACK, KIGFX::OPENGL_COMPOSITOR::ClearBuffer(), compositor, KIGFX::OPENGL_COMPOSITOR::SetBuffer(), and ssaaMainBuffer.
|
overridevirtual |
Implements KIGFX::OPENGL_PRESENTOR.
Definition at line 202 of file antialiasing.cpp.
References compositor, KIGFX::OPENGL_COMPOSITOR::CreateBuffer(), and GetInternalBufferSize().
|
overridevirtual |
Implements KIGFX::OPENGL_PRESENTOR.
Definition at line 174 of file antialiasing.cpp.
References compositor, KIGFX::OPENGL_COMPOSITOR::DrawBuffer(), and ssaaMainBuffer.
|
overridevirtual |
Implements KIGFX::OPENGL_PRESENTOR.
Definition at line 161 of file antialiasing.cpp.
References compositor, and KIGFX::OPENGL_COMPOSITOR::GetScreenSize().
Referenced by CreateBuffer().
|
overridevirtual |
Implements KIGFX::OPENGL_PRESENTOR.
Definition at line 144 of file antialiasing.cpp.
References areBuffersCreated, areShadersCreated, compositor, KIGFX::OPENGL_COMPOSITOR::CreateBuffer(), and ssaaMainBuffer.
|
overridevirtual |
Implements KIGFX::OPENGL_PRESENTOR.
Definition at line 196 of file antialiasing.cpp.
References areBuffersCreated.
|
overridevirtual |
Implements KIGFX::OPENGL_PRESENTOR.
Definition at line 180 of file antialiasing.cpp.
References compositor, KIGFX::OPENGL_COMPOSITOR::DIRECT_RENDERING, KIGFX::OPENGL_COMPOSITOR::GetBufferTexture(), KIGFX::OPENGL_COMPOSITOR::SetBuffer(), and ssaaMainBuffer.
|
private |
Definition at line 93 of file antialiasing.h.
Referenced by Init(), and OnLostBuffers().
|
private |
Definition at line 95 of file antialiasing.h.
Referenced by Init().
|
private |
Definition at line 90 of file antialiasing.h.
Referenced by Begin(), CreateBuffer(), DrawBuffer(), GetInternalBufferSize(), Init(), and Present().
|
private |
Definition at line 92 of file antialiasing.h.
Referenced by Begin(), DrawBuffer(), Init(), and Present().