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

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

Issue 2098913002: GLVersionInfo: alse detect es3 support with extensions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix references to IsES3Capable Created 4 years, 6 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 | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/context_group.cc
diff --git a/gpu/command_buffer/service/context_group.cc b/gpu/command_buffer/service/context_group.cc
index ad3dcdf616b3d87fa4d79f33da5187f1df844fea..4887501b997c1940627ef92e00b27a83e1b9c42a 100644
--- a/gpu/command_buffer/service/context_group.cc
+++ b/gpu/command_buffer/service/context_group.cc
@@ -168,7 +168,7 @@ bool ContextGroup::Initialize(GLES2Decoder* decoder,
DCHECK(max_dual_source_draw_buffers_ >= 1);
}
- if (feature_info_->gl_version_info().IsES3Capable()) {
+ if (feature_info_->gl_version_info().is_es3_capable) {
const GLint kMinTransformFeedbackSeparateAttribs = 4;
if (!QueryGLFeatureU(GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS,
kMinTransformFeedbackSeparateAttribs,
@@ -255,7 +255,7 @@ bool ContextGroup::Initialize(GLES2Decoder* decoder,
<< kMinCubeMapSize << ").";
return false;
}
- if (feature_info_->gl_version_info().IsES3Capable() &&
+ if (feature_info_->gl_version_info().is_es3_capable &&
!QueryGLFeature(GL_MAX_3D_TEXTURE_SIZE, kMin3DTextureSize,
&max_3d_texture_size)) {
DLOG(ERROR) << "ContextGroup::Initialize failed because maximum "
@@ -263,7 +263,7 @@ bool ContextGroup::Initialize(GLES2Decoder* decoder,
<< ", should be " << kMin3DTextureSize << ").";
return false;
}
- if (feature_info_->gl_version_info().IsES3Capable() &&
+ if (feature_info_->gl_version_info().is_es3_capable &&
!QueryGLFeature(GL_MAX_ARRAY_TEXTURE_LAYERS, kMinArrayTextureLayers,
&max_array_texture_layers)) {
DLOG(ERROR) << "ContextGroup::Initialize failed because maximum "
« no previous file with comments | « no previous file | gpu/command_buffer/service/feature_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698