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

Unified Diff: cc/image_layer.cc

Issue 11150025: Patch from https://codereview.chromium.org/11111005/ without actual file deletes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « cc/heads_up_display_layer_impl.cc ('k') | cc/io_surface_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/image_layer.cc
diff --git a/cc/image_layer.cc b/cc/image_layer.cc
index 286ee8bc92f07befcaf42f37c1c57cca51a70ad8..7bb3362c16af209d8ef11b34a47f17d757b40040 100644
--- a/cc/image_layer.cc
+++ b/cc/image_layer.cc
@@ -48,7 +48,7 @@ public:
return adoptPtr(new Texture(this, CCPrioritizedTexture::create(manager)));
}
- virtual SampledTexelFormat sampledTexelFormat(GC3Denum textureFormat) OVERRIDE
+ virtual SampledTexelFormat sampledTexelFormat(GLenum textureFormat) OVERRIDE
{
return PlatformColor::sameComponentOrder(textureFormat) ?
LayerTextureUpdater::SampledTexelFormatRGBA : LayerTextureUpdater::SampledTexelFormatBGRA;
@@ -135,7 +135,7 @@ void ImageLayerChromium::createTextureUpdaterIfNeeded()
return;
m_textureUpdater = ImageLayerTextureUpdater::create();
- GC3Denum textureFormat = layerTreeHost()->rendererCapabilities().bestTextureFormat;
+ GLenum textureFormat = layerTreeHost()->rendererCapabilities().bestTextureFormat;
setTextureFormat(textureFormat);
setSampledTexelFormat(textureUpdater()->sampledTexelFormat(textureFormat));
}
« no previous file with comments | « cc/heads_up_display_layer_impl.cc ('k') | cc/io_surface_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698