Home
last modified time | relevance | path

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

1234567

/external/skia/tests/
DTraceMemoryDumpTest.cpp72 void ValidateMemoryDumps(skiatest::Reporter* reporter, GrDirectContext* dContext, in ValidateMemoryDumps()
95 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() local
108 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() local
131 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() local
158 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() local
185 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() local
212 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() local
DCompressedBackendAllocationTest.cpp70 sk_sp<SkImage> create_image(GrDirectContext* dContext, const GrBackendTexture& backendTex) { in create_image()
146 static void check_readback(GrDirectContext* dContext, sk_sp<SkImage> img, in check_readback()
174 static void test_compressed_color_init(GrDirectContext* dContext, in test_compressed_color_init()
248 static void test_compressed_data_init(GrDirectContext* dContext, in test_compressed_data_init()
316 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
358 auto createWithDataMtd = [format](GrDirectContext* dContext, in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
360 GrMipmapped mipmapped) { in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
DVkWrapTests.cpp44 void wrap_tex_test(skiatest::Reporter* reporter, GrDirectContext* dContext) { in wrap_tex_test()
105 void wrap_rt_test(skiatest::Reporter* reporter, GrDirectContext* dContext) { in wrap_rt_test()
150 void wrap_trt_test(skiatest::Reporter* reporter, GrDirectContext* dContext) { in wrap_trt_test()
218 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_VULKAN_CONTEXT() local
DBackendAllocationTest.cpp93 void test_wrapping(GrDirectContext* dContext, in test_wrapping()
303 static void check_base_readbacks(GrDirectContext* dContext, in check_base_readbacks()
370 void test_color_init(GrDirectContext* dContext, in test_color_init()
418 static void check_mipmaps(GrDirectContext* dContext, in check_mipmaps()
496 void test_pixmap_init(GrDirectContext* dContext, in test_pixmap_init()
673 GrRenderable renderable) { in color_type_backend_allocation_test()
700 GrRenderable renderable) { in color_type_backend_allocation_test()
730 GrRenderable renderable) { in color_type_backend_allocation_test()
882 GrRenderable renderable) { in DEF_GANESH_TEST_FOR_ALL_GL_CONTEXTS()
921 GrRenderable renderable) { in DEF_GANESH_TEST_FOR_ALL_GL_CONTEXTS()
[all …]
DGrMipMappedTest.cpp93 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
177 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
340 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
396 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
482 sk_sp<GrDirectContext> dContext = GrDirectContext::MakeMock(&mockOptions, ctxOptions); variable
DRectangleTextureTest.cpp61 static void test_basic_draw_as_src(skiatest::Reporter* reporter, GrDirectContext* dContext, in test_basic_draw_as_src()
77 static void test_clear(skiatest::Reporter* reporter, GrDirectContext* dContext, in test_clear()
123 GrDirectContext* dContext, in test_copy_to_surface()
158 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_GL_RENDERING_CONTEXTS() local
DGrFinishedFlushTest.cpp41 static void busy_wait_for_callback(int* count, int expectedValue, GrDirectContext* dContext, in busy_wait_for_callback()
60 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
181 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
DGrThreadSafeCacheTest.cpp172 TestHelper(GrDirectContext* dContext, in TestHelper()
200 GrDirectContext* dContext() { return fDContext; } in dContext() function in TestHelper
590 if (auto dContext = rContext->asDirectContext(); dContext && !fVertexData->gpuBuffer()) { in findOrCreateVertices() local
631 auto dContext = flushState->gpu()->getContext(); in onPrepare() local
699 bool TestHelper::FillInViewOnGpu(GrDirectContext* dContext, int wh, Stats* stats, in FillInViewOnGpu()
730 if (GrDirectContext* dContext = rContext->asDirectContext()) { in AccessCachedView() local
790 static void test_1(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_1()
829 static void test_2(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_2()
872 static void test_3(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_3()
911 static void test_4(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_4()
[all …]
DDMSAATest.cpp123 auto dContext = ctxInfo.directContext(); variable
158 auto dContext = ctxInfo.directContext(); variable
185 auto dContext = ctxInfo.directContext(); variable
213 auto dContext = ctxInfo.directContext(); variable
DTextureProxyTest.cpp132 static sk_sp<GrTextureProxy> create_wrapped_backend(GrDirectContext* dContext) { in create_wrapped_backend()
154 static void basic_test(GrDirectContext* dContext, in basic_test()
251 static void invalidation_test(GrDirectContext* dContext, in invalidation_test()
307 static void invalidation_and_instantiation_test(GrDirectContext* dContext, in invalidation_and_instantiation_test()
DWrappedSurfaceCopyOnWriteTest.cpp55 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_ALL_CONTEXTS() local
117 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
169 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
DResourceAllocatorTest.cpp96 static sk_sp<GrSurfaceProxy> make_backend(GrDirectContext* dContext, const ProxyParams& p) { in make_backend()
158 static sk_sp<GrSurfaceProxy> make_proxy(GrDirectContext* dContext, const ProxyParams& p) { in make_proxy()
192 static void overlap_test(skiatest::Reporter* reporter, GrDirectContext* dContext, in overlap_test()
214 static void non_overlap_test(skiatest::Reporter* reporter, GrDirectContext* dContext, in non_overlap_test()
243 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
404 GrDirectContext* dContext, in memory_budget_test()
457 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
DImageTest.cpp209 static void test_encode(skiatest::Reporter* reporter, GrDirectContext* dContext, SkImage* image) { in test_encode()
238 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
432 auto dContext = contextInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
523 auto dContext = contextInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
553 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
587 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
722 static void image_test_read_pixels(GrDirectContext* dContext, skiatest::Reporter* reporter, in image_test_read_pixels()
793 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
797 static void check_legacy_bitmap(skiatest::Reporter* reporter, GrDirectContext* dContext, in check_legacy_bitmap()
814 static void test_legacy_bitmap(skiatest::Reporter* reporter, GrDirectContext* dContext, in test_legacy_bitmap()
[all …]
/external/skia/src/gpu/ganesh/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()
/external/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
/external/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.h102 inline sk_sp<ManagedBackendTexture> ManagedBackendTexture::MakeWithData(GrDirectContext* dContext, in MakeWithData()
117 GrDirectContext* dContext, in MakeWithoutData()
DBackendTextureImageFactory.cpp19 sk_sp<SkImage> MakeBackendTextureImage(GrDirectContext* dContext, in MakeBackendTextureImage()
41 sk_sp<SkImage> MakeBackendTextureImage(GrDirectContext* dContext, in MakeBackendTextureImage()
DManagedBackendTexture.cpp63 sk_sp<ManagedBackendTexture> ManagedBackendTexture::MakeFromInfo(GrDirectContext* dContext, in MakeFromInfo()
77 sk_sp<ManagedBackendTexture> ManagedBackendTexture::MakeFromBitmap(GrDirectContext* dContext, in MakeFromBitmap()
90 sk_sp<ManagedBackendTexture> ManagedBackendTexture::MakeFromPixmap(GrDirectContext* dContext, in MakeFromPixmap()
/external/skia/src/gpu/ganesh/
DGrAHardwareBufferUtils.cpp72 GrBackendFormat GetBackendFormat(GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, in GetBackendFormat()
203 void GLTextureHelper::rebind(GrDirectContext* dContext) { in rebind()
224 void update_gl_texture(void* context, GrDirectContext* dContext) { in update_gl_texture()
230 GrDirectContext* dContext, in make_gl_backend_texture()
321 void update_vk_image(void* context, GrDirectContext* dContext) { in update_vk_image()
326 GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, in make_vk_backend_texture()
551 static bool can_import_protected_content(GrDirectContext* dContext) { in can_import_protected_content()
567 GrBackendTexture MakeBackendTexture(GrDirectContext* dContext, in MakeBackendTexture()
/external/skia/docs/examples/
DImage_makeTextureImage.cpp7 auto dContext = GrAsDirectContext(canvas->recordingContext()); in draw() local
14 const char* label) -> void { in draw()
/external/skia/tools/
DDDLTileHelper.cpp134 void DDLTileHelper::TileData::drawSKPDirectly(GrDirectContext* dContext, in drawSKPDirectly()
209 void DDLTileHelper::TileData::DeleteBackendTexture(GrDirectContext* dContext, TileData* tile) { in DeleteBackendTexture()
301 GrDirectContext* dContext, in kickOffThreadedWork()
329 void DDLTileHelper::interleaveDDLCreationAndDraw(GrDirectContext* dContext, SkPicture* picture) { in interleaveDDLCreationAndDraw()
337 void DDLTileHelper::drawAllTilesDirectly(GrDirectContext* dContext, SkPicture* picture) { in drawAllTilesDirectly()
/external/skia/src/image/
DSkImage.cpp90 bool SkImage::readPixels(GrDirectContext* dContext, const SkImageInfo& dstInfo, void* dstPixels, in readPixels()
98 auto dContext = as_IB(this)->directContext(); in readPixels() local
144 auto dContext = as_IB(this)->directContext(); in scalePixels() local
230 auto dContext = as_IB(this)->directContext(); in encodeToData() local
307 GrSemaphoresSubmitted SkImage::flush(GrDirectContext* dContext, in flush()
355 auto dContext = as_IB(this)->directContext(); in onAsyncRescaleAndReadPixels() local
623 bool SkImage::readPixels(GrDirectContext* dContext, const SkPixmap& pmap, int srcX, int srcY, in readPixels()
631 auto dContext = as_IB(this)->directContext(); in readPixels() local
648 auto dContext = as_IB(this)->directContext(); in asLegacyBitmap() local
652 bool SkImage_Base::onAsLegacyBitmap(GrDirectContext* dContext, SkBitmap* bitmap) const { in onAsLegacyBitmap()
[all …]
/external/skia/gm/
Dimage_pict.cpp238 auto dContext = GrAsDirectContext(canvas->recordingContext()); in make_tex_generator() local
279 auto dContext = GrAsDirectContext(canvas->recordingContext()); in makeCaches() local
331 static void draw_as_bitmap(GrDirectContext* dContext, SkCanvas* canvas, SkImage* image, in draw_as_bitmap()
365 void drawRow(GrDirectContext* dContext, SkCanvas* canvas, float scale) const { in drawRow()
382 auto dContext = GrAsDirectContext(canvas->recordingContext()); in onDraw() local
Dycbcrimage.cpp46 DrawResult createYCbCrImage(GrDirectContext* dContext, SkString* errorMsg) { in createYCbCrImage()
74 GrDirectContext* dContext = GrAsDirectContext(canvas->recordingContext()); in onGpuSetup() local

1234567