Revert of Move npot resizing out of GrContext and simplify GrContext texture function...
authorfmalita <fmalita@chromium.org>
Sat, 31 Jan 2015 15:02:18 +0000 (07:02 -0800)
committerCommit bot <commit-bot@chromium.org>
Sat, 31 Jan 2015 15:02:18 +0000 (07:02 -0800)
commit6bfef2dfec3253efa48aec0b5ea108e0dc041d15
tree7402cf0046bfa6077cb3e732e57e63f2f7927f63
parent6726e78cd971e7dce42f8b5904284f744f55cb36
Revert of Move npot resizing out of GrContext and simplify GrContext texture functions. (patchset #9 id:160001 of https://codereview.chromium.org/882223003/)

Reason for revert:
webGL conformance failures:

WebglConformance.conformance_textures_tex_image_and_sub_image_2d_with_video
WebglConformance.conformance_textures_texture_npot_video

https://codereview.chromium.org/892773003/
http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/29272

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

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

Review URL: https://codereview.chromium.org/868233005
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