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

Unified Diff: media/video/capture/screen/mac/scoped_pixel_buffer_object.h

Issue 15692018: Remove screen capturers from media/video/capture/screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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: media/video/capture/screen/mac/scoped_pixel_buffer_object.h
diff --git a/media/video/capture/screen/mac/scoped_pixel_buffer_object.h b/media/video/capture/screen/mac/scoped_pixel_buffer_object.h
deleted file mode 100644
index 0c06278af8be28ebdee5f932bae02a1408091bec..0000000000000000000000000000000000000000
--- a/media/video/capture/screen/mac/scoped_pixel_buffer_object.h
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef MEDIA_VIDEO_CAPTURE_SCREEN_SCOPED_PIXEL_BUFFER_OBJECT_H_
-#define MEDIA_VIDEO_CAPTURE_SCREEN_SCOPED_PIXEL_BUFFER_OBJECT_H_
-
-#include <OpenGL/CGLMacro.h>
-#include <OpenGL/OpenGL.h>
-#include "base/basictypes.h"
-
-namespace media {
-
-class ScopedPixelBufferObject {
- public:
- ScopedPixelBufferObject();
- ~ScopedPixelBufferObject();
-
- bool Init(CGLContextObj cgl_context, int size_in_bytes);
- void Release();
-
- GLuint get() const { return pixel_buffer_object_; }
-
- private:
- CGLContextObj cgl_context_;
- GLuint pixel_buffer_object_;
-
- DISALLOW_COPY_AND_ASSIGN(ScopedPixelBufferObject);
-};
-
-} // namespace media
-
-#endif // MEDIA_VIDEO_CAPTURE_SCREEN_SCOPED_PIXEL_BUFFER_OBJECT_H_
« no previous file with comments | « media/video/capture/screen/mac/desktop_configuration.mm ('k') | media/video/capture/screen/mac/scoped_pixel_buffer_object.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698