Home
last modified time | relevance | path

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

123456

/external/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.cpp24 static void test_basic_draw_as_src(skiatest::Reporter* reporter, GrDirectContext* dContext, in test_basic_draw_as_src()
40 static void test_clear(skiatest::Reporter* reporter, GrDirectContext* dContext, in test_clear()
86 GrDirectContext* dContext, in test_copy_to_surface()
119 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
284 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
337 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
421 sk_sp<GrDirectContext> dContext = GrDirectContext::MakeMock(&mockOptions, ctxOptions); variable
DGrThreadSafeCacheTest.cpp113 TestHelper(GrDirectContext* dContext, in TestHelper()
142 GrDirectContext* dContext() { return fDContext; } in dContext() function in TestHelper
532 if (auto dContext = rContext->asDirectContext(); dContext && !fVertexData->gpuBuffer()) { in findOrCreateVertices() local
570 auto dContext = flushState->gpu()->getContext(); in onPrepare() local
640 bool TestHelper::FillInViewOnGpu(GrDirectContext* dContext, int wh, Stats* stats, in FillInViewOnGpu()
671 if (GrDirectContext* dContext = rContext->asDirectContext()) { in AccessCachedView() local
731 static void test_1(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_1()
764 static void test_2(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_2()
801 static void test_3(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_3()
834 static void test_4(GrDirectContext* dContext, skiatest::Reporter* reporter, in test_4()
[all …]
DBackendAllocationTest.cpp39 void test_wrapping(GrDirectContext* dContext, in test_wrapping()
241 static void check_base_readbacks(GrDirectContext* dContext, in check_base_readbacks()
307 void test_color_init(GrDirectContext* dContext, in test_color_init()
355 static void check_mipmaps(GrDirectContext* dContext, in check_mipmaps()
472 static void test_pixmap_init(GrDirectContext* dContext, in test_pixmap_init()
637 GrRenderable renderable) { in color_type_backend_allocation_test()
664 GrRenderable renderable) { in color_type_backend_allocation_test()
694 GrRenderable renderable) { in color_type_backend_allocation_test()
841 GrRenderable renderable) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
880 GrRenderable renderable) { in DEF_GPUTEST_FOR_ALL_GL_CONTEXTS()
[all …]
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
129 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()
DResourceAllocatorTest.cpp69 static sk_sp<GrSurfaceProxy> make_backend(GrDirectContext* dContext, const ProxyParams& p) { in make_backend()
121 static sk_sp<GrSurfaceProxy> make_proxy(GrDirectContext* dContext, const ProxyParams& p) { in make_proxy()
155 static void overlap_test(skiatest::Reporter* reporter, GrDirectContext* dContext, in overlap_test()
177 static void non_overlap_test(skiatest::Reporter* reporter, GrDirectContext* dContext, in non_overlap_test()
203 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
360 GrDirectContext* dContext, in memory_budget_test()
410 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
DImageTest.cpp163 static void test_encode(skiatest::Reporter* reporter, GrDirectContext* dContext, SkImage* image) { in test_encode()
189 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
379 auto dContext = contextInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
465 auto dContext = contextInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
492 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
523 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
656 static void image_test_read_pixels(GrDirectContext* dContext, skiatest::Reporter* reporter, in image_test_read_pixels()
724 auto dContext = ctxInfo.directContext(); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local
728 static void check_legacy_bitmap(skiatest::Reporter* reporter, GrDirectContext* dContext, in check_legacy_bitmap()
745 static void test_legacy_bitmap(skiatest::Reporter* reporter, GrDirectContext* dContext, in test_legacy_bitmap()
[all …]
DDefaultPathRendererTest.cpp41 static SkBitmap read_back(GrDirectContext* dContext, GrSurfaceDrawContext* rtc, in read_back()
77 static void run_test(GrDirectContext* dContext, skiatest::Reporter* reporter) { in run_test()
/external/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()
/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.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()
/external/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()
523 static bool can_import_protected_content(GrDirectContext* dContext) { in can_import_protected_content()
537 GrBackendTexture MakeBackendTexture(GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, in MakeBackendTexture()
/external/skia/docs/examples/
DImage_makeTextureImage.cpp7 auto dContext = GrAsDirectContext(canvas->recordingContext()); in draw() local
14 const char* label) -> void { in draw()
DImage_MakeCrossContextFromPixmap.cpp7 auto dContext = GrAsDirectContext(canvas->recordingContext()); in draw() local
DImage_MakeFromTexture.cpp7 auto dContext = GrAsDirectContext(canvas->recordingContext()); in draw() local
/external/skia/gm/
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
/external/skia/src/image/
DSkImage.cpp62 bool SkImage::readPixels(GrDirectContext* dContext, const SkImageInfo& dstInfo, void* dstPixels, in readPixels()
70 auto dContext = as_IB(this)->directContext(); in readPixels() local
116 auto dContext = as_IB(this)->directContext(); in scalePixels() local
155 auto dContext = as_IB(this)->directContext(); in encodeToData() local
228 GrSemaphoresSubmitted SkImage::flush(GrDirectContext* dContext, const GrFlushInfo& flushInfo) { in flush()
232 void SkImage::flushAndSubmit(GrDirectContext* dContext) { in flushAndSubmit()
286 auto dContext = as_IB(this)->directContext(); in onAsyncRescaleAndReadPixels() local
467 bool SkImage::readPixels(GrDirectContext* dContext, const SkPixmap& pmap, int srcX, int srcY, in readPixels()
475 auto dContext = as_IB(this)->directContext(); in readPixels() local
492 auto dContext = as_IB(this)->directContext(); in asLegacyBitmap() local
[all …]

123456