author | Benoit Jacob <bjacob@mozilla.com> |
Tue, 10 Sep 2013 21:10:47 -0400 | |
changeset 146487 | ea05a04019d8a3484c7f8e489c6ca38713b176f1 |
parent 146486 | 9b69c26b9dc24fd94efbe7ec3f897635a0fe3207 |
child 146488 | 5f5b6750d49d6b90dad066966f16d49221dcb812 |
push id | 25261 |
push user | cbook@mozilla.com |
push date | Wed, 11 Sep 2013 07:31:01 +0000 |
treeherder | mozilla-central@f9e8e8ce552c [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | bjacob |
bugs | 912974 |
milestone | 26.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
gfx/gl/GfxTexturesReporter.h | file | annotate | diff | comparison | revisions | |
gfx/gl/TextureGarbageBin.h | file | annotate | diff | comparison | revisions |
--- a/gfx/gl/GfxTexturesReporter.h +++ b/gfx/gl/GfxTexturesReporter.h @@ -1,14 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* vim: set ts=8 sts=4 et sw=4 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef GFXTEXTURESREPORTER_H_ +#define GFXTEXTURESREPORTER_H_ + #include "nsIMemoryReporter.h" #include "GLTypes.h" namespace mozilla { namespace gl { class GfxTexturesReporter MOZ_FINAL : public MemoryReporterBase { @@ -40,9 +43,11 @@ public: private: int64_t Amount() MOZ_OVERRIDE { return sAmount; } static int64_t sAmount; }; } -} \ No newline at end of file +} + +#endif // GFXTEXTURESREPORTER_H_
--- a/gfx/gl/TextureGarbageBin.h +++ b/gfx/gl/TextureGarbageBin.h @@ -1,14 +1,17 @@ /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* vim: set ts=8 sts=4 et sw=4 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ +#ifndef TEXTUREGARBAGEBIN_H_ +#define TEXTUREGARBAGEBIN_H_ + #include <stack> #include "mozilla/Mutex.h" #include "nsISupportsImpl.h" #include "GLContextTypes.h" namespace mozilla { @@ -30,8 +33,10 @@ public: void GLContextTeardown(); void Trash(GLuint tex); void EmptyGarbage(); }; } } + +#endif // TEXTUREGARBAGEBIN_H_