2018-07-05 11:23:28 +02:00
|
|
|
/*
|
2020-02-19 16:32:40 +01:00
|
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
2018-07-05 11:23:28 +02:00
|
|
|
*
|
2018-09-18 09:11:08 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-07-05 11:23:28 +02:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-19 16:32:40 +01:00
|
|
|
#include "core/command_stream/experimental_command_buffer.h"
|
2018-07-05 11:23:28 +02:00
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
namespace NEO {
|
2018-07-05 11:23:28 +02: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 14:05:53 +02:00
|
|
|
MockExperimentalCommandBuffer(CommandStreamReceiver *csr) : ExperimentalCommandBuffer(csr, 80.0) {
|
2018-07-05 11:23:28 +02:00
|
|
|
defaultPrint = false;
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
} // namespace NEO
|