Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(4308)

Issue 5505071: Clear screen before displaying window (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by nicholasbishop
Modified:
12 years, 2 months ago
Reviewers:
brechtvl, bf-codereview
Base URL:
https://svn.blender.org/svnroot/bf-blender/trunk/blender/
Visibility:
Public.

Description

On my system (Ubuntu 11.10, ATI Mobility Radeon HD 5650, Gallium drivers) the default GL display seems to be using uninitialized memory. During Blender startup, when the window is first displayed there is a brief flash of random data. This patch fixes by adding a glClear() inbetween creating the GLX context and displaying the window. I also call glClearColor with a hardcoded grey from the default theme.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -1 line) Patch
intern/ghost/intern/GHOST_WindowX11.cpp View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 3
nicholasbishop
12 years, 4 months ago (2011-12-24 20:19:49 UTC) #1
brechtvl
LGTM
12 years, 4 months ago (2011-12-26 13:31:41 UTC) #2
nicholasbishop
12 years, 4 months ago (2011-12-26 19:12:47 UTC) #3
On 2011/12/26 13:31:41, brechtvl wrote:
> LGTM

Thanks, committed.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b