/external/skia/src/gpu/ |
H A D | GrSurfacePriv.h | 11 #include "GrSurface.h" 13 /** Class that adds methods to GrSurface that are only intended for use internal to Skia. 14 This class is purely a privileged window into GrSurface. It should never have additional data 17 implemented privately in GrSurface with a inline public method here). */ 22 * known to GrSurface (e.g. alphaType). 37 explicit GrSurfacePriv(GrSurface* surface) : fSurface(surface) {} 45 GrSurface* fSurface; 47 friend class GrSurface; // to construct/copy this type. 50 inline GrSurfacePriv GrSurface::surfacePriv() { return GrSurfacePriv(this); } 52 inline const GrSurfacePriv GrSurface [all...] |
H A D | GrSurface.cpp | 8 #include "GrSurface.h" 16 bool GrSurface::writePixels(int left, int top, int width, int height, 28 bool GrSurface::readPixels(int left, int top, int width, int height, 44 SkImageInfo GrSurface::info() const { 56 bool GrSurface::savePixels(const char* filename) { 81 void GrSurface::flushWrites() { 87 void GrSurface::prepareForExternalRead() { 93 bool GrSurface::hasPendingRead() const { 105 bool GrSurface::hasPendingWrite() const { 117 bool GrSurface [all...] |
H A D | GrCommandBuilder.cpp | 64 GrTargetCommands::Cmd* GrCommandBuilder::recordCopySurface(GrSurface* dst, 65 GrSurface* src,
|
H A D | GrCommandBuilder.h | 56 virtual Cmd* recordCopySurface(GrSurface* dst, 57 GrSurface* src,
|
H A D | GrDrawTarget.h | 186 bool copySurface(GrSurface* dst, 187 GrSurface* src, 194 bool canCopySurface(const GrSurface* dst, 195 const GrSurface* src, 309 virtual void onCopySurface(GrSurface* dst, 310 GrSurface* src,
|
H A D | GrTargetCommands.h | 207 CopySurface(GrSurface* dst, GrSurface* src) 213 GrSurface* dst() const { return fDst.get(); } 214 GrSurface* src() const { return fSrc.get(); } 222 GrPendingIOResource<GrSurface, kWrite_GrIOType> fDst; 223 GrPendingIOResource<GrSurface, kRead_GrIOType> fSrc;
|
H A D | GrGpu.h | 238 virtual bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) = 0; 265 virtual bool canCopySurface(const GrSurface* dst, 266 const GrSurface* src, 274 virtual bool copySurface(GrSurface* dst, 275 GrSurface* src,
|
H A D | GrTest.cpp | 158 bool canCopySurface(const GrSurface* dst, 159 const GrSurface* src, 163 bool copySurface(GrSurface* dst, 164 GrSurface* src, 168 bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) override {
|
H A D | GrInOrderDrawBuffer.h | 110 void onCopySurface(GrSurface* dst, 111 GrSurface* src,
|
H A D | GrTextureProvider.cpp | 94 GrSurface* surface = static_cast<GrSurface*>(resource);
|
H A D | GrXferProcessor.cpp | 57 if (static_cast<const GrSurface*>(rt) == this->getDstCopyTexture()) {
|
H A D | GrInOrderDrawBuffer.cpp | 120 void GrInOrderDrawBuffer::onCopySurface(GrSurface* dst, 121 GrSurface* src,
|
/external/skia/tests/ |
H A D | GrSurfaceTest.cpp | 19 // Tests that GrSurface::asTexture(), GrSurface::asRenderTarget(), and static upcasting of texture 20 // and render targets to GrSurface all work as expected. 21 DEF_GPUTEST(GrSurface, reporter, factory) { 30 GrSurface* texRT1 = context->textureProvider()->createTexture(desc, false, NULL, 0); 34 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT1->asRenderTarget()) == 37 static_cast<GrSurface*>(texRT1->asTexture())); 38 REPORTER_ASSERT(reporter, static_cast<GrSurface*>(texRT1->asRenderTarget()) == 39 static_cast<GrSurface*>(texRT1->asTexture())); 42 GrSurface* tex [all...] |
/external/skia/include/gpu/ |
H A D | SkGrPixelRef.h | 38 * PixelRef that wraps a GrSurface 44 * Constructs a pixel ref around a GrSurface. 46 SkGrPixelRef(const SkImageInfo&, GrSurface*); 59 GrSurface* fSurface;
|
H A D | GrSurface.h | 21 class GrSurface : public GrGpuResource { class in inherits:GrGpuResource 23 SK_DECLARE_INST_COUNT(GrSurface); 141 GrSurface(GrGpu* gpu, LifeCycle lifeCycle, const GrSurfaceDesc& desc) function in class:GrSurface
|
H A D | GrGpuResourceRef.h | 119 GrSurface* surface = static_cast<GrSurface*>(this->getResource()); 140 GrSurface* surface = static_cast<GrSurface*>(this->getResource());
|
H A D | GrRenderTarget.h | 11 #include "GrSurface.h" 24 class GrRenderTarget : virtual public GrSurface { 28 // GrSurface overrides 117 typedef GrSurface INHERITED;
|
H A D | GrContext.h | 461 bool writeSurfacePixels(GrSurface* surface, 476 void copySurface(GrSurface* dst, 477 GrSurface* src, 484 bool copySurface(GrSurface* dst, GrSurface* src) { 497 void flushSurfaceWrites(GrSurface* surface); 508 void prepareSurfaceForExternalRead(GrSurface*);
|
H A D | GrTexture.h | 12 #include "GrSurface.h" 19 class GrTexture : virtual public GrSurface { 70 typedef GrSurface INHERITED;
|
H A D | GrTextureProvider.h | 47 GrTexture* texture = static_cast<GrSurface*>(resource)->asTexture();
|
H A D | GrClip.h | 12 #include "GrSurface.h" 160 void getConservativeBounds(const GrSurface* surface,
|
/external/skia/src/gpu/gl/ |
H A D | GrGLTexture.cpp | 14 // Because this class is virtually derived from GrSurface we must explicitly call its constructor. 16 : GrSurface(gpu, idDesc.fLifeCycle, desc) 23 : GrSurface(gpu, idDesc.fLifeCycle, desc)
|
H A D | GrGLTextureRenderTarget.h | 25 // We're virtually derived from GrSurface (via both GrGLTexture and GrGLRenderTarget) so its 31 : GrSurface(gpu, texIDDesc.fLifeCycle, desc)
|
H A D | GrGLRenderTarget.cpp | 15 // Because this class is virtually derived from GrSurface we must explicitly call its constructor. 17 : GrSurface(gpu, idDesc.fLifeCycle, desc) 25 : GrSurface(gpu, idDesc.fLifeCycle, desc)
|
H A D | GrGLGpu.h | 73 bool initCopySurfaceDstDesc(const GrSurface* src, GrSurfaceDesc* desc) override; 99 bool copySurface(GrSurface* dst, 100 GrSurface* src, 104 bool canCopySurface(const GrSurface* dst, 105 const GrSurface* src, 292 GrGLuint bindSurfaceAsFBO(GrSurface* surface, GrGLenum fboTarget, GrGLIRect* viewport,
|