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

Side by Side Diff: gpu/gles2_conform_support/egl/context.cc

Issue 2648893002: Remove remaining traces of CreateGpuMemoryBufferImageCHROMIUM (Closed)
Patch Set: Rebase, but don't pull in extra changes... Created 3 years, 10 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
« no previous file with comments | « gpu/gles2_conform_support/egl/context.h ('k') | gpu/ipc/client/command_buffer_proxy_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 #include "gpu/gles2_conform_support/egl/context.h" 5 #include "gpu/gles2_conform_support/egl/context.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "gpu/command_buffer/client/gles2_implementation.h" 10 #include "gpu/command_buffer/client/gles2_implementation.h"
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 size_t height, 166 size_t height,
167 unsigned internalformat) { 167 unsigned internalformat) {
168 NOTIMPLEMENTED(); 168 NOTIMPLEMENTED();
169 return -1; 169 return -1;
170 } 170 }
171 171
172 void Context::DestroyImage(int32_t id) { 172 void Context::DestroyImage(int32_t id) {
173 NOTIMPLEMENTED(); 173 NOTIMPLEMENTED();
174 } 174 }
175 175
176 int32_t Context::CreateGpuMemoryBufferImage(size_t width,
177 size_t height,
178 unsigned internalformat,
179 unsigned usage) {
180 NOTIMPLEMENTED();
181 return -1;
182 }
183
184 void Context::SignalQuery(uint32_t query, const base::Closure& callback) { 176 void Context::SignalQuery(uint32_t query, const base::Closure& callback) {
185 NOTIMPLEMENTED(); 177 NOTIMPLEMENTED();
186 } 178 }
187 179
188 void Context::SetLock(base::Lock*) { 180 void Context::SetLock(base::Lock*) {
189 NOTIMPLEMENTED(); 181 NOTIMPLEMENTED();
190 } 182 }
191 183
192 void Context::EnsureWorkVisible() { 184 void Context::EnsureWorkVisible() {
193 // This is only relevant for out-of-process command buffers. 185 // This is only relevant for out-of-process command buffers.
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
395 return false; 387 return false;
396 if (!gl_context_->MakeCurrent(gl_surface)) { 388 if (!gl_context_->MakeCurrent(gl_surface)) {
397 MarkServiceContextLost(); 389 MarkServiceContextLost();
398 return false; 390 return false;
399 } 391 }
400 client_gl_context_->Flush(); 392 client_gl_context_->Flush();
401 return true; 393 return true;
402 } 394 }
403 395
404 } // namespace egl 396 } // namespace egl
OLDNEW
« no previous file with comments | « gpu/gles2_conform_support/egl/context.h ('k') | gpu/ipc/client/command_buffer_proxy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698