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

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

Issue 2134793002: Remove the command buffer method glGetImageivCHROMIUM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge conflict. Created 4 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 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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 } 174 }
175 175
176 int32_t Context::CreateGpuMemoryBufferImage(size_t width, 176 int32_t Context::CreateGpuMemoryBufferImage(size_t width,
177 size_t height, 177 size_t height,
178 unsigned internalformat, 178 unsigned internalformat,
179 unsigned usage) { 179 unsigned usage) {
180 NOTIMPLEMENTED(); 180 NOTIMPLEMENTED();
181 return -1; 181 return -1;
182 } 182 }
183 183
184 int32_t Context::GetImageGpuMemoryBufferId(unsigned image_id) {
185 NOTIMPLEMENTED();
186 return -1;
187 }
188
189 void Context::SignalQuery(uint32_t query, const base::Closure& callback) { 184 void Context::SignalQuery(uint32_t query, const base::Closure& callback) {
190 NOTIMPLEMENTED(); 185 NOTIMPLEMENTED();
191 } 186 }
192 187
193 void Context::SetLock(base::Lock*) { 188 void Context::SetLock(base::Lock*) {
194 NOTIMPLEMENTED(); 189 NOTIMPLEMENTED();
195 } 190 }
196 191
197 void Context::EnsureWorkVisible() { 192 void Context::EnsureWorkVisible() {
198 // This is only relevant for out-of-process command buffers. 193 // This is only relevant for out-of-process command buffers.
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
393 return false; 388 return false;
394 if (!gl_context_->MakeCurrent(gl_surface)) { 389 if (!gl_context_->MakeCurrent(gl_surface)) {
395 MarkServiceContextLost(); 390 MarkServiceContextLost();
396 return false; 391 return false;
397 } 392 }
398 client_gl_context_->Flush(); 393 client_gl_context_->Flush();
399 return true; 394 return true;
400 } 395 }
401 396
402 } // namespace egl 397 } // 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