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

Side by Side Diff: src/gpu/gl/GrGLIndexBuffer.h

Issue 22850006: Replace uses of GrAssert by SkASSERT. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 7 years, 4 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
« no previous file with comments | « src/gpu/gl/GrGLIRect.h ('k') | src/gpu/gl/GrGLPath.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 2011 Google Inc. 2 * Copyright 2011 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 GrGLIndexBuffer_DEFINED 8 #ifndef GrGLIndexBuffer_DEFINED
9 #define GrGLIndexBuffer_DEFINED 9 #define GrGLIndexBuffer_DEFINED
10 10
(...skipping 27 matching lines...) Expand all
38 virtual bool isLocked() const; 38 virtual bool isLocked() const;
39 virtual bool updateData(const void* src, size_t srcSizeInBytes); 39 virtual bool updateData(const void* src, size_t srcSizeInBytes);
40 40
41 protected: 41 protected:
42 // overrides of GrResource 42 // overrides of GrResource
43 virtual void onAbandon() SK_OVERRIDE; 43 virtual void onAbandon() SK_OVERRIDE;
44 virtual void onRelease() SK_OVERRIDE; 44 virtual void onRelease() SK_OVERRIDE;
45 45
46 private: 46 private:
47 GrGpuGL* getGpuGL() const { 47 GrGpuGL* getGpuGL() const {
48 GrAssert(this->isValid()); 48 SkASSERT(this->isValid());
49 return (GrGpuGL*)(this->getGpu()); 49 return (GrGpuGL*)(this->getGpu());
50 } 50 }
51 51
52 GrGLBufferImpl fImpl; 52 GrGLBufferImpl fImpl;
53 53
54 typedef GrIndexBuffer INHERITED; 54 typedef GrIndexBuffer INHERITED;
55 }; 55 };
56 56
57 #endif 57 #endif
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLIRect.h ('k') | src/gpu/gl/GrGLPath.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698