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

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

Issue 14456004: GPU client side changes for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Add missing parameter in GLES2Implementation ctor in GLES2Implementation unittest Created 7 years, 7 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/gpu_memory_buffer_mock.cc
diff --git a/gpu/command_buffer/service/error_state_mock.cc b/gpu/command_buffer/client/gpu_memory_buffer_mock.cc
similarity index 52%
copy from gpu/command_buffer/service/error_state_mock.cc
copy to gpu/command_buffer/client/gpu_memory_buffer_mock.cc
index f3925d743525fad551d18d5e52ae8feb9bc84dbf..1d24716f7464b976684e706a374fc6dcfb9db7c8 100644
--- a/gpu/command_buffer/service/error_state_mock.cc
+++ b/gpu/command_buffer/client/gpu_memory_buffer_mock.cc
@@ -2,16 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "gpu/command_buffer/service/error_state_mock.h"
+#include "../client/gpu_memory_buffer_mock.h"
namespace gpu {
-namespace gles2 {
-MockErrorState::MockErrorState()
- : ErrorState() {}
+GpuMemoryBufferMock::GpuMemoryBufferMock(int width, int height) {
+}
-MockErrorState::~MockErrorState() {}
+GpuMemoryBufferMock::~GpuMemoryBufferMock() {
+ Die();
+}
-} // namespace gles2
} // namespace gpu
-
« no previous file with comments | « gpu/command_buffer/client/gpu_memory_buffer_mock.h ('k') | gpu/command_buffer/client/gpu_memory_buffer_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698