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

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

Issue 6724004: Take the ANGLE path for glRenderbufferStorageMultisample when on ANGLE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 9 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_decoder.cc
===================================================================
--- gpu/command_buffer/service/gles2_cmd_decoder.cc (revision 78980)
+++ gpu/command_buffer/service/gles2_cmd_decoder.cc (working copy)
@@ -3622,8 +3622,13 @@
}
CopyRealGLErrorsToWrapper();
- glRenderbufferStorageMultisampleEXT(
- target, samples, impl_format, width, height);
+ if (IsAngle()) {
+ glRenderbufferStorageMultisampleANGLE(
+ target, samples, impl_format, width, height);
+ } else {
+ glRenderbufferStorageMultisampleEXT(
+ target, samples, impl_format, width, height);
+ }
twiz 2011/03/22 21:58:17 Are there other instances where similiar changes w
GLenum error = glGetError();
if (error == GL_NO_ERROR) {
bound_renderbuffer_->SetInfo(samples, internalformat, width, height);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698