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

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

Issue 2930143004: Add DIRECT_COMPOSITION GpuMemoryBuffer type.
Patch Set: fix build Created 3 years, 6 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #include "ui/gl/gl_surface.h"
6 7
7 namespace gl { 8 namespace gl {
8 9
9 bool GLImage::BindTexImageWithInternalformat(unsigned target, 10 bool GLImage::BindTexImageWithInternalformat(unsigned target,
10 unsigned internalformat) { 11 unsigned internalformat) {
11 return false; 12 return false;
12 } 13 }
13 14
14 bool GLImage::EmulatingRGB() const { 15 bool GLImage::EmulatingRGB() const {
15 return false; 16 return false;
16 } 17 }
17 18
18 GLImage::Type GLImage::GetType() const { 19 GLImage::Type GLImage::GetType() const {
19 return Type::NONE; 20 return Type::NONE;
20 } 21 }
21 22
23 scoped_refptr<gl::GLSurface> GLImage::GetSurface() {
24 return nullptr;
25 }
26
22 } // namespace gl 27 } // namespace gl
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698