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

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

Issue 2826043002: Do not share FBOs/VAOs/Transform feedback objects across contexts (Closed)
Patch Set: added DeleteFramebuffers() expectation Created 3 years, 7 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/texture_manager_unittest.cc
diff --git a/gpu/command_buffer/service/texture_manager_unittest.cc b/gpu/command_buffer/service/texture_manager_unittest.cc
index 471ec773cbd67e88a2fa8811a36c60c100624d7a..8d47f1b64d4c8887ffea9978569b1ad3ed55bb75 100644
--- a/gpu/command_buffer/service/texture_manager_unittest.cc
+++ b/gpu/command_buffer/service/texture_manager_unittest.cc
@@ -2314,9 +2314,9 @@ TEST_F(SharedTextureTest, TextureSafetyAccounting) {
TEST_F(SharedTextureTest, FBOCompletenessCheck) {
const GLenum kCompleteValue = GL_FRAMEBUFFER_COMPLETE;
FramebufferManager framebuffer_manager1(1, 1, nullptr);
- texture_manager1_->set_framebuffer_manager(&framebuffer_manager1);
+ texture_manager1_->AddFramebufferManager(&framebuffer_manager1);
FramebufferManager framebuffer_manager2(1, 1, nullptr);
- texture_manager2_->set_framebuffer_manager(&framebuffer_manager2);
+ texture_manager2_->AddFramebufferManager(&framebuffer_manager2);
scoped_refptr<TextureRef> ref1 = texture_manager1_->CreateTexture(10, 10);
framebuffer_manager1.CreateFramebuffer(10, 10);

Powered by Google App Engine
This is Rietveld 408576698