Remove uses of GR_RELEASE.

Instead of using GR_RELEASE new code should just use SK_RELEASE, like its
counterpart SK_DEBUG instead of GR_DEBUG.

R=bsalomon@google.com, robertphillips@google.com

Author: tfarina@chromium.org

Review URL: https://chromiumcodereview.appspot.com/23479017

git-svn-id: http://skia.googlecode.com/svn/trunk@11070 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
commit-bot@chromium.org 2013-09-03 23:32:08 +00:00
parent 106655efdf
commit 5651512aa3
3 changed files with 0 additions and 15 deletions

View File

@ -98,7 +98,6 @@
'Release': {
'defines': [
'SK_RELEASE',
'GR_RELEASE=1',
],
},
'Release_Developer': {

View File

@ -85,16 +85,6 @@
#endif
#endif
#if !defined(SK_DEBUG) && !GR_RELEASE
#ifdef NDEBUG
#define GR_RELEASE 1
#endif
#endif
#if defined(SK_DEBUG) && GR_RELEASE
#error "cannot define both SK_DEBUG and GR_RELEASE"
#endif
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////

View File

@ -25,10 +25,6 @@
#include "SkRegion.h"
#include "SkClipStack.h"
#if (GR_RELEASE && defined(SK_DEBUG))
// #error "inconsistent GR_RELEASE and SK_DEBUG"
#endif
////////////////////////////////////////////////////////////////////////////////
// Sk to Gr Type conversions