aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/views/win
diff options
context:
space:
mode:
authorGravatar kkinnunen <kkinnunen@nvidia.com>2016-02-25 02:03:43 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2016-02-25 02:03:43 -0800
commit45c2c8166bbd84a87e29fdd344b39e36e8a28a3f (patch)
tree9288929fb75ee43b3676964a6abe2f8cab7b5f6d /src/views/win
parent3eed7ddb25408cdd1c437e65728bac115aeacbd1 (diff)
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 Review URL: https://codereview.chromium.org/1684413003
Diffstat (limited to 'src/views/win')
-rw-r--r--src/views/win/SkOSWindow_win.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/views/win/SkOSWindow_win.cpp b/src/views/win/SkOSWindow_win.cpp
index c451708cef..3a2a5f6e47 100644
--- a/src/views/win/SkOSWindow_win.cpp
+++ b/src/views/win/SkOSWindow_win.cpp
@@ -618,7 +618,7 @@ bool SkOSWindow::attach(SkBackEndTypes attachType, int msaaSampleCount, Attachme
break;
#endif // SK_ANGLE
#if SK_COMMAND_BUFFER
- case kCommandBuffer_BackEndType:
+ case kCommandBufferES2_BackEndType:
result = attachCommandBuffer(msaaSampleCount, info);
break;
#endif // SK_COMMAND_BUFFER
@@ -651,7 +651,7 @@ void SkOSWindow::detach() {
break;
#endif // SK_ANGLE
#if SK_COMMAND_BUFFER
- case kCommandBuffer_BackEndType:
+ case kCommandBufferES2_BackEndType:
detachCommandBuffer();
break;
#endif // SK_COMMAND_BUFFER
@@ -678,7 +678,7 @@ void SkOSWindow::present() {
break;
#endif // SK_ANGLE
#if SK_COMMAND_BUFFER
- case kCommandBuffer_BackEndType:
+ case kCommandBufferES2_BackEndType:
presentCommandBuffer();
break;
#endif // SK_COMMAND_BUFFER