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

Unified Diff: ui/gl/gl_image.h

Issue 2388653002: gpu: Add CHROMIUM_texture_from_image spec and fence support.
Patch Set: rebase Created 4 years, 1 month 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 | « third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp ('k') | ui/gl/gl_image_egl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gl_image.h
diff --git a/ui/gl/gl_image.h b/ui/gl/gl_image.h
index 44680193317aad5c031eff3ca9381ef83fac0e0f..f2537689f0e0d07f1bedc674c205f52ff169064e 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.
@@ -41,7 +42,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;
// Release image from texture currently bound to |target|.
virtual void ReleaseTexImage(unsigned target) = 0;
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/gpu/DrawingBuffer.cpp ('k') | ui/gl/gl_image_egl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698