~ppsspp/ppsspp/ppsspp_1.3.0

« back to all changes in this revision

Viewing changes to Common/GL/GLInterface/EGLAndroid.h

  • Committer: Sérgio Benjamim
  • Date: 2017-01-02 00:12:05 UTC
  • Revision ID: sergio_br2@yahoo.com.br-20170102001205-cxbta9za203nmjwm
1.3.0 source (from ppsspp_1.3.0-r160.p5.l1762.a165.t83~56~ubuntu16.04.1.tar.xz).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// Copyright 2014 Dolphin Emulator Project
 
2
// Licensed under GPLv2+
 
3
// Refer to the license.txt file included.
 
4
 
 
5
#pragma once
 
6
 
 
7
#include "Common/GL/GLInterface/EGL.h"
 
8
 
 
9
class cInterfaceEGLAndroid : public cInterfaceEGL {
 
10
public:
 
11
        cInterfaceEGLAndroid() : internalWidth_(0), internalHeight_(0) {}
 
12
protected:
 
13
        EGLDisplay OpenDisplay() override;
 
14
        EGLNativeWindowType InitializePlatform(EGLNativeWindowType host_window, EGLConfig config) override;
 
15
        void ShutdownPlatform() override;
 
16
        void OverrideBackbufferDimensions(int internalWidth, int internalHeight) override {
 
17
                internalWidth_ = internalWidth;
 
18
                internalHeight_ = internalHeight;
 
19
        }
 
20
 
 
21
private:
 
22
        int internalWidth_;
 
23
        int internalHeight_;
 
24
};