Talvos  0.1
SPIR-V interpreter and dynamic analysis framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
talvos::FillBufferCommand Class Reference

This class encapsulates information about a fill buffer command. More...

#include <talvos/Commands.h>

Inheritance diagram for talvos::FillBufferCommand:
talvos::Command

Public Member Functions

 FillBufferCommand (uint64_t Base, uint64_t NumBytes, uint32_t Data)
 Create a new FillBufferCommand. More...
 
- Public Member Functions inherited from talvos::Command
Type getType () const
 Returns the type of this command. More...
 
void run (Device &Dev) const
 Run this command on Dev. More...
 

Protected Member Functions

virtual void runImpl (Device &Dev) const override
 Command execution handler. More...
 
- Protected Member Functions inherited from talvos::Command
 Command (Type Ty)
 Used by subclasses to initialize the command type. More...
 

Private Attributes

uint64_t Base
 The memory address to begin filling from. More...
 
uint64_t NumBytes
 The number of bytes to fill. More...
 
uint32_t Data
 The data to fill the buffer with. More...
 

Additional Inherited Members

- Public Types inherited from talvos::Command
enum  Type {
  BEGIN_RENDER_PASS, BLIT_IMAGE, CLEAR_ATTACHMENT, CLEAR_COLOR_IMAGE,
  COPY_BUFFER, COPY_BUFFER_TO_IMAGE, COPY_IMAGE, COPY_IMAGE_TO_BUFFER,
  DISPATCH, DRAW, DRAW_INDEXED, END_RENDER_PASS,
  FILL_BUFFER, NEXT_SUBPASS, SET_EVENT, RESET_EVENT,
  UPDATE_BUFFER, WAIT_EVENTS
}
 Identifies different Command subclasses. More...
 
- Protected Attributes inherited from talvos::Command
Type Ty
 The type of this command. More...
 

Detailed Description

This class encapsulates information about a fill buffer command.

Definition at line 458 of file Commands.h.

Constructor & Destructor Documentation

talvos::FillBufferCommand::FillBufferCommand ( uint64_t  Base,
uint64_t  NumBytes,
uint32_t  Data 
)
inline

Create a new FillBufferCommand.

Definition at line 462 of file Commands.h.

Member Function Documentation

void talvos::FillBufferCommand::runImpl ( Device Dev) const
overrideprotectedvirtual

Command execution handler.

Implements talvos::Command.

Definition at line 356 of file Commands.cpp.

Member Data Documentation

uint64_t talvos::FillBufferCommand::Base
private

The memory address to begin filling from.

Definition at line 472 of file Commands.h.

uint32_t talvos::FillBufferCommand::Data
private

The data to fill the buffer with.

Definition at line 478 of file Commands.h.

uint64_t talvos::FillBufferCommand::NumBytes
private

The number of bytes to fill.

Definition at line 475 of file Commands.h.