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

Unified Diff: Source/platform/graphics/gpu/DrawingBuffer.h

Issue 1060583003: WebGL backbuffer creation on Mali-400 GPU Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added comments Created 5 years, 8 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: 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;

Powered by Google App Engine
This is Rietveld 408576698