Index: Source/platform/graphics/gpu/DrawingBuffer.h |
diff --git a/Source/platform/graphics/gpu/DrawingBuffer.h b/Source/platform/graphics/gpu/DrawingBuffer.h |
index d2531168184b3acb2b53f3d106097debe43f2abf..373a4bfb13e6bbdc34bf471cdee2a8a23c7eaa77 100644 |
--- a/Source/platform/graphics/gpu/DrawingBuffer.h |
+++ b/Source/platform/graphics/gpu/DrawingBuffer.h |
@@ -164,6 +164,7 @@ public: |
int sampleCount() const { return m_sampleCount; } |
bool explicitResolveOfMultisampleData() const { return m_multisampleMode == ExplicitResolve; }; |
+ bool isRGBTextureSupported() const { return m_RGBTextureSupported; } |
protected: // For unittests |
DrawingBuffer( |
@@ -221,7 +222,9 @@ private: |
// Allocate buffer storage to be sent to compositor using either texImage2D or CHROMIUM_image based on available support. |
void allocateTextureMemory(TextureInfo*, const IntSize&); |
void deleteChromiumImageForTexture(TextureInfo*); |
+ void validateBackbuffer(); |
Ken Russell (switch to Gerrit)
2015/04/06 21:43:18
Please name this something more obvious like "dete
|
+ bool m_RGBTextureSupported; |
PreserveDrawingBuffer m_preserveDrawingBuffer; |
bool m_scissorEnabled; |
Platform3DObject m_texture2DBinding; |