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

Side by Side Diff: ui/gl/gl_surface.cc

Issue 2702403009: Make surface GetFormat pure virtual, add missing overrides. (Closed)
Patch Set: Fix class name for Windows Created 3 years, 9 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 | « ui/gl/gl_surface.h ('k') | ui/gl/gl_surface_format.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) 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 #include "ui/gl/gl_surface.h" 5 #include "ui/gl/gl_surface.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 void* GLSurface::GetConfig() { 127 void* GLSurface::GetConfig() {
128 NOTIMPLEMENTED(); 128 NOTIMPLEMENTED();
129 return NULL; 129 return NULL;
130 } 130 }
131 131
132 unsigned long GLSurface::GetCompatibilityKey() { 132 unsigned long GLSurface::GetCompatibilityKey() {
133 return 0; 133 return 0;
134 } 134 }
135 135
136 GLSurfaceFormat GLSurface::GetFormat() {
137 NOTIMPLEMENTED();
138 return GLSurfaceFormat();
139 }
140
141 gfx::VSyncProvider* GLSurface::GetVSyncProvider() { 136 gfx::VSyncProvider* GLSurface::GetVSyncProvider() {
142 return NULL; 137 return NULL;
143 } 138 }
144 139
145 bool GLSurface::ScheduleOverlayPlane(int z_order, 140 bool GLSurface::ScheduleOverlayPlane(int z_order,
146 gfx::OverlayTransform transform, 141 gfx::OverlayTransform transform,
147 GLImage* image, 142 GLImage* image,
148 const gfx::Rect& bounds_rect, 143 const gfx::Rect& bounds_rect,
149 const gfx::RectF& crop_rect) { 144 const gfx::RectF& crop_rect) {
150 NOTIMPLEMENTED(); 145 NOTIMPLEMENTED();
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
370 scoped_refptr<GLSurface> InitializeGLSurface(scoped_refptr<GLSurface> surface) { 365 scoped_refptr<GLSurface> InitializeGLSurface(scoped_refptr<GLSurface> surface) {
371 return InitializeGLSurfaceWithFormat(surface, GLSurfaceFormat()); 366 return InitializeGLSurfaceWithFormat(surface, GLSurfaceFormat());
372 } 367 }
373 368
374 GLSurface::CALayerInUseQuery::CALayerInUseQuery() = default; 369 GLSurface::CALayerInUseQuery::CALayerInUseQuery() = default;
375 GLSurface::CALayerInUseQuery::CALayerInUseQuery(const CALayerInUseQuery&) = 370 GLSurface::CALayerInUseQuery::CALayerInUseQuery(const CALayerInUseQuery&) =
376 default; 371 default;
377 GLSurface::CALayerInUseQuery::~CALayerInUseQuery() = default; 372 GLSurface::CALayerInUseQuery::~CALayerInUseQuery() = default;
378 373
379 } // namespace gl 374 } // namespace gl
OLDNEW
« no previous file with comments | « ui/gl/gl_surface.h ('k') | ui/gl/gl_surface_format.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698