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

Unified Diff: content/browser/compositor/gl_helper.h

Issue 1893473002: Decouple GLHelper from media (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed content_browsertests Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/compositor/gl_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/compositor/gl_helper.h
diff --git a/content/browser/compositor/gl_helper.h b/content/browser/compositor/gl_helper.h
index 582c00b9c12264105aabef1fabad149f798e0640..8ebba5f04e2174d13dce2ab1a464d699d0d84806 100644
--- a/content/browser/compositor/gl_helper.h
+++ b/content/browser/compositor/gl_helper.h
@@ -26,10 +26,6 @@ class ContextSupport;
struct Mailbox;
}
-namespace media {
-class VideoFrame;
-};
-
class SkRegion;
namespace content {
@@ -369,7 +365,13 @@ class CONTENT_EXPORT ReadbackYUVInterface {
// |target->visible_rect()|.
virtual void ReadbackYUV(const gpu::Mailbox& mailbox,
const gpu::SyncToken& sync_token,
- const scoped_refptr<media::VideoFrame>& target,
+ const gfx::Rect& target_visible_rect,
+ int y_plane_row_stride_bytes,
+ unsigned char* y_plane_data,
+ int u_plane_row_stride_bytes,
+ unsigned char* u_plane_data,
+ int v_plane_row_stride_bytes,
+ unsigned char* v_plane_data,
const gfx::Point& paste_location,
const base::Callback<void(bool)>& callback) = 0;
virtual GLHelper::ScalerInterface* scaler() = 0;
« no previous file with comments | « no previous file | content/browser/compositor/gl_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698