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

Unified Diff: third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h

Issue 1870483003: Add command buffer support for GL_RGB CHROMIUM image emulation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add missing braces. Created 4 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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp ('k') | ui/gfx/mac/io_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
diff --git a/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h b/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
index 3018b84f49c18f78bade1ed9777e8f150fe15586..c2e18ad7ec4e3feadb46361fc3d1aaee24f42832 100644
--- a/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
+++ b/third_party/WebKit/public/platform/WebGraphicsContext3DProvider.h
@@ -36,6 +36,8 @@
class GrContext;
namespace gpu {
+struct Capabilities;
+
namespace gles2 {
class GLES2Interface;
}
@@ -51,6 +53,7 @@ public:
virtual WebGraphicsContext3D* context3d() = 0;
virtual gpu::gles2::GLES2Interface* contextGL() = 0;
virtual GrContext* grContext() = 0;
+ virtual gpu::Capabilities getCapabilities() = 0;
virtual void setLostContextCallback(WebClosure) = 0;
virtual void setErrorMessageCallback(WebFunction<void(const char* msg, int32_t id)>) = 0;
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferTest.cpp ('k') | ui/gfx/mac/io_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698