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

Unified Diff: tests/GLProgramsTest.cpp

Issue 1133123009: rename GrDrawTargetCaps to GrCaps (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix gypi filename Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/gl/GrGLGpu.cpp ('k') | tests/GrDrawTargetTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/GLProgramsTest.cpp
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index 7f1f4ec946acd4a62a796e842a1277d7bce22f24..90aac8b86df448b6b0c345db8c4d3e2b6422ae48 100644
--- a/tests/GLProgramsTest.cpp
+++ b/tests/GLProgramsTest.cpp
@@ -94,7 +94,7 @@ GR_DEFINE_FRAGMENT_PROCESSOR_TEST(BigKeyProcessor);
GrFragmentProcessor* BigKeyProcessor::TestCreate(SkRandom*,
GrContext*,
- const GrDrawTargetCaps&,
+ const GrCaps&,
GrTexture*[]) {
return BigKeyProcessor::Create();
}
@@ -106,7 +106,7 @@ static const int kRenderTargetHeight = 1;
static const int kRenderTargetWidth = 1;
static GrRenderTarget* random_render_target(GrContext* context, SkRandom* random,
- const GrDrawTargetCaps* caps) {
+ const GrCaps* caps) {
// setup render target
GrTextureParams params;
GrSurfaceDesc texDesc;
@@ -135,7 +135,7 @@ static GrRenderTarget* random_render_target(GrContext* context, SkRandom* random
return texture ? texture->asRenderTarget() : NULL;
}
-static void set_random_xpf(GrContext* context, const GrDrawTargetCaps& caps,
+static void set_random_xpf(GrContext* context, const GrCaps& caps,
GrPipelineBuilder* pipelineBuilder, SkRandom* random,
GrTexture* dummyTextures[]) {
SkAutoTUnref<const GrXPFactory> xpf(
« no previous file with comments | « src/gpu/gl/GrGLGpu.cpp ('k') | tests/GrDrawTargetTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698