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 // RenderbufferWgpu.cpp:
7 // Implements the class methods for RenderbufferWgpu.
8 //
9
10 #include "libANGLE/renderer/wgpu/RenderbufferWgpu.h"
11
12 #include "common/debug.h"
13
14 namespace rx
15 {
16
RenderbufferWgpu(const gl::RenderbufferState & state)17 RenderbufferWgpu::RenderbufferWgpu(const gl::RenderbufferState &state) : RenderbufferImpl(state) {}
18
~RenderbufferWgpu()19 RenderbufferWgpu::~RenderbufferWgpu() {}
20
setStorage(const gl::Context * context,GLenum internalformat,GLsizei width,GLsizei height)21 angle::Result RenderbufferWgpu::setStorage(const gl::Context *context,
22 GLenum internalformat,
23 GLsizei width,
24 GLsizei height)
25 {
26 return angle::Result::Continue;
27 }
28
setStorageMultisample(const gl::Context * context,GLsizei samples,GLenum internalformat,GLsizei width,GLsizei height,gl::MultisamplingMode mode)29 angle::Result RenderbufferWgpu::setStorageMultisample(const gl::Context *context,
30 GLsizei samples,
31 GLenum internalformat,
32 GLsizei width,
33 GLsizei height,
34 gl::MultisamplingMode mode)
35 {
36 return angle::Result::Continue;
37 }
38
setStorageEGLImageTarget(const gl::Context * context,egl::Image * image)39 angle::Result RenderbufferWgpu::setStorageEGLImageTarget(const gl::Context *context,
40 egl::Image *image)
41 {
42 return angle::Result::Continue;
43 }
44
initializeContents(const gl::Context * context,GLenum binding,const gl::ImageIndex & imageIndex)45 angle::Result RenderbufferWgpu::initializeContents(const gl::Context *context,
46 GLenum binding,
47 const gl::ImageIndex &imageIndex)
48 {
49 return angle::Result::Continue;
50 }
51
52 } // namespace rx
53