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

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

Issue 2252153003: Add a transform feedback workaround for Intel GPUs on MacOSX (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/config/gpu_driver_bug_list_json.cc » ('j') | gpu/config/gpu_driver_bug_list_json.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 866c3a35d5c34ad64765c9f21ff05b3e8e948332..28de9a6a367af3b07cc48749bdfc51d0057b8703 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -5713,6 +5713,11 @@ void GLES2DecoderImpl::DoResumeTransformFeedback() {
"transform feedback is not active or not paused");
return;
}
+ if (feature_info_->workarounds().use_transform_feedback_temp_unbind) {
+ glBindTransformFeedback(GL_TRANSFORM_FEEDBACK, 0);
+ state_.bound_transform_feedback->DoBindTransformFeedback(
Zhenyao Mo 2016/08/18 17:39:31 I think you should just do glBindTransformFeedback
Zhenyao Mo 2016/08/18 18:49:05 1) I am still worried that this is caused by Chrom
Ken Russell (switch to Gerrit) 2016/08/19 00:13:35 I think this is very likely a driver bug. These te
jchen10 2016/08/19 01:01:23 Anyway the worry makes sense to me. I have tried t
+ GL_TRANSFORM_FEEDBACK);
+ }
state_.bound_transform_feedback->DoResumeTransformFeedback();
}
« no previous file with comments | « no previous file | gpu/config/gpu_driver_bug_list_json.cc » ('j') | gpu/config/gpu_driver_bug_list_json.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698