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

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

Issue 2460973002: gpu, cmaa: reuse CopyTextureCHROMIUMResourceManager (Closed)
Patch Set: revert unrelated change Created 4 years, 1 month 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_decoder.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder.cc b/gpu/command_buffer/service/gles2_cmd_decoder.cc
index 8a06bd07861e3907873d3f6aedd8e5ca6c50f31b..9f8d79df744f0c3ae2e2208565313c32d670c76b 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder.cc
@@ -16911,8 +16911,13 @@ void GLES2DecoderImpl::DoApplyScreenSpaceAntialiasingCHROMIUM() {
GL_NO_ERROR)
return;
}
+ static const char kFunctionName[] =
+ "glApplyScreenSpaceAntialiasingCHROMIUM";
+ if (!InitializeCopyTextureCHROMIUM(kFunctionName))
+ return;
apply_framebuffer_attachment_cmaa_intel_
- ->ApplyFramebufferAttachmentCMAAINTEL(this, bound_framebuffer);
+ ->ApplyFramebufferAttachmentCMAAINTEL(this, bound_framebuffer,
+ copy_texture_CHROMIUM_.get());
}
}

Powered by Google App Engine
This is Rietveld 408576698