Searched refs:mCurrentEncoder (Results 1 – 4 of 4) sorted by relevance
28 : mDevice(device), mTopLevelEncoder(initialEncoder), mCurrentEncoder(initialEncoder) { in EncodingContext()48 mCurrentEncoder = nullptr; in Destroy()93 ASSERT(mCurrentEncoder == mTopLevelEncoder); in WillBeginRenderPass()106 ASSERT(mCurrentEncoder == mTopLevelEncoder); in EnterPass()109 mCurrentEncoder = passEncoder; in EnterPass()116 ASSERT(mCurrentEncoder != mTopLevelEncoder); in ExitRenderPass()117 ASSERT(mCurrentEncoder == passEncoder); in ExitRenderPass()119 mCurrentEncoder = mTopLevelEncoder; in ExitRenderPass()140 ASSERT(mCurrentEncoder != mTopLevelEncoder); in ExitComputePass()141 ASSERT(mCurrentEncoder == passEncoder); in ExitComputePass()[all …]
81 if (DAWN_UNLIKELY(encoder != mCurrentEncoder)) { in CheckCurrentEncoder()85 } else if (mCurrentEncoder != mTopLevelEncoder) { in CheckCurrentEncoder()88 "Command cannot be recorded while %s is active.", mCurrentEncoder)); in CheckCurrentEncoder()161 const ApiObjectBase* mCurrentEncoder; variable
96 mCurrentEncoder(&mCommandBuffer)111 if (mCurrentEncoder.valid())113 mCurrentEncoder.endEncoding();122 if (mCurrentEncoder.valid())124 return &mCurrentEncoder;128 return &mCurrentEncoder.restart();
50 mtl::ComputeCommandEncoder mCurrentEncoder; variable