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

Side by Side Diff: tests/GrSurfaceTest.cpp

Issue 13814015: Reland of 8525 with fix for case when GrRT outlives GrTexture. (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 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 | Annotate | Revision Log
« src/gpu/GrTexture.cpp ('K') | « src/gpu/gl/GrGLTexture.cpp ('k') | no next file » | 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 /* 2 /*
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 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 // This is a GPU-backend specific test. 9 // This is a GPU-backend specific test.
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 texRT2->unref(); 59 texRT2->unref();
60 tex1->unref(); 60 tex1->unref();
61 externalTexRT->unref(); 61 externalTexRT->unref();
62 } 62 }
63 } 63 }
64 64
65 #include "TestClassDef.h" 65 #include "TestClassDef.h"
66 DEFINE_GPUTESTCLASS("GrSurfaceIsSame", GrSurfaceIsSameTestClass, GrSurfaceIsSame Test) 66 DEFINE_GPUTESTCLASS("GrSurfaceIsSame", GrSurfaceIsSameTestClass, GrSurfaceIsSame Test)
67 67
68 #endif 68 #endif
OLDNEW
« src/gpu/GrTexture.cpp ('K') | « src/gpu/gl/GrGLTexture.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698