Home
last modified time | relevance | path

Searched refs:GrContext (Results 1 – 25 of 52) sorted by relevance

123

/external/skia/include/gpu/
DGrContext.h34 class GR_API GrContext : public GrRefCnt {
39 static GrContext* Create(GrEngine engine,
42 virtual ~GrContext();
105 friend class GrContext; variable
612 AutoRenderTarget(GrContext* context, GrRenderTarget* target) { in AutoRenderTarget()
626 GrContext* fContext;
676 GrContext(GrGpu* gpu);
759 GrAutoMatrix(GrContext* ctx) : fContext(ctx) { in GrAutoMatrix()
762 GrAutoMatrix(GrContext* ctx, const GrMatrix& matrix) : fContext(ctx) { in GrAutoMatrix()
766 void set(GrContext* ctx) { in set()
[all …]
DSkGpuDevice.h37 SkGpuDevice(GrContext*, SkBitmap::Config,
44 SkGpuDevice(GrContext*, GrRenderTarget*);
51 SkGpuDevice(GrContext*, GrTexture*);
55 GrContext* context() const { return fContext; } in context()
118 typedef GrContext::TextureCacheEntry TexCache;
155 GrContext* fContext;
167 void initFromRenderTarget(GrContext*, GrRenderTarget*);
DSkGpuCanvas.h16 class GrContext; variable
33 explicit SkGpuCanvas(GrContext*, GrRenderTarget*);
50 GrContext* fContext;
DGrResource.h16 class GrContext; variable
65 const GrContext* getContext() const;
66 GrContext* getContext();
DGrTextContext.h19 class GrContext; variable
26 GrTextContext(GrContext*,
39 GrContext* fContext;
DSkGr.h199 static const GrContext::TextureKey gUNCACHED_KEY = ~0;
200 GrContext::TextureCacheEntry sk_gr_create_bitmap_texture(GrContext* ctx,
201 GrContext::TextureKey key,
/external/skia/src/gpu/
DGrContext.cpp46 GrContext* GrContext::Create(GrEngine engine, in Create()
48 GrContext* ctx = NULL; in Create()
51 ctx = new GrContext(fGpu); in Create()
57 GrContext::~GrContext() { in ~GrContext()
71 void GrContext::contextLost() { in contextLost()
76 void GrContext::contextDestroyed() { in contextDestroyed()
102 void GrContext::resetContext() { in resetContext()
106 void GrContext::freeGpuResources() { in freeGpuResources()
114 size_t GrContext::getGpuTextureCacheBytes() const { in getGpuTextureCacheBytes()
120 int GrContext::PaintStageVertexLayoutBits( in PaintStageVertexLayoutBits()
[all …]
DSkGr.cpp59 GrContext::TextureCacheEntry sk_gr_create_bitmap_texture(GrContext* ctx, in sk_gr_create_bitmap_texture()
60 GrContext::TextureKey key, in sk_gr_create_bitmap_texture()
64 GrContext::TextureCacheEntry entry; in sk_gr_create_bitmap_texture()
101 GrContext::kExact_ScratchTexMatch); in sk_gr_create_bitmap_texture()
122 GrContext::kExact_ScratchTexMatch); in sk_gr_create_bitmap_texture()
DGrPathRendererChain.h17 class GrContext; variable
36 GrPathRendererChain(GrContext* context, UsageFlags flags);
58 GrContext* fOwner;
DGrRenderTarget.cpp20 GrContext* context = this->getContext(); in readPixels()
34 GrContext* context = this->getContext(); in writePixels()
46 GrContext* context = this->getContext(); in resolve()
DGrResource.cpp36 const GrContext* GrResource::getContext() const { in getContext()
44 GrContext* GrResource::getContext() { in getContext()
DGrGpu.h18 class GrContext; variable
86 void setContext(GrContext* context) { in setContext()
90 GrContext* getContext() { return fContext; } in getContext()
91 const GrContext* getContext() const { return fContext; } in getContext()
488 GrContext* fContext; // not reffed (context refs gpu)
DGrAAHairLinePathRenderer.h18 static GrPathRenderer* Create(GrContext* context);
34 GrAAHairLinePathRenderer(const GrContext* context,
DGrTexture.cpp20 GrContext* context = this->getContext(); in readPixels()
34 GrContext* context = this->getContext(); in writePixels()
DSkGpuDevice.cpp102 GrContext* fContext;
131 static SkBitmap make_bitmap(GrContext* context, GrRenderTarget* renderTarget) { in make_bitmap()
142 SkGpuDevice::SkGpuDevice(GrContext* context, GrTexture* texture) in SkGpuDevice()
147 SkGpuDevice::SkGpuDevice(GrContext* context, GrRenderTarget* renderTarget) in SkGpuDevice()
152 void SkGpuDevice::initFromRenderTarget(GrContext* context, in initFromRenderTarget()
185 SkGpuDevice::SkGpuDevice(GrContext* context, SkBitmap::Config config, int width, in SkGpuDevice()
333 static void convert_matrixclip(GrContext* context, const SkMatrix& matrix, in convert_matrixclip()
701 static GrTexture* applyMorphology(GrContext* context, GrTexture* texture, in applyMorphology()
774 static GrTexture* gaussianBlur(GrContext* context, GrTexture* srcTexture, in gaussianBlur()
893 static bool drawWithGPUMaskFilter(GrContext* context, const SkPath& path, in drawWithGPUMaskFilter()
[all …]
Dapp-android.cpp22 static GrContext* make_context() { in make_context()
24 GrContext* ctx = GrContext::Create(GrGpu::kOpenGL_Shaders_Engine, 0); in make_context()
256 static GrContext* gContext;
/external/skia/tests/
DTest.cpp80 GrContext* GpuTest::GetContext() { in GetContext()
83 static SkAutoTUnref<GrContext> gGrContext; in GetContext()
89 gGrContext.reset(GrContext::Create(kOpenGL_Shaders_GrEngine, ctx)); in GetContext()
DTest.h15 class GrContext; variable
106 GrContext* fContext;
108 static GrContext* GetContext();
/external/webkit/Source/WebCore/platform/graphics/gpu/
DDrawingBuffer.h46 class GrContext; variable
107 void setGrContext(GrContext* ctx);
149 GrContext* m_grContext;
DSharedGraphicsContext3D.h47 class GrContext; variable
143 GrContext* grContext();
174 GrContext* m_grContext;
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
DGaneshContext.h50 GrContext* getGrContext();
51 GrContext* m_grContext;
DGaneshContext.cpp61 GrContext* GaneshContext::getGrContext() in getGrContext()
64 m_grContext = GrContext::Create(kOpenGL_Shaders_GrEngine, 0); in getGrContext()
160 GrContext* grContext = getGrContext(); in getDeviceForTile()
/external/skia/samplecode/
DSampleApp.h23 class GrContext; variable
74 virtual GrContext* getGrContext(DeviceType dType) = 0;
88 GrContext* getGrContext() const { return fDevManager->getGrContext(fDeviceType); } in getGrContext()
DSampleBitmapRect.cpp29 static void make_bitmap(SkBitmap* bitmap, GrContext* ctx) { in make_bitmap()
69 GrContext* ctx = SampleCode::GetGr(); in onDrawContent()
DSampleCode.h18 class GrContext; variable
39 static GrContext* GetGr();

123