Add gyp variable to disable OSAA

Review URL: http://codereview.appspot.com/5539047



git-svn-id: http://skia.googlecode.com/svn/trunk@3033 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
bsalomon@google.com 2012-01-12 20:56:52 +00:00
parent 5db3b6cce4
commit 9f169a4b01

View File

@ -1,4 +1,9 @@
{
'variables': {
'skia_gpu_disable_osaa%': 0,
},
'skia_gpu_disable_osaa': '<(skia_gpu_disable_osaa)',
'includes': [
'common.gypi',
],
@ -282,6 +287,11 @@
'GR_IMPLEMENTATION=1',
],
'conditions': [
[ 'skia_gpu_disable_osaa', {
'defines': [
'GR_USE_OFFSCREEN_AA=0',
],
}],
[ 'skia_os == "linux"', {
'sources!': [
'../src/gpu/GrGLDefaultInterface_none.cpp',