/external/skia/src/gpu/gl/debug/ |
GrTextureUnitObj.cpp | 14 if (fTexture) { 15 GrAlwaysAssert(fTexture->getBound(this)); 16 fTexture->resetBound(this); 18 GrAlwaysAssert(!fTexture->getDeleted()); 19 fTexture->unref(); 22 fTexture = texture; 24 if (fTexture) { 25 GrAlwaysAssert(!fTexture->getDeleted()); 26 fTexture->ref(); 28 GrAlwaysAssert(!fTexture->getBound(this)) [all...] |
GrTextureUnitObj.h | 26 , fTexture(NULL) { 35 GrTextureObj *getTexture() { return fTexture; } 40 GrTextureObj *fTexture;
|
GrDebugGL.cpp | 41 , fTexture(NULL) { 72 fTexture = NULL;
|
GrDebugGL.h | 127 GrTextureObj * fTexture;
|
/external/skia/src/image/ |
SkImage_Gpu.cpp | 25 GrTexture* getTexture() { return fTexture; } 30 GrTexture* fTexture; 42 , fTexture(texture) { 44 SkASSERT(NULL != fTexture); 45 fTexture->ref(); 46 fBitmap.setConfig(SkBitmap::kARGB_8888_Config, fTexture->width(), fTexture->height()); 47 fBitmap.setPixelRef(new SkGrPixelRef(fTexture))->unref(); 51 SkSafeUnref(fTexture); 61 if (texture == fTexture) { [all...] |
/external/skia/include/gpu/ |
GrRenderTarget.h | 35 virtual GrTexture* asTexture() SK_OVERRIDE { return fTexture; } 36 virtual const GrTexture* asTexture() const SK_OVERRIDE { return fTexture; } 148 , fTexture(texture) { 159 GrAssert(NULL != fTexture); 160 fTexture = NULL; 169 GrTexture* fTexture; // not ref'ed
|
GrContext.h | [all...] |
GrTextureAccess.h | 152 (fTexture.get() == other.fTexture.get()) && 158 GrTexture* getTexture() const { return fTexture.get(); } 183 SkAutoTUnref<GrTexture> fTexture;
|
/external/skia/src/gpu/ |
GrAtlas.h | 29 GrTexture* texture() const { return fTexture; } 48 GrTexture* fTexture; 69 return fTexture[format]; 77 GrTexture* fTexture[kCount_GrMaskFormats];
|
GrAtlas.cpp | 50 fTexture = mgr->getTexture(format); // we're not an owner, just a pointer 113 GrContext* context = fTexture->getContext(); 117 context->writeTexturePixels(fTexture, 119 fTexture->config(), image, 0, 133 Gr_bzero(fTexture, sizeof(fTexture)); 138 for (size_t i = 0; i < GR_ARRAY_COUNT(fTexture); i++) { 139 GrSafeUnref(fTexture[i]); 179 if (NULL == fTexture[format]) { 187 fTexture[format] = fGpu->createTexture(desc, NULL, 0) [all...] |
GrTextureAccess.cpp | 49 fTexture.reset(SkRef(texture)); 61 fTexture.reset(SkRef(texture)); 68 fTexture.reset(SkRef(texture)); 78 fTexture.reset(SkRef(texture));
|
SkGpuDevice.cpp | 84 , fTexture(NULL) { 92 , fTexture(NULL) { 98 if (NULL != fTexture) { 99 GrUnlockAndUnrefCachedBitmapTexture(fTexture); 106 if (NULL != fTexture) { 107 GrUnlockAndUnrefCachedBitmapTexture(fTexture); 108 fTexture = NULL; 114 fTexture = GrLockAndRefCachedBitmapTexture(device->context(), bitmap, params); 115 result = fTexture; 122 GrTexture* fTexture; [all...] |
/external/skia/gm/ |
samplerstress.cpp | 50 fTexture.setConfig(SkBitmap::kARGB_8888_Config, 55 fTexture.allocPixels(); 56 fTexture.lockPixels(); 57 SkPMColor* addr = fTexture.getAddr32(0, 0); 72 fTexture.unlockPixels(); 84 fShader.reset(SkShader::CreateBitmapShader(fTexture, 147 SkBitmap fTexture;
|
tilemodes.cpp | 69 SkBitmap fTexture[SK_ARRAY_COUNT(gConfigs)]; 80 makebm(&fTexture[i], gConfigs[i], gWidth, gHeight); 123 setup(&paint, fTexture[i], gFilters[j], gModes[kx], gModes[ky]);
|
/external/skia/src/gpu/effects/ |
GrTextureStripAtlas.cpp | 77 , fTexture(NULL) 158 fDesc.fContext->writeTexturePixels(fTexture, 205 fTexture = fDesc.fContext->findAndRefTexture(texDesc, cacheID, ¶ms); 206 if (NULL == fTexture) { 207 fTexture = fDesc.fContext->createTexture(¶ms, texDesc, cacheID, NULL, 0); 212 GrAssert(NULL != fTexture); 216 GrAssert(NULL != fTexture && 0 == fLockedRows); 217 fTexture->unref(); 218 fTexture = NULL; 341 GrAssert(NULL == fTexture); [all...] |
GrTextureStripAtlas.h | 71 GrTexture* getTexture() const { return fTexture; } 165 GrTexture* fTexture;
|