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

1 2

  /external/chromium_org/third_party/skia/include/gpu/
GrSurface.h 29 int width() const { return fDesc.fWidth; }
36 int height() const { return fDesc.fHeight; }
45 SkASSERT(kTopLeft_GrSurfaceOrigin == fDesc.fOrigin || kBottomLeft_GrSurfaceOrigin == fDesc.fOrigin);
46 return fDesc.fOrigin;
55 GrPixelConfig config() const { return fDesc.fConfig; }
60 const GrTextureDesc& desc() const { return fDesc; }
141 , fDesc(desc) {
144 GrTextureDesc fDesc;
GrTexture.h 38 fDesc.fFlags = fDesc.fFlags | flags;
41 fDesc.fFlags = fDesc.fFlags & ~flags;
44 return 0 != (fDesc.fFlags & flags);
59 return (size_t) fDesc.fWidth *
60 fDesc.fHeight *
61 GrBytesPerPixel(fDesc.fConfig);
103 SkASSERT(GrIsPow2(fDesc.fWidth));
107 SkASSERT(GrIsPow2(fDesc.fHeight))
    [all...]
GrRenderTarget.h 76 bool isMultisampled() const { return 0 != fDesc.fSampleCnt; }
81 int numSamples() const { return fDesc.fSampleCnt; }
  /external/skia/include/gpu/
GrSurface.h 29 int width() const { return fDesc.fWidth; }
36 int height() const { return fDesc.fHeight; }
45 SkASSERT(kTopLeft_GrSurfaceOrigin == fDesc.fOrigin || kBottomLeft_GrSurfaceOrigin == fDesc.fOrigin);
46 return fDesc.fOrigin;
55 GrPixelConfig config() const { return fDesc.fConfig; }
60 const GrTextureDesc& desc() const { return fDesc; }
141 , fDesc(desc) {
144 GrTextureDesc fDesc;
GrTexture.h 38 fDesc.fFlags = fDesc.fFlags | flags;
41 fDesc.fFlags = fDesc.fFlags & ~flags;
44 return 0 != (fDesc.fFlags & flags);
59 return (size_t) fDesc.fWidth *
60 fDesc.fHeight *
61 GrBytesPerPixel(fDesc.fConfig);
103 SkASSERT(GrIsPow2(fDesc.fWidth));
107 SkASSERT(GrIsPow2(fDesc.fHeight))
    [all...]
GrRenderTarget.h 76 bool isMultisampled() const { return 0 != fDesc.fSampleCnt; }
81 int numSamples() const { return fDesc.fSampleCnt; }
  /external/chromium_org/third_party/skia/src/gpu/gl/
GrGLBufferImpl.cpp 24 : fDesc(desc)
41 } else if (fDesc.fID && !fDesc.fIsWrapped) {
43 GL_CALL(gpu, DeleteBuffers(1, &fDesc.fID));
45 gpu->notifyVertexBufferDelete(fDesc.fID);
48 gpu->notifyIndexBufferDelete(fDesc.fID);
50 fDesc.fID = 0;
56 fDesc.fID = 0;
65 gpu->bindVertexBuffer(fDesc.fID);
68 gpu->bindIndexBufferAndDefaultVertexArray(fDesc.fID)
    [all...]
GrGLBufferImpl.h 32 SkASSERT(0 == fDesc.fID);
38 GrGLuint bufferID() const { return fDesc.fID; }
52 Desc fDesc;
GrGLProgram.cpp 43 fDesc = desc;
50 if (fDesc.getHeader().fHasVertexCode ||
52 GrGLFullShaderBuilder fullBuilder(fGpu, fUniformManager, fDesc);
58 GrGLFragmentOnlyShaderBuilder fragmentOnlyBuilder(fGpu, fUniformManager, fDesc);
77 switch (fDesc.getHeader().fCoverageOutput) {
102 const GrGLProgramDesc::KeyHeader& header = fDesc.getHeader();
109 fDesc.effectKeys(),
110 fDesc.numColorEffects(),
119 fDesc.getEffectKeys() + fDesc.numColorEffects()
    [all...]
GrGLProgram.h 58 const GrGLProgramDesc& getDesc() { return fDesc; }
194 GrGLProgramDesc fDesc;
  /external/skia/src/gpu/gl/
GrGLBufferImpl.cpp 24 : fDesc(desc)
41 } else if (fDesc.fID && !fDesc.fIsWrapped) {
43 GL_CALL(gpu, DeleteBuffers(1, &fDesc.fID));
45 gpu->notifyVertexBufferDelete(fDesc.fID);
48 gpu->notifyIndexBufferDelete(fDesc.fID);
50 fDesc.fID = 0;
56 fDesc.fID = 0;
65 gpu->bindVertexBuffer(fDesc.fID);
68 gpu->bindIndexBufferAndDefaultVertexArray(fDesc.fID)
    [all...]
GrGLBufferImpl.h 32 SkASSERT(0 == fDesc.fID);
38 GrGLuint bufferID() const { return fDesc.fID; }
52 Desc fDesc;
GrGLProgram.cpp 43 fDesc = desc;
50 if (fDesc.getHeader().fHasVertexCode ||
52 GrGLFullShaderBuilder fullBuilder(fGpu, fUniformManager, fDesc);
58 GrGLFragmentOnlyShaderBuilder fragmentOnlyBuilder(fGpu, fUniformManager, fDesc);
77 switch (fDesc.getHeader().fCoverageOutput) {
102 const GrGLProgramDesc::KeyHeader& header = fDesc.getHeader();
109 fDesc.effectKeys(),
110 fDesc.numColorEffects(),
119 fDesc.getEffectKeys() + fDesc.numColorEffects()
    [all...]
  /external/chromium_org/third_party/skia/src/gpu/
GrRenderTarget.cpp 59 if (kUnknown_GrPixelConfig == fDesc.fConfig) {
62 colorBits = GrBytesPerPixel(fDesc.fConfig);
64 uint64_t size = fDesc.fWidth;
65 size *= fDesc.fHeight;
67 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, SkTMin<size_t>(lenLH, lenRH));
64 const SkDescriptor* srcDesc = ((const SkGrDescKey*)&rh)->fDesc;
    [all...]
GrTexture.cpp 90 SkASSERT(0 != (fDesc.fFlags & kRenderTarget_GrTextureFlagBit));
93 SkASSERT(0 != (fDesc.fFlags & kNoStencil_GrTextureFlagBit));
95 SkASSERT(0 == (fDesc.fFlags & kNoStencil_GrTextureFlagBit));
98 SkASSERT(fDesc.fSampleCnt == this->asRenderTarget()->numSamples());
100 SkASSERT(0 == (fDesc.fFlags & kRenderTarget_GrTextureFlagBit));
101 SkASSERT(0 == (fDesc.fFlags & kNoStencil_GrTextureFlagBit));
102 SkASSERT(0 == fDesc.fSampleCnt);
  /external/skia/src/gpu/
GrRenderTarget.cpp 59 if (kUnknown_GrPixelConfig == fDesc.fConfig) {
62 colorBits = GrBytesPerPixel(fDesc.fConfig);
64 uint64_t size = fDesc.fWidth;
65 size *= fDesc.fHeight;
67 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, SkTMin<size_t>(lenLH, lenRH));
64 const SkDescriptor* srcDesc = ((const SkGrDescKey*)&rh)->fDesc;
    [all...]
GrTexture.cpp 90 SkASSERT(0 != (fDesc.fFlags & kRenderTarget_GrTextureFlagBit));
93 SkASSERT(0 != (fDesc.fFlags & kNoStencil_GrTextureFlagBit));
95 SkASSERT(0 == (fDesc.fFlags & kNoStencil_GrTextureFlagBit));
98 SkASSERT(fDesc.fSampleCnt == this->asRenderTarget()->numSamples());
100 SkASSERT(0 == (fDesc.fFlags & kRenderTarget_GrTextureFlagBit));
101 SkASSERT(0 == (fDesc.fFlags & kNoStencil_GrTextureFlagBit));
102 SkASSERT(0 == fDesc.fSampleCnt);
  /external/chromium_org/third_party/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;
  /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;
  /external/chromium_org/third_party/skia/src/gpu/effects/
GrTextureStripAtlas.cpp 75 , fDesc(desc)
81 SkASSERT(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...]
GrTextureStripAtlas.h 68 SkScalar getVerticalScaleFactor() const { return SkIntToScalar(fDesc.fRowHeight) / fDesc.fHeight; }
70 GrContext* getContext() const { return fDesc.fContext; }
166 const Desc fDesc;
  /external/skia/src/gpu/effects/
GrTextureStripAtlas.cpp 75 , fDesc(desc)
81 SkASSERT(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...]
GrTextureStripAtlas.h 68 SkScalar getVerticalScaleFactor() const { return SkIntToScalar(fDesc.fRowHeight) / fDesc.fHeight; }
70 GrContext* getContext() const { return fDesc.fContext; }
166 const Desc fDesc;

Completed in 469 milliseconds

1 2