/external/skia/src/gpu/ |
D | GrDirectContext.cpp | 56 GrDirectContext::DirectContextID GrDirectContext::DirectContextID::Next() { in Next() 65 GrDirectContext::GrDirectContext(GrBackendApi backend, const GrContextOptions& options) in GrDirectContext() function in GrDirectContext 70 GrDirectContext::~GrDirectContext() { in ~GrDirectContext() 92 sk_sp<GrContextThreadSafeProxy> GrDirectContext::threadSafeProxy() { in threadSafeProxy() 96 void GrDirectContext::resetGLTextureBindings() { in resetGLTextureBindings() 103 void GrDirectContext::resetContext(uint32_t state) { in resetContext() 108 void GrDirectContext::abandonContext() { in abandonContext() 138 bool GrDirectContext::abandoned() { in abandoned() 150 bool GrDirectContext::oomed() { return fGpu ? fGpu->checkAndResetOOMed() : false; } in oomed() 152 void GrDirectContext::releaseResourcesAndAbandonContext() { in releaseResourcesAndAbandonContext() [all …]
|
D | GrClientMappedBufferManager.h | 34 GrDirectContext::DirectContextID intendedRecipient) in BufferFinishedMessage() 42 GrDirectContext::DirectContextID fIntendedRecipient; 45 GrDirectContext::DirectContextID, 48 GrClientMappedBufferManager(GrDirectContext::DirectContextID owningDirectContext); 60 GrDirectContext::DirectContextID owningDirectContext() const { in owningDirectContext() 85 GrDirectContext::DirectContextID potentialRecipient);
|
D | GrAHardwareBufferUtils.h | 17 class GrDirectContext; variable 27 GrBackendFormat GetBackendFormat(GrDirectContext* context, AHardwareBuffer* hardwareBuffer, 32 typedef void (*UpdateImageProc)(TexImageCtx, GrDirectContext*); 56 GrBackendTexture MakeBackendTexture(GrDirectContext* context, AHardwareBuffer* hardwareBuffer,
|
D | GrBackendTextureImageGenerator.h | 54 GrDirectContext::DirectContextID owningContextID, 63 GrDirectContext::DirectContextID owningContextID, 69 GrDirectContext::DirectContextID fOwningContextID; 80 GrDirectContext::DirectContextID fBorrowingContextID;
|
D | GrSurfaceContext.h | 103 bool readPixels(GrDirectContext* dContext, GrPixmap dst, SkIPoint srcPt); 111 void asyncRescaleAndReadPixels(GrDirectContext*, 120 void asyncRescaleAndReadPixelsYUV420(GrDirectContext*, 136 bool writePixels(GrDirectContext* dContext, 147 bool writePixels(GrDirectContext* dContext, 233 void asyncReadPixels(GrDirectContext*, 261 bool internalWritePixels(GrDirectContext* dContext,
|
D | GrDirectContextPriv.h | 177 explicit GrDirectContextPriv(GrDirectContext* context) : fContext(context) {} in GrDirectContextPriv() 185 GrDirectContext* fContext; 187 friend class GrDirectContext; // to construct/copy this type. variable 190 inline GrDirectContextPriv GrDirectContext::priv() { return GrDirectContextPriv(this); } in priv() 193 inline const GrDirectContextPriv GrDirectContext::priv() const { in priv() 194 return GrDirectContextPriv(const_cast<GrDirectContext*>(this)); in priv()
|
/external/skia/tools/ |
D | DDLTileHelper.h | 39 GrDirectContext*, 50 void precompile(GrDirectContext*); 55 void drawSKPDirectly(GrDirectContext*, const SkPicture*); 58 void draw(GrDirectContext*); 75 static void CreateBackendTexture(GrDirectContext*, TileData*); 76 static void DeleteBackendTexture(GrDirectContext*, TileData*); 101 DDLTileHelper(GrDirectContext*, 109 GrDirectContext*, 123 void interleaveDDLCreationAndDraw(GrDirectContext*, SkPicture*); 127 void drawAllTilesDirectly(GrDirectContext*, SkPicture*); [all …]
|
D | DDLPromiseImageHelper.h | 20 class GrDirectContext; variable 35 PromiseImageCallbackContext(GrDirectContext* direct, GrBackendFormat backendFormat) in PromiseImageCallbackContext() 75 GrDirectContext* fContext; 114 sk_sp<SkPicture> recreateSKP(GrDirectContext*, SkPicture*); 116 void uploadAllToGPU(SkTaskGroup*, GrDirectContext*); 117 void deleteAllFromGPU(SkTaskGroup*, GrDirectContext*); 126 void createCallbackContexts(GrDirectContext*); 219 static void CreateBETexturesForPromiseImage(GrDirectContext*, PromiseImageInfo*); 226 void uploadImage(GrDirectContext*, PromiseImageInfo*);
|
D | DDLTileHelper.cpp | 23 GrDirectContext* direct, in init() 100 void DDLTileHelper::TileData::precompile(GrDirectContext* direct) { in precompile() 133 void DDLTileHelper::TileData::drawSKPDirectly(GrDirectContext* dContext, in drawSKPDirectly() 152 void DDLTileHelper::TileData::draw(GrDirectContext* direct) { in draw() 193 void DDLTileHelper::TileData::CreateBackendTexture(GrDirectContext* direct, TileData* tile) { in CreateBackendTexture() 203 void DDLTileHelper::TileData::DeleteBackendTexture(GrDirectContext*, TileData* tile) { in DeleteBackendTexture() argument 223 DDLTileHelper::DDLTileHelper(GrDirectContext* direct, in DDLTileHelper() 282 static void do_gpu_stuff(GrDirectContext* direct, DDLTileHelper::TileData* tile) { in do_gpu_stuff() 295 GrDirectContext* dContext, in kickOffThreadedWork() 323 void DDLTileHelper::interleaveDDLCreationAndDraw(GrDirectContext* dContext, SkPicture* picture) { in interleaveDDLCreationAndDraw() [all …]
|
/external/skia/include/gpu/ |
D | GrDirectContext.h | 47 class SK_API GrDirectContext : public GrRecordingContext { 54 static sk_sp<GrDirectContext> MakeGL(sk_sp<const GrGLInterface>, const GrContextOptions&); 55 static sk_sp<GrDirectContext> MakeGL(sk_sp<const GrGLInterface>); 56 static sk_sp<GrDirectContext> MakeGL(const GrContextOptions&); 57 static sk_sp<GrDirectContext> MakeGL(); 68 static sk_sp<GrDirectContext> MakeVulkan(const GrVkBackendContext&, const GrContextOptions&); 69 static sk_sp<GrDirectContext> MakeVulkan(const GrVkBackendContext&); 80 static sk_sp<GrDirectContext> MakeMetal(const GrMtlBackendContext&, const GrContextOptions&); 81 static sk_sp<GrDirectContext> MakeMetal(const GrMtlBackendContext&); 90 static sk_sp<GrDirectContext> MakeMetal(void* device, void* queue, const GrContextOptions&); [all …]
|
/external/skia/tools/gpu/ |
D | ManagedBackendTexture.h | 28 static sk_sp<ManagedBackendTexture> MakeWithData(GrDirectContext*, Args&&...); 39 static sk_sp<ManagedBackendTexture> MakeWithoutData(GrDirectContext*, Args&&...); 42 static sk_sp<ManagedBackendTexture> MakeFromInfo(GrDirectContext* dContext, 48 static sk_sp<ManagedBackendTexture> MakeFromBitmap(GrDirectContext*, 54 static sk_sp<ManagedBackendTexture> MakeFromPixmap(GrDirectContext*, 95 sk_sp<GrDirectContext> fDContext; 100 inline sk_sp<ManagedBackendTexture> ManagedBackendTexture::MakeWithData(GrDirectContext* dContext, in MakeWithData() 115 GrDirectContext* dContext, in MakeWithoutData()
|
D | GrContextFactory.h | 140 ContextInfo getSharedContextInfo(GrDirectContext* shareContext, uint32_t shareIndex = 0); 145 GrDirectContext* get(ContextType type, ContextOverrides overrides = ContextOverrides::kNone); 150 GrDirectContext* shareContext, uint32_t shareIndex); 158 GrDirectContext* fGrContext; 159 GrDirectContext* fShareContext; 177 GrDirectContext* directContext() const { return fContext; } in directContext() 192 GrDirectContext* context, in ContextInfo() 199 GrDirectContext* fContext = nullptr;
|
D | BackendSurfaceFactory.h | 16 class GrDirectContext; variable 22 sk_sp<SkSurface> MakeBackendTextureSurface(GrDirectContext*, 30 sk_sp<SkSurface> MakeBackendTextureSurface(GrDirectContext*, 41 sk_sp<SkSurface> MakeBackendRenderTargetSurface(GrDirectContext*, 48 sk_sp<SkSurface> MakeBackendRenderTargetSurface(GrDirectContext*,
|
D | BackendSurfaceFactory.cpp | 18 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() 74 sk_sp<GrDirectContext> fContext; in MakeBackendRenderTargetSurface() 95 sk_sp<SkSurface> MakeBackendRenderTargetSurface(GrDirectContext* dContext, in MakeBackendRenderTargetSurface()
|
D | FlushFinishTracker.h | 13 class GrDirectContext; variable 25 FlushFinishTracker(GrDirectContext* context) : fContext(context) {} in FlushFinishTracker() 32 GrDirectContext* fContext;
|
D | BackendTextureImageFactory.h | 12 class GrDirectContext; variable 26 sk_sp<SkImage> MakeBackendTextureImage(GrDirectContext*, 32 sk_sp<SkImage> MakeBackendTextureImage(GrDirectContext*,
|
/external/skia/src/image/ |
D | SkImage_Base.h | 27 class GrDirectContext; variable 44 virtual bool onReadPixels(GrDirectContext*, 84 GrDirectContext* directContext() const; 87 virtual GrSemaphoresSubmitted onFlush(GrDirectContext*, const GrFlushInfo&) { in onFlush() argument 131 virtual bool getROPixels(GrDirectContext*, SkBitmap*, 134 virtual sk_sp<SkImage> onMakeSubset(const SkIRect&, GrDirectContext*) const = 0; 138 virtual bool onAsLegacyBitmap(GrDirectContext*, SkBitmap*) const; 158 GrDirectContext*) const = 0;
|
D | SkImage_GpuBase.h | 18 class GrDirectContext; variable 27 bool getROPixels(GrDirectContext*, SkBitmap*, CachingHint) const final; 28 sk_sp<SkImage> onMakeSubset(const SkIRect& subset, GrDirectContext*) const final; 30 bool onReadPixels(GrDirectContext *dContext,
|
/external/skia/include/core/ |
D | SkImage.h | 39 class GrDirectContext; variable 228 static sk_sp<SkImage> MakeTextureFromCompressed(GrDirectContext* direct, 346 static sk_sp<SkImage> MakeCrossContextFromPixmap(GrDirectContext* context, 474 GrDirectContext* context, 731 GrSemaphoresSubmitted flush(GrDirectContext* context, const GrFlushInfo& flushInfo); 733 void flush(GrDirectContext* context) { this->flush(context, {}); } in flush() 738 void flushAndSubmit(GrDirectContext*); 804 bool readPixels(GrDirectContext* context, 842 bool readPixels(GrDirectContext* context, 1052 sk_sp<SkImage> makeSubset(const SkIRect& subset, GrDirectContext* direct = nullptr) const; [all …]
|
/external/skia/tools/skottie_ios_app/ |
D | SkiaGLContext.mm | 9 #include "include/gpu/GrDirectContext.h" 25 static sk_sp<SkSurface> make_gl_surface(GrDirectContext* dContext, int width, int height) { 57 withDirectContext:(GrDirectContext*)dContext; argument 61 GrDirectContext* fDContext; 66 withDirectContext:(GrDirectContext*)dContext { argument 83 NSLog(@"Error: GrDirectContext missing.\n"); 110 sk_sp<GrDirectContext> fDContext; 125 fDContext = GrDirectContext::MakeGL(nullptr, GrContextOptions()); 128 NSLog(@"GrDirectContext::MakeGL failed");
|
D | GrContextHolder.mm | 11 #include "include/gpu/GrDirectContext.h" 16 return GrContextHolder(GrDirectContext::MakeGL(nullptr, GrContextOptions()).release()); 20 void GrContextRelease::operator()(GrDirectContext* ptr) { SkSafeUnref(ptr); } 24 void GrContextRelease::operator()(GrDirectContext*) { SkDEBUGFAIL(""); }
|
D | SkiaMetalContext.mm | 7 #include "include/gpu/GrDirectContext.h" 25 grDevice:(GrDirectContext*)dContext; argument 30 GrDirectContext* fDContext; 36 grDevice:(GrDirectContext*)dContext { argument 80 sk_sp<GrDirectContext> fDContext; 91 fDContext = GrDirectContext::MakeMetal((__bridge void*)[self metalDevice], 96 NSLog(@"GrDirectContext::MakeMetal failed");
|
D | GrContextHolder.h | 8 class GrDirectContext; variable 11 struct GrContextRelease { void operator()(GrDirectContext*); }; 12 using GrContextHolder = std::unique_ptr<GrDirectContext, GrContextRelease>;
|
/external/skia/dm/ |
D | DMSrcSink.h | 89 virtual Result SK_WARN_UNUSED_RESULT draw(GrDirectContext*, SkCanvas*) const = 0; 96 virtual Result SK_WARN_UNUSED_RESULT draw(int, GrDirectContext* context, in draw() 134 Result draw(GrDirectContext*, SkCanvas*) const override; 166 Result draw(GrDirectContext*, SkCanvas*) const override; 184 Result draw(GrDirectContext*, SkCanvas*) const override; 213 Result draw(GrDirectContext*, SkCanvas*) const override; 233 Result draw(GrDirectContext*, SkCanvas*) const override; 250 Result draw(GrDirectContext*, SkCanvas*) const override; 263 Result draw(GrDirectContext*, SkCanvas*) const override; 277 Result draw(GrDirectContext*, SkCanvas*) const override; [all …]
|
/external/skqp/src/gpu/ |
D | GrDirectContext.cpp | 26 class SK_API GrDirectContext : public GrContext { class 28 GrDirectContext(GrBackendApi backend) in GrDirectContext() function in GrDirectContext 33 ~GrDirectContext() override { in ~GrDirectContext() 118 sk_sp<GrContext> context(new GrDirectContext(GrBackendApi::kOpenGL)); in MakeGL() 139 sk_sp<GrContext> context(new GrDirectContext(GrBackendApi::kMock)); in MakeMock() 166 sk_sp<GrContext> context(new GrDirectContext(GrBackendApi::kVulkan)); in MakeVulkan() 190 sk_sp<GrContext> context(new GrDirectContext(GrBackendApi::kMetal)); in MakeMetal()
|