/external/skia/src/gpu/ |
D | GrContext.cpp | 34 GrContext* GrContext::Create(GrBackend backend, GrBackendContext backendContext) { in Create() 39 GrContext* GrContext::Create(GrBackend backend, GrBackendContext backendContext, in Create() 41 GrContext* context = new GrContext; in Create() 60 GrContext::GrContext() : fUniqueID(next_id()) { in GrContext() function in GrContext 69 bool GrContext::init(GrBackend backend, GrBackendContext backendContext, in init() 82 void GrContext::initCommon(const GrContextOptions& options) { in initCommon() 106 GrContext::~GrContext() { in ~GrContext() 130 void GrContext::abandonContext() { in abandonContext() 150 void GrContext::resetContext(uint32_t state) { in resetContext() 155 void GrContext::freeGpuResources() { in freeGpuResources() [all …]
|
D | GrLayerHoister.h | 38 static void Begin(GrContext* context); 42 static void End(GrContext* context); 55 static void FindLayersToAtlas(GrContext* context, 74 static void FindLayersToHoist(GrContext* context, 86 static void DrawLayersToAtlas(GrContext* context, const SkTDArray<GrHoistedLayer>& layers); 92 static void DrawLayers(GrContext* context, const SkTDArray<GrHoistedLayer>& layers); 106 static void UnlockLayers(GrContext* context, const SkTDArray<GrHoistedLayer>& layers); 112 static void PurgeCache(GrContext* context); 120 static void FilterLayer(GrContext* context, SkGpuDevice* device, const GrHoistedLayer& info);
|
D | SkGrPriv.h | 18 class GrContext; variable 48 bool SkPaintToGrPaint(GrContext*, 54 bool SkPaintToGrPaintNoShader(GrContext* context, 61 bool SkPaintToGrPaintReplaceShader(GrContext*, 70 bool SkPaintToGrPaintWithXfermode(GrContext* context, 81 inline bool SkPaintToGrPaintWithPrimitiveColor(GrContext* context, const SkPaint& skPaint, in SkPaintToGrPaintWithPrimitiveColor() 89 bool SkPaintToGrPaintWithTexture(GrContext* context, 110 GrPixelConfig GrIsCompressedTextureDataSupported(GrContext* ctx, SkData* data, 120 GrTexture* GrUploadBitmapToTexture(GrContext*, const SkBitmap&);
|
D | GrBatchTest.h | 16 class GrContext; variable 26 typedef GrDrawBatch* (*BatchTestFunc)(SkRandom* random, GrContext* context); 28 GrDrawBatch* Batch##__Test(SkRandom* random, GrContext* context) 30 extern GrDrawBatch* Batch##__Test(SkRandom*, GrContext* context); 34 friend GrDrawBatch* Batch##__Test(SkRandom* random, GrContext* context); 36 GrDrawBatch* GrRandomDrawBatch(SkRandom*, GrContext*);
|
D | GrTest.cpp | 25 void SetupAlwaysEvictAtlas(GrContext* context) { in SetupAlwaysEvictAtlas() 55 void GrTestTarget::init(GrContext* ctx, GrDrawTarget* target, GrRenderTarget* rt) { in init() 63 void GrContext::getTestTarget(GrTestTarget* tar, GrRenderTarget* rt) { in getTestTarget() 90 void GrContext::setTextBlobCacheLimit_ForTesting(size_t bytes) { in setTextBlobCacheLimit_ForTesting() 94 void GrContext::setTextContextAtlasSizes_ForTesting(const GrBatchAtlasConfig* configs) { in setTextContextAtlasSizes_ForTesting() 100 void GrContext::purgeAllUnlockedResources() { in purgeAllUnlockedResources() 104 void GrContext::resetGpuStats() const { in resetGpuStats() 110 void GrContext::dumpCacheStats(SkString* out) const { in dumpCacheStats() 116 void GrContext::dumpCacheStatsKeyValuePairs(SkTArray<SkString>* keys, in dumpCacheStatsKeyValuePairs() 123 void GrContext::printCacheStats() const { in printCacheStats() [all …]
|
D | GrDrawingManager.h | 17 class GrContext; variable 40 GrContext* getContext() { return fContext; } in getContext() 47 static bool ProgramUnitTest(GrContext* context, int maxStages); 50 GrDrawingManager(GrContext* context, const GrDrawTarget::Options& optionsForDrawTargets, in GrDrawingManager() 67 friend class GrContext; // for access to: ctor, abandon, reset & flush variable 72 GrContext* fContext;
|
D | GrContextFactory.h | 116 ContextInfo(GrContext* grContext, SkGLContext* glContext) in ContextInfo() 118 GrContext* fGrContext; 131 GrContext* get(GLContextType type, 142 GrContext* fGrContext;
|
D | GrSWMaskHelper.h | 22 class GrContext; variable 44 GrSWMaskHelper(GrContext* context) in GrSWMaskHelper() 77 static GrTexture* DrawPathMaskToTexture(GrContext* context, 106 GrContext* fContext;
|
D | GrTest.h | 21 void SetupAlwaysEvictAtlas(GrContext*); 32 void init(GrContext*, GrDrawTarget*, GrRenderTarget*); 38 SkAutoTUnref<GrContext> fContext;
|
D | GrSoftwarePathRenderer.h | 14 class GrContext; variable 22 GrSoftwarePathRenderer(GrContext* context) in GrSoftwarePathRenderer() 35 GrContext* fContext;
|
D | GrBlurUtils.h | 12 class GrContext; variable 32 void drawPathWithMaskFilter(GrContext* context, 46 void drawPathWithMaskFilter(GrContext*,
|
D | GrTextureParamsAdjuster.h | 16 class GrContext; variable 180 GrTextureMaker(GrContext* context, int width, int height, bool isAlphaOnly) in GrTextureMaker() 202 GrContext* context() const { return fContext; } in context() 205 GrContext* fContext;
|
/external/skia/include/core/ |
D | SkImage.h | 27 class GrContext; variable 97 static SkImage* NewFromTexture(GrContext* ctx, const GrBackendTextureDesc& desc) { in NewFromTexture() 101 static SkImage* NewFromTexture(GrContext* ctx, const GrBackendTextureDesc& de, SkAlphaType at) { in NewFromTexture() 114 static SkImage* NewFromTexture(GrContext*, const GrBackendTextureDesc&, SkAlphaType, 123 static SkImage* NewFromAdoptedTexture(GrContext*, const GrBackendTextureDesc&, 132 static SkImage* NewFromTextureCopy(GrContext*, const GrBackendTextureDesc&, 140 static SkImage* NewFromYUVTexturesCopy(GrContext*, SkYUVColorSpace, 200 void preroll(GrContext* = nullptr) const; 315 SkImage* newTextureImage(GrContext*) const;
|
D | SkSurface.h | 17 class GrContext; variable 95 static SkSurface* NewFromBackendTexture(GrContext*, const GrBackendTextureDesc&, 98 static SkSurface* NewWrappedRenderTarget(GrContext* ctx, const GrBackendTextureDesc& desc, in NewWrappedRenderTarget() 108 static SkSurface* NewFromBackendRenderTarget(GrContext*, const GrBackendRenderTargetDesc&, 120 GrContext*, const GrBackendTextureDesc&, const SkSurfaceProps*); 130 GrContext*, SkBudgeted, const SkImageInfo&, int sampleCount, 133 static SkSurface* NewRenderTarget(GrContext* gr, SkBudgeted b, const SkImageInfo& info) { in NewRenderTarget()
|
D | SkImageGenerator.h | 15 class GrContext; variable 28 #define SK_REFENCODEDDATA_CTXPARAM GrContext* ctx 80 SkData* refEncodedData(GrContext* ctx = nullptr) { 167 GrTexture* generateTexture(GrContext*, const SkIRect* subset = nullptr); 255 virtual GrTexture* onGenerateTexture(GrContext*, const SkIRect*) { in onGenerateTexture() argument
|
/external/skia/include/gpu/ |
D | GrContext.h | 49 class SK_API GrContext : public SkRefCnt { 54 static GrContext* Create(GrBackend, GrBackendContext, const GrContextOptions& options); 55 static GrContext* Create(GrBackend, GrBackendContext); 60 static GrContext* CreateMockContext(); 62 virtual ~GrContext(); 78 typedef void (*PFCleanUpFunc)(const GrContext* context, void* info); 417 GrContext(); // init must be called after the constructor.
|
/external/skia/src/gpu/text/ |
D | GrStencilAndCoverTextContext.h | 33 void drawText(GrContext*, GrDrawContext* dc, 38 void drawPosText(GrContext*, GrDrawContext*, 44 void drawTextBlob(GrContext*, GrDrawContext*, const GrClip&, const SkPaint&, 60 void uncachedDrawTextBlob(GrContext*, GrDrawContext* dc, 81 void draw(GrContext*, GrDrawContext*, GrPipelineBuilder*, GrColor, const SkMatrix&, 94 GrPathRange* createGlyphs(GrContext*) const;
|
/external/skia/src/core/ |
D | SkImageCacherator.h | 15 class GrContext; variable 51 GrTexture* lockAsTexture(GrContext*, const GrTextureParams&, const SkImage* client, 61 SkData* refEncoded(GrContext*); 77 GrTexture* lockTexture(GrContext*, const GrUniqueKey& key, const SkImage* client,
|
/external/skia/src/utils/ |
D | SkImageGeneratorUtils.cpp | 54 GeneratorFromTexture(GrContext* ctx, GrTexture* tex, const SkImageInfo& info) in GeneratorFromTexture() 59 GrTexture* onGenerateTexture(GrContext* ctx, const SkIRect* subset) override { in onGenerateTexture() 77 SkAutoTUnref<GrContext> fCtx; 82 SkImageGenerator* SkImageGeneratorUtils::NewFromTexture(GrContext* ctx, GrTexture* tex) { in NewFromTexture() 115 GrTexture* onGenerateTexture(GrContext* ctx, const SkIRect* subset) override { in onGenerateTexture()
|
/external/skia/gm/ |
D | image_shader.cpp | 27 typedef SkImage* (*ImageMakerProc)(GrContext*, const SkPicture*, const SkImageInfo&); 29 static SkImage* make_raster(GrContext*, const SkPicture* pic, const SkImageInfo& info) { in make_raster() argument 36 static SkImage* make_texture(GrContext* ctx, const SkPicture* pic, const SkImageInfo& info) { in make_texture() 47 static SkImage* make_pict_gen(GrContext*, const SkPicture* pic, const SkImageInfo& info) { in make_pict_gen() argument 51 static SkImage* make_encode_gen(GrContext* ctx, const SkPicture* pic, const SkImageInfo& info) { in make_encode_gen()
|
D | image_pict.cpp | 103 static SkImageGenerator* make_pic_generator(GrContext*, SkPicture* pic) { 144 static SkImageGenerator* make_ras_generator(GrContext*, SkPicture* pic) { in make_ras_generator() argument 175 static SkImageGenerator* make_ctable_generator(GrContext*, SkPicture* pic) { in make_ctable_generator() argument 210 TextureGenerator(GrContext* ctx, const SkImageInfo& info, SkPicture* pic) in TextureGenerator() 223 GrTexture* onGenerateTexture(GrContext* ctx, const SkIRect* subset) override { in onGenerateTexture() 241 SkAutoTUnref<GrContext> fCtx; 244 static SkImageGenerator* make_tex_generator(GrContext* ctx, SkPicture* pic) { in make_tex_generator() 256 SkImageGenerator* (*fFactory)(GrContext*, SkPicture*); 262 ImageCacheratorGM(const char suffix[], SkImageGenerator* (*factory)(GrContext*, SkPicture*)) in ImageCacheratorGM() argument 284 void makeCaches(GrContext* ctx) { in makeCaches()
|
/external/skia/src/image/ |
D | SkImage_Gpu.cpp | 81 GrTexture* SkImage_Gpu::asTextureRef(GrContext* ctx, const GrTextureParams& params) const { in asTextureRef() 117 flags = GrContext::kUnpremul_PixelOpsFlag; in onReadPixels() 138 GrContext* ctx = fTexture->getContext(); in onNewSubset() 154 static SkImage* new_wrapped_texture_common(GrContext* ctx, const GrBackendTextureDesc& desc, in new_wrapped_texture_common() 173 SkImage* SkImage::NewFromTexture(GrContext* ctx, const GrBackendTextureDesc& desc, SkAlphaType at, in NewFromTexture() 178 SkImage* SkImage::NewFromAdoptedTexture(GrContext* ctx, const GrBackendTextureDesc& desc, in NewFromAdoptedTexture() 183 SkImage* SkImage::NewFromTextureCopy(GrContext* ctx, const GrBackendTextureDesc& desc, in NewFromTextureCopy() 204 SkImage* SkImage::NewFromYUVTexturesCopy(GrContext* ctx , SkYUVColorSpace colorSpace, in NewFromYUVTexturesCopy() 291 SkImage* SkImage::newTextureImage(GrContext *context) const { in newTextureImage() 316 GrContext* ctx = src->getContext(); in GrDeepCopyTexture()
|
D | SkImage_Generator.cpp | 27 SkData* onRefEncoded(GrContext*) const override; 31 GrTexture* asTextureRef(GrContext*, const GrTextureParams&) const override; 69 SkData* SkImage_Generator::onRefEncoded(GrContext* ctx) const { in onRefEncoded() 77 GrTexture* SkImage_Generator::asTextureRef(GrContext* ctx, const GrTextureParams& params) const { in asTextureRef()
|
D | SkImage.cpp | 81 void SkImage::preroll(GrContext* ctx) const { in preroll() 131 GrContext* ctx = nullptr; // should we allow the caller to pass in a ctx? in refEncoded() 177 GrContext* context = texture->getContext(); in getTextureHandle() 346 SkImage* SkImage::NewFromTexture(GrContext*, const GrBackendTextureDesc&, SkAlphaType, in NewFromTexture() argument 351 SkImage* SkImage::NewFromAdoptedTexture(GrContext*, const GrBackendTextureDesc&, SkAlphaType) { in NewFromAdoptedTexture() argument 355 SkImage* SkImage::NewFromTextureCopy(GrContext*, const GrBackendTextureDesc&, SkAlphaType) { in NewFromTextureCopy() argument 359 SkImage* SkImage::newTextureImage(GrContext*) const { in newTextureImage()
|
/external/skia/tests/ |
D | EGLImageTest.cpp | 16 static void cleanup(SkGLContext* glctx0, GrGLuint texID0, SkGLContext* glctx1, GrContext* grctx1, in cleanup() 39 static void test_read_pixels(skiatest::Reporter* reporter, GrContext* context, in test_read_pixels() 59 static void test_write_pixels(skiatest::Reporter* reporter, GrContext* context, in test_write_pixels() 69 static void test_copy_surface(skiatest::Reporter* reporter, GrContext* context, in test_copy_surface() 98 GrContext* context1 = GrContext::Create(kOpenGL_GrBackend, (GrBackendContext)glCtx1->gl()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|