Searched refs:fTexture (Results 1 - 25 of 39) sorted by relevance

12

/external/chromium_org/third_party/skia/src/gpu/gl/debug/
H A DGrTextureUnitObj.cpp14 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
[all...]
H A DGrTextureUnitObj.h25 , fTexture(NULL) {
34 GrTextureObj *getTexture() { return fTexture; }
39 GrTextureObj *fTexture; member in class:GrTextureUnitObj
/external/skia/src/gpu/gl/debug/
H A DGrTextureUnitObj.cpp14 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
[all...]
H A DGrTextureUnitObj.h25 , fTexture(NULL) {
34 GrTextureObj *getTexture() { return fTexture; }
39 GrTextureObj *fTexture; member in class:GrTextureUnitObj
/external/skia/src/gpu/
H A DGrLayerCache.h63 fTexture = NULL;
69 if (NULL != fTexture) {
70 fTexture->unref();
73 fTexture = texture; // just take over caller's ref
75 GrTexture* getTexture() { return fTexture; }
83 // fTexture is a ref on the atlasing texture for atlased layers and a
86 GrTexture* fTexture; member in struct:GrCachedLayer
H A DGrAtlas.cpp24 , fTexture(NULL)
93 GrContext* context = fTexture->getContext();
95 context->writeTexturePixels(fTexture,
97 fTexture->config(), image, 0,
116 SkASSERT(NULL != fTexture);
117 GrContext* context = fTexture->getContext();
125 context->writeTexturePixels(fTexture,
128 fTexture->config(), dataPtr,
158 fTexture = NULL;
189 SkSafeUnref(fTexture);
[all...]
H A DGrAtlas.h36 GrTexture* texture() const { return fTexture; }
57 GrTexture* fTexture; member in class:GrPlot
89 return fTexture;
99 GrTexture* fTexture; member in class:GrAtlasMgr
H A DGrTextureAccess.cpp49 fTexture.reset(SkRef(texture));
61 fTexture.reset(SkRef(texture));
68 fTexture.reset(SkRef(texture));
78 fTexture.reset(SkRef(texture));
/external/chromium_org/third_party/skia/include/gpu/
H A DGrRenderTarget.h35 virtual GrTexture* asTexture() SK_OVERRIDE { return fTexture; }
36 virtual const GrTexture* asTexture() const SK_OVERRIDE { return fTexture; }
153 , fTexture(texture) {
165 SkASSERT(fTexture);
166 fTexture = NULL;
170 GrTexture* fTexture; // not ref'ed member in class:GrRenderTarget
H A DGrTexture.h192 : fTexture(SkSafeRef(texture))
197 fTexture.reset(SkSafeRef(other.fTexture.get()));
207 GrTexture* texture() const { return fTexture.get(); }
210 fTexture.reset(SkSafeRef(texture));
215 SkAutoTUnref<GrTexture> fTexture; member in class:GrDeviceCoordTexture
H A DGrContext.h1089 , fTexture(NULL) {
1096 , fTexture(NULL) {
1105 if (fContext && fTexture) {
1106 fContext->unlockScratchTexture(fTexture);
1107 fTexture->unref();
1108 fTexture = NULL;
1125 if (NULL == fTexture) {
1128 GrTexture* texture = fTexture;
1129 fTexture = NULL;
1150 fTexture
1164 GrTexture* fTexture; member in class:GrAutoScratchTexture
[all...]
H A DGrTextureAccess.h165 GrTexture* getTexture() const { return fTexture.get(); }
170 const GrGpuResourceRef* getProgramTexture() const { return &fTexture; }
188 ProgramTexture fTexture; member in class:GrTextureAccess
/external/skia/include/gpu/
H A DGrRenderTarget.h35 virtual GrTexture* asTexture() SK_OVERRIDE { return fTexture; }
36 virtual const GrTexture* asTexture() const SK_OVERRIDE { return fTexture; }
153 , fTexture(texture) {
165 SkASSERT(NULL != fTexture);
166 fTexture = NULL;
170 GrTexture* fTexture; // not ref'ed member in class:GrRenderTarget
H A DGrTexture.h194 : fTexture(SkSafeRef(texture))
199 fTexture.reset(SkSafeRef(other.fTexture.get()));
209 GrTexture* texture() const { return fTexture.get(); }
212 fTexture.reset(SkSafeRef(texture));
217 SkAutoTUnref<GrTexture> fTexture; member in class:GrDeviceCoordTexture
H A DGrTextureAccess.h158 (fTexture.get() == other.fTexture.get()) &&
164 GrTexture* getTexture() const { return fTexture.get(); }
181 SkAutoTUnref<GrTexture> fTexture; member in class:GrTextureAccess
H A DGrContext.h1064 , fTexture(NULL) {
1071 , fTexture(NULL) {
1080 if (NULL != fContext && NULL != fTexture) {
1081 fContext->unlockScratchTexture(fTexture);
1082 fTexture->unref();
1083 fTexture = NULL;
1100 if (NULL == fTexture) {
1103 GrTexture* texture = fTexture;
1104 fTexture = NULL;
1125 fTexture
1139 GrTexture* fTexture; member in class:GrAutoScratchTexture
[all...]
/external/chromium_org/third_party/skia/src/gpu/
H A DGrAtlas.cpp26 , fTexture(NULL)
95 GrContext* context = fTexture->getContext();
97 context->writeTexturePixels(fTexture,
99 fTexture->config(), image, 0,
120 SkASSERT(fTexture);
121 GrContext* context = fTexture->getContext();
129 context->writeTexturePixels(fTexture,
132 fTexture->config(), dataPtr,
163 fTexture = NULL;
194 SkSafeUnref(fTexture);
[all...]
H A DGrAtlas.h40 GrTexture* texture() const { return fTexture; }
62 GrTexture* fTexture; member in class:GrPlot
116 return fTexture;
139 GrTexture* fTexture; member in class:GrAtlas
H A DGrTextureAccess.cpp49 fTexture.set(SkRef(texture), GrIORef::kRead_IOType);
61 fTexture.set(SkRef(texture), GrIORef::kRead_IOType);
68 fTexture.set(SkRef(texture), GrIORef::kRead_IOType);
78 fTexture.set(SkRef(texture), GrIORef::kRead_IOType);
H A DGrLayerCache.h105 , fTexture(NULL)
113 SkSafeUnref(fTexture);
124 SkRefCnt_SafeAssign(fTexture, texture);
127 GrTexture* texture() { return fTexture; }
152 // fTexture is a ref on the atlasing texture for atlased layers and a
154 GrTexture* fTexture; member in struct:GrCachedLayer
157 // the layer in whichever texture it resides. It is empty when 'fTexture'
165 // For non-atlased layers 'fLocked' should always match "fTexture".
/external/chromium_org/third_party/skia/gm/
H A Dsamplerstress.cpp54 fTexture.allocN32Pixels(xSize, ySize);
55 SkPMColor* addr = fTexture.getAddr32(0, 0);
80 fShader.reset(SkShader::CreateBitmapShader(fTexture,
144 SkBitmap fTexture; member in class:skiagm::SamplerStressGM
/external/skia/gm/
H A Dsamplerstress.cpp54 fTexture.allocN32Pixels(xSize, ySize);
55 SkPMColor* addr = fTexture.getAddr32(0, 0);
80 fShader.reset(SkShader::CreateBitmapShader(fTexture,
143 SkBitmap fTexture; member in class:skiagm::SamplerStressGM
/external/chromium_org/third_party/skia/src/gpu/effects/
H A DGrTextureStripAtlas.cpp77 , fTexture(NULL)
158 fDesc.fContext->writeTexturePixels(fTexture,
205 fTexture = fDesc.fContext->findAndRefTexture(texDesc, cacheID, &params);
206 if (NULL == fTexture) {
207 fTexture = fDesc.fContext->createTexture(&params, texDesc, cacheID, NULL, 0);
212 SkASSERT(fTexture);
216 SkASSERT(fTexture && 0 == fLockedRows);
217 fTexture->unref();
218 fTexture = NULL;
343 SkASSERT(NULL == fTexture);
[all...]
H A DGrTextureStripAtlas.h71 GrTexture* getTexture() const { return fTexture; }
169 GrTexture* fTexture; member in class:GrTextureStripAtlas
/external/skia/src/gpu/effects/
H A DGrTextureStripAtlas.cpp77 , fTexture(NULL)
158 fDesc.fContext->writeTexturePixels(fTexture,
205 fTexture = fDesc.fContext->findAndRefTexture(texDesc, cacheID, &params);
206 if (NULL == fTexture) {
207 fTexture = fDesc.fContext->createTexture(&params, texDesc, cacheID, NULL, 0);
212 SkASSERT(NULL != fTexture);
216 SkASSERT(NULL != fTexture && 0 == fLockedRows);
217 fTexture->unref();
218 fTexture = NULL;
343 SkASSERT(NULL == fTexture);
[all...]

Completed in 755 milliseconds

12