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

Side by Side Diff: Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h

Issue 9950004: Merge 112446 - [chromium] Scheduler should not tell FrameRateController to begin a frame when we do… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 8 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 /* 1 /*
2 * Copyright (C) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 void viewportChanged(); 101 void viewportChanged();
102 102
103 void beginDrawingFrame(); 103 void beginDrawingFrame();
104 void drawRenderPass(const CCRenderPass*); 104 void drawRenderPass(const CCRenderPass*);
105 void finishDrawingFrame(); 105 void finishDrawingFrame();
106 106
107 // waits for rendering to finish 107 // waits for rendering to finish
108 void finish(); 108 void finish();
109 109
110 // puts backbuffer onscreen 110 // puts backbuffer onscreen
111 void swapBuffers(const IntRect& subBuffer); 111 bool swapBuffers(const IntRect& subBuffer);
112 112
113 static void debugGLCall(GraphicsContext3D*, const char* command, const char* file, int line); 113 static void debugGLCall(GraphicsContext3D*, const char* command, const char* file, int line);
114 114
115 const TransformationMatrix& projectionMatrix() const { return m_projectionMa trix; } 115 const TransformationMatrix& projectionMatrix() const { return m_projectionMa trix; }
116 const TransformationMatrix& windowMatrix() const { return m_windowMatrix; } 116 const TransformationMatrix& windowMatrix() const { return m_windowMatrix; }
117 117
118 const GeometryBinding* sharedGeometry() const { return m_sharedGeometry.get( ); } 118 const GeometryBinding* sharedGeometry() const { return m_sharedGeometry.get( ); }
119 const FloatQuad& sharedGeometryQuad() const { return m_sharedGeometryQuad; } 119 const FloatQuad& sharedGeometryQuad() const { return m_sharedGeometryQuad; }
120 const LayerChromium::BorderProgram* borderProgram(); 120 const LayerChromium::BorderProgram* borderProgram();
121 const CCHeadsUpDisplay::Program* headsUpDisplayProgram(); 121 const CCHeadsUpDisplay::Program* headsUpDisplayProgram();
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 #else 304 #else
305 #define GLC(context, x) (x) 305 #define GLC(context, x) (x)
306 #endif 306 #endif
307 307
308 308
309 } 309 }
310 310
311 #endif // USE(ACCELERATED_COMPOSITING) 311 #endif // USE(ACCELERATED_COMPOSITING)
312 312
313 #endif 313 #endif
OLDNEW
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698