8 #ifndef META_OCEAN_RENDERING_GLES_APPLE_GLES_BITMAP_FRAMEBUFFER_H
9 #define META_OCEAN_RENDERING_GLES_APPLE_GLES_BITMAP_FRAMEBUFFER_H
20 #ifdef OCEAN_PLATFORM_BUILD_APPLE_MACOS
28 namespace GLESceneGraph
50 void setViewport(
const unsigned int left,
const unsigned int top,
const unsigned int width,
const unsigned int height)
override;
109 CGLContextObj contextObject_ =
nullptr;
This class implements Ocean's image class.
Definition: Frame.h:1792
This class is the base class for all bitmap framebuffers.
Definition: BitmapFramebuffer.h:37
This class is the base class for all GLESceneGraph bitmap framebuffers for Apple platforms.
Definition: apple/GLESBitmapFramebuffer.h:41
void makeCurrent() override
Makes this framebuffer to the current one.
TextureFramebufferRef textureFrambuffer_
The texture framebuffer in which this framebuffer will be rendered.
Definition: apple/GLESBitmapFramebuffer.h:112
bool initialize(const FramebufferRef &shareFramebuffer=FramebufferRef()) override
Initializes the framebuffer.
bool initializeContext() override
Initialize the OpenGL ES dispaly and context.
GLESBitmapFramebuffer()
Creates a new window framebuffer.
~GLESBitmapFramebuffer() override
Destructs a window framebuffer.
void setViewport(const unsigned int left, const unsigned int top, const unsigned int width, const unsigned int height) override
Sets the viewport of this framebuffer.
void release() override
Releases the framebuffer.
void render() override
Renders the next frame into the framebuffer.
bool render(Frame &frame, Frame *depthFrame=nullptr) override
Renders the next frame and copies the image content into to a given frame.
void makeNoncurrent() override
Makes this framebuffer to non current.
This class implements the engine for Apple platforms.
Definition: GLESEngineApple.h:31
This class implements a base for all GLESceneGraph framebuffers.
Definition: rendering/glescenegraph/GLESFramebuffer.h:34
SmartObjectRef< Framebuffer > FramebufferRef
Definition of a smart object reference holding a framebuffer.
Definition: rendering/Framebuffer.h:31
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15