2
// Copyright 2019 The ANGLE Project Authors. All rights reserved.
3
// Use of this source code is governed by a BSD-style license that can be
4
// found in the LICENSE file.
7
// DeviceCGL.h: CGL implementation of egl::Device
9
#ifndef LIBANGLE_RENDERER_GL_CGL_DEVICECGL_H_
10
#define LIBANGLE_RENDERER_GL_CGL_DEVICECGL_H_
12
#include "libANGLE/Device.h"
13
#include "libANGLE/renderer/DeviceImpl.h"
17
class DeviceCGL : public DeviceImpl
21
~DeviceCGL() override;
23
egl::Error initialize() override;
24
egl::Error getAttribute(const egl::Display *display,
26
void **outValue) override;
27
EGLint getType() override;
28
void generateExtensions(egl::DeviceExtensions *outExtensions) const override;
33
#endif // LIBANGLE_RENDERER_GL_CGL_DEVICECGL_H_