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

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

Issue 12544006: Revert 186416 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 9 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 | « gpu/command_buffer/service/feature_info.cc ('k') | 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/feature_info_unittest.cc
===================================================================
--- gpu/command_buffer/service/feature_info_unittest.cc (revision 186458)
+++ gpu/command_buffer/service/feature_info_unittest.cc (working copy)
@@ -95,7 +95,6 @@
EXPECT_FALSE(info_->workarounds().clear_alpha_in_readpixels);
EXPECT_EQ(0, info_->workarounds().max_texture_size);
EXPECT_EQ(0, info_->workarounds().max_cube_map_texture_size);
- EXPECT_FALSE(info_->workarounds().use_client_side_arrays_for_stream_buffers);
// Test good types.
{
@@ -800,35 +799,5 @@
EXPECT_TRUE(info_->validators()->index_type.IsValid(GL_UNSIGNED_INT));
}
-TEST_F(FeatureInfoTest, InitializeARM) {
- SetupInitExpectationsWithVendor("", "ARM", "MAli-T604");
- info_->Initialize(NULL);
- EXPECT_TRUE(info_->workarounds().use_client_side_arrays_for_stream_buffers);
-}
-
-TEST_F(FeatureInfoTest, InitializeImagination) {
- SetupInitExpectationsWithVendor(
- "", "Imagination Techologies", "PowerVR SGX 540");
- info_->Initialize(NULL);
- EXPECT_TRUE(info_->workarounds().use_client_side_arrays_for_stream_buffers);
- EXPECT_FALSE(info_->feature_flags().native_vertex_array_object);
-}
-
-TEST_F(FeatureInfoTest, InitializeARMVAOs) {
- SetupInitExpectationsWithVendor(
- "GL_OES_vertex_array_object", "ARM", "MAli-T604");
- info_->Initialize(NULL);
- EXPECT_TRUE(info_->workarounds().use_client_side_arrays_for_stream_buffers);
- EXPECT_FALSE(info_->feature_flags().native_vertex_array_object);
-}
-
-TEST_F(FeatureInfoTest, InitializeImaginationVAOs) {
- SetupInitExpectationsWithVendor(
- "GL_OES_vertex_array_object",
- "Imagination Techologies", "PowerVR SGX 540");
- info_->Initialize(NULL);
- EXPECT_TRUE(info_->workarounds().use_client_side_arrays_for_stream_buffers);
-}
-
} // namespace gles2
} // namespace gpu
« no previous file with comments | « gpu/command_buffer/service/feature_info.cc ('k') | gpu/command_buffer/service/gles2_cmd_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698