Home
last modified time | relevance | path

Searched defs:dContext (Results 1 – 25 of 150) sorted by relevance

123456

/third_party/skia/tests/
DTraceMemoryDumpTest.cpp59 void ValidateMemoryDumps(skiatest::Reporter* reporter, GrDirectContext* dContext, in ValidateMemoryDumps()
80 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
90 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
107 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
127 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
146 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
166 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
DCompressedBackendAllocationTest.cpp40 sk_sp<SkImage> create_image(GrDirectContext* dContext, const GrBackendTexture& backendTex) { in create_image()
113 static void check_readback(GrDirectContext* dContext, sk_sp<SkImage> img, in check_readback()
141 static void test_compressed_color_init(GrDirectContext* dContext, in test_compressed_color_init()
215 static void test_compressed_data_init(GrDirectContext* dContext, in test_compressed_data_init()
280 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
322 auto createWithDataMtd = [format](GrDirectContext* dContext, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
324 GrMipmapped mipMapped) { in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
DVkWrapTests.cpp34 void wrap_tex_test(skiatest::Reporter* reporter, GrDirectContext* dContext) { in wrap_tex_test()
95 void wrap_rt_test(skiatest::Reporter* reporter, GrDirectContext* dContext) { in wrap_rt_test()
140 void wrap_trt_test(skiatest::Reporter* reporter, GrDirectContext* dContext) { in wrap_trt_test()
208 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
DRectangleTextureTest.cpp25 static void test_basic_draw_as_src(skiatest::Reporter* reporter, GrDirectContext* dContext, in test_basic_draw_as_src()
41 static void test_clear(skiatest::Reporter* reporter, GrDirectContext* dContext, in test_clear()
87 GrDirectContext* dContext, in test_copy_to_surface()
120 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS() local
DGrMipMappedTest.cpp44 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
125 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
286 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
339 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
423 sk_sp<GrDirectContext> dContext = GrDirectContext::MakeMock(&mockOptions, ctxOptions); variable
DGrThreadSafeCacheTest.cpp116 TestHelper(GrDirectContext* dContext, in TestHelper()
145 GrDirectContext* dContext() { return fDContext; } in dContext() function in TestHelper
537 if (auto dContext = rContext->asDirectContext(); dContext && !fVertexData->gpuBuffer()) { in findOrCreateVertices() local
578 auto dContext = flushState->gpu()->getContext(); in onPrepare() local
648 bool TestHelper::FillInViewOnGpu(GrDirectContext* dContext, int wh, Stats* stats, in FillInViewOnGpu()
679 if (GrDirectContext* dContext = rContext->asDirectContext()) { in AccessCachedView() local
739 static void test_1(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_1()
772 static void test_2(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_2()
809 static void test_3(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_3()
842 static void test_4(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_4()
[all …]
DBackendAllocationTest.cpp40 void test_wrapping(GrDirectContext* dContext, in test_wrapping()
242 static void check_base_readbacks(GrDirectContext* dContext, in check_base_readbacks()
308 void test_color_init(GrDirectContext* dContext, in test_color_init()
356 static void check_mipmaps(GrDirectContext* dContext, in check_mipmaps()
465 static void test_pixmap_init(GrDirectContext* dContext, in test_pixmap_init()
631 GrRenderable renderable) { in color_type_backend_allocation_test()
658 GrRenderable renderable) { in color_type_backend_allocation_test()
688 GrRenderable renderable) { in color_type_backend_allocation_test()
836 GrRenderable renderable) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
875 GrRenderable renderable) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
[all …]
DDMSAATest.cpp88 auto dContext = ctxInfo.directContext(); variable
119 auto dContext = ctxInfo.directContext(); variable
143 auto dContext = ctxInfo.directContext(); variable
168 auto dContext = ctxInfo.directContext(); variable
DGrFinishedFlushTest.cpp24 static void busy_wait_for_callback(int* count, int expectedValue, GrDirectContext* dContext, in busy_wait_for_callback()
40 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
DWrappedSurfaceCopyOnWriteTest.cpp24 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_ALL_CONTEXTS() local
83 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
134 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
DTextureProxyTest.cpp100 static sk_sp<GrTextureProxy> create_wrapped_backend(GrDirectContext* dContext) { in create_wrapped_backend()
122 static void basic_test(GrDirectContext* dContext, in basic_test()
219 static void invalidation_test(GrDirectContext* dContext, in invalidation_test()
286 static void invalidation_and_instantiation_test(GrDirectContext* dContext, in invalidation_and_instantiation_test()
DVkBackendSurfaceTest.cpp34 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
89 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_VULKAN_CONTEXT() local
DResourceAllocatorTest.cpp69 static sk_sp<GrSurfaceProxy> make_backend(GrDirectContext* dContext, const ProxyParams& p) { in make_backend()
123 static sk_sp<GrSurfaceProxy> make_proxy(GrDirectContext* dContext, const ProxyParams& p) { in make_proxy()
157 static void overlap_test(skiatest::Reporter* reporter, GrDirectContext* dContext, in overlap_test()
179 static void non_overlap_test(skiatest::Reporter* reporter, GrDirectContext* dContext, in non_overlap_test()
205 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
362 GrDirectContext* dContext, in memory_budget_test()
412 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
/third_party/skia/src/gpu/gl/
DGrGLGpuProgramCache.cpp51 sk_sp<GrGLProgram> GrGLGpu::ProgramCache::findOrCreateProgram(GrDirectContext* dContext, in findOrCreateProgram()
72 sk_sp<GrGLProgram> GrGLGpu::ProgramCache::findOrCreateProgram(GrDirectContext* dContext, in findOrCreateProgram()
86 sk_sp<GrGLProgram> GrGLGpu::ProgramCache::findOrCreateProgramImpl(GrDirectContext* dContext, in findOrCreateProgramImpl()
121 bool GrGLGpu::ProgramCache::precompileShader(GrDirectContext* dContext, in precompileShader()
/third_party/skia/fuzz/
DFuzzCreateDDL.cpp124 static SkSurfaceCharacterization make_characterization(Fuzz* fuzz, GrDirectContext* dContext, in make_characterization()
158 static sk_sp<SkDeferredDisplayList> make_ddl(Fuzz* fuzz, GrDirectContext* dContext, in make_ddl()
173 static sk_sp<SkSurface> make_surface(Fuzz* fuzz, GrDirectContext* dContext, const SkImageInfo& ii, in make_surface()
188 static SurfaceAndChar create_surface_and_characterization(Fuzz* fuzz, GrDirectContext* dContext, in create_surface_and_characterization()
213 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_FUZZ() local
/third_party/skia/tools/gpu/
DBackendSurfaceFactory.cpp18 sk_sp<SkSurface> MakeBackendTextureSurface(GrDirectContext* dContext, in MakeBackendTextureSurface()
49 sk_sp<SkSurface> MakeBackendTextureSurface(GrDirectContext* dContext, in MakeBackendTextureSurface()
62 sk_sp<SkSurface> MakeBackendRenderTargetSurface(GrDirectContext* dContext, in MakeBackendRenderTargetSurface()
95 sk_sp<SkSurface> MakeBackendRenderTargetSurface(GrDirectContext* dContext, in MakeBackendRenderTargetSurface()
DManagedBackendTexture.h100 inline sk_sp<ManagedBackendTexture> ManagedBackendTexture::MakeWithData(GrDirectContext* dContext, in MakeWithData()
115 GrDirectContext* dContext, in MakeWithoutData()
DBackendTextureImageFactory.cpp18 sk_sp<SkImage> MakeBackendTextureImage(GrDirectContext* dContext, in MakeBackendTextureImage()
40 sk_sp<SkImage> MakeBackendTextureImage(GrDirectContext* dContext, in MakeBackendTextureImage()
DManagedBackendTexture.cpp62 sk_sp<ManagedBackendTexture> ManagedBackendTexture::MakeFromInfo(GrDirectContext* dContext, in MakeFromInfo()
71 sk_sp<ManagedBackendTexture> ManagedBackendTexture::MakeFromBitmap(GrDirectContext* dContext, in MakeFromBitmap()
84 sk_sp<ManagedBackendTexture> ManagedBackendTexture::MakeFromPixmap(GrDirectContext* dContext, in MakeFromPixmap()
/third_party/skia/src/gpu/
DGrAHardwareBufferUtils.cpp63 GrBackendFormat GetBackendFormat(GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, in GetBackendFormat()
181 void GLTextureHelper::rebind(GrDirectContext* dContext) { in rebind()
202 void update_gl_texture(void* context, GrDirectContext* dContext) { in update_gl_texture()
208 GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, in make_gl_backend_texture()
297 void update_vk_image(void* context, GrDirectContext* dContext) { in update_vk_image()
302 GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, in make_vk_backend_texture()
521 static bool can_import_protected_content(GrDirectContext* dContext) { in can_import_protected_content()
535 GrBackendTexture MakeBackendTexture(GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, in MakeBackendTexture()
/third_party/skia/docs/examples/
DImage_makeTextureImage.cpp7 auto dContext = GrAsDirectContext(canvas->recordingContext()); in draw() local
14 const char* label) -> void { in draw()
/third_party/skia/src/image/
DSkImage.cpp60 bool SkImage::readPixels(GrDirectContext* dContext, const SkImageInfo& dstInfo, void* dstPixels, in readPixels()
68 auto dContext = as_IB(this)->directContext(); in readPixels() local
114 auto dContext = as_IB(this)->directContext(); in scalePixels() local
153 auto dContext = as_IB(this)->directContext(); in encodeToData() local
226 GrSemaphoresSubmitted SkImage::flush(GrDirectContext* dContext, in flush()
274 auto dContext = as_IB(this)->directContext(); in onAsyncRescaleAndReadPixels() local
455 bool SkImage::readPixels(GrDirectContext* dContext, const SkPixmap& pmap, int srcX, int srcY, in readPixels()
463 auto dContext = as_IB(this)->directContext(); in readPixels() local
480 auto dContext = as_IB(this)->directContext(); in asLegacyBitmap() local
484 bool SkImage_Base::onAsLegacyBitmap(GrDirectContext* dContext, SkBitmap* bitmap) const { in onAsLegacyBitmap()
[all …]
/third_party/skia/gm/
Dflippity.cpp83 static sk_sp<SkImage> make_text_image(GrDirectContext* dContext, const char* text, SkColor color) { in make_text_image()
113 static sk_sp<SkImage> make_reference_image(GrDirectContext* dContext, in make_reference_image()
231 void makeLabels(GrDirectContext* dContext) { in makeLabels()
251 DrawResult onGpuSetup(GrDirectContext* dContext, SkString* errorMsg) override { in onGpuSetup()
Dycbcrimage.cpp45 DrawResult createYCbCrImage(GrDirectContext* dContext, SkString* errorMsg) { in createYCbCrImage()
72 DrawResult onGpuSetup(GrDirectContext* dContext, SkString* errorMsg) override { in onGpuSetup()
Dimage_pict.cpp210 static std::unique_ptr<SkImageGenerator> make_tex_generator(GrDirectContext* dContext, in make_tex_generator()
251 bool makeCaches(GrDirectContext* dContext) { in makeCaches()
292 static void draw_as_bitmap(GrDirectContext* dContext, SkCanvas* canvas, SkImage* image, in draw_as_bitmap()
322 void drawRow(GrDirectContext* dContext, SkCanvas* canvas, float scale) const { in drawRow()
339 auto dContext = GrAsDirectContext(canvas->recordingContext()); in onDraw() local

123456