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

Side by Side Diff: cc/gl_renderer.h

Issue 12371002: [cc] Mailbox Output Surface Support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | « no previous file | cc/gl_renderer.cc » ('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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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 #ifndef CC_GL_RENDERER_H_ 5 #ifndef CC_GL_RENDERER_H_
6 #define CC_GL_RENDERER_H_ 6 #define CC_GL_RENDERER_H_
7 7
8 #include "cc/cc_export.h" 8 #include "cc/cc_export.h"
9 #include "cc/checkerboard_draw_quad.h" 9 #include "cc/checkerboard_draw_quad.h"
10 #include "cc/debug_border_draw_quad.h" 10 #include "cc/debug_border_draw_quad.h"
(...skipping 27 matching lines...) Expand all
38 static scoped_ptr<GLRenderer> create(RendererClient*, OutputSurface*, Resour ceProvider*); 38 static scoped_ptr<GLRenderer> create(RendererClient*, OutputSurface*, Resour ceProvider*);
39 39
40 virtual ~GLRenderer(); 40 virtual ~GLRenderer();
41 41
42 virtual const RendererCapabilities& capabilities() const OVERRIDE; 42 virtual const RendererCapabilities& capabilities() const OVERRIDE;
43 43
44 WebKit::WebGraphicsContext3D* context(); 44 WebKit::WebGraphicsContext3D* context();
45 45
46 virtual void viewportChanged() OVERRIDE; 46 virtual void viewportChanged() OVERRIDE;
47 47
48 virtual void receiveCompositorFrameAck(const CompositorFrameAck& ack) OVERRI DE;
49
48 // waits for rendering to finish 50 // waits for rendering to finish
49 virtual void finish() OVERRIDE; 51 virtual void finish() OVERRIDE;
50 52
51 virtual void doNoOp() OVERRIDE; 53 virtual void doNoOp() OVERRIDE;
52 // puts backbuffer onscreen 54 // puts backbuffer onscreen
53 virtual bool swapBuffers() OVERRIDE; 55 virtual bool swapBuffers() OVERRIDE;
54 56
55 virtual void getFramebufferPixels(void *pixels, const gfx::Rect&) OVERRIDE; 57 virtual void getFramebufferPixels(void *pixels, const gfx::Rect&) OVERRIDE;
56 58
57 virtual bool isContextLost() OVERRIDE; 59 virtual bool isContextLost() OVERRIDE;
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 #if DEBUG_GL_CALLS && !defined(NDEBUG) 247 #if DEBUG_GL_CALLS && !defined(NDEBUG)
246 #define GLC(context, x) (x, GLRenderer::debugGLCall(&*context, #x, __FILE__, __L INE__)) 248 #define GLC(context, x) (x, GLRenderer::debugGLCall(&*context, #x, __FILE__, __L INE__))
247 #else 249 #else
248 #define GLC(context, x) (x) 250 #define GLC(context, x) (x)
249 #endif 251 #endif
250 252
251 253
252 } 254 }
253 255
254 #endif // CC_GL_RENDERER_H_ 256 #endif // CC_GL_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | cc/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698