OLD | NEW |
(Empty) | |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "ui/gfx/ozone/surface_ozone.h" |
| 6 |
| 7 #include "ui/gfx/vsync_provider.h" |
| 8 |
| 9 class SkCanvas; |
| 10 |
| 11 namespace gfx { |
| 12 |
| 13 SurfaceOzone::SurfaceOzone() {} |
| 14 |
| 15 SurfaceOzone::~SurfaceOzone() {} |
| 16 |
| 17 bool SurfaceOzone::InitializeEGL() { return false; } |
| 18 |
| 19 intptr_t /* EGLNativeWindowType */ SurfaceOzone::GetEGLNativeWindow() { |
| 20 LOG(FATAL) << "not supported"; |
| 21 return 0; // not reached |
| 22 } |
| 23 |
| 24 bool SurfaceOzone::InitializeCanvas() { return false; } |
| 25 |
| 26 SkCanvas* SurfaceOzone::GetCanvas() { |
| 27 LOG(FATAL) << "not supported"; |
| 28 return NULL; // not reached |
| 29 } |
| 30 |
| 31 bool SurfaceOzone::ResizeCanvas(const gfx::Rect& viewport_size) { |
| 32 NOTIMPLEMENTED(); |
| 33 return false; |
| 34 } |
| 35 |
| 36 bool SurfaceOzone::SwapCanvas() { |
| 37 NOTIMPLEMENTED(); |
| 38 return true; |
| 39 } |
| 40 |
| 41 scoped_ptr<gfx::VSyncProvider> SurfaceOzone::CreateVSyncProvider() { |
| 42 NOTIMPLEMENTED(); |
| 43 return scoped_ptr<gfx::VSyncProvider>(); |
| 44 } |
| 45 |
| 46 } // namespace gfx |
OLD | NEW |