1 // 2 // Copyright 2021 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 // WindowSurfaceVkNull.cpp: 7 // Implements the class methods for WindowSurfaceVkNull. 8 // 9 10 #include "WindowSurfaceVkNull.h" 11 #include "libANGLE/renderer/vulkan/RendererVk.h" 12 13 namespace rx 14 { 15 WindowSurfaceVkNull(const egl::SurfaceState & surfaceState,EGLNativeWindowType window)16WindowSurfaceVkNull::WindowSurfaceVkNull(const egl::SurfaceState &surfaceState, 17 EGLNativeWindowType window) 18 : WindowSurfaceVk(surfaceState, window) 19 {} 20 ~WindowSurfaceVkNull()21WindowSurfaceVkNull::~WindowSurfaceVkNull() {} 22 createSurfaceVk(vk::Context * context,gl::Extents * extentsOut)23angle::Result WindowSurfaceVkNull::createSurfaceVk(vk::Context *context, gl::Extents *extentsOut) 24 { 25 return angle::Result::Stop; 26 } 27 getCurrentWindowSize(vk::Context * context,gl::Extents * extentsOut)28angle::Result WindowSurfaceVkNull::getCurrentWindowSize(vk::Context *context, 29 gl::Extents *extentsOut) 30 { 31 return angle::Result::Stop; 32 } 33 34 } // namespace rx 35