Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1087)

Unified Diff: gpu/command_buffer/client/client_test_helper.cc

Issue 20017005: gpu: Refactor GpuMemoryBuffer framework for multi-process support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Include proper internalformat support.[D Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/client/client_test_helper.cc
diff --git a/gpu/command_buffer/client/client_test_helper.cc b/gpu/command_buffer/client/client_test_helper.cc
index cccfa3b96ef6514a721df917a69b14b584c4fe0b..3ac0586eda58e871cbe8c2e848e45e66b697af2d 100644
--- a/gpu/command_buffer/client/client_test_helper.cc
+++ b/gpu/command_buffer/client/client_test_helper.cc
@@ -114,6 +114,24 @@ uint32 MockCommandBufferBase::InsertSyncPoint() {
return 0;
}
+gfx::GpuMemoryBuffer* MockCommandBufferBase::CreateGpuMemoryBuffer(
+ size_t width,
+ size_t height,
+ unsigned internalformat,
+ int32* id) {
+ GPU_NOTREACHED();
+ return NULL;
+}
+
+void MockCommandBufferBase::DestroyGpuMemoryBuffer(int32 id) {
+ GPU_NOTREACHED();
+}
+
+gfx::GLImage* MockCommandBufferBase::GetImage(int32 id) {
+ GPU_NOTREACHED();
+ return NULL;
+}
+
// GCC requires these declarations, but MSVC requires they not be present
#ifndef _MSC_VER
const int32 MockCommandBufferBase::kTransferBufferBaseId;

Powered by Google App Engine
This is Rietveld 408576698