Lines Matching refs:Operation
23 * \brief Synchronization operation abstraction
108 //! Similar to Context, but allows test instance to decide which resources are used by the operation.
109 //! E.g. this is needed when we want operation to work on a particular queue instead of the universal queue.
159 //! read - the layout image must be in before being passed to the read operation
160 //! write - the layout image will be in after the write operation has finished
174 //! Abstract operation on a resource
176 //! read - data actually read by the operation
177 //! write - expected data that operation was supposed to write
179 class Operation
182 Operation (void) {}
183 virtual ~Operation (void) {}
185 virtual void recordCommands (const vk::VkCommandBuffer cmdBuffer) = 0; //!< commands that carry out this operation
186 virtual SyncInfo getSyncInfo (void) const = 0; //!< data required to properly synchronize this operation
190 Operation (const Operation& rhs);
191 Operation& operator= (const Operation& rhs);
194 //! A helper class to init programs and create the operation when context becomes available.
195 //! Throws OperationInvalidResourceError when resource and operation combination is not possible (e.g. buffer-specific op on an image).
206 virtual de::MovePtr<Operation> build (OperationContext& context, Resource& resource) const = 0;