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

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

Issue 2268503002: [Command Buffer] enable/disable FRAMEBUFFER_SRGB only when sRGB image is active (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: typo Created 4 years, 4 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 | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/gles2_cmd_copy_tex_image.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_copy_tex_image.cc b/gpu/command_buffer/service/gles2_cmd_copy_tex_image.cc
index b26d3353aaefac554784cbe5772ed6170c8dba29..dd7a5807e0fa34edd348601700f5ab14a6fe140f 100644
--- a/gpu/command_buffer/service/gles2_cmd_copy_tex_image.cc
+++ b/gpu/command_buffer/service/gles2_cmd_copy_tex_image.cc
@@ -40,7 +40,7 @@ void CopyTexImageResourceManager::Initialize(
blit_program_ = glCreateProgram();
- // Compile the fragment shader
+ // Compile the vertex shader
const char* vs_source =
"#version 150\n"
"out vec2 v_texcoord;\n"
@@ -68,7 +68,7 @@ void CopyTexImageResourceManager::Initialize(
glAttachShader(blit_program_, vs);
glDeleteShader(vs);
- // Compile the vertex shader
+ // Compile the fragment shader
const char* fs_source =
"#version 150\n"
"uniform sampler2D u_source_texture;\n"
« no previous file with comments | « no previous file | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698