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

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

Issue 1925663002: command_buffer: Defer restoring of FBO bindings when changing virtual contexts Base URL: https://chromium.googlesource.com/chromium/src.git@lazy-bindframebuffer-03-copy-texture-chromium-instantiation
Patch Set: rework Created 4 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
Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
index bbd35ecf8b5596cb53a047b0cd54c22dda48311b..e85618b6f38bf0d6990b26666906d2dd397eeb5d 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_base.cc
@@ -1039,20 +1039,8 @@ bool GLES2DecoderTestBase::DoIsFramebuffer(GLuint client_id) {
client_id);
}
-void GLES2DecoderTestBase::DoDeleteFramebuffer(
- GLuint client_id, GLuint service_id,
- bool reset_draw, GLenum draw_target, GLuint draw_id,
- bool reset_read, GLenum read_target, GLuint read_id) {
- if (reset_draw) {
- EXPECT_CALL(*gl_, BindFramebufferEXT(draw_target, draw_id))
- .Times(1)
- .RetiresOnSaturation();
- }
- if (reset_read) {
- EXPECT_CALL(*gl_, BindFramebufferEXT(read_target, read_id))
- .Times(1)
- .RetiresOnSaturation();
- }
+void GLES2DecoderTestBase::DoDeleteFramebuffer(GLuint client_id,
+ GLuint service_id) {
EXPECT_CALL(*gl_, DeleteFramebuffersEXT(1, Pointee(service_id)))
.Times(1)
.RetiresOnSaturation();

Powered by Google App Engine
This is Rietveld 408576698