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 // FenceNVWgpu.cpp: 7 // Implements the class methods for FenceNVWgpu. 8 // 9 10 #include "libANGLE/renderer/wgpu/FenceNVWgpu.h" 11 12 #include "common/debug.h" 13 14 namespace rx 15 { 16 FenceNVWgpu()17FenceNVWgpu::FenceNVWgpu() : FenceNVImpl() {} 18 ~FenceNVWgpu()19FenceNVWgpu::~FenceNVWgpu() {} 20 set(const gl::Context * context,GLenum condition)21angle::Result FenceNVWgpu::set(const gl::Context *context, GLenum condition) 22 { 23 return angle::Result::Continue; 24 } 25 test(const gl::Context * context,GLboolean * outFinished)26angle::Result FenceNVWgpu::test(const gl::Context *context, GLboolean *outFinished) 27 { 28 *outFinished = GL_TRUE; 29 return angle::Result::Continue; 30 } 31 finish(const gl::Context * context)32angle::Result FenceNVWgpu::finish(const gl::Context *context) 33 { 34 return angle::Result::Continue; 35 } 36 37 } // namespace rx 38