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

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

Issue 2259523002: Fix gles2_conform_test failures when Mac switching to core profile (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix typo Created 4 years, 4 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/gles2_cmd_copy_tex_image.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/buffer_manager.cc
diff --git a/gpu/command_buffer/service/buffer_manager.cc b/gpu/command_buffer/service/buffer_manager.cc
index 891458cc6fca26d5c7892937aef210039bc37065..f28f26ca3e920df2e82af1089c858b7959c63b86 100644
--- a/gpu/command_buffer/service/buffer_manager.cc
+++ b/gpu/command_buffer/service/buffer_manager.cc
@@ -360,7 +360,7 @@ bool BufferManager::UseShadowBuffer(GLenum target, GLenum usage) {
const bool is_client_side_array = IsUsageClientSideArray(usage);
// feature_info_ can be null in some unit tests.
const bool support_fixed_attribs =
- !feature_info_ || feature_info_->gl_version_info().is_es;
+ !feature_info_ || feature_info_->gl_version_info().SupportsFixedType();
// TODO(zmo): Don't shadow buffer data on ES3. crbug.com/491002.
return (
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_copy_tex_image.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698