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

Unified Diff: cc/output/color_lut_cache.cc

Issue 2632533003: Use skia for transform ... but it didnt work (Closed)
Patch Set: 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
« no previous file with comments | « no previous file | cc/output/gl_renderer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/output/color_lut_cache.cc
diff --git a/cc/output/color_lut_cache.cc b/cc/output/color_lut_cache.cc
index d591f39fbcb898079c644ec714d42df21a365f64..9f5a2fdecd1ecc483c3896d5049e9448d2473707 100644
--- a/cc/output/color_lut_cache.cc
+++ b/cc/output/color_lut_cache.cc
@@ -71,6 +71,8 @@ unsigned int ColorLUTCache::MakeLUT(const gfx::ColorSpace& from,
}
unsigned int lut_texture;
+ // gl_->GenTextures(1, &lut_texture);
+ // gl_->BindTexture(GL_TEXTURE_3D, lut_texture);
gl_->GenTextures(1, &lut_texture);
gl_->BindTexture(GL_TEXTURE_2D, lut_texture);
gl_->TexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
« no previous file with comments | « no previous file | cc/output/gl_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698