HomeSort by relevance Sort by last modified time
    Searched refs:fDesc (Results 1 - 16 of 16) sorted by null

  /external/skia/include/gpu/
GrTexture.h 37 fDesc.fFlags = fDesc.fFlags | flags;
40 fDesc.fFlags = fDesc.fFlags & ~flags;
43 return 0 != (fDesc.fFlags & flags);
50 return (size_t) fDesc.fWidth *
51 fDesc.fHeight *
52 GrBytesPerPixel(fDesc.fConfig);
94 GrAssert(GrIsPow2(fDesc.fWidth));
98 GrAssert(GrIsPow2(fDesc.fHeight))
    [all...]
GrSurface.h 27 int width() const { return fDesc.fWidth; }
34 int height() const { return fDesc.fHeight; }
47 GrPixelConfig config() const { return fDesc.fConfig; }
52 const GrTextureDesc& desc() const { return fDesc; }
109 , fDesc(desc)
113 GrTextureDesc fDesc;
GrRenderTarget.h 76 bool isMultisampled() const { return 0 != fDesc.fSampleCnt; }
81 int numSamples() const { return fDesc.fSampleCnt; }
  /external/skia/src/gpu/
GrTexture.cpp 72 GrAssert(fDesc.fFlags & kRenderTarget_GrTextureFlagBit);
78 fDesc.fFlags = fDesc.fFlags &
80 fDesc.fSampleCnt = 0;
102 GrAssert(0 != (fDesc.fFlags & kRenderTarget_GrTextureFlagBit));
105 GrAssert(0 != (fDesc.fFlags & kNoStencil_GrTextureFlagBit));
107 GrAssert(0 == (fDesc.fFlags & kNoStencil_GrTextureFlagBit));
110 GrAssert(fDesc.fSampleCnt == this->asRenderTarget()->numSamples());
112 GrAssert(0 == (fDesc.fFlags & kRenderTarget_GrTextureFlagBit));
113 GrAssert(0 == (fDesc.fFlags & kNoStencil_GrTextureFlagBit))
    [all...]
GrRenderTarget.cpp 61 if (kUnknown_GrPixelConfig == fDesc.fConfig) {
64 colorBits = GrBytesPerPixel(fDesc.fConfig);
66 uint64_t size = fDesc.fWidth;
67 size *= fDesc.fHeight;
69 size *= GrMax(1, fDesc.fSampleCnt);
SkGrFontScaler.cpp 26 SkDescriptor* fDesc;
38 fDesc = GrTCast<SkDescriptor*>(fStorage);
40 fDesc = SkDescriptor::Alloc(size);
42 memcpy(fDesc, &desc, size);
46 if (fDesc != GrTCast<SkDescriptor*>(fStorage)) {
47 SkDescriptor::Free(fDesc);
52 const SkDescriptor* srcDesc = ((const SkGrDescKey*)&rh)->fDesc;
53 size_t lenLH = fDesc->getLength();
55 int cmp = memcmp(fDesc, srcDesc, SkMin32(lenLH, lenRH));
64 const SkDescriptor* srcDesc = ((const SkGrDescKey*)&rh)->fDesc;
    [all...]
  /external/skia/legacy/include/core/
SkDescriptor.h 158 fDesc = (SkDescriptor*)(void*)fStorage;
160 fDesc = SkDescriptor::Alloc(size);
164 if (fDesc != (SkDescriptor*)(void*)fStorage)
165 SkDescriptor::Free(fDesc);
167 SkDescriptor* getDesc() const { return fDesc; }
175 SkDescriptor* fDesc;
  /external/skia/src/core/
SkDescriptor.h 139 fDesc = (SkDescriptor*)(void*)fStorage;
141 fDesc = SkDescriptor::Alloc(size);
146 if (fDesc != (SkDescriptor*)(void*)fStorage) {
147 SkDescriptor::Free(fDesc);
151 SkDescriptor* getDesc() const { return fDesc; }
159 SkDescriptor* fDesc;
SkGlyphCache.h 102 const SkDescriptor& getDescriptor() const { return *fDesc; }
220 SkDescriptor* fDesc;
SkGlyphCache.cpp 59 fDesc = desc->copy();
87 SkDescriptor::Free(fDesc);
542 if (cache && *cache->fDesc == *desc) {
549 if (cache->fDesc->equals(*desc)) {
612 unsigned index = desc_to_hashindex(cache->fDesc);
666 unsigned index = desc_to_hashindex(cache->fDesc);
  /external/skia/src/gpu/effects/
GrTextureStripAtlas.h 68 SkScalar getVerticalScaleFactor() const { return SkIntToScalar(fDesc.fRowHeight) / fDesc.fHeight; }
70 GrContext* getContext() const { return fDesc.fContext; }
163 const Desc fDesc;
GrTextureStripAtlas.cpp 75 , fDesc(desc)
81 GrAssert(fNumRows * fDesc.fRowHeight == fDesc.fHeight);
123 fDesc.fContext->flush();
158 fDesc.fContext->writeTexturePixels(fTexture,
159 0, rowNumber * fDesc.fRowHeight,
160 fDesc.fWidth, fDesc.fRowHeight,
195 texDesc.fWidth = fDesc.fWidth;
196 texDesc.fHeight = fDesc.fHeight
    [all...]
  /external/skia/src/gpu/gl/
GrGLProgram.cpp 59 fDesc = desc;
106 switch (fDesc.fDualSrcOutput) {
228 if (fDesc.fVertexLayout & GrDrawState::kEdge_VertexLayoutBit) {
235 switch (fDesc.fVertexEdgeType) {
290 if (fDesc.fDiscardIfOutsideEdge) {
302 switch (fDesc.fColorInput) {
364 if (fDesc.fExperimentalGS) {
370 if (fDesc.fEmitsPointSize) {
391 if (Desc::kSolidWhite_ColorInput == fDesc.fColorInput) {
507 const uint32_t& layout = fDesc.fVertexLayout
    [all...]
GrGLProgram.h 61 const Desc& getDesc() { return fDesc; }
215 Desc fDesc;
  /external/skia/legacy/src/core/
SkGlyphCache.h 99 const SkDescriptor& getDescriptor() const { return *fDesc; }
232 SkDescriptor* fDesc;
SkGlyphCache.cpp 57 fDesc = desc->copy();
85 SkDescriptor::Free(fDesc);
480 if (cache && *cache->fDesc == *desc) {
487 if (cache->fDesc->equals(*desc)) {
550 unsigned index = desc_to_hashindex(cache->fDesc);
626 unsigned index = desc_to_hashindex(cache->fDesc);

Completed in 1154 milliseconds