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

Side by Side Diff: ui/compositor/compositor.cc

Issue 11777025: cc: Implement DelegatingRender::drawFrame() method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: a few more consts Created 7 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "ui/compositor/compositor.h" 5 #include "ui/compositor/compositor.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <deque> 8 #include <deque>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 virtual WebKit::WebGraphicsContext3D* Context3D() const OVERRIDE { 79 virtual WebKit::WebGraphicsContext3D* Context3D() const OVERRIDE {
80 return context3D_.get(); 80 return context3D_.get();
81 } 81 }
82 82
83 virtual cc::SoftwareOutputDevice* SoftwareDevice() const OVERRIDE { 83 virtual cc::SoftwareOutputDevice* SoftwareDevice() const OVERRIDE {
84 return NULL; 84 return NULL;
85 } 85 }
86 86
87 virtual void SendFrameToParentCompositor( 87 virtual void SendFrameToParentCompositor(
88 const cc::CompositorFrame&) OVERRIDE { 88 cc::CompositorFrame&) OVERRIDE {
89 } 89 }
90 90
91 private: 91 private:
92 scoped_ptr<WebKit::WebGraphicsContext3D> context3D_; 92 scoped_ptr<WebKit::WebGraphicsContext3D> context3D_;
93 struct Capabilities capabilities_; 93 struct Capabilities capabilities_;
94 cc::OutputSurfaceClient* client_; 94 cc::OutputSurfaceClient* client_;
95 }; 95 };
96 96
97 class PendingSwap { 97 class PendingSwap {
98 public: 98 public:
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
605 605
606 COMPOSITOR_EXPORT void DisableTestCompositor() { 606 COMPOSITOR_EXPORT void DisableTestCompositor() {
607 test_compositor_enabled = false; 607 test_compositor_enabled = false;
608 } 608 }
609 609
610 COMPOSITOR_EXPORT bool IsTestCompositorEnabled() { 610 COMPOSITOR_EXPORT bool IsTestCompositorEnabled() {
611 return test_compositor_enabled; 611 return test_compositor_enabled;
612 } 612 }
613 613
614 } // namespace ui 614 } // namespace ui
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698