10 #include "RNA_blender_cpp.h"
55 virtual void unbind()
override;
77 virtual void unbind()
override;
98 virtual void clear()
override;
100 void set_zoom(
float zoom_x,
float zoom_y);
115 virtual void flush()
override;
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei height
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum const void *lists _GL_VOID_RET _GL_VOID const GLdouble *equation _GL_VOID_RET _GL_VOID GLdouble GLdouble blue _GL_VOID_RET _GL_VOID GLfloat GLfloat blue _GL_VOID_RET _GL_VOID GLint GLint blue _GL_VOID_RET _GL_VOID GLshort GLshort blue _GL_VOID_RET _GL_VOID GLubyte GLubyte blue _GL_VOID_RET _GL_VOID GLuint GLuint blue _GL_VOID_RET _GL_VOID GLushort GLushort blue _GL_VOID_RET _GL_VOID GLbyte GLbyte GLbyte alpha _GL_VOID_RET _GL_VOID GLdouble GLdouble GLdouble alpha _GL_VOID_RET _GL_VOID GLfloat GLfloat GLfloat alpha _GL_VOID_RET _GL_VOID GLint GLint GLint alpha _GL_VOID_RET _GL_VOID GLshort GLshort GLshort alpha _GL_VOID_RET _GL_VOID GLubyte GLubyte GLubyte alpha _GL_VOID_RET _GL_VOID GLuint GLuint GLuint alpha _GL_VOID_RET _GL_VOID GLushort GLushort GLushort alpha _GL_VOID_RET _GL_VOID GLenum mode _GL_VOID_RET _GL_VOID GLint GLsizei width
Read Guarded memory(de)allocation.
struct RenderEngine RenderEngine
BlenderDisplayDriver(BL::RenderEngine &b_engine, BL::Scene &b_scene)
virtual half4 * map_texture_buffer() override
virtual void unmap_texture_buffer() override
virtual void clear() override
virtual bool update_begin(const Params ¶ms, int texture_width, int texture_height) override
void gl_resources_destroy()
std::atomic< bool > need_clear_
virtual void graphics_interop_activate() override
virtual GraphicsInterop graphics_interop_get() override
thread_mutex gl_context_mutex_
virtual void draw(const Params ¶ms) override
void gl_context_dispose()
void set_zoom(float zoom_x, float zoom_y)
virtual void flush() override
virtual void update_end() override
unique_ptr< Tiles > tiles_
unique_ptr< BlenderDisplayShader > display_shader_
virtual void graphics_interop_deactivate() override
BL::RenderEngine b_engine_
virtual void next_tile_begin() override
void gl_context_disable()
virtual int get_position_attrib_location()
static unique_ptr< BlenderDisplayShader > create(BL::RenderEngine &b_engine, BL::Scene &b_scene)
int tex_coord_attribute_location_
static constexpr const char * tex_coord_attribute_name
static constexpr const char * position_attribute_name
virtual void bind(int width, int height)=0
int position_attribute_location_
BlenderDisplayShader()=default
virtual uint get_shader_program()=0
virtual int get_tex_coord_attrib_location()
virtual ~BlenderDisplayShader()=default
virtual void unbind() override
virtual void bind(int width, int height) override
BL::RenderEngine b_engine_
BlenderDisplaySpaceShader(BL::RenderEngine &b_engine, BL::Scene &b_scene)
virtual uint get_shader_program() override
virtual void bind(int width, int height) override
virtual void unbind() override
virtual uint get_shader_program() override
bool shader_compile_attempted_
void create_shader_if_needed()
int image_texture_location_
#define CCL_NAMESPACE_END
CCL_NAMESPACE_BEGIN typedef std::mutex thread_mutex