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

Side by Side Diff: third_party/WebKit/Source/platform/graphics/gpu/DrawingBufferSoftwareRenderingTest.cpp

Issue 2940933003: DO NOT SUBMIT results of new clang-format (Closed)
Patch Set: Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "platform/graphics/gpu/DrawingBuffer.h" 5 #include "platform/graphics/gpu/DrawingBuffer.h"
6 6
7 #include "cc/resources/single_release_callback.h" 7 #include "cc/resources/single_release_callback.h"
8 #include "cc/resources/texture_mailbox.h" 8 #include "cc/resources/texture_mailbox.h"
9 #include "gpu/command_buffer/client/gles2_interface_stub.h" 9 #include "gpu/command_buffer/client/gles2_interface_stub.h"
10 #include "platform/graphics/gpu/DrawingBufferTestHelpers.h" 10 #include "platform/graphics/gpu/DrawingBufferTestHelpers.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 gl_->GetIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, &drawBinding); 121 gl_->GetIntegerv(GL_DRAW_FRAMEBUFFER_BINDING, &drawBinding);
122 gl_->GetIntegerv(GL_READ_FRAMEBUFFER_BINDING, &readBinding); 122 gl_->GetIntegerv(GL_READ_FRAMEBUFFER_BINDING, &readBinding);
123 EXPECT_EQ(static_cast<GLint>(draw_framebuffer_binding), drawBinding); 123 EXPECT_EQ(static_cast<GLint>(draw_framebuffer_binding), drawBinding);
124 EXPECT_EQ(static_cast<GLint>(read_framebuffer_binding), readBinding); 124 EXPECT_EQ(static_cast<GLint>(read_framebuffer_binding), readBinding);
125 release_callback->Run(gpu::SyncToken(), false /* lostResource */); 125 release_callback->Run(gpu::SyncToken(), false /* lostResource */);
126 126
127 drawing_buffer_->BeginDestruction(); 127 drawing_buffer_->BeginDestruction();
128 } 128 }
129 129
130 } // unnamed namespace 130 } // unnamed namespace
131 } // blink 131 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698