diff options
author | 2016-03-03 07:39:48 -0800 | |
---|---|---|
committer | 2016-03-03 07:39:49 -0800 | |
commit | f655e9330e3e3cc3d56f19017c89d8309f2ddc36 (patch) | |
tree | 71d25fb9377976ccfc9154d6ffb478c76986960b /src/gpu/GrContextFactory.cpp | |
parent | d0e0885d90cecd43b717d89b565d9a713cffd90c (diff) |
Revert of Implement support for using GL ES 3.0 with command buffer (patchset #6 id:100001 of https://codereview.chromium.org/1684413003/ )
Reason for revert:
The dependency, ES3 implementation in command_buffer_gles2, got reverted.
Original issue's description:
> Implement support for using GL ES 3.0 with command buffer
>
> Adds a new 'api': --config gpu(api=commandbuffer3) for dm/nanobench.
>
> BUG=skia:4943
> GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1684413003
>
> Committed: https://skia.googlesource.com/skia/+/45c2c8166bbd84a87e29fdd344b39e36e8a28a3f
TBR=bsalomon@google.com
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=skia:4943
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1744963002
Review URL: https://codereview.chromium.org/1744963002
Diffstat (limited to 'src/gpu/GrContextFactory.cpp')
-rwxr-xr-x | src/gpu/GrContextFactory.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gpu/GrContextFactory.cpp b/src/gpu/GrContextFactory.cpp index 3f7fd4abd9..b7e48254c8 100755 --- a/src/gpu/GrContextFactory.cpp +++ b/src/gpu/GrContextFactory.cpp @@ -95,11 +95,8 @@ GrContextFactory::ContextInfo GrContextFactory::getContextInfo(GLContextType typ break; #endif #if SK_COMMAND_BUFFER - case kCommandBufferES2_GLContextType: - glCtx.reset(SkCommandBufferGLContext::CreateES2()); - break; - case kCommandBufferES3_GLContextType: - glCtx.reset(SkCommandBufferGLContext::CreateES3()); + case kCommandBuffer_GLContextType: + glCtx.reset(SkCommandBufferGLContext::Create()); break; #endif #if SK_MESA |