GPU: Align presenter/backends to cache line
This commit is contained in:
parent
dd9788262e
commit
da13579356
|
@ -27,7 +27,7 @@ struct MemorySaveState;
|
||||||
// DESIGN NOTE: Only static methods should be called on the CPU thread.
|
// DESIGN NOTE: Only static methods should be called on the CPU thread.
|
||||||
// You specifically don't have a global pointer available for this reason.
|
// You specifically don't have a global pointer available for this reason.
|
||||||
|
|
||||||
class GPUBackend
|
class ALIGN_TO_CACHE_LINE GPUBackend
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
static GPUThreadCommand* NewClearVRAMCommand();
|
static GPUThreadCommand* NewClearVRAMCommand();
|
||||||
|
|
|
@ -23,7 +23,7 @@ struct GPUSettings;
|
||||||
struct GPUBackendUpdateDisplayCommand;
|
struct GPUBackendUpdateDisplayCommand;
|
||||||
struct GPUBackendFramePresentationParameters;
|
struct GPUBackendFramePresentationParameters;
|
||||||
|
|
||||||
class GPUPresenter final
|
class ALIGN_TO_CACHE_LINE GPUPresenter final
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
GPUPresenter();
|
GPUPresenter();
|
||||||
|
|
Loading…
Reference in New Issue