Skeleton GPU files.

This commit is contained in:
Ben Vanik
2013-05-27 21:45:55 -07:00
parent 16baef3591
commit 2cecc02787
19 changed files with 501 additions and 8 deletions

View File

@@ -0,0 +1,27 @@
/**
******************************************************************************
* Xenia : Xbox 360 Emulator Research Project *
******************************************************************************
* Copyright 2013 Ben Vanik. All rights reserved. *
* Released under the BSD license - see LICENSE in the root for more details. *
******************************************************************************
*/
#include <xenia/gpu/graphics_system.h>
using namespace xe;
using namespace xe::gpu;
GraphicsSystem::GraphicsSystem(const CreationParams* params) {
memory_ = xe_memory_retain(params->memory);
}
GraphicsSystem::~GraphicsSystem() {
xe_memory_release(memory_);
}
xe_memory_ref GraphicsSystem::memory() {
return xe_memory_retain(memory_);
}