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

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

Issue 2460973002: gpu, cmaa: reuse CopyTextureCHROMIUMResourceManager (Closed)
Patch Set: Created 4 years, 2 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.h
diff --git a/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.h b/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.h
index 855e1e667d6b2519595faff70cb9685b4b587d34..5dbfd4cc058279380d9edad4cb8354c7ccfc4da4 100644
--- a/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.h
+++ b/gpu/command_buffer/service/gles2_cmd_apply_framebuffer_attachment_cmaa_intel.h
@@ -46,7 +46,7 @@ class GPU_EXPORT ApplyFramebufferAttachmentCMAAINTELResourceManager {
void OnSize(GLint width, GLint height);
void ReleaseTextures();
- void CopyTexture(GLint dest);
+ void CopyTexture(GLint source, GLint dest);
GLuint CreateProgram(const char* defines,
const char* vs_source,
const char* fs_source);
@@ -91,6 +91,9 @@ class GPU_EXPORT ApplyFramebufferAttachmentCMAAINTELResourceManager {
static const char cmaa_frag_s1_[];
static const char cmaa_frag_s2_[];
+ GLuint copy_to_framebuffer_shader_ = 0;
+ static const char copy_frag_str_[];
+
DISALLOW_COPY_AND_ASSIGN(ApplyFramebufferAttachmentCMAAINTELResourceManager);
};

Powered by Google App Engine
This is Rietveld 408576698