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

Unified Diff: Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h

Issue 10690121: Merge 121076 - [chromium] LayerRendererChromium is not getting visibility messages in single thread… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « no previous file | Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h
===================================================================
--- Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h (revision 122257)
+++ Source/WebCore/platform/graphics/chromium/LayerRendererChromium.h (working copy)
@@ -34,6 +34,7 @@
#if USE(ACCELERATED_COMPOSITING)
+#include "Extensions3DChromium.h"
#include "TextureCopier.h"
#include "ThrottledTextureUploader.h"
#include "TrackingTextureAllocator.h"
@@ -54,7 +55,6 @@
class CCYUVVideoDrawQuad;
class GeometryBinding;
class GraphicsContext3D;
-class LayerRendererGpuMemoryAllocationChangedCallbackAdapter;
class LayerRendererSwapBuffersCompleteCallbackAdapter;
class ScopedEnsureFramebufferAllocation;
@@ -112,9 +112,9 @@
float width, float height, float opacity, const FloatQuad&,
int matrixLocation, int alphaLocation, int quadLocation);
void copyTextureToFramebuffer(int textureId, const IntSize& bounds, const WebKit::WebTransformationMatrix& drawMatrix);
+ void setGpuMemoryAllocation(Extensions3DChromium::GpuMemoryAllocationCHROMIUM);
protected:
- friend class LayerRendererGpuMemoryAllocationChangedCallbackAdapter;
void discardFramebuffer();
void ensureFramebuffer();
bool isFramebufferDiscarded() const { return m_isFramebufferDiscarded; }
@@ -259,6 +259,7 @@
bool m_isViewportChanged;
bool m_isFramebufferDiscarded;
+ bool m_visible;
TextureUploaderOption m_textureUploaderSetting;
};
« no previous file with comments | « no previous file | Source/WebCore/platform/graphics/chromium/LayerRendererChromium.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698