Change GR_COMPRESS_ALPHA_MASK from compile-time flag to run-time. We do this by intro...
authorkrajcevski <krajcevski@google.com>
Tue, 12 Aug 2014 14:26:25 +0000 (07:26 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 12 Aug 2014 14:26:26 +0000 (07:26 -0700)
commit9c6d4d744a9e0375d0e7d7a7b19558f5259fc3c3
tree404ec54de399e7a7854308ef192a513eb7fad18a
parent03bde3e6fa8deaf635bd19b45de69ebea71ec299
Change GR_COMPRESS_ALPHA_MASK from compile-time flag to run-time. We do this by introducing an Options struct to be passed to a GrContext on creation.

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

Author: krajcevski@google.com

Review URL: https://codereview.chromium.org/459033002
gyp/gpu.gyp
include/gpu/GrContext.h
src/gpu/GrContext.cpp
src/gpu/GrSWMaskHelper.cpp