Home
last modified time | relevance | path

Searched refs:fTexture (Results 1 – 9 of 9) sorted by relevance

/external/skia/tools/gpu/gl/debug/
DGrTextureUnitObj.cpp14 if (fTexture) { in setTexture()
15 GrAlwaysAssert(fTexture->getBound(this)); in setTexture()
16 fTexture->resetBound(this); in setTexture()
18 GrAlwaysAssert(!fTexture->getDeleted()); in setTexture()
19 fTexture->unref(); in setTexture()
22 fTexture = texture; in setTexture()
24 if (fTexture) { in setTexture()
25 GrAlwaysAssert(!fTexture->getDeleted()); in setTexture()
26 fTexture->ref(); in setTexture()
28 GrAlwaysAssert(!fTexture->getBound(this)); in setTexture()
[all …]
DGrTextureUnitObj.h25 , fTexture(nullptr) { in GR_DEFINE_CREATOR()
34 GrTextureObj *getTexture() { return fTexture; } in getTexture()
39 GrTextureObj *fTexture; variable
/external/skia/src/gpu/
DGrTexturePriv.h21 fTexture->dirtyMipMaps(mipMapsDirty); in dirtyMipMaps()
25 return GrTexture::kValid_MipMapsStatus != fTexture->fMipMapsStatus; in mipMapsAreDirty()
29 return GrTexture::kNotAllocated_MipMapsStatus != fTexture->fMipMapsStatus; in hasMipMaps()
33 fTexture->fMaxMipMapLevel = maxMipMapLevel; in setMaxMipMapLevel()
37 return fTexture->fMaxMipMapLevel; in maxMipMapLevel()
41 if (GrPixelConfigIsSint(fTexture->config())) { in imageStorageType()
48 GrSLType samplerType() const { return fTexture->fSamplerType; } in samplerType()
51 GrSamplerParams::FilterMode highestFilterMode() const { return fTexture->fHighestFilterMode; } in highestFilterMode()
54 fTexture->fMipColorMode = colorMode; in setMipColorMode()
56 SkDestinationSurfaceColorMode mipColorMode() const { return fTexture->fMipColorMode; } in mipColorMode()
[all …]
/external/skia/gm/
Dsamplerstress.cpp49 fTexture.allocN32Pixels(xSize, ySize); in createTexture()
50 SkPMColor* addr = fTexture.getAddr32(0, 0); in createTexture()
75 fShader = SkShader::MakeBitmapShader(fTexture, SkShader::kRepeat_TileMode, in createShader()
139 SkBitmap fTexture; member in skiagm::SamplerStressGM
Dtilemodes_scaled.cpp53 SkBitmap fTexture[SK_ARRAY_COUNT(gColorTypes)]; member in ScaledTilingGM
74 makebm(&fTexture[i], gColorTypes[i], size, size); in onOnceBeforeDraw()
127 makebm(&fTexture[i], gColorTypes[i], size, size); in onDraw()
130 setup(&paint, fTexture[i], gFilterQualitys[j], gModes[kx], gModes[ky]); in onDraw()
Dtilemodes.cpp54 SkBitmap fTexture[SK_ARRAY_COUNT(gColorTypes)]; member in TilingGM
76 makebm(&fTexture[i], gColorTypes[i], size, size); in onOnceBeforeDraw()
125 makebm(&fTexture[i], gColorTypes[i], size, size); in onDraw()
128 setup(&paint, fTexture[i], gFilters[j], gModes[kx], gModes[ky]); in onDraw()
/external/skia/samplecode/
DSampleTiling.cpp64 makebm(&fTexture[i], gColorTypes[i], gWidth, gHeight); in TilingView()
71 SkBitmap fTexture[SK_ARRAY_COUNT(gColorTypes)]; member in TilingView
129 setup(&paint, fTexture[i], gFilters[j], gModes[kx], gModes[ky]); in onDrawContent()
/external/skia/bench/
DGLVertexAttributesBench.cpp28 : fTexture(0) in GLVertexAttributesBench()
53 GrGLuint fTexture; member in GLVertexAttributesBench
157 fTexture = SetupFramebuffer(gl, kScreenWidth, kScreenHeight); in setup()
252 GR_GL_CALL(gl, DeleteTextures(1, &fTexture)); in teardown()
DGLInstancedArraysBench.cpp104 GrGLuint fTexture; member in GLCpuPosInstancedArraysBench
305 fTexture = SetupFramebuffer(gl, kScreenWidth, kScreenHeight); in setup()
375 GR_GL_CALL(gl, DeleteTextures(1, &fTexture)); in teardown()