Chromium Code Reviews| Index: ui/gl/gl_image.h |
| diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h |
| index 7fa4068efe5d34296354e6125886d753a7cae405..8f3ef54be21cd415edde3dd8784e944f371aa73a 100644 |
| --- a/ui/gl/gl_image.h |
| +++ b/ui/gl/gl_image.h |
| @@ -26,6 +26,7 @@ class ProcessMemoryDump; |
| } |
| namespace gl { |
| +class GLFence; |
| // Encapsulates an image that can be bound and/or copied to a texture, hiding |
| // platform specific management. |
| @@ -44,7 +45,7 @@ class GL_EXPORT GLImage : public base::RefCounted<GLImage> { |
| // Bind image to texture currently bound to |target|. Returns true on success. |
| // It is valid for an implementation to always return false. |
| - virtual bool BindTexImage(unsigned target) = 0; |
| + virtual bool BindTexImage(unsigned target, GLFence* fence) = 0; |
|
fooishbar
2016/10/11 11:33:32
media/gpu/vaapi_drm_picture.cc needs an update her
reveman
2016/10/11 15:04:48
Done
|
| // Release image from texture currently bound to |target|. |
| virtual void ReleaseTexImage(unsigned target) = 0; |