8#ifndef META_OCEAN_RENDERING_GLES_WINDOWS_GLES_BITMAP_FRAMEBUFFER_H
9#define META_OCEAN_RENDERING_GLES_WINDOWS_GLES_BITMAP_FRAMEBUFFER_H
12 #error This file is available on Windows platforms only!
56 void setViewport(
const unsigned int left,
const unsigned int top,
const unsigned int width,
const unsigned int height)
override;
This class implements Ocean's image class.
Definition Frame.h:1969
BitmapFramebuffer()
Creates a new bitmap framebuffer.
GLESFramebuffer()
Creates a new GLESceneGraph framebuffer object.
void render() override
Renders the next frame into the framebuffer.
~GLESBitmapFramebuffer() override
Destructs a GLESceneGraph bitmap framebuffer.
GLESBitmapFramebuffer()
Creates a new GLESceneGraph bitmap framebuffer.
void makeNoncurrent() override
Makes this framebuffer to non current.
PFNWGLCHOOSEPIXELFORMATARBPROC wglChoosePixelFormatARB_
The function pointer to wglChoosePixelFormatARB.
Definition windows/GLESBitmapFramebuffer.h:133
PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB_
The function pointer to wglCreateContextAttribsARB.
Definition windows/GLESBitmapFramebuffer.h:130
bool render(Frame &frame, Frame *depthFrame=nullptr) override
Renders the next frame and copies the image content into to a given frame.
bool initializeContext() override
Initialize the OpenGL ES display and context.
TextureFramebufferRef textureFrambuffer_
The texture framebuffer in which this framebuffer will be rendered.
Definition windows/GLESBitmapFramebuffer.h:139
bool initialize(const FramebufferRef &shareFramebuffer=FramebufferRef()) override
Initializes the framebuffer.
void makeCurrent() override
Makes this framebuffer to the current one.
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.
HGLRC contextHandle_
The OpenGL context handle.
Definition windows/GLESBitmapFramebuffer.h:127
Platform::Win::BitmapWindow contextBitmapWindow_
The bitmap of the framebuffer for which the OpenGL context will be created.
Definition windows/GLESBitmapFramebuffer.h:136
friend class GLESEngineWindows
Definition windows/GLESBitmapFramebuffer.h:48
TextureFramebufferRef textureFramebuffer() const
Returns the texture framebuffer object of this framebuffer.
Definition windows/GLESBitmapFramebuffer.h:142
bool acquireGLFunctions()
Acquires all OpenGL function pointers.
SmartObjectRef< TextureFramebuffer > TextureFramebufferRef
Definition of a smart object reference holding a texture framebuffer.
Definition rendering/TextureFramebuffer.h:32
SmartObjectRef< Framebuffer > FramebufferRef
Definition of a smart object reference holding a framebuffer.
Definition rendering/Framebuffer.h:38
Definition windows/GLESBitmapFramebuffer.h:38
Namespace of the Rendering GLESceneGraph library.
Definition rendering/glescenegraph/android/Android.h:20
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15