class Boleite::Private::GLFW

Included Modules

Defined in:

boleite/backend/glfw_backend.cr

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Instance methods inherited from class Boleite::Backend

create_graphics(config : BackendConfiguration) : GraphicsContext create_graphics, default_config : BackendConfiguration default_config, poll_event : InputEvent | Nil poll_event

Class methods inherited from class Boleite::Backend

create_glfw create_glfw

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.check_errors #

[View source]
def self.safe_call(&) #

[View source]

Macro Detail

macro assert(test) #

[View source]
macro ensures(test) #

[View source]
macro invariant(test) #

[View source]
macro requires(test) #

[View source]

Instance Method Detail

def contract_ensures_create_graphics(return_value, config : BackendConfiguration) #

[View source]
def contract_post_create_graphics(check_depth, return_value, config : BackendConfiguration) #

[View source]
def contract_pre_create_graphics(check_depth, config : BackendConfiguration) #

[View source]
def contract_requires_create_graphics(config : BackendConfiguration) #

[View source]
def create_graphics(config : BackendConfiguration) : GraphicsContext #

[View source]
def create_graphics_context(surface, config : BackendConfiguration) : GraphicsContext #

[View source]
def create_opengl_context(surface, config : BackendConfiguration) #

[View source]
def create_surface(video_mode) #

[View source]
def create_vulkan_context(surface, config : BackendConfiguration) #

[View source]
def default_config : BackendConfiguration #

[View source]
def default_video_mode(mode) #

[View source]
def finalize #

[View source]
def is_initialized? #

[View source]
def poll_event : InputEvent | Nil #

[View source]
def safe_call #

[View source]
def setup_main_target_settings(config : BackendConfiguration) #

[View source]
def setup_opengl_settings(config : BackendConfiguration) #

[View source]
def setup_refresh_rate(config : BackendConfiguration) #

[View source]
def setup_rendering_settings(config) #

[View source]
def setup_window_settings(config) #

[View source]
def test_invariant_contracts(method = "") #

[View source]