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

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

Issue 2623863002: Support level > 0 for CopyTextureCHROMIUM extension (Closed)
Patch Set: skip dest_level > 0 on Android Created 3 years, 11 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/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc b/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc
index 0d936aa5811ee89c1c2be2912b952e6218964d16..8306cabfe359db602df7d10876bfa6ac307418eb 100644
--- a/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc
+++ b/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.cc
@@ -248,8 +248,8 @@ void ApplyFramebufferAttachmentCMAAINTELResourceManager::
ApplyCMAAEffectTexture(source_texture, rgba8_texture_, do_copy);
copier->DoCopySubTexture(
- decoder, GL_TEXTURE_2D, rgba8_texture_, GL_RGBA8, GL_TEXTURE_2D,
- source_texture, internal_format, 0, 0, 0, 0, width_, height_,
+ decoder, GL_TEXTURE_2D, rgba8_texture_, 0, GL_RGBA8, GL_TEXTURE_2D,
+ source_texture, 0, internal_format, 0, 0, 0, 0, width_, height_,
width_, height_, width_, height_, false, false, false, DIRECT_DRAW);
} else {
ApplyCMAAEffectTexture(source_texture, source_texture, do_copy);

Powered by Google App Engine
This is Rietveld 408576698