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

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

Issue 180723023: gpu: Mailbox emulation with EGLImage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: comments Created 6 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 | Annotate | Revision Log
« no previous file with comments | « ui/gl/gl_image.h ('k') | no next file » | 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_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
OLDNEW
« no previous file with comments | « ui/gl/gl_image.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698