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

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

Issue 3743001: FBTF: Fix more ctor/dtors found by clang plugin. (Closed) Base URL: http://git.chromium.org/git/chromium.git
Patch Set: Rebase to pick up mac fix on ToT Created 10 years, 2 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 | « gpu/command_buffer/service/framebuffer_manager.h ('k') | gpu/command_buffer/service/id_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/framebuffer_manager.cc
diff --git a/gpu/command_buffer/service/framebuffer_manager.cc b/gpu/command_buffer/service/framebuffer_manager.cc
index 9b74f7f97d897d851b8be930e6a5b1d2d14da1ff..6169a66dc9bbc99674aebfaa1f361360f195d92d 100644
--- a/gpu/command_buffer/service/framebuffer_manager.cc
+++ b/gpu/command_buffer/service/framebuffer_manager.cc
@@ -9,6 +9,8 @@
namespace gpu {
namespace gles2 {
+FramebufferManager::FramebufferManager() {}
+
FramebufferManager::~FramebufferManager() {
DCHECK(framebuffer_infos_.empty());
}
@@ -37,6 +39,12 @@ void FramebufferManager::CreateFramebufferInfo(
DCHECK(result.second);
}
+FramebufferManager::FramebufferInfo::FramebufferInfo(GLuint service_id)
+ : service_id_(service_id) {
+}
+
+FramebufferManager::FramebufferInfo::~FramebufferInfo() {}
+
bool FramebufferManager::FramebufferInfo::HasUnclearedAttachment(
GLenum attachment) const {
AttachmentToRenderbufferMap::const_iterator it =
« no previous file with comments | « gpu/command_buffer/service/framebuffer_manager.h ('k') | gpu/command_buffer/service/id_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698