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

Unified Diff: gpu/command_buffer/client/gles2_implementation_unittest.cc

Issue 1541283002: Remove ANGLE_pack_reverse_row_order. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: FINAL Created 5 years 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/client/gles2_implementation.cc ('k') | gpu/command_buffer/common/gles2_cmd_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/client/gles2_implementation_unittest.cc
diff --git a/gpu/command_buffer/client/gles2_implementation_unittest.cc b/gpu/command_buffer/client/gles2_implementation_unittest.cc
index 54c14fca30d52d88c199c51040576d7c01a738ab..732107b7596cf17f5cd438d8366c8279b8800401 100644
--- a/gpu/command_buffer/client/gles2_implementation_unittest.cc
+++ b/gpu/command_buffer/client/gles2_implementation_unittest.cc
@@ -3025,41 +3025,6 @@ TEST_F(GLES2ImplementationTest, GetString) {
EXPECT_STREQ(expected_str, reinterpret_cast<const char*>(result));
}
-TEST_F(GLES2ImplementationTest, PixelStoreiGLPackReverseRowOrderANGLE) {
- const uint32_t kBucketId = GLES2Implementation::kResultBucketId;
- const Str7 kString = {"foobar"};
- struct Cmds {
- cmd::SetBucketSize set_bucket_size1;
- cmds::GetString get_string;
- cmd::GetBucketStart get_bucket_start;
- cmd::SetToken set_token1;
- cmd::SetBucketSize set_bucket_size2;
- cmds::PixelStorei pixel_store;
- };
-
- ExpectedMemoryInfo mem1 = GetExpectedMemory(MaxTransferBufferSize());
- ExpectedMemoryInfo result1 =
- GetExpectedResultMemory(sizeof(cmd::GetBucketStart::Result));
-
- Cmds expected;
- expected.set_bucket_size1.Init(kBucketId, 0);
- expected.get_string.Init(GL_EXTENSIONS, kBucketId);
- expected.get_bucket_start.Init(
- kBucketId, result1.id, result1.offset,
- MaxTransferBufferSize(), mem1.id, mem1.offset);
- expected.set_token1.Init(GetNextToken());
- expected.set_bucket_size2.Init(kBucketId, 0);
- expected.pixel_store.Init(GL_PACK_REVERSE_ROW_ORDER_ANGLE, 1);
-
- EXPECT_CALL(*command_buffer(), OnFlush())
- .WillOnce(DoAll(SetMemory(result1.ptr, uint32_t(sizeof(kString))),
- SetMemory(mem1.ptr, kString)))
- .RetiresOnSaturation();
-
- gl_->PixelStorei(GL_PACK_REVERSE_ROW_ORDER_ANGLE, 1);
- EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected)));
-}
-
TEST_F(GLES2ImplementationTest, CreateProgram) {
struct Cmds {
cmds::CreateProgram cmd;
« no previous file with comments | « gpu/command_buffer/client/gles2_implementation.cc ('k') | gpu/command_buffer/common/gles2_cmd_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698