| /external/skia/tools/viewer/ |
| D | ProtectedSlide.cpp | 49 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/ |
| D | TraceMemoryDumpTest.cpp | 72 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
|
| D | CompressedBackendAllocationTest.cpp | 77 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()
|
| D | VkWrapTests.cpp | 45 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
|
| D | BackendAllocationTest.cpp | 97 void test_wrapping(GrDirectContext* dContext, in test_wrapping() argument 301 static void check_base_readbacks(GrDirectContext* dContext, in check_base_readbacks() 369 GrDirectContext* dContext, in test_color_init() 415 static void check_mipmaps(GrDirectContext* dContext, in check_mipmaps() 493 void test_pixmap_init(GrDirectContext* dContext, in test_pixmap_init() 683 GrRenderable renderable) { in color_type_backend_allocation_test() 710 GrRenderable renderable) { in color_type_backend_allocation_test() 740 GrRenderable renderable) { in color_type_backend_allocation_test() 892 GrRenderable renderable) { in DEF_GANESH_TEST_FOR_GL_CONTEXT() 931 GrRenderable renderable) { in DEF_GANESH_TEST_FOR_GL_CONTEXT() [all …]
|
| D | ProtectedTest.cpp | 24 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_ALL_CONTEXTS() local 113 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_ALL_CONTEXTS() local 157 auto dContext = ctxInfo.directContext(); in DEF_GANESH_TEST_FOR_ALL_CONTEXTS() local
|
| D | GrMipMappedTest.cpp | 98 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
|
| D | RectangleTextureTest.cpp | 62 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
|
| D | GrFinishedFlushTest.cpp | 42 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
|
| D | GrThreadSafeCacheTest.cpp | 174 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 …]
|
| D | DMSAATest.cpp | 127 auto dContext = ctxInfo.directContext(); variable 166 auto dContext = ctxInfo.directContext(); variable 197 auto dContext = ctxInfo.directContext(); variable 229 auto dContext = ctxInfo.directContext(); variable
|
| D | WrappedSurfaceCopyOnWriteTest.cpp | 58 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/ |
| D | AHardwareBufferGL.cpp | 33 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()
|
| D | GrGLGpuProgramCache.cpp | 51 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/ |
| D | FuzzCreateDDL.cpp | 125 static GrSurfaceCharacterization make_characterization(Fuzz* fuzz, GrDirectContext* dContext, in make_characterization() 165 static sk_sp<GrDeferredDisplayList> make_ddl(Fuzz* fuzz, GrDirectContext* dContext, in make_ddl() 180 static sk_sp<SkSurface> make_surface(Fuzz* fuzz, GrDirectContext* dContext, const SkImageInfo& ii, in make_surface() 195 static SurfaceAndChar create_surface_and_characterization(Fuzz* fuzz, GrDirectContext* dContext, in create_surface_and_characterization() 220 GrDirectContext* dContext = ctxInfo.directContext(); in DEF_FUZZ() local
|
| /external/skia/src/gpu/ganesh/vk/ |
| D | AHardwareBufferVk.cpp | 27 GrBackendFormat GetVulkanBackendFormat(GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, in GetVulkanBackendFormat() 134 void update_vk_image(void* context, GrDirectContext* dContext) { in update_vk_image() 139 GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, in make_vk_backend_texture() 311 static bool can_import_protected_content(GrDirectContext* dContext) { in can_import_protected_content() 316 GrBackendTexture MakeVulkanBackendTexture(GrDirectContext* dContext, in MakeVulkanBackendTexture()
|
| /external/skia/src/image/ |
| D | SkImage.cpp | 42 bool SkImage::readPixels(GrDirectContext* dContext, const SkImageInfo& dstInfo, void* dstPixels, in readPixels() 50 auto dContext = as_IB(this)->directContext(); in readPixels() local 130 auto dContext = as_IB(this)->directContext(); in scalePixels() local 220 bool SkImage::readPixels(GrDirectContext* dContext, const SkPixmap& pmap, int srcX, int srcY, in readPixels() 228 auto dContext = as_IB(this)->directContext(); in readPixels() local 235 auto dContext = as_IB(this)->directContext(); in asLegacyBitmap() local 267 sk_sp<SkImage> SkImage::makeRasterImage(GrDirectContext* dContext, CachingHint chint) const { in makeRasterImage()
|
| D | SkImage_Base.cpp | 50 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/ |
| D | Image_TextureFromImage.cpp | 6 auto dContext = GrAsDirectContext(canvas->recordingContext()); in draw() local 13 const char* label) -> void { in draw()
|
| /external/skia/tools/gpu/ |
| D | ManagedBackendTexture.h | 119 inline sk_sp<ManagedBackendTexture> ManagedBackendTexture::MakeWithData(GrDirectContext* dContext, in MakeWithData() 134 GrDirectContext* dContext, in MakeWithoutData()
|
| D | BackendSurfaceFactory.cpp | 26 sk_sp<SkSurface> MakeBackendTextureSurface(GrDirectContext* dContext, in MakeBackendTextureSurface() 57 sk_sp<SkSurface> MakeBackendTextureSurface(GrDirectContext* dContext, in MakeBackendTextureSurface() 70 sk_sp<SkSurface> MakeBackendRenderTargetSurface(GrDirectContext* dContext, in MakeBackendRenderTargetSurface() 103 sk_sp<SkSurface> MakeBackendRenderTargetSurface(GrDirectContext* dContext, in MakeBackendRenderTargetSurface()
|
| D | ProtectedUtils.cpp | 18 sk_sp<SkSurface> CreateProtectedSkSurface(GrDirectContext* dContext, in CreateProtectedSkSurface() 84 sk_sp<SkImage> CreateProtectedSkImage(GrDirectContext* dContext, in CreateProtectedSkImage()
|
| /external/skia/tools/ |
| D | DDLTileHelper.cpp | 138 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/ |
| D | GrAHardwareBufferUtils.cpp | 31 GrBackendFormat GetBackendFormat(GrDirectContext* dContext, AHardwareBuffer* hardwareBuffer, in GetBackendFormat() 51 GrBackendTexture MakeBackendTexture(GrDirectContext* dContext, in MakeBackendTexture()
|
| /external/skia/gm/ |
| D | image_pict.cpp | 240 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
|