| 
    KiCad PCB EDA Suite
    
   | 
 
#include <antialiasing.h>
  
Public Member Functions | |
| ANTIALIASING_SMAA (OPENGL_COMPOSITOR *aCompositor) | |
| bool | Init () override | 
| unsigned int | CreateBuffer () override | 
| VECTOR2I | GetInternalBufferSize () override | 
| void | OnLostBuffers () override | 
| void | Begin () override | 
| void | DrawBuffer (GLuint buffer) override | 
| void | Present () override | 
Private Member Functions | |
| void | loadShaders () | 
| void | updateUniforms () | 
Private Attributes | |
| bool | areBuffersInitialized | 
| unsigned int | smaaBaseBuffer | 
| unsigned int | smaaEdgesBuffer | 
| unsigned int | smaaBlendBuffer | 
| unsigned int | smaaAreaTex | 
| unsigned int | smaaSearchTex | 
| bool | shadersLoaded | 
| std::unique_ptr< SHADER > | pass_1_shader | 
| GLint | pass_1_metrics | 
| std::unique_ptr< SHADER > | pass_2_shader | 
| GLint | pass_2_metrics | 
| std::unique_ptr< SHADER > | pass_3_shader | 
| GLint | pass_3_metrics | 
| OPENGL_COMPOSITOR * | compositor | 
Definition at line 98 of file antialiasing.h.
| ANTIALIASING_SMAA::ANTIALIASING_SMAA | ( | OPENGL_COMPOSITOR * | aCompositor | ) | 
Definition at line 211 of file antialiasing.cpp.
References areBuffersInitialized, compositor, pass_1_metrics, pass_2_metrics, pass_3_metrics, shadersLoaded, smaaAreaTex, smaaBaseBuffer, smaaBlendBuffer, smaaEdgesBuffer, and smaaSearchTex.
      
  | 
  overridevirtual | 
Implements KIGFX::OPENGL_PRESENTOR.
Definition at line 468 of file antialiasing.cpp.
References KIGFX::COLOR4D::BLACK, compositor, and smaaBaseBuffer.
      
  | 
  overridevirtual | 
Implements KIGFX::OPENGL_PRESENTOR.
Definition at line 455 of file antialiasing.cpp.
References compositor.
      
  | 
  overridevirtual | 
Implements KIGFX::OPENGL_PRESENTOR.
Definition at line 461 of file antialiasing.cpp.
References compositor, and smaaBaseBuffer.
      
  | 
  overridevirtual | 
Implements KIGFX::OPENGL_PRESENTOR.
Definition at line 228 of file antialiasing.cpp.
References compositor.
      
  | 
  overridevirtual | 
Implements KIGFX::OPENGL_PRESENTOR.
Definition at line 421 of file antialiasing.cpp.
References areBuffersInitialized, compositor, loadShaders(), shadersLoaded, smaaBaseBuffer, smaaBlendBuffer, smaaEdgesBuffer, and updateUniforms().
      
  | 
  private | 
Definition at line 234 of file antialiasing.cpp.
References AREATEX_HEIGHT, AREATEX_WIDTH, areaTexBytes, checkGlError(), pass_1_metrics, pass_1_shader, pass_2_metrics, pass_2_shader, pass_3_metrics, pass_3_shader, SEARCHTEX_HEIGHT, SEARCHTEX_WIDTH, searchTexBytes, KIGFX::SHADER_TYPE_FRAGMENT, KIGFX::SHADER_TYPE_VERTEX, shadersLoaded, smaaAreaTex, and smaaSearchTex.
Referenced by Init().
      
  | 
  overridevirtual | 
Implements KIGFX::OPENGL_PRESENTOR.
Definition at line 449 of file antialiasing.cpp.
References areBuffersInitialized.
      
  | 
  overridevirtual | 
Implements KIGFX::OPENGL_PRESENTOR.
Definition at line 502 of file antialiasing.cpp.
References KIGFX::COLOR4D::BLACK, checkGlError(), compositor, KIGFX::OPENGL_COMPOSITOR::DIRECT_RENDERING, pass_1_shader, pass_2_shader, pass_3_shader, smaaAreaTex, smaaBaseBuffer, smaaBlendBuffer, smaaEdgesBuffer, and smaaSearchTex.
      
  | 
  private | 
Definition at line 391 of file antialiasing.cpp.
References checkGlError(), compositor, pass_1_metrics, pass_1_shader, pass_2_metrics, pass_2_shader, pass_3_metrics, and pass_3_shader.
Referenced by Init().
      
  | 
  private | 
Definition at line 117 of file antialiasing.h.
Referenced by ANTIALIASING_SMAA(), Init(), and OnLostBuffers().
      
  | 
  private | 
Definition at line 138 of file antialiasing.h.
Referenced by ANTIALIASING_SMAA(), Begin(), CreateBuffer(), DrawBuffer(), GetInternalBufferSize(), Init(), Present(), and updateUniforms().
      
  | 
  private | 
Definition at line 130 of file antialiasing.h.
Referenced by ANTIALIASING_SMAA(), loadShaders(), and updateUniforms().
      
  | 
  private | 
Definition at line 129 of file antialiasing.h.
Referenced by loadShaders(), Present(), and updateUniforms().
      
  | 
  private | 
Definition at line 133 of file antialiasing.h.
Referenced by ANTIALIASING_SMAA(), loadShaders(), and updateUniforms().
      
  | 
  private | 
Definition at line 132 of file antialiasing.h.
Referenced by loadShaders(), Present(), and updateUniforms().
      
  | 
  private | 
Definition at line 136 of file antialiasing.h.
Referenced by ANTIALIASING_SMAA(), loadShaders(), and updateUniforms().
      
  | 
  private | 
Definition at line 135 of file antialiasing.h.
Referenced by loadShaders(), Present(), and updateUniforms().
      
  | 
  private | 
Definition at line 127 of file antialiasing.h.
Referenced by ANTIALIASING_SMAA(), Init(), and loadShaders().
      
  | 
  private | 
Definition at line 124 of file antialiasing.h.
Referenced by ANTIALIASING_SMAA(), loadShaders(), and Present().
      
  | 
  private | 
Definition at line 119 of file antialiasing.h.
Referenced by ANTIALIASING_SMAA(), Begin(), DrawBuffer(), Init(), and Present().
      
  | 
  private | 
Definition at line 121 of file antialiasing.h.
Referenced by ANTIALIASING_SMAA(), Init(), and Present().
      
  | 
  private | 
Definition at line 120 of file antialiasing.h.
Referenced by ANTIALIASING_SMAA(), Init(), and Present().
      
  | 
  private | 
Definition at line 125 of file antialiasing.h.
Referenced by ANTIALIASING_SMAA(), loadShaders(), and Present().