2018-07-05 17:23:28 +08:00
|
|
|
/*
|
2020-02-19 23:32:40 +08:00
|
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
2018-07-05 17:23:28 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-07-05 17:23:28 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/command_stream/experimental_command_buffer.h"
|
2018-07-05 17:23:28 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2018-07-05 17:23:28 +08:00
|
|
|
|
|
|
|
class MockExperimentalCommandBuffer : public ExperimentalCommandBuffer {
|
|
|
|
using BaseClass = ExperimentalCommandBuffer;
|
|
|
|
|
|
|
|
public:
|
|
|
|
using BaseClass::currentStream;
|
|
|
|
using BaseClass::experimentalAllocation;
|
|
|
|
using BaseClass::experimentalAllocationOffset;
|
|
|
|
using BaseClass::timestamps;
|
|
|
|
using BaseClass::timestampsOffset;
|
|
|
|
|
2018-07-19 20:05:53 +08:00
|
|
|
MockExperimentalCommandBuffer(CommandStreamReceiver *csr) : ExperimentalCommandBuffer(csr, 80.0) {
|
2018-07-05 17:23:28 +08:00
|
|
|
defaultPrint = false;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|