Searched defs:GrContext (Results 1 - 2 of 2) sorted by relevance

/external/skia/include/gpu/
H A DGrContext.h34 class GR_API GrContext : public GrRefCnt { class in inherits:GrRefCnt
37 * Creates a GrContext from within a 3D context.
39 static GrContext* Create(GrEngine engine,
42 virtual ~GrContext();
45 * The GrContext normally assumes that no outsider is setting state
56 * GrContext is no longer going to be used for two reasons:
57 * 1) ~GrContext will not try to free the objects in the 3D API.
58 * 2) If you've created GrResources that outlive the GrContext they will
61 * Content drawn since the last GrContext::flush() may be lost.
67 * Use this method when GrContext destructio
803 GrAutoScratchTexture(GrContext* context, const GrTextureDesc& desc, GrContext::ScratchTexMatch match = GrContext::kApprox_ScratchTexMatch) argument
817 set(GrContext* context, const GrTextureDesc& desc, GrContext::ScratchTexMatch match = GrContext::kApprox_ScratchTexMatch) argument
[all...]
/external/skia/src/gpu/
H A DGrContext.cpp10 #include "GrContext.h"
46 GrContext* GrContext::Create(GrEngine engine,
48 GrContext* ctx = NULL;
51 ctx = new GrContext(fGpu);
57 GrContext::~GrContext() {
71 void GrContext::contextLost() {
76 void GrContext::contextDestroyed() {
102 void GrContext
1944 GrContext::GrContext(GrGpu* gpu) { function in class:GrContext
[all...]

Completed in 573 milliseconds