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

Issue 6843043: Don't call gl::output unless perf is enabled. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 9 months ago by John Bauman
Modified:
12 years, 9 months ago
Reviewers:
dgkoch
CC:
angleproject-review_googlegroups.com
Base URL:
https://angleproject.googlecode.com/svn/trunk
Visibility:
Public.

Description

Don't call gl::output unless perf is enabled. gl::output allocates a pretty large stack buffer, so it has to call _chkstk. This is rather slow, so avoid calling gl::output if perf and tracing are disabled. BUG= Committed: https://code.google.com/p/angleproject/source/detail?r=1390

Patch Set 1 #

Patch Set 2 : fix format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -0 lines) Patch
M src/common/debug.cpp View 1 1 chunk +6 lines, -0 lines 0 comments Download

Messages

Total messages: 2
John Bauman
12 years, 9 months ago (2012-11-13 02:54:03 UTC) #1
dgkoch
12 years, 9 months ago (2012-11-13 02:57:26 UTC) #2
LGTM
Sign in to reply to this message.

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