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

Side by Side Diff: cc/debug/fake_web_graphics_context_3d.cc

Issue 14409006: cc: Changes to use GL API for GpuMemoryBuffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@glapi
Patch Set: Add internalformat parameter to CreateImageCHROMIUM in fake_web_graphics_context_3d to fix clang bu… 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 unified diff | Download patch
« no previous file with comments | « cc/debug/fake_web_graphics_context_3d.h ('k') | cc/output/delegating_renderer.cc » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "cc/debug/fake_web_graphics_context_3d.h" 5 #include "cc/debug/fake_web_graphics_context_3d.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "third_party/khronos/GLES2/gl2.h" 8 #include "third_party/khronos/GLES2/gl2.h"
9 9
10 using WebKit::WGC3Dboolean; 10 using WebKit::WGC3Dboolean;
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 } 333 }
334 334
335 void FakeWebGraphicsContext3D::setContextLostCallback( 335 void FakeWebGraphicsContext3D::setContextLostCallback(
336 WebGraphicsContextLostCallback* callback) { 336 WebGraphicsContextLostCallback* callback) {
337 } 337 }
338 338
339 void FakeWebGraphicsContext3D::loseContextCHROMIUM(WGC3Denum current, 339 void FakeWebGraphicsContext3D::loseContextCHROMIUM(WGC3Denum current,
340 WGC3Denum other) { 340 WGC3Denum other) {
341 } 341 }
342 342
343 WebKit::WGC3Duint FakeWebGraphicsContext3D::createImageCHROMIUM(
344 WebKit::WGC3Dsizei width, WebKit::WGC3Dsizei height,
345 WebKit::WGC3Denum internalformat) {
346 return 0;
347 }
348
349 void* FakeWebGraphicsContext3D::mapImageCHROMIUM(WebKit::WGC3Duint image_id,
350 WebKit::WGC3Denum access) {
351 return 0;
352 }
353
343 } // namespace cc 354 } // namespace cc
OLDNEW
« no previous file with comments | « cc/debug/fake_web_graphics_context_3d.h ('k') | cc/output/delegating_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698