root/OpenSceneGraph/branches/osg-cocoa-dev/src/osgViewer/PixelBufferCocoa.mm @ 9831

Revision 9831, 1.9 kB (checked in by shuber, 5 years ago)

* initial development of osgViewerCocoa
* initial import of imageio-plugin
* disabled quicktime-plugin for 64bit
* disabled GraphicsWindowCarbon? for 664bit

  • Property svn:executable set to *
Line 
1/*
2 *  PixelBufferCocoa.cpp
3 *  OpenSceneGraph
4 *
5 *  Created by Stephan Huber on 27.06.08.
6 *  Copyright 2008 Stephan Maximilian Huber, digital mind. All rights reserved.
7 *
8 */
9
10#include <iostream>
11#include <osgViewer/api/Cocoa/PixelBufferCocoa>
12
13
14namespace osgViewer {
15
16
17void PixelBufferCocoa::init()
18{
19        std::cout << "PixelBufferCocoa :: init not implemented yet " << std::endl;
20       
21        _valid = _initialized = _realized = true;   
22       
23
24}
25
26bool PixelBufferCocoa::realizeImplementation()
27{
28        std::cout << "PixelBufferCocoa :: realizeImplementation not implemented yet " << std::endl;
29        return true;
30}
31
32void PixelBufferCocoa::closeImplementation()
33{
34        std::cout << "PixelBufferCocoa :: closeImplementation not implemented yet " << std::endl;
35}
36
37
38/** Make this graphics context current.*/
39bool PixelBufferCocoa::makeCurrentImplementation()
40{
41        std::cout << "PixelBufferCocoa :: makeCurrentImplementation not implemented yet " << std::endl;
42        return true;
43}
44
45
46/** Make this graphics context current with specified read context implementation. */
47bool PixelBufferCocoa::makeContextCurrentImplementation(osg::GraphicsContext* readContext)
48{
49        std::cout << "PixelBufferCocoa :: makeContextCurrentImplementation not implemented yet " << std::endl;
50        return true;
51}
52
53/** Release the graphics context.*/
54bool PixelBufferCocoa::releaseContextImplementation()
55{
56        std::cout << "PixelBufferCocoa :: releaseContextImplementation not implemented yet " << std::endl;
57        return true;
58}
59
60/** Bind the graphics context to associated texture implementation.*/
61void PixelBufferCocoa::bindPBufferToTextureImplementation( GLenum buffer )
62{
63        std::cout << "PixelBufferCocoa :: bindPBufferToTextureImplementation not implemented yet " << std::endl;
64}
65
66/** Swap the front and back buffers.*/
67void PixelBufferCocoa::swapBuffersImplementation()
68{
69        std::cout << "PixelBufferCocoa :: swapBuffersImplementation not implemented yet " << std::endl;
70}
71
72 PixelBufferCocoa::~PixelBufferCocoa()
73 {     
74 }
75
76
77
78
79}
Note: See TracBrowser for help on using the browser.