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

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

Issue 10201008: Merge 114475 - [chromium] Ensure RateLimiter waits for Swapbuffers completion (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 101
102 void viewportChanged(); 102 void viewportChanged();
103 103
104 void beginDrawingFrame(); 104 void beginDrawingFrame();
105 void drawRenderPass(const CCRenderPass*); 105 void drawRenderPass(const CCRenderPass*);
106 void finishDrawingFrame(); 106 void finishDrawingFrame();
107 107
108 // waits for rendering to finish 108 // waits for rendering to finish
109 void finish(); 109 void finish();
110 110
111 void doNoOp();
111 // puts backbuffer onscreen 112 // puts backbuffer onscreen
112 bool swapBuffers(const IntRect& subBuffer); 113 bool swapBuffers(const IntRect& subBuffer);
113 114
114 static void debugGLCall(GraphicsContext3D*, const char* command, const char* file, int line); 115 static void debugGLCall(GraphicsContext3D*, const char* command, const char* file, int line);
115 116
116 const TransformationMatrix& projectionMatrix() const { return m_projectionMa trix; } 117 const TransformationMatrix& projectionMatrix() const { return m_projectionMa trix; }
117 const TransformationMatrix& windowMatrix() const { return m_windowMatrix; } 118 const TransformationMatrix& windowMatrix() const { return m_windowMatrix; }
118 119
119 const GeometryBinding* sharedGeometry() const { return m_sharedGeometry.get( ); } 120 const GeometryBinding* sharedGeometry() const { return m_sharedGeometry.get( ); }
120 const FloatQuad& sharedGeometryQuad() const { return m_sharedGeometryQuad; } 121 const FloatQuad& sharedGeometryQuad() const { return m_sharedGeometryQuad; }
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
279 #else 280 #else
280 #define GLC(context, x) (x) 281 #define GLC(context, x) (x)
281 #endif 282 #endif
282 283
283 284
284 } 285 }
285 286
286 #endif // USE(ACCELERATED_COMPOSITING) 287 #endif // USE(ACCELERATED_COMPOSITING)
287 288
288 #endif 289 #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