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

Side by Side Diff: cc/CCRendererGL.h

Issue 10918258: Add CC software renderer. (Closed) Base URL: http://git.chromium.org/chromium/src.git@gladapter
Patch Set: Fix license headers Created 8 years, 2 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 | « cc/CCLayerTreeHostImpl.cpp ('k') | cc/CCRendererGL.cpp » ('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 5
6 #ifndef CCRendererGL_h 6 #ifndef CCRendererGL_h
7 #define CCRendererGL_h 7 #define CCRendererGL_h
8 8
9 #if USE(ACCELERATED_COMPOSITING) 9 #if USE(ACCELERATED_COMPOSITING)
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 79
80 virtual void bindFramebufferToOutputSurface(DrawingFrame&) OVERRIDE; 80 virtual void bindFramebufferToOutputSurface(DrawingFrame&) OVERRIDE;
81 virtual bool bindFramebufferToTexture(DrawingFrame&, const CCScopedTexture*, const IntRect& framebufferRect) OVERRIDE; 81 virtual bool bindFramebufferToTexture(DrawingFrame&, const CCScopedTexture*, const IntRect& framebufferRect) OVERRIDE;
82 virtual void setDrawViewportSize(const IntSize&) OVERRIDE; 82 virtual void setDrawViewportSize(const IntSize&) OVERRIDE;
83 virtual void enableScissorTestRect(const IntRect& scissorRect) OVERRIDE; 83 virtual void enableScissorTestRect(const IntRect& scissorRect) OVERRIDE;
84 virtual void disableScissorTest() OVERRIDE; 84 virtual void disableScissorTest() OVERRIDE;
85 virtual void clearFramebuffer(DrawingFrame&) OVERRIDE; 85 virtual void clearFramebuffer(DrawingFrame&) OVERRIDE;
86 virtual void drawQuad(DrawingFrame&, const CCDrawQuad*) OVERRIDE; 86 virtual void drawQuad(DrawingFrame&, const CCDrawQuad*) OVERRIDE;
87 virtual void beginDrawingFrame(DrawingFrame&) OVERRIDE; 87 virtual void beginDrawingFrame(DrawingFrame&) OVERRIDE;
88 virtual void finishDrawingFrame(DrawingFrame&) OVERRIDE; 88 virtual void finishDrawingFrame(DrawingFrame&) OVERRIDE;
89 virtual bool flippedFramebuffer() const OVERRIDE;
89 90
90 private: 91 private:
91 static void toGLMatrix(float*, const WebKit::WebTransformationMatrix&); 92 static void toGLMatrix(float*, const WebKit::WebTransformationMatrix&);
92 93
93 void drawCheckerboardQuad(const DrawingFrame&, const CCCheckerboardDrawQuad* ); 94 void drawCheckerboardQuad(const DrawingFrame&, const CCCheckerboardDrawQuad* );
94 void drawDebugBorderQuad(const DrawingFrame&, const CCDebugBorderDrawQuad*); 95 void drawDebugBorderQuad(const DrawingFrame&, const CCDebugBorderDrawQuad*);
95 PassOwnPtr<CCScopedTexture> drawBackgroundFilters(DrawingFrame&, const CCRen derPassDrawQuad*, const WebKit::WebFilterOperations&, const WebKit::WebTransform ationMatrix& deviceTransform); 96 PassOwnPtr<CCScopedTexture> drawBackgroundFilters(DrawingFrame&, const CCRen derPassDrawQuad*, const WebKit::WebFilterOperations&, const WebKit::WebTransform ationMatrix& deviceTransform);
96 void drawRenderPassQuad(DrawingFrame&, const CCRenderPassDrawQuad*); 97 void drawRenderPassQuad(DrawingFrame&, const CCRenderPassDrawQuad*);
97 void drawSolidColorQuad(const DrawingFrame&, const CCSolidColorDrawQuad*); 98 void drawSolidColorQuad(const DrawingFrame&, const CCSolidColorDrawQuad*);
98 void drawStreamVideoQuad(const DrawingFrame&, const CCStreamVideoDrawQuad*); 99 void drawStreamVideoQuad(const DrawingFrame&, const CCStreamVideoDrawQuad*);
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 #else 229 #else
229 #define GLC(context, x) (x) 230 #define GLC(context, x) (x)
230 #endif 231 #endif
231 232
232 233
233 } 234 }
234 235
235 #endif // USE(ACCELERATED_COMPOSITING) 236 #endif // USE(ACCELERATED_COMPOSITING)
236 237
237 #endif 238 #endif
OLDNEW
« no previous file with comments | « cc/CCLayerTreeHostImpl.cpp ('k') | cc/CCRendererGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698