| OLD | NEW |
| 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_image.h" | 5 #include "ui/gl/gl_image.h" |
| 6 | 6 |
| 7 #include "base/logging.h" | 7 #include "base/logging.h" |
| 8 | 8 |
| 9 namespace gfx { | 9 namespace gfx { |
| 10 | 10 |
| 11 GLImage::GLImage() {} | 11 GLImage::GLImage() {} |
| 12 | 12 |
| 13 bool GLImage::BindTexImage(unsigned target) { | 13 bool GLImage::BindTexImage(unsigned target) { |
| 14 NOTIMPLEMENTED(); | 14 NOTIMPLEMENTED(); |
| 15 return false; | 15 return false; |
| 16 } | 16 } |
| 17 | 17 |
| 18 void GLImage::ReleaseTexImage(unsigned target) { | 18 void GLImage::ReleaseTexImage(unsigned target) { |
| 19 NOTIMPLEMENTED(); | 19 NOTIMPLEMENTED(); |
| 20 } | 20 } |
| 21 | 21 |
| 22 void GLImage::WillUseTexImage() { | 22 void GLImage::WillUseTexImage() { |
| 23 NOTIMPLEMENTED(); | 23 NOTIMPLEMENTED(); |
| 24 } | 24 } |
| 25 | 25 |
| 26 void GLImage::DidUseTexImage() { | 26 void GLImage::DidUseTexImage() { |
| 27 NOTIMPLEMENTED(); | 27 NOTIMPLEMENTED(); |
| 28 } | 28 } |
| 29 | 29 |
| 30 void GLImage::WillModifyTexImage() {} |
| 31 |
| 32 void GLImage::DidModifyTexImage() {} |
| 33 |
| 30 void GLImage::SetReleaseAfterUse() { | 34 void GLImage::SetReleaseAfterUse() { |
| 31 // Default no-op implementation for workaround. | 35 // Default no-op implementation for workaround. |
| 32 } | 36 } |
| 33 | 37 |
| 34 GLImage::~GLImage() {} | 38 GLImage::~GLImage() {} |
| 35 | 39 |
| 36 } // namespace gfx | 40 } // namespace gfx |
| OLD | NEW |