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

Unified Diff: cc/resources/resource_provider_unittest.cc

Issue 1602313002: Removed client side support for old sync points. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed DrawingBufferTest reference Created 4 years, 11 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
« no previous file with comments | « no previous file | cc/test/test_gles2_interface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/resource_provider_unittest.cc
diff --git a/cc/resources/resource_provider_unittest.cc b/cc/resources/resource_provider_unittest.cc
index 23a92113dc6341efdd0a85f24b0a779b82ab7fb0..5fa1baa62bd802d644f6387e01a133066b518690 100644
--- a/cc/resources/resource_provider_unittest.cc
+++ b/cc/resources/resource_provider_unittest.cc
@@ -193,22 +193,6 @@ class ResourceProviderContext : public TestWebGraphicsContext3D {
return make_scoped_ptr(new ResourceProviderContext(shared_data));
}
- GLuint insertSyncPoint() override {
- const uint32_t sync_point =
- static_cast<uint32_t>(shared_data_->InsertFenceSync());
- gpu::SyncToken sync_token_data(sync_point);
-
- // Commit the produceTextureCHROMIUM calls at this point, so that
- // they're associated with the sync point.
- for (const scoped_ptr<PendingProduceTexture>& pending_texture :
- pending_produce_textures_) {
- shared_data_->ProduceTexture(pending_texture->mailbox, sync_token_data,
- pending_texture->texture);
- }
- pending_produce_textures_.clear();
- return sync_point;
- }
-
GLuint64 insertFenceSync() override {
return shared_data_->InsertFenceSync();
}
« no previous file with comments | « no previous file | cc/test/test_gles2_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698