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

Side by Side Diff: gpu/command_buffer/client/client_test_helper.cc

Issue 24925002: Move Insert/SignalSyncPoint() to GpuControl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Tests for GLES2Implementation. 5 // Tests for GLES2Implementation.
6 6
7 #include "gpu/command_buffer/client/client_test_helper.h" 7 #include "gpu/command_buffer/client/client_test_helper.h"
8 8
9 #include "gpu/command_buffer/common/command_buffer.h" 9 #include "gpu/command_buffer/common/command_buffer.h"
10 #include "gpu/command_buffer/client/cmd_buffer_helper.h" 10 #include "gpu/command_buffer/client/cmd_buffer_helper.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 GPU_NOTREACHED(); 102 GPU_NOTREACHED();
103 state_.error = error; 103 state_.error = error;
104 } 104 }
105 105
106 void MockCommandBufferBase::SetContextLostReason( 106 void MockCommandBufferBase::SetContextLostReason(
107 error::ContextLostReason reason) { 107 error::ContextLostReason reason) {
108 GPU_NOTREACHED(); 108 GPU_NOTREACHED();
109 state_.context_lost_reason = reason; 109 state_.context_lost_reason = reason;
110 } 110 }
111 111
112 uint32 MockCommandBufferBase::InsertSyncPoint() {
113 GPU_NOTREACHED();
114 return 0;
115 }
116
117 // GCC requires these declarations, but MSVC requires they not be present 112 // GCC requires these declarations, but MSVC requires they not be present
118 #ifndef _MSC_VER 113 #ifndef _MSC_VER
119 const int32 MockCommandBufferBase::kTransferBufferBaseId; 114 const int32 MockCommandBufferBase::kTransferBufferBaseId;
120 const int32 MockCommandBufferBase::kMaxTransferBuffers; 115 const int32 MockCommandBufferBase::kMaxTransferBuffers;
121 #endif 116 #endif
122 117
123 MockClientCommandBuffer::MockClientCommandBuffer() { 118 MockClientCommandBuffer::MockClientCommandBuffer() {
124 DelegateToFake(); 119 DelegateToFake();
125 } 120 }
126 121
(...skipping 26 matching lines...) Expand all
153 148
154 MockClientGpuControl::MockClientGpuControl() { 149 MockClientGpuControl::MockClientGpuControl() {
155 } 150 }
156 151
157 MockClientGpuControl::~MockClientGpuControl() { 152 MockClientGpuControl::~MockClientGpuControl() {
158 } 153 }
159 154
160 } // namespace gpu 155 } // namespace gpu
161 156
162 157
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698