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

Unified Diff: ui/gl/gl_image_surface_texture.cc

Issue 2388653002: gpu: Add CHROMIUM_texture_from_image spec and fence support.
Patch Set: rebase Created 4 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.cc
diff --git a/ui/gl/gl_image_surface_texture.cc b/ui/gl/gl_image_surface_texture.cc
index 3c8b43e14dbe3d1fe031f03cb9ed2094cfd4e88d..ef13671d6299cb53545252ee7f1bef343988051f 100644
--- a/ui/gl/gl_image_surface_texture.cc
+++ b/ui/gl/gl_image_surface_texture.cc
@@ -37,7 +37,7 @@ gfx::Size GLImageSurfaceTexture::GetSize() {
unsigned GLImageSurfaceTexture::GetInternalFormat() { return GL_RGBA; }
-bool GLImageSurfaceTexture::BindTexImage(unsigned target) {
+bool GLImageSurfaceTexture::BindTexImage(unsigned target, GLFence* fence) {
TRACE_EVENT0("gpu", "GLImageSurfaceTexture::BindTexImage");
DCHECK(thread_checker_.CalledOnValidThread());

Powered by Google App Engine
This is Rietveld 408576698