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

Unified Diff: gpu/command_buffer/client/gles2_implementation_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/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 f193dc5544565130b0f5a934d5a47cb5db9a56cf..50f20e13c5371c079e4bf8c4d6bef0887cca7c33 100644
--- a/gpu/command_buffer/client/gles2_implementation_unittest.cc
+++ b/gpu/command_buffer/client/gles2_implementation_unittest.cc
@@ -343,20 +343,6 @@ class GenBuffersAPI {
}
};
-// API wrapper for Framebuffers.
-class GenFramebuffersAPI {
- public:
- static void Gen(GLES2Implementation* gl_impl, GLsizei n, GLuint* ids) {
- gl_impl->GenFramebuffers(n, ids);
- }
-
- static void Delete(GLES2Implementation* gl_impl,
- GLsizei n,
- const GLuint* ids) {
- gl_impl->DeleteFramebuffers(n, ids);
- }
-};
-
// API wrapper for Renderbuffers.
class GenRenderbuffersAPI {
public:
@@ -3148,9 +3134,6 @@ TEST_F(GLES2ImplementationTest, TexSubImage3D4Writes) {
TEST_F(GLES2ImplementationStrictSharedTest, FlushGenerationTestBuffers) {
FlushGenerationTest<GenBuffersAPI>();
}
-TEST_F(GLES2ImplementationStrictSharedTest, FlushGenerationTestFramebuffers) {
- FlushGenerationTest<GenFramebuffersAPI>();
-}
TEST_F(GLES2ImplementationStrictSharedTest, FlushGenerationTestRenderbuffers) {
FlushGenerationTest<GenRenderbuffersAPI>();
}
@@ -3164,10 +3147,6 @@ TEST_F(GLES2ImplementationStrictSharedTest, CrossContextGenerationTestBuffers) {
CrossContextGenerationTest<GenBuffersAPI>();
}
TEST_F(GLES2ImplementationStrictSharedTest,
- CrossContextGenerationTestFramebuffers) {
- CrossContextGenerationTest<GenFramebuffersAPI>();
-}
-TEST_F(GLES2ImplementationStrictSharedTest,
CrossContextGenerationTestRenderbuffers) {
CrossContextGenerationTest<GenRenderbuffersAPI>();
}
@@ -3183,10 +3162,6 @@ TEST_F(GLES2ImplementationStrictSharedTest,
CrossContextGenerationAutoFlushTest<GenBuffersAPI>();
}
TEST_F(GLES2ImplementationStrictSharedTest,
- CrossContextGenerationAutoFlushTestFramebuffers) {
- CrossContextGenerationAutoFlushTest<GenFramebuffersAPI>();
-}
-TEST_F(GLES2ImplementationStrictSharedTest,
CrossContextGenerationAutoFlushTestRenderbuffers) {
CrossContextGenerationAutoFlushTest<GenRenderbuffersAPI>();
}

Powered by Google App Engine
This is Rietveld 408576698