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

Unified Diff: ui/gl/gl_image_io_surface.mm

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_io_surface.mm
diff --git a/ui/gl/gl_image_io_surface.mm b/ui/gl/gl_image_io_surface.mm
index 7c7000c439a8c6d68f51b32838b9344024c6000b..4ee8d0c5eca02c4ee2ccfcd5b91dfe57d1fca0cb 100644
--- a/ui/gl/gl_image_io_surface.mm
+++ b/ui/gl/gl_image_io_surface.mm
@@ -238,7 +238,7 @@ unsigned GLImageIOSurface::GetInternalFormat() {
return internalformat_;
}
-bool GLImageIOSurface::BindTexImage(unsigned target) {
+bool GLImageIOSurface::BindTexImage(unsigned target, GLFence* fence) {
DCHECK(thread_checker_.CalledOnValidThread());
TRACE_EVENT0("gpu", "GLImageIOSurface::BindTexImage");
base::TimeTicks start_time = base::TimeTicks::Now();
« ui/gl/gl_image.h ('K') | « ui/gl/gl_image_io_surface.h ('k') | ui/gl/gl_image_memory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698