Merge branch 'master' into vulkan
This commit is contained in:
commit
2782fc927d
|
@ -125,7 +125,6 @@ void CommandProcessor::EndTracing() {
|
|||
return;
|
||||
}
|
||||
assert_true(trace_state_ == TraceState::kStreaming);
|
||||
FinalizeTrace();
|
||||
trace_state_ = TraceState::kDisabled;
|
||||
trace_writer_.Close();
|
||||
}
|
||||
|
@ -751,7 +750,6 @@ bool CommandProcessor::ExecutePacketType3(RingBuffer* reader, uint32_t packet) {
|
|||
trace_writer_.WriteEvent(EventCommand::Type::kSwap);
|
||||
trace_writer_.Flush();
|
||||
if (trace_state_ == TraceState::kSingleFrame) {
|
||||
FinalizeTrace();
|
||||
trace_state_ = TraceState::kDisabled;
|
||||
trace_writer_.Close();
|
||||
}
|
||||
|
|
|
@ -252,7 +252,6 @@ class CommandProcessor {
|
|||
virtual bool IssueCopy() = 0;
|
||||
|
||||
virtual void InitializeTrace() = 0;
|
||||
virtual void FinalizeTrace() = 0;
|
||||
|
||||
Memory* memory_ = nullptr;
|
||||
kernel::KernelState* kernel_state_ = nullptr;
|
||||
|
|
|
@ -2331,8 +2331,6 @@ void D3D12CommandProcessor::InitializeTrace() {
|
|||
}
|
||||
}
|
||||
|
||||
void D3D12CommandProcessor::FinalizeTrace() {}
|
||||
|
||||
bool D3D12CommandProcessor::IssueCopy() {
|
||||
#if XE_UI_D3D12_FINE_GRAINED_DRAW_SCOPES
|
||||
SCOPE_profile_cpu_f("gpu");
|
||||
|
|
|
@ -216,7 +216,6 @@ class D3D12CommandProcessor : public CommandProcessor {
|
|||
bool IssueCopy() override;
|
||||
|
||||
void InitializeTrace() override;
|
||||
void FinalizeTrace() override;
|
||||
|
||||
private:
|
||||
static constexpr uint32_t kQueueFrames = 3;
|
||||
|
|
|
@ -53,8 +53,6 @@ bool NullCommandProcessor::IssueCopy() { return true; }
|
|||
|
||||
void NullCommandProcessor::InitializeTrace() {}
|
||||
|
||||
void NullCommandProcessor::FinalizeTrace() {}
|
||||
|
||||
} // namespace null
|
||||
} // namespace gpu
|
||||
} // namespace xe
|
|
@ -46,7 +46,6 @@ class NullCommandProcessor : public CommandProcessor {
|
|||
bool IssueCopy() override;
|
||||
|
||||
void InitializeTrace() override;
|
||||
void FinalizeTrace() override;
|
||||
};
|
||||
|
||||
} // namespace null
|
||||
|
|
|
@ -81,7 +81,6 @@ class VulkanCommandProcessor : public CommandProcessor {
|
|||
bool IssueCopy() override;
|
||||
|
||||
void InitializeTrace() override;
|
||||
void FinalizeTrace() override;
|
||||
|
||||
private:
|
||||
// BeginSubmission and EndSubmission may be called at any time. If there's an
|
||||
|
|
Loading…
Reference in New Issue