Home | History | Annotate | Download | only in gpu

Lines Matching refs:GrTexture

17 #include "GrTexture.h"
132 GrTexture* createTexture(const GrTextureParams* params,
150 GrTexture* findAndRefTexture(const GrTextureDesc& desc,
195 GrTexture* lockAndRefScratchTexture(const GrTextureDesc&, ScratchTexMatch match);
201 void unlockScratchTexture(GrTexture* texture);
204 * This method should be called whenever a GrTexture is unreffed or
216 GrTexture* createUncachedTexture(const GrTextureDesc& desc,
306 * Wraps an existing texture with a GrTexture object.
313 * @return GrTexture object or NULL on failure.
315 GrTexture* wrapBackendTexture(const GrBackendTextureDesc& desc);
325 * @return GrTexture object or NULL on failure.
581 bool readTexturePixels(GrTexture* texture,
602 bool writeTexturePixels(GrTexture* texture,
618 void copyTexture(GrTexture* src, GrRenderTarget* dst, const SkIPoint* topLeft = NULL);
622 * down-sampled to the associated GrTexture (accessible via
628 * perform a resolve to a GrTexture used as the source of a draw or before
629 * reading pixels back from a GrTexture or GrRenderTarget.
915 GrTexture* createResizedTexture(const GrTextureDesc& desc,
921 // Needed so GrTexture's returnToCache helper function can call
923 friend class GrTexture;
928 void addExistingTextureToCache(GrTexture* texture);
935 const GrEffectRef* createPMToUPMEffect(GrTexture* texture,
938 const GrEffectRef* createUPMToPMEffect(GrTexture* texture,
995 * GrTexture::internal_dispose. In reality, the texture has been removed
998 * reattached in GrTexture::internal_dispose.
1003 GrTexture* detach() {
1007 GrTexture* texture = fTexture;
1015 texture->setFlag((GrTextureFlags) GrTexture::kReturnToCache_FlagBit);
1022 GrTexture* set(GrContext* context,
1039 GrTexture* texture() { return fTexture; }
1043 GrTexture* fTexture;