Home | History | Annotate | Download | only in gpu

Lines Matching defs:GrContext

8 #include "GrContext.h"
54 GrContext* GrContext::Create(GrBackend backend, GrBackendContext backendContext) {
59 GrContext* GrContext::Create(GrBackend backend, GrBackendContext backendContext,
61 sk_sp<GrContext> context(new GrContext);
70 sk_sp<GrContext> GrContext::MakeMetal(void* device, void* queue, const GrContextOptions& options) {
71 sk_sp<GrContext> context(new GrContext);
93 GrContext::GrContext() : fUniqueID(next_id()) {
101 bool GrContext::init(GrBackend backend, GrBackendContext backendContext,
115 bool GrContext::init(const GrContextOptions& options) {
136 GrContext::~GrContext() {
160 sk_sp<GrContextThreadSafeProxy> GrContext::threadSafeProxy() {
167 void GrContext::abandonContext() {
186 void GrContext::releaseResourcesAndAbandonContext() {
204 void GrContext::resetContext(uint32_t state) {
209 void GrContext::freeGpuResources() {
221 void GrContext::purgeResourcesNotUsedInMs(std::chrono::milliseconds ms) {
226 void GrContext::purgeUnlockedResources(size_t bytesToPurge, bool preferScratchResources) {
231 void GrContext::getResourceCacheUsage(int* resourceCount, size_t* resourceBytes) const {
242 size_t GrContext::getResourceCachePurgeableBytes() const {
249 void GrContext::TextBlobCacheOverBudgetCB(void* data) {
253 // to below the GrContext level, but this is not trivial because they call drawPath on
255 GrContext* context = reinterpret_cast<GrContext*>(data);
261 void GrContext::flush() {
624 int GrContext::getRecommendedSampleCount(GrPixelConfig config,
784 sk_sp<GrRenderTargetContext> GrContext::makeDeferredRenderTargetContextWithFallback(
801 sk_sp<GrRenderTargetContext> GrContext::makeDeferredRenderTargetContext(
843 bool GrContext::abandoned() const {
848 sk_sp<GrFragmentProcessor> GrContext::createPMToUPMEffect(sk_sp<GrFragmentProcessor> fp,
867 sk_sp<GrFragmentProcessor> GrContext::createUPMToPMEffect(sk_sp<GrFragmentProcessor> fp,
886 bool GrContext::validPMUPMConversionExists() {
899 void GrContext::getResourceCacheLimits(int* maxTextures, size_t* maxTextureBytes) const {
909 void GrContext::setResourceCacheLimits(int maxTextures, size_t maxTextureBytes) {
916 void GrContext::dumpMemoryStatistics(SkTraceMemoryDump* traceMemoryDump) const {