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

Side by Side Diff: content/browser/renderer_host/image_transport_factory.cc

Issue 11777025: cc: Implement DelegatingRender::drawFrame() method. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: for-landing 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 "content/browser/renderer_host/image_transport_factory.h" 5 #include "content/browser/renderer_host/image_transport_factory.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <map> 8 #include <map>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 DCHECK(CalledOnValidThread()); 334 DCHECK(CalledOnValidThread());
335 return context3D_.get(); 335 return context3D_.get();
336 } 336 }
337 337
338 virtual cc::SoftwareOutputDevice* SoftwareDevice() const OVERRIDE { 338 virtual cc::SoftwareOutputDevice* SoftwareDevice() const OVERRIDE {
339 DCHECK(CalledOnValidThread()); 339 DCHECK(CalledOnValidThread());
340 return NULL; 340 return NULL;
341 } 341 }
342 342
343 virtual void SendFrameToParentCompositor( 343 virtual void SendFrameToParentCompositor(
344 const cc::CompositorFrame&) OVERRIDE { 344 cc::CompositorFrame*) OVERRIDE {
345 } 345 }
346 346
347 void OnUpdateVSyncParameters( 347 void OnUpdateVSyncParameters(
348 base::TimeTicks timebase, base::TimeDelta interval) { 348 base::TimeTicks timebase, base::TimeDelta interval) {
349 DCHECK(CalledOnValidThread()); 349 DCHECK(CalledOnValidThread());
350 DCHECK(client_); 350 DCHECK(client_);
351 client_->OnVSyncParametersChanged(timebase, interval); 351 client_->OnVSyncParametersChanged(timebase, interval);
352 } 352 }
353 353
354 private: 354 private:
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
637 delete g_factory; 637 delete g_factory;
638 g_factory = NULL; 638 g_factory = NULL;
639 } 639 }
640 640
641 // static 641 // static
642 ImageTransportFactory* ImageTransportFactory::GetInstance() { 642 ImageTransportFactory* ImageTransportFactory::GetInstance() {
643 return g_factory; 643 return g_factory;
644 } 644 }
645 645
646 } // namespace content 646 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/compositor_impl_android.cc ('k') | content/renderer/gpu/compositor_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698