[Refactor] Changes for consistency part 2 (FBO is an acryonym)
parent
33b0cf7787
commit
4969939fdc
|
@ -1,6 +1,6 @@
|
|||
package com.github.hydos.ginger.engine.common.fbo;
|
||||
|
||||
public abstract class FboCallbackHandler
|
||||
public abstract class FBOCallbackHandler
|
||||
{
|
||||
public void cleanUp()
|
||||
{}
|
|
@ -48,7 +48,7 @@ public class Window
|
|||
static double newY = 0;
|
||||
public static GLCapabilities glContext;
|
||||
public static int actualWidth, actualHeight;
|
||||
//temp stuff to test out fbo fixes
|
||||
// FIXME: temp stuff to test out FBO fixes
|
||||
private static int oldWindowWidth = Window.getWidth();
|
||||
private static int oldWindowHeight = Window.getHeight();
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@ package com.github.hydos.ginger.engine.opengl.postprocessing;
|
|||
|
||||
import org.lwjgl.opengl.*;
|
||||
|
||||
import com.github.hydos.ginger.engine.common.fbo.FboCallbackHandler;
|
||||
import com.github.hydos.ginger.engine.common.fbo.FBOCallbackHandler;
|
||||
|
||||
public class ContrastChanger extends FboCallbackHandler
|
||||
public class ContrastChanger extends FBOCallbackHandler
|
||||
{
|
||||
private ImageRenderer renderer;
|
||||
private ContrastShader shader;
|
||||
|
|
|
@ -8,7 +8,7 @@ import java.nio.ByteBuffer;
|
|||
import org.lwjgl.glfw.*;
|
||||
import org.lwjgl.system.Callback;
|
||||
|
||||
import com.github.hydos.ginger.engine.common.fbo.FboCallbackHandler;
|
||||
import com.github.hydos.ginger.engine.common.fbo.FBOCallbackHandler;
|
||||
import com.github.hydos.ginger.engine.common.io.Window;
|
||||
|
||||
public class FrameBufferObject
|
||||
|
@ -20,7 +20,7 @@ public class FrameBufferObject
|
|||
boolean destroyed;
|
||||
Object lock = new Object();
|
||||
/* cool ginger feature which handles fbos once they need to be rendered */
|
||||
public FboCallbackHandler handler;
|
||||
public FBOCallbackHandler handler;
|
||||
/* Multisampled FBO objects */
|
||||
public int multisampledColorRenderBuffer;
|
||||
int multisampledDepthRenderBuffer;
|
||||
|
@ -34,7 +34,7 @@ public class FrameBufferObject
|
|||
GLFWFramebufferSizeCallback fbCallback;
|
||||
Callback debugProc;
|
||||
|
||||
public FrameBufferObject(FboCallbackHandler handler)
|
||||
public FrameBufferObject(FBOCallbackHandler handler)
|
||||
{
|
||||
this.handler = handler;
|
||||
this.window = Window.getWindow();
|
||||
|
|
Loading…
Reference in New Issue