Hash :
efd8da4d
Author :
Date :
2021-05-21T15:39:11
CL: buffer object creation for front end and pass-through Add Buffer object to front end and Memory object to back end. Implement creation of buffer and sub-buffer objects. Make cl::Object destructor virtual to support destruction of Buffer. Cache more Device info for Buffer validation. Add missing and move existing version checks into validation. Bug: angleproject:5956 Change-Id: Iea7665be5f6bdd8469e81f5fe4935a9fb0e03436 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2912677 Reviewed-by: Jamie Madill <jmadill@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com> Commit-Queue: John Plate <jplate@google.com>
//
// Copyright 2021 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.
//
// CLMemoryImpl.cpp: Implements the class methods for CLMemoryImpl.
#include "libANGLE/renderer/CLMemoryImpl.h"
namespace rx
{
CLMemoryImpl::CLMemoryImpl(const cl::Memory &memory) : mMemory(memory) {}
CLMemoryImpl::~CLMemoryImpl() = default;
} // namespace rx