xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/wgpu/DeviceWgpu.cpp (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1 //
2 // Copyright 2024 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 // DeviceWgpu.cpp:
7 //    Implements the class methods for DeviceWgpu.
8 //
9 
10 #include "libANGLE/renderer/wgpu/DeviceWgpu.h"
11 
12 #include "common/debug.h"
13 
14 namespace rx
15 {
16 
DeviceWgpu()17 DeviceWgpu::DeviceWgpu() : DeviceImpl() {}
18 
~DeviceWgpu()19 DeviceWgpu::~DeviceWgpu() {}
20 
initialize()21 egl::Error DeviceWgpu::initialize()
22 {
23     return egl::NoError();
24 }
25 
getAttribute(const egl::Display * display,EGLint attribute,void ** outValue)26 egl::Error DeviceWgpu::getAttribute(const egl::Display *display, EGLint attribute, void **outValue)
27 {
28     UNIMPLEMENTED();
29     return egl::EglBadAccess();
30 }
31 
generateExtensions(egl::DeviceExtensions * outExtensions) const32 void DeviceWgpu::generateExtensions(egl::DeviceExtensions *outExtensions) const {}
33 
34 }  // namespace rx
35