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

Side by Side Diff: src/gpu/GrInOrderDrawBuffer.cpp

Issue 12965018: Move nested class GrDrawTarget::Caps out as GrDrawTargetCaps. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #include "GrInOrderDrawBuffer.h" 10 #include "GrInOrderDrawBuffer.h"
11 #include "GrBufferAllocPool.h" 11 #include "GrBufferAllocPool.h"
12 #include "GrDrawTargetCaps.h"
12 #include "GrGpu.h" 13 #include "GrGpu.h"
13 #include "GrIndexBuffer.h" 14 #include "GrIndexBuffer.h"
14 #include "GrPath.h" 15 #include "GrPath.h"
15 #include "GrRenderTarget.h" 16 #include "GrRenderTarget.h"
16 #include "GrTemplates.h" 17 #include "GrTemplates.h"
17 #include "GrTexture.h" 18 #include "GrTexture.h"
18 #include "GrVertexBuffer.h" 19 #include "GrVertexBuffer.h"
19 20
20 GrInOrderDrawBuffer::GrInOrderDrawBuffer(GrGpu* gpu, 21 GrInOrderDrawBuffer::GrInOrderDrawBuffer(GrGpu* gpu,
21 GrVertexBufferAllocPool* vertexPool, 22 GrVertexBufferAllocPool* vertexPool,
(...skipping 736 matching lines...) Expand 10 before | Expand all | Expand 10 after
758 GrInOrderDrawBuffer::Clear* GrInOrderDrawBuffer::recordClear() { 759 GrInOrderDrawBuffer::Clear* GrInOrderDrawBuffer::recordClear() {
759 fCmds.push_back(kClear_Cmd); 760 fCmds.push_back(kClear_Cmd);
760 return &fClears.push_back(); 761 return &fClears.push_back();
761 } 762 }
762 763
763 void GrInOrderDrawBuffer::clipWillBeSet(const GrClipData* newClipData) { 764 void GrInOrderDrawBuffer::clipWillBeSet(const GrClipData* newClipData) {
764 INHERITED::clipWillBeSet(newClipData); 765 INHERITED::clipWillBeSet(newClipData);
765 fClipSet = true; 766 fClipSet = true;
766 fClipProxyState = kUnknown_ClipProxyState; 767 fClipProxyState = kUnknown_ClipProxyState;
767 } 768 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698