Home
last modified time | relevance | path

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

1234567

/external/skia/tools/viewer/
DProtectedSlide.cpp49 sk_sp<SkSurface> wrap_buffer(GrDirectContext* dContext, in wrap_buffer()
74 sk_sp<SkSurface> create_protected_render_target(GrDirectContext* dContext, in create_protected_render_target()
133 sk_sp<SkImage> create_protected_AHB_image(GrDirectContext* dContext, in create_protected_AHB_image()
149 sk_sp<SkImage> create_protected_skia_image(GrDirectContext* dContext, in create_protected_skia_image()
178 GrDirectContext* dContext = GrAsDirectContext(origCanvas->recordingContext()); in draw() local
/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_CONTEXT() local
108 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_GL_CONTEXT() local
132 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_GL_CONTEXT() local
160 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_GL_CONTEXT() local
188 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_GL_CONTEXT() local
216 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_GL_CONTEXT() local
DCompressedBackendAllocationTest.cpp77 sk_sp<SkImage> create_image(GrDirectContext* dContext, const GrBackendTexture& backendTex) { in create_image()
151 static void check_readback(GrDirectContext* dContext, sk_sp<SkImage> img, in check_readback()
180 GrDirectContext* dContext, in test_compressed_color_init()
257 GrDirectContext* dContext, in test_compressed_data_init()
322 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
364 auto createWithDataMtd = [format](GrDirectContext* dContext, in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
367 skgpu::Mipmapped mipmapped) { in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS()
DProtectedTest.cpp27 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_ALL_CONTEXTS() local
116 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_ALL_CONTEXTS() local
138 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_ALL_CONTEXTS() local
204 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_ALL_CONTEXTS() local
DVkWrapTests.cpp45 void wrap_tex_test(skiatest::Reporter* reporter, GrDirectContext* dContext) { in wrap_tex_test()
111 void wrap_rt_test(skiatest::Reporter* reporter, GrDirectContext* dContext) { in wrap_rt_test()
161 void wrap_trt_test(skiatest::Reporter* reporter, GrDirectContext* dContext) { in wrap_trt_test()
234 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_VULKAN_CONTEXT() local
DBackendAllocationTest.cpp98 void test_wrapping(GrDirectContext* dContext, in test_wrapping() argument
302 static void check_base_readbacks(GrDirectContext* dContext, in check_base_readbacks()
370 GrDirectContext* dContext, in test_color_init()
416 static void check_mipmaps(GrDirectContext* dContext, in check_mipmaps()
494 void test_pixmap_init(GrDirectContext* dContext, in test_pixmap_init()
687 GrRenderable renderable) { in color_type_backend_allocation_test()
714 GrRenderable renderable) { in color_type_backend_allocation_test()
744 GrRenderable renderable) { in color_type_backend_allocation_test()
898 GrRenderable renderable) { in DEF_GANESH_TEST_FOR_GL_CONTEXT()
941 GrRenderable renderable) { in DEF_GANESH_TEST_FOR_GL_CONTEXT()
[all …]
DGrMipMappedTest.cpp98 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
186 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
336 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.cpp62 static void test_basic_draw_as_src(skiatest::Reporter* reporter, GrDirectContext* dContext, in test_basic_draw_as_src()
79 GrDirectContext* dContext, in test_clear()
125 GrDirectContext* dContext, in test_copy_to_surface()
156 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_GL_CONTEXT() local
DGrFinishedFlushTest.cpp42 static void busy_wait_for_callback(int* count, int expectedValue, GrDirectContext* dContext, in busy_wait_for_callback()
61 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
176 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
DGrThreadSafeCacheTest.cpp174 TestHelper(GrDirectContext* dContext, in TestHelper()
202 GrDirectContext* dContext() { return fDContext; } in dContext() function in TestHelper
595 if (auto dContext = rContext->asDirectContext(); dContext && !fVertexData->gpuBuffer()) { in findOrCreateVertices() local
636 auto dContext = flushState->gpu()->getContext(); in onPrepare() local
704 bool TestHelper::FillInViewOnGpu(GrDirectContext* dContext, int wh, Stats* stats, in FillInViewOnGpu()
734 if (GrDirectContext* dContext = rContext->asDirectContext()) { in AccessCachedView() local
794 static void test_1(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_1()
833 static void test_2(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_2()
876 static void test_3(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_3()
915 static void test_4(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_4()
[all …]
DDMSAATest.cpp127 auto dContext = ctxInfo.directContext(); variable
166 auto dContext = ctxInfo.directContext(); variable
197 auto dContext = ctxInfo.directContext(); variable
229 auto dContext = ctxInfo.directContext(); variable
DWrappedSurfaceCopyOnWriteTest.cpp58 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_ALL_CONTEXTS() local
124 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
176 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_RENDERING_CONTEXTS() local
/external/skia/src/gpu/ganesh/gl/
DAHardwareBufferGL.cpp33 GrBackendFormat GetGLBackendFormat(GrDirectContext* dContext, in GetGLBackendFormat()
87 void GLTextureHelper::rebind(GrDirectContext* dContext) { in rebind()
108 void update_gl_texture(void* context, GrDirectContext* dContext) { in update_gl_texture()
114 GrDirectContext* dContext, in make_gl_backend_texture()
193 static bool can_import_protected_content(GrDirectContext* dContext) { in can_import_protected_content()
201 GrBackendTexture MakeGLBackendTexture(GrDirectContext* dContext, in MakeGLBackendTexture()
DGrGLGpuProgramCache.cpp56 sk_sp<GrGLProgram> GrGLGpu::ProgramCache::findOrCreateProgram(GrDirectContext* dContext, in findOrCreateProgram()
77 sk_sp<GrGLProgram> GrGLGpu::ProgramCache::findOrCreateProgram(GrDirectContext* dContext, in findOrCreateProgram()
91 sk_sp<GrGLProgram> GrGLGpu::ProgramCache::findOrCreateProgramImpl(GrDirectContext* dContext, in findOrCreateProgramImpl()
126 bool GrGLGpu::ProgramCache::precompileShader(GrDirectContext* dContext, in precompileShader()
/external/skia/fuzz/
DFuzzCreateDDL.cpp126 static GrSurfaceCharacterization make_characterization(Fuzz* fuzz, GrDirectContext* dContext, in make_characterization()
166 static sk_sp<GrDeferredDisplayList> make_ddl(Fuzz* fuzz, GrDirectContext* dContext, in make_ddl()
181 static sk_sp<SkSurface> make_surface(Fuzz* fuzz, GrDirectContext* dContext, const SkImageInfo& ii, in make_surface()
196 static SurfaceAndChar create_surface_and_characterization(Fuzz* fuzz, GrDirectContext* dContext, in create_surface_and_characterization()
221 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_FUZZ() local
/external/skia/src/gpu/ganesh/vk/
DAHardwareBufferVk.cpp35 GrBackendFormat GetVulkanBackendFormat(GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, in GetVulkanBackendFormat()
154 void update_vk_image(void* context, GrDirectContext* dContext) { in update_vk_image()
159 GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, in make_vk_backend_texture()
331 static bool can_import_protected_content(GrDirectContext* dContext) { in can_import_protected_content()
336 GrBackendTexture MakeVulkanBackendTexture(GrDirectContext* dContext, in MakeVulkanBackendTexture()
/external/skia/src/image/
DSkImage.cpp46 bool SkImage::readPixels(GrDirectContext* dContext, const SkImageInfo& dstInfo, void* dstPixels, in readPixels()
78 auto dContext = as_IB(this)->directContext(); in readPixels() local
149 auto dContext = as_IB(this)->directContext(); in scalePixels() local
239 bool SkImage::readPixels(GrDirectContext* dContext, const SkPixmap& pmap, int srcX, int srcY, in readPixels()
247 auto dContext = as_IB(this)->directContext(); in readPixels() local
254 auto dContext = as_IB(this)->directContext(); in asLegacyBitmap() local
286 sk_sp<SkImage> SkImage::makeRasterImage(GrDirectContext* dContext, CachingHint chint) const { in makeRasterImage()
DSkImage_Base.cpp50 auto dContext = as_IB(this)->directContext(); in onAsyncRescaleAndReadPixels() local
62 bool SkImage_Base::onAsLegacyBitmap(GrDirectContext* dContext, SkBitmap* bitmap) const { in onAsLegacyBitmap()
138 sk_sp<SkImage> SkImage_Base::makeColorTypeAndColorSpace(GrDirectContext* dContext, in makeColorTypeAndColorSpace()
/external/skia/docs/examples/
DImage_TextureFromImage.cpp6 auto dContext = GrAsDirectContext(canvas->recordingContext()); in draw() local
13 const char* label) -> void { in draw()
/external/skia/tools/gpu/
DManagedBackendTexture.h119 inline sk_sp<ManagedBackendTexture> ManagedBackendTexture::MakeWithData(GrDirectContext* dContext, in MakeWithData()
134 GrDirectContext* dContext, in MakeWithoutData()
DBackendSurfaceFactory.cpp29 sk_sp<SkSurface> MakeBackendTextureSurface(GrDirectContext* dContext, in MakeBackendTextureSurface()
60 sk_sp<SkSurface> MakeBackendTextureSurface(GrDirectContext* dContext, in MakeBackendTextureSurface()
73 sk_sp<SkSurface> MakeBackendRenderTargetSurface(GrDirectContext* dContext, in MakeBackendRenderTargetSurface()
106 sk_sp<SkSurface> MakeBackendRenderTargetSurface(GrDirectContext* dContext, in MakeBackendRenderTargetSurface()
DProtectedUtils.cpp18 sk_sp<SkSurface> CreateProtectedSkSurface(GrDirectContext* dContext, in CreateProtectedSkSurface()
84 sk_sp<SkImage> CreateProtectedSkImage(GrDirectContext* dContext, in CreateProtectedSkImage()
/external/skia/tools/
DDDLTileHelper.cpp138 void DDLTileHelper::TileData::drawSKPDirectly(GrDirectContext* dContext, in drawSKPDirectly()
213 void DDLTileHelper::TileData::DeleteBackendTexture(GrDirectContext* dContext, TileData* tile) { in DeleteBackendTexture()
305 GrDirectContext* dContext, in kickOffThreadedWork()
333 void DDLTileHelper::interleaveDDLCreationAndDraw(GrDirectContext* dContext, SkPicture* picture) { in interleaveDDLCreationAndDraw()
341 void DDLTileHelper::drawAllTilesDirectly(GrDirectContext* dContext, SkPicture* picture) { in drawAllTilesDirectly()
/external/skia/src/gpu/ganesh/
DGrAHardwareBufferUtils.cpp31 GrBackendFormat GetBackendFormat(GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, in GetBackendFormat()
51 GrBackendTexture MakeBackendTexture(GrDirectContext* dContext, in MakeBackendTexture()
/external/skia/gm/
Dimage_pict.cpp240 auto dContext = GrAsDirectContext(canvas->recordingContext()); in make_tex_generator() local
279 auto dContext = GrAsDirectContext(canvas->recordingContext()); in makeCaches() local
344 static void draw_as_bitmap(GrDirectContext* dContext, SkCanvas* canvas, SkImage* image, in draw_as_bitmap()
379 void drawRow(GrDirectContext* dContext, SkCanvas* canvas, float scale) const { in drawRow()
396 auto dContext = GrAsDirectContext(canvas->recordingContext()); in onDraw() local

1234567