|
Blender V4.3
|
#include <stdio.h>#include <stdlib.h>#include "app/opengl/window.h"#include "util/string.h"#include "util/thread.h"#include "util/time.h"#include "util/version.h"#include <SDL.h>#include <epoxy/gl.h>Go to the source code of this file.
Classes | |
| struct | Window |
Functions | |
| static void | window_display_text (int x, int y, const char *text) |
| void | window_display_info (const char *info) |
| void | window_display_help () |
| static void | window_display () |
| static void | window_reshape (int width, int height) |
| static bool | window_keyboard (unsigned char key) |
| static void | window_mouse (int button, int state, int x, int y) |
| static void | window_motion (int x, int y) |
| bool | window_opengl_context_enable () |
| void | window_opengl_context_disable () |
| void | window_main_loop (const char *title, int width, int height, WindowInitFunc initf, WindowExitFunc exitf, WindowResizeFunc resize, WindowDisplayFunc display, WindowKeyboardFunc keyboard, WindowMotionFunc motion) |
| void | window_redraw () |
Variables | |
| CCL_NAMESPACE_BEGIN struct Window | V |
|
static |
Definition at line 142 of file window.cpp.
References Window::display, Window::exitf, Window::first_display, Window::height, Window::initf, V, Window::width, Window::window, window_opengl_context_disable(), and window_opengl_context_enable().
Referenced by window_main_loop().
| void window_display_help | ( | ) |
Definition at line 97 of file window.cpp.
References CYCLES_VERSION_STRING, Window::height, int, V, w(), Window::width, and window_display_text().
| void window_display_info | ( | const char * | info | ) |
Definition at line 76 of file window.cpp.
References Window::height, V, Window::width, and window_display_text().
Definition at line 45 of file window.cpp.
References printf.
Referenced by window_display_help(), and window_display_info().
|
static |
Definition at line 197 of file window.cpp.
References Window::exitf, Window::keyboard, and V.
Referenced by window_main_loop().
| void window_main_loop | ( | const char * | title, |
| int | width, | ||
| int | height, | ||
| WindowInitFunc | initf, | ||
| WindowExitFunc | exitf, | ||
| WindowResizeFunc | resize, | ||
| WindowDisplayFunc | display, | ||
| WindowKeyboardFunc | keyboard, | ||
| WindowMotionFunc | motion ) |
Definition at line 264 of file window.cpp.
References Window::display, Window::exitf, Window::first_display, Window::gl_context, Window::height, initf, Window::initf, Window::keyboard, Window::motion, NULL, Window::redraw, Window::resize, V, Window::width, Window::window, window_display(), window_keyboard(), window_motion(), window_mouse(), and window_reshape().
Referenced by main().
Definition at line 237 of file window.cpp.
References Window::motion, Window::mouseBut0, Window::mouseX, Window::mouseY, V, x, and y.
Referenced by window_main_loop().
Definition at line 213 of file window.cpp.
References Window::mouseBut0, Window::mouseBut2, Window::mouseX, Window::mouseY, state, V, x, and y.
Referenced by window_main_loop().
| void window_opengl_context_disable | ( | ) |
Definition at line 258 of file window.cpp.
References Window::gl_context_mutex, V, and Window::window.
Referenced by session_init(), and window_display().
| bool window_opengl_context_enable | ( | ) |
Definition at line 251 of file window.cpp.
References Window::gl_context, Window::gl_context_mutex, V, and Window::window.
Referenced by session_init(), and window_display().
| void window_redraw | ( | ) |
Definition at line 352 of file window.cpp.
References Window::redraw, and V.
Referenced by session_init().
Definition at line 185 of file window.cpp.
References Window::height, Window::resize, V, and Window::width.
Referenced by window_main_loop().
| CCL_NAMESPACE_BEGIN struct Window V |
Referenced by btDeformableLinearElasticityForce::addScaledElasticForce(), btDeformableNeoHookeanForce::addScaledElasticForce(), Freestyle::BezierII(), BLI_ewa_filter(), bsdf_aniso_lambda(), camera_sample_panorama(), Freestyle::OGF::compute_curvature_tensor(), slim::compute_surface_gradient_matrix(), libmv::ComputeTrackingEquation(), slim::cotmatrix(), slim::cotmatrix_entries(), cross(), slim::doublearea(), slim::edge_lengths(), libmv::euclidean_resection::EuclideanResectionAnsarDaniilidis(), filter(), KDL::Frame::Frame(), KDL::Frame::Frame(), KDL::Frame2::Frame2(), KDL::Frame2::Frame2(), blender::workbench::get_world_shading_rotation_matrix(), btSoftBody::getRigidTransform(), getSkewSymmetricMatrix(), slim::grad(), slim::local_basis(), makeLambdaShape(), makeUpperBidiag(), mat3_polar_decompose(), math_matrix_jacobi_eigendecomposition(), blender::math::polar_decompose(), slim::polar_svd(), Freestyle::FEdgeXDetector::preProcessFace(), process(), Freestyle::FEdgeXDetector::ProcessSilhouetteFace(), blender::math::pseudo_invert(), pseudoinverse_m4_m4(), ray_triangle_intersect(), ray_triangle_intersect_self(), shadow_ray_smooth_surface_offset(), singularValueDecomposition(), singularValueDecomposition(), singularValueDecomposition(), slim::slim_precompute(), sort(), Freestyle::OGF::sphere_clip_vector(), slim::squared_edge_lengths(), KDL::svd_eigen_HH(), svd_m4(), Freestyle::StrokeTesselator::Tesselate(), blender::math::transform_point(), triangle_light_pdf(), triangle_light_sample(), triangle_world_space_vertices(), triple(), window_display(), window_display_help(), window_display_info(), window_keyboard(), window_main_loop(), window_motion(), window_mouse(), window_opengl_context_disable(), window_opengl_context_enable(), window_redraw(), window_reshape(), and zeroChase().