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

Side by Side Diff: content/common/gpu/client/gl_helper.h

Issue 21052007: aura: Clean up compositor initialization/destruction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanupcompositor: UseRealGLBindings for CompositingRWHVBrowserTests on win_rel Created 7 years, 4 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 #ifndef CONTENT_COMMON_GPU_CLIENT_GL_HELPER_H_ 5 #ifndef CONTENT_COMMON_GPU_CLIENT_GL_HELPER_H_
6 #define CONTENT_COMMON_GPU_CLIENT_GL_HELPER_H_ 6 #define CONTENT_COMMON_GPU_CLIENT_GL_HELPER_H_
7 7
8 #include "base/atomicops.h" 8 #include "base/atomicops.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 // a new readback pipeline. 376 // a new readback pipeline.
377 class CONTENT_EXPORT ReadbackYUVInterface { 377 class CONTENT_EXPORT ReadbackYUVInterface {
378 public: 378 public:
379 ReadbackYUVInterface() {} 379 ReadbackYUVInterface() {}
380 virtual ~ReadbackYUVInterface() {} 380 virtual ~ReadbackYUVInterface() {}
381 381
382 // Note that |target| must use YV12 format. 382 // Note that |target| must use YV12 format.
383 virtual void ReadbackYUV( 383 virtual void ReadbackYUV(
384 const gpu::Mailbox& mailbox, 384 const gpu::Mailbox& mailbox,
385 uint32 sync_point, 385 uint32 sync_point,
386 media::VideoFrame* target, 386 const scoped_refptr<media::VideoFrame>& target,
387 const base::Callback<void(bool)>& callback) = 0; 387 const base::Callback<void(bool)>& callback) = 0;
388 virtual GLHelper::ScalerInterface* scaler() = 0; 388 virtual GLHelper::ScalerInterface* scaler() = 0;
389 }; 389 };
390 390
391 } // namespace content 391 } // namespace content
392 392
393 #endif // CONTENT_COMMON_GPU_CLIENT_GL_HELPER_H_ 393 #endif // CONTENT_COMMON_GPU_CLIENT_GL_HELPER_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_browsertest.cc ('k') | content/common/gpu/client/gl_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698