OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |