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

Side by Side Diff: src/gpu/GrDrawTarget.h

Issue 1088763005: Cleanup: Remove unnecessary double-semicolons. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 8 months 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
« no previous file with comments | « src/core/SkTypeface.cpp ('k') | src/gpu/GrOvalRenderer.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2010 Google Inc. 2 * Copyright 2010 Google Inc.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef GrDrawTarget_DEFINED 8 #ifndef GrDrawTarget_DEFINED
9 #define GrDrawTarget_DEFINED 9 #define GrDrawTarget_DEFINED
10 10
(...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after
563 SkRect fDevBoundsStorage; 563 SkRect fDevBoundsStorage;
564 SkRect* fDevBounds; 564 SkRect* fDevBounds;
565 565
566 GrPendingIOResource<const GrVertexBuffer, kRead_GrIOType> fVertexBuffer; 566 GrPendingIOResource<const GrVertexBuffer, kRead_GrIOType> fVertexBuffer;
567 GrPendingIOResource<const GrIndexBuffer, kRead_GrIOType> fIndexBuffer; 567 GrPendingIOResource<const GrIndexBuffer, kRead_GrIOType> fIndexBuffer;
568 }; 568 };
569 569
570 /** 570 /**
571 * Used to populate the vertex and index buffer on the draw info before onDr aw is called. 571 * Used to populate the vertex and index buffer on the draw info before onDr aw is called.
572 */ 572 */
573 virtual void setDrawBuffers(DrawInfo*, size_t vertexStride) = 0;; 573 virtual void setDrawBuffers(DrawInfo*, size_t vertexStride) = 0;
574 bool programUnitTest(int maxStages); 574 bool programUnitTest(int maxStages);
575 575
576 protected: 576 protected:
577 friend class GrTargetCommands; // for PipelineInfo 577 friend class GrTargetCommands; // for PipelineInfo
578 578
579 enum GeometrySrcType { 579 enum GeometrySrcType {
580 kNone_GeometrySrcType, //<! src has not been specified 580 kNone_GeometrySrcType, //<! src has not been specified
581 kReserved_GeometrySrcType, //<! src was set using reserve*Space 581 kReserved_GeometrySrcType, //<! src was set using reserve*Space
582 kBuffer_GeometrySrcType //<! src was set using set*SourceToBuffer 582 kBuffer_GeometrySrcType //<! src was set using set*SourceToBuffer
583 }; 583 };
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
853 virtual bool setupClip(GrPipelineBuilder*, 853 virtual bool setupClip(GrPipelineBuilder*,
854 GrPipelineBuilder::AutoRestoreFragmentProcessors*, 854 GrPipelineBuilder::AutoRestoreFragmentProcessors*,
855 GrPipelineBuilder::AutoRestoreStencil*, 855 GrPipelineBuilder::AutoRestoreStencil*,
856 GrScissorState* scissorState, 856 GrScissorState* scissorState,
857 const SkRect* devBounds) override; 857 const SkRect* devBounds) override;
858 858
859 typedef GrDrawTarget INHERITED; 859 typedef GrDrawTarget INHERITED;
860 }; 860 };
861 861
862 #endif 862 #endif
OLDNEW
« no previous file with comments | « src/core/SkTypeface.cpp ('k') | src/gpu/GrOvalRenderer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698