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

Unified Diff: app/surface/io_surface_support_mac.h

Issue 4101002: Mac/gpu: Don't show uninitialized surfaces while resizing plugins / composited tabs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: white padding Created 10 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
Index: app/surface/io_surface_support_mac.h
diff --git a/app/surface/io_surface_support_mac.h b/app/surface/io_surface_support_mac.h
index 10c09cf15bbb04d73a0b6d49f7ff0effcf812700..82dccca7fe9f0371b60fc03ac4956bd02f1e4b74 100644
--- a/app/surface/io_surface_support_mac.h
+++ b/app/surface/io_surface_support_mac.h
@@ -46,6 +46,9 @@ class IOSurfaceSupport {
virtual mach_port_t IOSurfaceCreateMachPort(CFTypeRef io_surface) = 0;
virtual CFTypeRef IOSurfaceLookupFromMachPort(mach_port_t port) = 0;
+ virtual size_t IOSurfaceGetWidth(CFTypeRef io_surface) = 0;
+ virtual size_t IOSurfaceGetHeight(CFTypeRef io_surface) = 0;
+
virtual CGLError CGLTexImageIOSurface2D(CGLContextObj ctx,
GLenum target,
GLenum internal_format,

Powered by Google App Engine
This is Rietveld 408576698