Revert "Add IORef capability to GrSurfaceProxy objects"
authorRobert Phillips <robertphillips@google.com>
Mon, 14 Nov 2016 19:29:24 +0000 (19:29 +0000)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 14 Nov 2016 19:29:39 +0000 (19:29 +0000)
commitf27bab207aebca467c04ccc89d18c9f198a0d762
treecc70654332db1e20238d739239e446efef09b48c
parentbfebe22ed54d1e3a00888292f10ed8b9714135d3
Revert "Add IORef capability to GrSurfaceProxy objects"

This reverts commit 286b96f876953c94c178e3abbeb4eab186ad1fef.

Reason for revert:

Failure on Mac Mini:

FAILURE: ../../../tests/ProxyRefTest.cpp:59 proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites

../../../tests/ProxyRefTest.cpp:64: fatal error: "assert(proxy->getPendingWriteCnt_TestOnly() == expectedNumWrites)"

Original change's description:
> Add IORef capability to GrSurfaceProxy objects
>
> GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4734
>
> Change-Id: If10fbe555e9fa3331bfa01065028e1afe82adb78
> Reviewed-on: https://skia-review.googlesource.com/4734
> Commit-Queue: Robert Phillips <robertphillips@google.com>
> Reviewed-by: Brian Salomon <bsalomon@google.com>
>

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

Change-Id: I5e1c201e027d4e9687b01f28a418b1884d3f9ece
Reviewed-on: https://skia-review.googlesource.com/4776
Commit-Queue: Robert Phillips <robertphillips@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
gn/tests.gni
include/gpu/GrGpuResource.h
include/private/GrSurfaceProxy.h
src/gpu/GrSurfaceProxy.cpp
tests/ProxyRefTest.cpp [deleted file]