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

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

Issue 2298613010: gpu, cmaa: copy RGBA8 texture via glCopyTexSubImage2D() instead of imageStore(). (Closed)
Patch Set: remove imageStore() path Created 4 years, 3 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 7f98fbc72ed85ac71fadc7f502ccc49203ba5a54..73dbe27ecc704939393b8d3df9e40f029f1c8b0b 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
@@ -44,7 +44,7 @@ class GPU_EXPORT ApplyFramebufferAttachmentCMAAINTELResourceManager {
void OnSize(GLint width, GLint height);
void ReleaseTextures();
- void CopyTexture(GLint source, GLint dest, bool via_fbo);
+ void CopyTexture(GLint source);
GLuint CreateProgram(const char* defines,
const char* vs_source,
const char* fs_source);
@@ -64,7 +64,6 @@ class GPU_EXPORT ApplyFramebufferAttachmentCMAAINTELResourceManager {
GLint height_;
GLuint copy_to_framebuffer_shader_;
- GLuint copy_to_image_shader_;
GLuint edges0_shader_;
GLuint edges1_shader_;
GLuint edges_combine_shader_;
@@ -86,7 +85,6 @@ class GPU_EXPORT ApplyFramebufferAttachmentCMAAINTELResourceManager {
GLuint edges_combine_shader_result_texture_float4_slot1_;
GLuint process_and_apply_shader_result_texture_float4_slot1_;
GLuint edges_combine_shader_result_texture_slot2_;
- GLuint copy_to_image_shader_outTexture_;
static const char vert_str_[];
static const char cmaa_frag_s1_[];

Powered by Google App Engine
This is Rietveld 408576698