From 45c2c8166bbd84a87e29fdd344b39e36e8a28a3f Mon Sep 17 00:00:00 2001 From: kkinnunen Date: Thu, 25 Feb 2016 02:03:43 -0800 Subject: 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 --- src/views/win/SkOSWindow_win.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/views/win/SkOSWindow_win.cpp') 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 -- cgit v1.2.3