Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-09-02 02:58:26 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-09-02 02:58:26 +0300
commit71aa3c864d20fb577c7c2aa94e756fcd88aaa795 (patch)
tree2c537fdd1accca7579fa0eff164b21e85e61e15f /source/blender/gpu/intern/gpu_context_private.hh
parentba188e7218994c250c30040670fb96e70f91dc80 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/gpu/intern/gpu_context_private.hh')
-rw-r--r--source/blender/gpu/intern/gpu_context_private.hh18
1 files changed, 9 insertions, 9 deletions
diff --git a/source/blender/gpu/intern/gpu_context_private.hh b/source/blender/gpu/intern/gpu_context_private.hh
index b72eee13105..20e57c405ba 100644
--- a/source/blender/gpu/intern/gpu_context_private.hh
+++ b/source/blender/gpu/intern/gpu_context_private.hh
@@ -44,7 +44,7 @@ struct GPUMatrixState;
struct GPUContext {
public:
- /** State managment */
+ /** State management */
blender::gpu::Shader *shader = NULL;
blender::gpu::FrameBuffer *active_fb = NULL;
GPUMatrixState *matrix_state = NULL;
@@ -52,11 +52,11 @@ struct GPUContext {
blender::gpu::Immediate *imm = NULL;
/**
- * All 4 window framebuffers.
- * None of them are valid in an offscreen context.
- * Right framebuffers are only available if using stereo rendering.
- * Front framebuffers contains (in principle, but not always) the last frame color.
- * Default framebuffer is back_left.
+ * All 4 window frame-buffers.
+ * None of them are valid in an off-screen context.
+ * Right frame-buffers are only available if using stereo rendering.
+ * Front frame-buffers contains (in principle, but not always) the last frame color.
+ * Default frame-buffer is back_left.
*/
blender::gpu::FrameBuffer *back_left = NULL;
blender::gpu::FrameBuffer *front_left = NULL;
@@ -67,7 +67,7 @@ struct GPUContext {
/** Thread on which this context is active. */
pthread_t thread_;
bool is_active_;
- /** Avoid including GHOST headers. Can be NULL for offscreen contexts. */
+ /** Avoid including GHOST headers. Can be NULL for off-screen contexts. */
void *ghost_window_;
public:
@@ -82,13 +82,13 @@ struct GPUContext {
MEM_CXX_CLASS_ALLOC_FUNCS("GPUContext")
};
-/* These require a gl ctx bound. */
+/* These require a OpenGL ctx bound. */
GLuint GPU_buf_alloc(void);
GLuint GPU_tex_alloc(void);
GLuint GPU_vao_alloc(void);
GLuint GPU_fbo_alloc(void);
-/* These can be called any threads even without gl ctx. */
+/* These can be called any threads even without OpenGL ctx. */
void GPU_buf_free(GLuint buf_id);
void GPU_tex_free(GLuint tex_id);
/* These two need the ctx the id was created with. */