77505da160
Change-Id: I4d2e1aa54732ff75b44a197255035c0e04548219 Reviewed-on: https://skia-review.googlesource.com/7327 Commit-Queue: Robert Phillips <robertphillips@google.com> Reviewed-by: Brian Salomon <bsalomon@google.com>
22 lines
440 B
C++
22 lines
440 B
C++
/*
|
|
* Copyright 2013 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef GrTest_DEFINED
|
|
#define GrTest_DEFINED
|
|
|
|
#include "GrContext.h"
|
|
|
|
namespace GrTest {
|
|
/**
|
|
* Forces the GrContext to use a small atlas which only has room for one plot and will thus
|
|
* constantly be evicting entries
|
|
*/
|
|
void SetupAlwaysEvictAtlas(GrContext*);
|
|
};
|
|
|
|
#endif
|