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