Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / gpu / command_buffer / service / gles2_cmd_decoder_unittest_extensions.cc
blob28e24de74f3c8d1b53f878fc007337a1f2567be7
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "gpu/command_buffer/service/gles2_cmd_decoder.h"
7 #include "gpu/command_buffer/common/gles2_cmd_format.h"
8 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
9 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest.h"
10 #include "testing/gtest/include/gtest/gtest.h"
11 #include "ui/gl/gl_mock.h"
13 using ::gfx::MockGLInterface;
14 using ::testing::_;
16 namespace gpu {
17 namespace gles2 {
19 class GLES2DecoderTestWithCHROMIUMPathRendering : public GLES2DecoderTest {
20 public:
21 GLES2DecoderTestWithCHROMIUMPathRendering() {}
22 virtual void SetUp() OVERRIDE {
23 InitState init;
24 init.gl_version = "opengl es 3.1";
25 init.has_alpha = true;
26 init.has_depth = true;
27 init.request_alpha = true;
28 init.request_depth = true;
29 init.bind_generates_resource = true;
30 init.extensions = "GL_NV_path_rendering";
31 InitDecoder(init);
35 INSTANTIATE_TEST_CASE_P(Service,
36 GLES2DecoderTestWithCHROMIUMPathRendering,
37 ::testing::Bool());
38 #include "gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h"
40 } // namespace gles2
41 } // namespace gpu