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()17DeviceWgpu::DeviceWgpu() : DeviceImpl() {} 18 ~DeviceWgpu()19DeviceWgpu::~DeviceWgpu() {} 20 initialize()21egl::Error DeviceWgpu::initialize() 22 { 23 return egl::NoError(); 24 } 25 getAttribute(const egl::Display * display,EGLint attribute,void ** outValue)26egl::Error DeviceWgpu::getAttribute(const egl::Display *display, EGLint attribute, void **outValue) 27 { 28 UNIMPLEMENTED(); 29 return egl::EglBadAccess(); 30 } 31 generateExtensions(egl::DeviceExtensions * outExtensions) const32void DeviceWgpu::generateExtensions(egl::DeviceExtensions *outExtensions) const {} 33 34 } // namespace rx 35