Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(427)

Side by Side Diff: gpu/command_buffer/service/gles2_cmd_decoder_unittest.h

Issue 682743002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_H_ 5 #ifndef GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_H_
6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_H_ 6 #define GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_H_
7 7
8 #include "gpu/command_buffer/common/gles2_cmd_format.h" 8 #include "gpu/command_buffer/common/gles2_cmd_format.h"
9 #include "gpu/command_buffer/common/gles2_cmd_utils.h" 9 #include "gpu/command_buffer/common/gles2_cmd_utils.h"
10 #include "gpu/command_buffer/service/buffer_manager.h" 10 #include "gpu/command_buffer/service/buffer_manager.h"
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 GLES2DecoderWithShaderTest() : GLES2DecoderWithShaderTestBase() {} 50 GLES2DecoderWithShaderTest() : GLES2DecoderWithShaderTestBase() {}
51 51
52 void CheckTextureChangesMarkFBOAsNotComplete(bool bound_fbo); 52 void CheckTextureChangesMarkFBOAsNotComplete(bool bound_fbo);
53 void CheckRenderbufferChangesMarkFBOAsNotComplete(bool bound_fbo); 53 void CheckRenderbufferChangesMarkFBOAsNotComplete(bool bound_fbo);
54 }; 54 };
55 55
56 class GLES2DecoderRGBBackbufferTest : public GLES2DecoderWithShaderTest { 56 class GLES2DecoderRGBBackbufferTest : public GLES2DecoderWithShaderTest {
57 public: 57 public:
58 GLES2DecoderRGBBackbufferTest() {} 58 GLES2DecoderRGBBackbufferTest() {}
59 59
60 virtual void SetUp(); 60 void SetUp() override;
61 }; 61 };
62 62
63 class GLES2DecoderManualInitTest : public GLES2DecoderWithShaderTest { 63 class GLES2DecoderManualInitTest : public GLES2DecoderWithShaderTest {
64 public: 64 public:
65 GLES2DecoderManualInitTest() {} 65 GLES2DecoderManualInitTest() {}
66 66
67 // Override default setup so nothing gets setup. 67 // Override default setup so nothing gets setup.
68 virtual void SetUp(); 68 void SetUp() override;
69 69
70 void DirtyStateMaskTest(GLuint color_bits, 70 void DirtyStateMaskTest(GLuint color_bits,
71 bool depth_mask, 71 bool depth_mask,
72 GLuint front_stencil_mask, 72 GLuint front_stencil_mask,
73 GLuint back_stencil_mask); 73 GLuint back_stencil_mask);
74 void EnableDisableTest(GLenum cap, bool enable, bool expect_set); 74 void EnableDisableTest(GLenum cap, bool enable, bool expect_set);
75 }; 75 };
76 76
77 } // namespace gles2 77 } // namespace gles2
78 } // namespace gpu 78 } // namespace gpu
79 79
80 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_H_ 80 #endif // GPU_COMMAND_BUFFER_SERVICE_GLES2_CMD_DECODER_UNITTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698