Don't add an aura tooltip to bubble close buttons on Windows.
[chromium-blink-merge.git] / gpu / command_buffer / service / gles2_cmd_decoder_unittest_extensions_autogen.h
blob57db6720ca859051b96639ca70c89510c525d1d6
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 // This file is auto-generated from
6 // gpu/command_buffer/build_gles2_cmd_buffer.py
7 // It's formatted by clang-format using chromium coding style:
8 // clang-format -i -style=chromium filename
9 // DO NOT EDIT!
11 // It is included by gles2_cmd_decoder_unittest_extensions.cc
12 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_EXTENSIONS_AUTOGEN_H_
13 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_EXTENSIONS_AUTOGEN_H_
15 // TODO(gman): BlitFramebufferCHROMIUM
16 // TODO(gman): RenderbufferStorageMultisampleCHROMIUM
17 // TODO(gman): RenderbufferStorageMultisampleEXT
18 // TODO(gman): FramebufferTexture2DMultisampleEXT
19 // TODO(gman): DiscardFramebufferEXTImmediate
21 TEST_P(GLES2DecoderTestWithCHROMIUMPathRendering,
22 MatrixLoadfCHROMIUMImmediateValidArgs) {
23 cmds::MatrixLoadfCHROMIUMImmediate& cmd =
24 *GetImmediateAs<cmds::MatrixLoadfCHROMIUMImmediate>();
25 SpecializedSetup<cmds::MatrixLoadfCHROMIUMImmediate, 0>(true);
26 GLfloat temp[16] = {
29 cmd.Init(GL_PATH_PROJECTION_CHROMIUM, &temp[0]);
30 EXPECT_CALL(
31 *gl_,
32 MatrixLoadfEXT(GL_PATH_PROJECTION_CHROMIUM,
33 reinterpret_cast<GLfloat*>(ImmediateDataAddress(&cmd))));
34 EXPECT_EQ(error::kNoError, ExecuteImmediateCmd(cmd, sizeof(temp)));
35 EXPECT_EQ(GL_NO_ERROR, GetGLError());
38 TEST_P(GLES2DecoderTestWithCHROMIUMPathRendering,
39 MatrixLoadIdentityCHROMIUMValidArgs) {
40 EXPECT_CALL(*gl_, MatrixLoadIdentityEXT(GL_PATH_PROJECTION_CHROMIUM));
41 SpecializedSetup<cmds::MatrixLoadIdentityCHROMIUM, 0>(true);
42 cmds::MatrixLoadIdentityCHROMIUM cmd;
43 cmd.Init(GL_PATH_PROJECTION_CHROMIUM);
44 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
45 EXPECT_EQ(GL_NO_ERROR, GetGLError());
48 TEST_P(GLES2DecoderTestWithBlendEquationAdvanced, BlendBarrierKHRValidArgs) {
49 EXPECT_CALL(*gl_, BlendBarrierKHR());
50 SpecializedSetup<cmds::BlendBarrierKHR, 0>(true);
51 cmds::BlendBarrierKHR cmd;
52 cmd.Init();
53 EXPECT_EQ(error::kNoError, ExecuteCmd(cmd));
54 EXPECT_EQ(GL_NO_ERROR, GetGLError());
56 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_EXTENSIONS_AUTOGEN_H_