aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2015-05-19 09:29:46 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2015-05-19 09:29:46 -0700
commit4b91f768b348aa1cebeb54f3ff9331938734c242 (patch)
tree48bab710cb6a14979551fd7bdea5244a65c37393 /tests
parentb8c241ad099f3f0c2cbf3e7c10f5f6207175d490 (diff)
rename GrDrawTargetCaps to GrCaps
Diffstat (limited to 'tests')
-rw-r--r--tests/GLProgramsTest.cpp6
-rw-r--r--tests/GrDrawTargetTest.cpp4
2 files changed, 5 insertions, 5 deletions
diff --git a/tests/GLProgramsTest.cpp b/tests/GLProgramsTest.cpp
index 7f1f4ec946..90aac8b86d 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(
diff --git a/tests/GrDrawTargetTest.cpp b/tests/GrDrawTargetTest.cpp
index c032d88bd0..194a901277 100644
--- a/tests/GrDrawTargetTest.cpp
+++ b/tests/GrDrawTargetTest.cpp
@@ -6,15 +6,15 @@
* found in the LICENSE file.
*/
+#include "Test.h"
#if SK_SUPPORT_GPU
#include "GrContext.h"
#include "GrContextFactory.h"
#include "GrDrawTargetCaps.h"
#include "GrGpu.h"
-#include "Test.h"
-static void test_print(skiatest::Reporter*, const GrDrawTargetCaps* caps) {
+static void test_print(skiatest::Reporter*, const GrCaps* caps) {
// This used to assert.
SkString result = caps->dump();
SkASSERT(!result.isEmpty());