|
Beatmup
|
#include <storage_buffer.h>
Public Member Functions | |
| StorageBufferFetcher (StorageBuffer &buffer, void *outputBuffer, size_t outputBufferSize) | |
Public Member Functions inherited from Beatmup::AbstractTask | |
| virtual void | beforeProcessing (ThreadIndex threadCount, ProcessingTarget target, GraphicPipeline *gpu) |
| Instruction called before the task is executed. More... | |
| virtual void | afterProcessing (ThreadIndex threadCount, GraphicPipeline *gpu, bool aborted) |
| Instruction called after the task is executed. More... | |
Public Member Functions inherited from Beatmup::Object | |
| virtual | ~Object () |
Private Member Functions | |
| bool | processOnGPU (GraphicPipeline &gpu, TaskThread &thread) |
| Executes the task on GPU. More... | |
Private Attributes | |
| StorageBuffer & | buffer |
| void * | outputBuffer |
| const size_t | outputBufferSize |
Additional Inherited Members | |
Public Types inherited from Beatmup::AbstractTask | |
| enum class | TaskDeviceRequirement { CPU_ONLY , GPU_OR_CPU , GPU_ONLY } |
| Specifies which device (CPU and/or GPU) is used to run the task. More... | |
Static Public Member Functions inherited from Beatmup::AbstractTask | |
| static ThreadIndex | validThreadCount (int number) |
| Valid thread count from a given integer value. More... | |
Definition at line 52 of file storage_buffer.h.
| StorageBufferFetcher::StorageBufferFetcher | ( | StorageBuffer & | buffer, |
| void * | outputBuffer, | ||
| size_t | outputBufferSize | ||
| ) |
Definition at line 125 of file storage_buffer.cpp.
|
privatevirtual |
Executes the task on GPU.
| gpu | graphic pipeline instance |
| thread | associated task execution context |
true if the execution is finished correctly, false otherwise Reimplemented from Beatmup::AbstractTask.
Definition at line 130 of file storage_buffer.cpp.
|
private |
Definition at line 54 of file storage_buffer.h.
|
private |
Definition at line 55 of file storage_buffer.h.
|
private |
Definition at line 56 of file storage_buffer.h.