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

Unified Diff: chrome/browser/renderer_host/accelerated_surface_container_manager_mac.h

Issue 1166002: Fix handling of Mac accelerated plugin layers across tab switch. (Closed)
Patch Set: Created 10 years, 9 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: chrome/browser/renderer_host/accelerated_surface_container_manager_mac.h
diff --git a/chrome/browser/renderer_host/accelerated_surface_container_manager_mac.h b/chrome/browser/renderer_host/accelerated_surface_container_manager_mac.h
index 8bc44b5350ccf7918c2019c29d6be87955fa12f8..8a0e97e400a9a492e5ee0c560def30392389f871 100644
--- a/chrome/browser/renderer_host/accelerated_surface_container_manager_mac.h
+++ b/chrome/browser/renderer_host/accelerated_surface_container_manager_mac.h
@@ -53,6 +53,10 @@ class AcceleratedSurfaceContainerManagerMac {
// context, which must already be current.
void Draw(CGLContextObj context);
+ // Causes the next Draw call on each container to trigger a texture upload.
+ // Should be called any time the drawing context has changed.
+ void ForceTextureReload();
+
// Called by the container to enqueue its OpenGL texture objects for
// deletion.
void EnqueueTextureForDeletion(GLuint texture);

Powered by Google App Engine
This is Rietveld 408576698