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

Unified Diff: gpu/command_buffer/service/feature_info.cc

Issue 2159183002: Attaching an image to many color attachment points is unsupported (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove webgl2 condition Created 4 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
Index: gpu/command_buffer/service/feature_info.cc
diff --git a/gpu/command_buffer/service/feature_info.cc b/gpu/command_buffer/service/feature_info.cc
index 16b624a779bf4f2c4bd18af92f42de594a590a37..46cd137b005cf5f5e9852e66ea28fadca83bd511 100644
--- a/gpu/command_buffer/service/feature_info.cc
+++ b/gpu/command_buffer/service/feature_info.cc
@@ -211,6 +211,10 @@ bool FeatureInfo::InitializeForTesting() {
return Initialize(CONTEXT_TYPE_OPENGLES2, DisallowedFeatures());
}
+bool FeatureInfo::InitializeForTesting(ContextType context_type) {
+ return Initialize(context_type, DisallowedFeatures());
+}
+
bool IsGL_REDSupportedOnFBOs() {
// Skia uses GL_RED with frame buffers, unfortunately, Mesa claims to support
// GL_EXT_texture_rg, but it doesn't support it on frame buffers. To fix

Powered by Google App Engine
This is Rietveld 408576698