Revert of Move npot resizing out of GrContext and simplify GrContext texture function...
authorbsalomon <bsalomon@google.com>
Sun, 1 Feb 2015 04:10:56 +0000 (20:10 -0800)
committerCommit bot <commit-bot@chromium.org>
Sun, 1 Feb 2015 04:10:56 +0000 (20:10 -0800)
commite137db8569e7a10d809980609688b3acfaec612a
treef2f41a49f6b250074d4a176c207cc9d64779ef57
parent8a4527e98a57b1d2dd248a635f0c4fa227be2089
Revert of Move npot resizing out of GrContext and simplify GrContext texture functions. (patchset #10 id:200001 of https://codereview.chromium.org/882223003/)

Reason for revert:
perf fix didn't fix the cr webgl conformance tests

Original issue's description:
> Move npot resizing out of GrContext and simplify GrContext texture functions.
>
> Committed: https://skia.googlesource.com/skia/+/8a8100349105c8c6de39fcb34e47679da7a67f54
>
> Committed: https://skia.googlesource.com/skia/+/6c96672491b04cb782bce8fee778124df66524a0

TBR=robertphillips@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true

Review URL: https://codereview.chromium.org/887303002
include/gpu/GrContext.h
include/gpu/GrPaint.h
include/gpu/GrResourceKey.h
include/gpu/GrTypes.h
src/effects/SkBlurMaskFilter.cpp
src/effects/SkColorCubeFilter.cpp
src/gpu/GrContext.cpp
src/gpu/SkGr.cpp
src/gpu/effects/GrTextureStripAtlas.cpp
tests/GLProgramsTest.cpp