summaryrefslogtreecommitdiffstats
path: root/src/jake2/render/opengl/GLDriver.java
blob: 7f3ea5679592d97d59c80e7991b01ea9769c884b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
package jake2.render.opengl;

import jake2.qcommon.xcommand_t;

import java.awt.Dimension;

public interface GLDriver {
    
    boolean init(int xpos, int ypos);
    
    int setMode(Dimension dim, int mode, boolean fullscreen);
    
    void shutdown();
    
    void beginFrame(float camera_separation);
    
    void endFrame();

    void appActivate(boolean activate);
    
    void enableLogging(boolean enable);
    
    void logNewFrame();
    
    java.awt.DisplayMode[] getModeList();

    void updateScreen(xcommand_t callback);
    
}