/third_party/skia/tests/ |
D | Test.h | 70 typedef void (*TestProc)(skiatest::Reporter*, const GrContextOptions&); 71 typedef void (*ContextOptionsProc)(GrContextOptions*); 90 void modifyGrContextOptions(GrContextOptions* options) { in modifyGrContextOptions() 96 void run(skiatest::Reporter* r, const GrContextOptions& options) const { in run() 136 const GrContextOptions&); 196 static void test_##name(skiatest::Reporter*, const GrContextOptions&); \ 199 void test_##name(skiatest::Reporter* reporter, const GrContextOptions&) 202 static void test_##name(skiatest::Reporter*, const GrContextOptions&); \ 205 void test_##name(skiatest::Reporter* reporter, const GrContextOptions&) { \ 208 void disabled_##name(skiatest::Reporter* reporter, const GrContextOptions&) [all …]
|
D | GrContextOOM.cpp | 17 GrContextOptions options = originalOptions; in DEF_GPUTEST() 19 options.fSkipGLErrorChecks = GrContextOptions::Enable::kNo; in DEF_GPUTEST()
|
/third_party/skia/gm/ |
D | fontcache.cpp | 38 FontCacheGM(GrContextOptions::Enable allowMultipleTextures) in FontCacheGM() 43 void modifyGrContextOptions(GrContextOptions* options) override { in modifyGrContextOptions() 51 if (GrContextOptions::Enable::kYes == fAllowMultipleTextures) { in onShortName() 99 if (GrContextOptions::Enable::kYes == fAllowMultipleTextures) { in drawText() 129 GrContextOptions::Enable fAllowMultipleTextures; 136 DEF_GM(return new FontCacheGM(GrContextOptions::Enable::kNo)) 137 DEF_GM(return new FontCacheGM(GrContextOptions::Enable::kYes))
|
/third_party/skia/tools/gpu/ |
D | GrContextFactory.h | 124 explicit GrContextFactory(const GrContextOptions& opts); 149 const GrContextOptions& getGlobalOptions() const { return fGlobalOptions; } in getGlobalOptions() 158 GrContextOptions fOptions; 169 const GrContextOptions fGlobalOptions; 191 const GrContextOptions& options() const { return fOptions; } in options() 197 const GrContextOptions& options) in ContextInfo() 204 GrContextOptions fOptions;
|
D | TestContext.h | 20 struct GrContextOptions; 65 virtual sk_sp<GrDirectContext> makeContext(const GrContextOptions&);
|
/third_party/skia/include/gpu/ |
D | GrDirectContext.h | 58 static sk_sp<GrDirectContext> MakeGL(sk_sp<const GrGLInterface>, const GrContextOptions&); 60 static sk_sp<GrDirectContext> MakeGL(const GrContextOptions&); 72 static sk_sp<GrDirectContext> MakeVulkan(const GrVkBackendContext&, const GrContextOptions&); 84 static sk_sp<GrDirectContext> MakeMetal(const GrMtlBackendContext&, const GrContextOptions&); 94 static sk_sp<GrDirectContext> MakeMetal(void* device, void* queue, const GrContextOptions&); 103 static sk_sp<GrDirectContext> MakeDirect3D(const GrD3DBackendContext&, const GrContextOptions&); 109 const GrContextOptions&); 113 static sk_sp<GrDirectContext> MakeMock(const GrMockOptions*, const GrContextOptions&); 881 GrDirectContext(GrBackendApi backend, const GrContextOptions& options); 919 GrContextOptions::PersistentCache* fPersistentCache;
|
D | GrContextOptions.h | 23 struct SK_API GrContextOptions { struct 90 GrContextOptions() {} in GrContextOptions() argument 361 struct GrContextOptions { struct
|
D | GrContextThreadSafeProxy.h | 135 GrContextThreadSafeProxy(GrBackendApi, const GrContextOptions&); 146 const GrContextOptions fOptions;
|
/third_party/skia/src/gpu/ |
D | GrDirectContext.cpp | 81 GrDirectContext::GrDirectContext(GrBackendApi backend, const GrContextOptions& options) in GrDirectContext() 255 if (GrContextOptions::Enable::kNo == this->options().fAllowMultipleGlyphCacheTextures || in init() 1061 GrContextOptions defaultOptions; in MakeGL() 1065 sk_sp<GrDirectContext> GrDirectContext::MakeGL(const GrContextOptions& options) { in MakeGL() 1070 GrContextOptions defaultOptions; in MakeGL() 1104 const GrContextOptions& options) { in MakeGL() 1128 GrContextOptions defaultOptions; in MakeMock() 1133 const GrContextOptions& options) { in MakeMock() 1147 GrContextOptions defaultOptions; in MakeVulkan() 1152 const GrContextOptions& options) { in MakeVulkan() [all …]
|
D | GrContext_Base.cpp | 31 const GrContextOptions& GrContext_Base::options() const { in options() 59 GrContextOptions::ShaderErrorHandler* GrBaseContextPriv::getShaderErrorHandler() const { in getShaderErrorHandler() 60 const GrContextOptions& options(this->options()); in getShaderErrorHandler()
|
D | GrCaps.h | 26 struct GrContextOptions; 39 GrCaps(const GrContextOptions&); 524 void finishInitialization(const GrContextOptions& options); 608 void applyOptionsOverrides(const GrContextOptions& options); 610 virtual void onApplyOptionsOverrides(const GrContextOptions&) {} in onApplyOptionsOverrides() argument
|
D | GrBaseContextPriv.h | 25 const GrContextOptions& options() const { return this->context()->options(); } in options() 34 GrContextOptions::ShaderErrorHandler* getShaderErrorHandler() const;
|
D | GrContextThreadSafeProxyPriv.h | 31 const GrContextOptions& options() const { return fProxy->fOptions; } in options() 47 static sk_sp<GrContextThreadSafeProxy> Make(GrBackendApi, const GrContextOptions&);
|
D | GrCaps.cpp | 19 GrCaps::GrCaps(const GrContextOptions& options) { in GrCaps() 94 void GrCaps::finishInitialization(const GrContextOptions& options) { in finishInitialization() 108 void GrCaps::applyOptionsOverrides(const GrContextOptions& options) { in applyOptionsOverrides() 124 if (GrContextOptions::Enable::kNo == options.fUseDrawInsteadOfClear) { in applyOptionsOverrides() 127 } else if (GrContextOptions::Enable::kYes == options.fUseDrawInsteadOfClear) { in applyOptionsOverrides()
|
/third_party/skia/src/gpu/gl/ |
D | GrGLContext.h | 18 struct GrContextOptions; 69 const GrContextOptions* fContextOptions; 89 static std::unique_ptr<GrGLContext> Make(sk_sp<const GrGLInterface>, const GrContextOptions&);
|
D | GrGLCaps.h | 118 GrGLCaps(const GrContextOptions& contextOptions, const GrGLContextInfo& ctxInfo, 500 void init(const GrContextOptions&, const GrGLContextInfo&, const GrGLInterface*); 517 void applyDriverCorrectnessWorkarounds(const GrGLContextInfo&, const GrContextOptions&, 521 void onApplyOptionsOverrides(const GrContextOptions& options) override; 525 void initFSAASupport(const GrContextOptions& contextOptions, const GrGLContextInfo&,
|
/third_party/skia/tools/flags/ |
D | CommonFlagsGpu.cpp | 98 void SetCtxOptions(GrContextOptions* ctxOptions) { in SetCtxOptions() 121 ctxOptions->fReduceOpsTaskSplitting = GrContextOptions::Enable::kNo; in SetCtxOptions() 123 ctxOptions->fReduceOpsTaskSplitting = GrContextOptions::Enable::kYes; in SetCtxOptions()
|
/third_party/skia/dm/ |
D | DMSrcSink.h | 92 virtual void modifyGrContextOptions(GrContextOptions* options) const {} in modifyGrContextOptions() 140 void modifyGrContextOptions(GrContextOptions* options) const override; 387 GPUSink(const SkCommandLineConfigGpu*, const GrContextOptions&); 391 const GrContextOptions& baseOptions, 406 const GrContextOptions& baseContextOptions() const { return fBaseContextOptions; } in baseContextOptions() 425 GrContextOptions fBaseContextOptions; 431 GPUThreadTestingSink(const SkCommandLineConfigGpu*, const GrContextOptions&); 448 GPUPersistentCacheTestingSink(const SkCommandLineConfigGpu*, const GrContextOptions&); 465 GPUPrecompileTestingSink(const SkCommandLineConfigGpu*, const GrContextOptions&); 483 GPUOOPRSink(const SkCommandLineConfigGpu*, const GrContextOptions&); [all …]
|
/third_party/skia/src/gpu/mtl/ |
D | GrMtlTrampoline.h | 16 struct GrContextOptions; 25 static sk_sp<GrGpu> MakeGpu(const GrMtlBackendContext&, const GrContextOptions&,
|
D | GrMtlUtil.h | 77 GrContextOptions::ShaderErrorHandler* errorHandler); 84 GrContextOptions::ShaderErrorHandler* errorHandler);
|
/third_party/skia/src/gpu/gl/builders/ |
D | GrGLShaderStringBuilder.h | 22 GrContextOptions::ShaderErrorHandler* errorHandler); 29 GrContextOptions::ShaderErrorHandler* errorHandler);
|
/third_party/skia/tools/skottie_ios_app/ |
D | GrContextHolder.mm | 10 #include "include/gpu/GrContextOptions.h" 16 return GrContextHolder(GrDirectContext::MakeGL(nullptr, GrContextOptions()).release());
|
D | SkMetalViewBridge.mm | 8 #include "include/gpu/GrContextOptions.h" 33 GrContextOptions grContextOptions; // set different options here.
|
/third_party/skia/bench/ |
D | Benchmark.h | 30 struct GrContextOptions; 58 virtual void modifyGrContextOptions(GrContextOptions*) {} in modifyGrContextOptions() argument
|
/third_party/skia/tools/fm/ |
D | fm.cpp | 143 std::function<void(GrContextOptions*)> tweak = [](GrContextOptions*){}; in __anon9367ad400202() 148 source->tweak = [gm](GrContextOptions* options) { gm->modifyGrContextOptions(options); }; in init() 249 test.run(&reporter, GrContextOptions{}); in init() 398 GrContextOptions baseOptions; in main() 405 baseOptions.fShaderCacheStrategy = GrContextOptions::ShaderCacheStrategy::kBackendSource; in main() 595 GrContextOptions options = baseOptions; in main()
|