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

Side by Side Diff: android_webview/browser/aw_gl_surface.cc

Issue 1335033004: Make sure FBO is correct for both kModeProcess and kModeDraw (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address comments Created 5 years, 3 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
« no previous file with comments | « android_webview/browser/aw_gl_surface.h ('k') | android_webview/browser/hardware_renderer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "android_webview/browser/aw_gl_surface.h" 5 #include "android_webview/browser/aw_gl_surface.h"
6 6
7 namespace android_webview { 7 namespace android_webview {
8 8
9 AwGLSurface::AwGLSurface() : fbo_(0) {} 9 AwGLSurface::AwGLSurface() : fbo_(0) {}
10 10
(...skipping 23 matching lines...) Expand all
34 } 34 }
35 35
36 void* AwGLSurface::GetDisplay() { 36 void* AwGLSurface::GetDisplay() {
37 return NULL; 37 return NULL;
38 } 38 }
39 39
40 void AwGLSurface::SetBackingFrameBufferObject(unsigned int fbo) { 40 void AwGLSurface::SetBackingFrameBufferObject(unsigned int fbo) {
41 fbo_ = fbo; 41 fbo_ = fbo;
42 } 42 }
43 43
44 void AwGLSurface::ResetBackingFrameBufferObject() {
45 fbo_ = 0;
46 }
47
48 } // namespace android_webview 44 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/aw_gl_surface.h ('k') | android_webview/browser/hardware_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698