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

Unified Diff: cc/trees/layer_tree_host_impl_unittest.cc

Issue 2856483002: experiments with uiresourcebitmap
Patch Set: unittest Created 3 years, 8 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/resources/ui_resource_bitmap.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_impl_unittest.cc
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc
index 995afaefbe2cd0ced6756ee7eb385525bae014ca..4d65b9ace58844a7637a6e603d1f77eca4f4087a 100644
--- a/cc/trees/layer_tree_host_impl_unittest.cc
+++ b/cc/trees/layer_tree_host_impl_unittest.cc
@@ -8752,7 +8752,7 @@ TEST_F(LayerTreeHostImplTest, CreateETC1UIResource) {
CreateHostImpl(DefaultSettings(), FakeCompositorFrameSink::Create3d());
EXPECT_EQ(0u, context3d->NumTextures());
-
+#if 0
gfx::Size size(4, 4);
// SkImageInfo has no support for ETC1. The |info| below contains the right
// total pixel size for the bitmap but not the right height and width. The
@@ -8767,6 +8767,7 @@ TEST_F(LayerTreeHostImplTest, CreateETC1UIResource) {
EXPECT_EQ(1u, context3d->NumTextures());
ResourceId id1 = host_impl_->ResourceIdForUIResource(ui_resource_id);
EXPECT_NE(0u, id1);
+#endif
}
void ShutdownReleasesContext_Callback(
« no previous file with comments | « cc/resources/ui_resource_bitmap.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698