Edit

kc3-lang/angle/src/libANGLE/renderer/vulkan/RenderTargetVk.cpp

Branch :

  • Show log

    Commit

  • Author : Jamie Madill
    Date : 2017-02-24 11:04:10
    Hash : 4c26fc2f
    Message : Vulkan: Initial command queueing implementation. This removes the sychronous operation of the command buffers. It also introduces a serial type for assigning ids to queue operations. This gives us the ability to manage lifetimes of resources and track when they're no longer in use on the device. BUG=angleproject:1898 Change-Id: I91a4836d3098f1d7bd06cd389d88601a3a4826ab Reviewed-on: https://chromium-review.googlesource.com/428352 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Geoff Lang <geofflang@chromium.org>

  • src/libANGLE/renderer/vulkan/RenderTargetVk.cpp
  • //
    // Copyright 2016 The ANGLE Project Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style license that can be
    // found in the LICENSE file.
    //
    // RenderTargetVk:
    //   Wrapper around a Vulkan renderable resource, using an ImageView.
    //
    
    #include "libANGLE/renderer/vulkan/RenderTargetVk.h"
    
    namespace rx
    {
    
    RenderTargetVk::RenderTargetVk()
        : format(nullptr),
          image(nullptr),
          imageView(nullptr),
          extents(),
          samples(VK_SAMPLE_COUNT_1_BIT),
          resource(nullptr)
    {
    }
    
    }  // namespace rx