~mmach/netext73/webkit2gtk

« back to all changes in this revision

Viewing changes to Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/cgl/DeviceCGL.h

  • Committer: mmach
  • Date: 2023-06-16 17:21:37 UTC
  • Revision ID: netbit73@gmail.com-20230616172137-2rqx6yr96ga9g3kp
1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
//
 
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.
 
5
//
 
6
 
 
7
// DeviceCGL.h: CGL implementation of egl::Device
 
8
 
 
9
#ifndef LIBANGLE_RENDERER_GL_CGL_DEVICECGL_H_
 
10
#define LIBANGLE_RENDERER_GL_CGL_DEVICECGL_H_
 
11
 
 
12
#include "libANGLE/Device.h"
 
13
#include "libANGLE/renderer/DeviceImpl.h"
 
14
 
 
15
namespace rx
 
16
{
 
17
class DeviceCGL : public DeviceImpl
 
18
{
 
19
  public:
 
20
    DeviceCGL();
 
21
    ~DeviceCGL() override;
 
22
 
 
23
    egl::Error initialize() override;
 
24
    egl::Error getAttribute(const egl::Display *display,
 
25
                            EGLint attribute,
 
26
                            void **outValue) override;
 
27
    EGLint getType() override;
 
28
    void generateExtensions(egl::DeviceExtensions *outExtensions) const override;
 
29
};
 
30
 
 
31
}  // namespace rx
 
32
 
 
33
#endif  // LIBANGLE_RENDERER_GL_CGL_DEVICECGL_H_