Index: gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h |
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h |
index 57db6720ca859051b96639ca70c89510c525d1d6..5c22b6c9c7a3918602a0a82e8ccde111b1601fe3 100644 |
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h |
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_extensions_autogen.h |
@@ -44,6 +44,55 @@ TEST_P(GLES2DecoderTestWithCHROMIUMPathRendering, |
EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); |
EXPECT_EQ(GL_NO_ERROR, GetGLError()); |
} |
+// TODO(gman): GenPathsCHROMIUM |
+ |
+// TODO(gman): DeletePathsCHROMIUM |
+ |
+TEST_P(GLES2DecoderTestWithCHROMIUMPathRendering, IsPathCHROMIUMValidArgs) { |
+ EXPECT_CALL(*gl_, IsPathNV(kServicePathId)); |
+ SpecializedSetup<cmds::IsPathCHROMIUM, 0>(true); |
+ cmds::IsPathCHROMIUM cmd; |
+ cmd.Init(client_path_id_, shared_memory_id_, shared_memory_offset_); |
+ EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); |
+ EXPECT_EQ(GL_NO_ERROR, GetGLError()); |
+} |
+ |
+TEST_P(GLES2DecoderTestWithCHROMIUMPathRendering, |
+ IsPathCHROMIUMInvalidArgsBadSharedMemoryId) { |
+ EXPECT_CALL(*gl_, IsPathNV(kServicePathId)).Times(0); |
+ SpecializedSetup<cmds::IsPathCHROMIUM, 0>(false); |
+ cmds::IsPathCHROMIUM cmd; |
+ cmd.Init(client_path_id_, kInvalidSharedMemoryId, shared_memory_offset_); |
+ EXPECT_EQ(error::kOutOfBounds, ExecuteCmd(cmd)); |
+ cmd.Init(client_path_id_, shared_memory_id_, kInvalidSharedMemoryOffset); |
+ EXPECT_EQ(error::kOutOfBounds, ExecuteCmd(cmd)); |
+} |
+// TODO(gman): PathCommandsCHROMIUM |
+ |
+// TODO(gman): PathParameterfCHROMIUM |
+ |
+// TODO(gman): PathParameteriCHROMIUM |
+ |
+TEST_P(GLES2DecoderTestWithCHROMIUMPathRendering, |
+ PathStencilFuncCHROMIUMValidArgs) { |
+ EXPECT_CALL(*gl_, PathStencilFuncNV(GL_NEVER, 2, 3)); |
+ SpecializedSetup<cmds::PathStencilFuncCHROMIUM, 0>(true); |
+ cmds::PathStencilFuncCHROMIUM cmd; |
+ cmd.Init(GL_NEVER, 2, 3); |
+ EXPECT_EQ(error::kNoError, ExecuteCmd(cmd)); |
+ EXPECT_EQ(GL_NO_ERROR, GetGLError()); |
+} |
+// TODO(gman): StencilFillPathCHROMIUM |
+ |
+// TODO(gman): StencilStrokePathCHROMIUM |
+ |
+// TODO(gman): CoverFillPathCHROMIUM |
+ |
+// TODO(gman): CoverStrokePathCHROMIUM |
+ |
+// TODO(gman): StencilThenCoverFillPathCHROMIUM |
+ |
+// TODO(gman): StencilThenCoverStrokePathCHROMIUM |
TEST_P(GLES2DecoderTestWithBlendEquationAdvanced, BlendBarrierKHRValidArgs) { |
EXPECT_CALL(*gl_, BlendBarrierKHR()); |