xref: /aosp_15_r20/external/angle/src/libANGLE/renderer/wgpu/ImageWgpu.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 // ImageWgpu.cpp:
7 //    Implements the class methods for ImageWgpu.
8 //
9 
10 #include "libANGLE/renderer/wgpu/ImageWgpu.h"
11 
12 #include "common/debug.h"
13 
14 namespace rx
15 {
16 
ImageWgpu(const egl::ImageState & state)17 ImageWgpu::ImageWgpu(const egl::ImageState &state) : ImageImpl(state) {}
18 
~ImageWgpu()19 ImageWgpu::~ImageWgpu() {}
20 
initialize(const egl::Display * display)21 egl::Error ImageWgpu::initialize(const egl::Display *display)
22 {
23     return egl::NoError();
24 }
25 
orphan(const gl::Context * context,egl::ImageSibling * sibling)26 angle::Result ImageWgpu::orphan(const gl::Context *context, egl::ImageSibling *sibling)
27 {
28     return angle::Result::Continue;
29 }
30 
31 }  // namespace rx
32