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

Unified Diff: content/renderer/webplugin_delegate_proxy.h

Issue 11361170: Get windowless plugins working when accelerated compositing is turned on. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/webplugin_delegate_proxy.h
===================================================================
--- content/renderer/webplugin_delegate_proxy.h (revision 166499)
+++ content/renderer/webplugin_delegate_proxy.h (working copy)
@@ -207,11 +207,6 @@
// Draw a graphic indicating a crashed plugin.
void PaintSadPlugin(WebKit::WebCanvas* canvas, const gfx::Rect& rect);
- // Returns true if the given rectangle is different in the native drawing
- // context and the current background bitmap.
- bool BackgroundChanged(gfx::NativeDrawingContext context,
- const gfx::Rect& rect);
-
// Copies the given rectangle from the back-buffer transport_stores_ bitmap to
// the front-buffer transport_stores_ bitmap.
void CopyFromBackBufferToFrontBuffer(const gfx::Rect& rect);
@@ -308,17 +303,10 @@
// True if we got an invalidate from the plugin and are waiting for a paint.
bool invalidate_pending_;
- // Used to desynchronize windowless painting. When WebKit paints, we bitblt
- // from our front buffer store of what the plugin rectangle looks like. The
- // plugin paints into the back buffer store, and we swap the buffers when we
- // get an invalidate from it. The background bitmap is used for transparent
- // plugins, as they need the background data during painting.
- bool transparent_;
// The index in the transport_stores_ array of the current front buffer
// (i.e., the buffer to display).
int front_buffer_index_;
SharedBitmap transport_stores_[2];
- SharedBitmap background_store_;
// This lets us know the total portion of the transport store that has been
// painted since the buffers were created.
gfx::Rect transport_store_painted_;
« no previous file with comments | « content/plugin/webplugin_proxy.cc ('k') | content/renderer/webplugin_delegate_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698