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

Unified Diff: ui/gl/gl_image_surface_texture.h

Issue 634643002: content: Out-of-process GPU service support for SurfaceTexture backed GpuMemoryBuffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: ui/gl/gl_image_surface_texture.h
diff --git a/ui/gl/gl_image_surface_texture.h b/ui/gl/gl_image_surface_texture.h
index b47eb30c6303936b6b747b0ce0865c69165c94b2..6ee160d48b4cc0bda920f9f1434d6605f8fbe3e2 100644
--- a/ui/gl/gl_image_surface_texture.h
+++ b/ui/gl/gl_image_surface_texture.h
@@ -6,19 +6,17 @@
#define UI_GL_GL_IMAGE_SURFACE_TEXTURE_H_
#include "base/memory/ref_counted.h"
-#include "ui/gfx/gpu_memory_buffer.h"
#include "ui/gl/gl_bindings.h"
#include "ui/gl/gl_image.h"
namespace gfx {
-
class SurfaceTexture;
class GL_EXPORT GLImageSurfaceTexture : public GLImage {
public:
explicit GLImageSurfaceTexture(const gfx::Size& size);
- bool Initialize(const gfx::GpuMemoryBufferHandle& handle);
+ bool Initialize(SurfaceTexture* surface_texture);
// Overridden from GLImage:
virtual void Destroy(bool have_context) OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698