|
Revision 9831, 1.9 kB
(checked in by shuber, 4 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 | |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | |
|---|
| 6 | |
|---|
| 7 | |
|---|
| 8 | |
|---|
| 9 | |
|---|
| 10 | #include <iostream> |
|---|
| 11 | #include <osgViewer/api/Cocoa/PixelBufferCocoa> |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | namespace osgViewer { |
|---|
| 15 | |
|---|
| 16 | |
|---|
| 17 | void PixelBufferCocoa::init() |
|---|
| 18 | { |
|---|
| 19 | std::cout << "PixelBufferCocoa :: init not implemented yet " << std::endl; |
|---|
| 20 | |
|---|
| 21 | _valid = _initialized = _realized = true; |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | } |
|---|
| 25 | |
|---|
| 26 | bool PixelBufferCocoa::realizeImplementation() |
|---|
| 27 | { |
|---|
| 28 | std::cout << "PixelBufferCocoa :: realizeImplementation not implemented yet " << std::endl; |
|---|
| 29 | return true; |
|---|
| 30 | } |
|---|
| 31 | |
|---|
| 32 | void PixelBufferCocoa::closeImplementation() |
|---|
| 33 | { |
|---|
| 34 | std::cout << "PixelBufferCocoa :: closeImplementation not implemented yet " << std::endl; |
|---|
| 35 | } |
|---|
| 36 | |
|---|
| 37 | |
|---|
| 38 | |
|---|
| 39 | bool PixelBufferCocoa::makeCurrentImplementation() |
|---|
| 40 | { |
|---|
| 41 | std::cout << "PixelBufferCocoa :: makeCurrentImplementation not implemented yet " << std::endl; |
|---|
| 42 | return true; |
|---|
| 43 | } |
|---|
| 44 | |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | bool PixelBufferCocoa::makeContextCurrentImplementation(osg::GraphicsContext* readContext) |
|---|
| 48 | { |
|---|
| 49 | std::cout << "PixelBufferCocoa :: makeContextCurrentImplementation not implemented yet " << std::endl; |
|---|
| 50 | return true; |
|---|
| 51 | } |
|---|
| 52 | |
|---|
| 53 | |
|---|
| 54 | bool PixelBufferCocoa::releaseContextImplementation() |
|---|
| 55 | { |
|---|
| 56 | std::cout << "PixelBufferCocoa :: releaseContextImplementation not implemented yet " << std::endl; |
|---|
| 57 | return true; |
|---|
| 58 | } |
|---|
| 59 | |
|---|
| 60 | |
|---|
| 61 | void PixelBufferCocoa::bindPBufferToTextureImplementation( GLenum buffer ) |
|---|
| 62 | { |
|---|
| 63 | std::cout << "PixelBufferCocoa :: bindPBufferToTextureImplementation not implemented yet " << std::endl; |
|---|
| 64 | } |
|---|
| 65 | |
|---|
| 66 | |
|---|
| 67 | void 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 | } |
|---|