/external/skqp/tests/ |
D | DeviceTest.cpp | 54 SkASSERT(!special->isTextureBacked()); 55 SkASSERT(kWidth == special->width()); 56 SkASSERT(kHeight == special->height()); 57 SkASSERT(bm.getGenerationID() == special->uniqueID()); 58 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); 63 SkASSERT(!special->isTextureBacked()); 64 SkASSERT(kWidth == special->width()); 65 SkASSERT(kHeight == special->height()); 66 SkASSERT(bm.getGenerationID() == special->uniqueID()); 67 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); [all …]
|
/external/skia/tests/ |
D | DeviceTest.cpp | 54 SkASSERT(!special->isTextureBacked()); 55 SkASSERT(kWidth == special->width()); 56 SkASSERT(kHeight == special->height()); 57 SkASSERT(bm.getGenerationID() == special->uniqueID()); 58 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); 63 SkASSERT(!special->isTextureBacked()); 64 SkASSERT(kWidth == special->width()); 65 SkASSERT(kHeight == special->height()); 66 SkASSERT(bm.getGenerationID() == special->uniqueID()); 67 SkASSERT(SkIRect::MakeWH(kWidth, kHeight) == special->subset()); [all …]
|
/external/skqp/src/gpu/ |
D | GrResourceCache.cpp | 93 SkASSERT(contextUniqueID != SK_InvalidUniqueID); in GrResourceCache() 110 SkASSERT(resource); in insertResource() local 111 SkASSERT(!this->isInCache(resource)); in insertResource() 112 SkASSERT(!resource->wasDestroyed()); in insertResource() 113 SkASSERT(!resource->resourcePriv().isPurgeable()); in insertResource() 140 SkASSERT(!resource->resourcePriv().refsWrappedObjects()); in insertResource() 150 SkASSERT(this->isInCache(resource)); in removeResource() 189 SkASSERT(!back->wasDestroyed()); in abandonAll() 195 SkASSERT(!top->wasDestroyed()); in abandonAll() 199 SkASSERT(!fScratchMap.count()); in abandonAll() [all …]
|
D | GrBufferAllocPool.cpp | 57 SkASSERT(!fBufferPtr); in deleteBlocks() 96 SkASSERT(!fBlocks.empty()); in validate() 98 SkASSERT(fCpuData == fBufferPtr); in validate() 101 SkASSERT(fBlocks.empty() || !fBlocks.back().fBuffer->isMapped()); in validate() 105 SkASSERT(!fBlocks[i].fBuffer->isMapped()); in validate() 113 SkASSERT(bytes || unusedBlockAllowed); in validate() 118 SkASSERT(bytesInUse == fBytesInUse); in validate() 120 SkASSERT((fBytesInUse && !fBlocks.empty()) || in validate() 123 SkASSERT((0 == fBytesInUse) == fBlocks.empty()); in validate() 135 SkASSERT(buffer); in makeSpace() [all …]
|
D | GrMemoryPool.cpp | 23 SkASSERT(tmp); in release() 62 SkASSERT(0 == fAllocationCnt); in ~GrMemoryPool() 63 SkASSERT(fHead == fTail); in ~GrMemoryPool() 64 SkASSERT(0 == fHead->fLiveCount); in ~GrMemoryPool() 79 SkASSERT(nullptr == fTail->fNext); in allocate() 85 SkASSERT(kAssignedMarker == fTail->fBlockSentinal); in allocate() 86 SkASSERT(fTail->fFreeSize >= size); in allocate() 113 SkASSERT(kAssignedMarker == allocData->fSentinal); in release() 117 SkASSERT(kAssignedMarker == block->fBlockSentinal); in release() 127 SkASSERT(prev); in release() [all …]
|
/external/skia/src/gpu/ |
D | GrResourceCache.cpp | 101 SkASSERT(fNumUnrefs > 0); in unref() 131 SkASSERT(contextUniqueID != SK_InvalidUniqueID); in GrResourceCache() 148 SkASSERT(resource); in insertResource() local 149 SkASSERT(!this->isInCache(resource)); in insertResource() 150 SkASSERT(!resource->wasDestroyed()); in insertResource() 151 SkASSERT(!resource->resourcePriv().isPurgeable()); in insertResource() 178 SkASSERT(!resource->resourcePriv().refsWrappedObjects()); in insertResource() 188 SkASSERT(this->isInCache(resource)); in removeResource() 226 SkASSERT(!back->wasDestroyed()); in abandonAll() 232 SkASSERT(!top->wasDestroyed()); in abandonAll() [all …]
|
D | GrBufferAllocPool.cpp | 35 SkASSERT(size > 0); in makeBuffer() 40 SkASSERT(fBuffers[i].fBuffer->size() == kDefaultBufferSize); in makeBuffer() 82 SkASSERT(!block.fBuffer->isCpuBuffer()); \ 105 SkASSERT(!fBufferPtr); in deleteBlocks() 144 SkASSERT(!fBlocks.empty()); in validate() 147 SkASSERT(fCpuStagingBuffer && fCpuStagingBuffer->data() == fBufferPtr); in validate() 151 SkASSERT(buffer->isCpuBuffer() || !static_cast<const GrGpuBuffer*>(buffer)->isMapped()); in validate() 156 SkASSERT(buffer->isCpuBuffer() || !static_cast<const GrGpuBuffer*>(buffer)->isMapped()); in validate() 165 SkASSERT(bytes || unusedBlockAllowed); in validate() 170 SkASSERT(bytesInUse == fBytesInUse); in validate() [all …]
|
D | GrMemoryPool.cpp | 23 SkASSERT(tmp); in release() 62 SkASSERT(0 == fAllocationCnt); in ~GrMemoryPool() 63 SkASSERT(fHead == fTail); in ~GrMemoryPool() 64 SkASSERT(0 == fHead->fLiveCount); in ~GrMemoryPool() 79 SkASSERT(nullptr == fTail->fNext); in allocate() 85 SkASSERT(kAssignedMarker == fTail->fBlockSentinal); in allocate() 86 SkASSERT(fTail->fFreeSize >= size); in allocate() 113 SkASSERT(kAssignedMarker == allocData->fSentinal); in release() 117 SkASSERT(kAssignedMarker == block->fBlockSentinal); in release() 127 SkASSERT(prev); in release() [all …]
|
/external/skqp/src/gpu/vk/ |
D | GrVkPipelineStateDataManager.cpp | 29 SkASSERT(GrShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() || in GrVkPipelineStateDataManager() 39 SkASSERT(kFragment_GrShaderFlag == uniformInfo.fVisibility); in GrVkPipelineStateDataManager() 52 SkASSERT(GrVkUniformHandler::kFragBinding == uni.fBinding); in getBufferPtrAndMarkDirty() 62 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1i() 63 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); in set1i() 72 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1iv() 73 SkASSERT(arrayCount > 0); in set1iv() 74 SkASSERT(arrayCount <= uni.fArrayCount || in set1iv() 78 SkASSERT(sizeof(int32_t) == 4); in set1iv() 88 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1f() [all …]
|
D | GrVkCommandBuffer.cpp | 45 SkASSERT(!fIsActive); in freeGPUData() 92 SkASSERT(!fIsActive); in releaseResources() 136 SkASSERT(!this->isWrapped()); in pipelineBarrier() 137 SkASSERT(fIsActive); in pipelineBarrier() 142 SkASSERT(!fActiveRenderPass); in pipelineBarrier() 184 SkASSERT(VK_NULL_HANDLE != vkBuffer); in bindInputBuffer() 185 SkASSERT(binding < kMaxInputBuffers); in bindInputBuffer() 202 SkASSERT(VK_NULL_HANDLE != vkBuffer); in bindIndexBuffer() 220 SkASSERT(fIsActive); in clearAttachments() 221 SkASSERT(fActiveRenderPass); in clearAttachments() [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkPipelineStateDataManager.cpp | 29 SkASSERT(GrShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() || in GrVkPipelineStateDataManager() 39 SkASSERT(kFragment_GrShaderFlag == uniformInfo.fVisibility); in GrVkPipelineStateDataManager() 52 SkASSERT(GrVkUniformHandler::kFragBinding == uni.fBinding); in getBufferPtrAndMarkDirty() 62 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1i() 63 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); in set1i() 72 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1iv() 73 SkASSERT(arrayCount > 0); in set1iv() 74 SkASSERT(arrayCount <= uni.fArrayCount || in set1iv() 78 SkASSERT(sizeof(int32_t) == 4); in set1iv() 88 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1f() [all …]
|
D | GrVkCommandBuffer.cpp | 45 SkASSERT(!fIsActive); in freeGPUData() 92 SkASSERT(!fIsActive); in releaseResources() 137 SkASSERT(!this->isWrapped()); in pipelineBarrier() 138 SkASSERT(fIsActive); in pipelineBarrier() 143 SkASSERT(!fActiveRenderPass); in pipelineBarrier() 187 SkASSERT(VK_NULL_HANDLE != vkBuffer); in bindInputBuffer() 188 SkASSERT(binding < kMaxInputBuffers); in bindInputBuffer() 205 SkASSERT(VK_NULL_HANDLE != vkBuffer); in bindIndexBuffer() 223 SkASSERT(fIsActive); in clearAttachments() 224 SkASSERT(fActiveRenderPass); in clearAttachments() [all …]
|
/external/skia/src/gpu/ccpr/ |
D | GrCCFiller.cpp | 38 SkASSERT(!fInstanceBuffer); // Can't call after prepareToDraw(). in parseDeviceSpaceFill() 39 SkASSERT(!path.isEmpty()); in parseDeviceSpaceFill() 89 SkASSERT(ptsIdx == path.countPoints()); in parseDeviceSpaceFill() 90 SkASSERT(conicWeightsIdx == SkPathPriv::ConicWeightCnt(path)); in parseDeviceSpaceFill() 120 SkASSERT(-1 == fFanTessellationCount); in tessellateFan() 121 SkASSERT(!fFanTessellation); in tessellateFan() 134 SkASSERT(Verb::kBeginPath == verbs[verbsIdx]); in tessellateFan() 172 SkASSERT(0 == fFanTessellationCount); in tessellateFan() 173 SkASSERT(nullptr == vertices); in tessellateFan() 177 SkASSERT(0 == fFanTessellationCount % 3); in tessellateFan() [all …]
|
/external/skqp/src/gpu/ccpr/ |
D | GrCCFiller.cpp | 38 SkASSERT(!fInstanceBuffer); // Can't call after prepareToDraw(). in parseDeviceSpaceFill() 39 SkASSERT(!path.isEmpty()); in parseDeviceSpaceFill() 89 SkASSERT(ptsIdx == path.countPoints()); in parseDeviceSpaceFill() 90 SkASSERT(conicWeightsIdx == SkPathPriv::ConicWeightCnt(path)); in parseDeviceSpaceFill() 120 SkASSERT(-1 == fFanTessellationCount); in tessellateFan() 121 SkASSERT(!fFanTessellation); in tessellateFan() 134 SkASSERT(Verb::kBeginPath == verbs[verbsIdx]); in tessellateFan() 172 SkASSERT(0 == fFanTessellationCount); in tessellateFan() 173 SkASSERT(nullptr == vertices); in tessellateFan() 177 SkASSERT(0 == fFanTessellationCount % 3); in tessellateFan() [all …]
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlPipelineStateDataManager.mm | 29 SkASSERT(GrShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() || 39 SkASSERT(kFragment_GrShaderFlag == uniformInfo.fVisibility); 52 SkASSERT(GrMtlUniformHandler::kFragBinding == uni.fBinding); 62 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); 63 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); 72 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); 73 SkASSERT(arrayCount > 0); 74 SkASSERT(arrayCount <= uni.fArrayCount || 78 SkASSERT(sizeof(int32_t) == 4); 88 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); [all …]
|
/external/skia/src/gpu/mtl/ |
D | GrMtlPipelineStateDataManager.mm | 29 SkASSERT(GrShaderVar::kNonArray == uniformInfo.fVariable.getArrayCount() || 39 SkASSERT(kFragment_GrShaderFlag == uniformInfo.fVisibility); 52 SkASSERT(GrMtlUniformHandler::kFragBinding == uni.fBinding); 62 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); 63 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); 72 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); 73 SkASSERT(arrayCount > 0); 74 SkASSERT(arrayCount <= uni.fArrayCount || 78 SkASSERT(sizeof(int32_t) == 4); 88 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); [all …]
|
/external/skia/src/gpu/gl/ |
D | GrGLProgramDataManager.cpp | 14 SkASSERT((COUNT) <= (UNI).fArrayCount || \ 27 SkASSERT(GrShaderVar::kNonArray == builderUniform.fVariable.getArrayCount() || in GrGLProgramDataManager() 40 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in GrGLProgramDataManager() 43 SkASSERT(GrShaderVar::kNonArray == builderPathProcVarying.fVariable.getArrayCount() || in GrGLProgramDataManager() 57 SkASSERT(sampler.fVisibility); in setSamplerUniforms() 66 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1i() 67 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); in set1i() 77 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1iv() 78 SkASSERT(arrayCount > 0); in set1iv() 87 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1f() [all …]
|
/external/skqp/src/gpu/gl/ |
D | GrGLProgramDataManager.cpp | 14 SkASSERT((COUNT) <= (UNI).fArrayCount || \ 27 SkASSERT(GrShaderVar::kNonArray == builderUniform.fVariable.getArrayCount() || in GrGLProgramDataManager() 40 SkASSERT(fGpu->glCaps().shaderCaps()->pathRenderingSupport()); in GrGLProgramDataManager() 43 SkASSERT(GrShaderVar::kNonArray == builderPathProcVarying.fVariable.getArrayCount() || in GrGLProgramDataManager() 57 SkASSERT(sampler.fVisibility); in setSamplerUniforms() 66 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1i() 67 SkASSERT(GrShaderVar::kNonArray == uni.fArrayCount); in set1i() 77 SkASSERT(uni.fType == kInt_GrSLType || uni.fType == kShort_GrSLType); in set1iv() 78 SkASSERT(arrayCount > 0); in set1iv() 87 SkASSERT(uni.fType == kFloat_GrSLType || uni.fType == kHalf_GrSLType); in set1f() [all …]
|
/external/skia/src/gpu/ops/ |
D | GrOp.cpp | 16 SkASSERT(0); in operator new() 22 SkASSERT(0); in operator delete() 28 SkASSERT(classID == SkToU32(fClassID)); in GrOp() 29 SkASSERT(classID); in GrOp() 34 SkASSERT(this != that); in combineIfPossible() 46 SkASSERT(next); in chainConcat() 47 SkASSERT(this->classID() == next->classID()); in chainConcat() 48 SkASSERT(this->isChainTail()); in chainConcat() 49 SkASSERT(next->isChainHead()); in chainConcat() 64 SkASSERT(this->isChainHead()); in validateChain() [all …]
|
/external/skqp/src/gpu/ops/ |
D | GrOp.cpp | 16 SkASSERT(0); in operator new() 22 SkASSERT(0); in operator delete() 28 SkASSERT(classID == SkToU32(fClassID)); in GrOp() 29 SkASSERT(classID); in GrOp() 34 SkASSERT(this != that); in combineIfPossible() 46 SkASSERT(next); in chainConcat() 47 SkASSERT(this->classID() == next->classID()); in chainConcat() 48 SkASSERT(this->isChainTail()); in chainConcat() 49 SkASSERT(next->isChainHead()); in chainConcat() 64 SkASSERT(this->isChainHead()); in validateChain() [all …]
|
/external/skia/src/utils/ |
D | SkJSON.cpp | 32 SkASSERT(this->getTag() == t); in init_tagged() 41 SkASSERT(!(fData8[kTagOffset] & kTagMask)); in init_tagged_pointer() 45 SkASSERT(sizeof(Value) == sizeof(uintptr_t) * 2); in init_tagged_pointer() 50 SkASSERT(this->getTag() == t); in init_tagged_pointer() 51 SkASSERT(this->ptr<void>() == p); in init_tagged_pointer() 56 SkASSERT(this->getTag() == Tag::kNull); in NullValue() 62 SkASSERT(this->getTag() == Tag::kBool); in BoolValue() 68 SkASSERT(this->getTag() == Tag::kInt); in NumberValue() 74 SkASSERT(this->getTag() == Tag::kFloat); in NumberValue() 97 SkASSERT(this->getTag() == Tag::kArray); in ArrayValue() [all …]
|
/external/skqp/src/utils/ |
D | SkJSON.cpp | 32 SkASSERT(this->getTag() == t); in init_tagged() 41 SkASSERT(!(fData8[kTagOffset] & kTagMask)); in init_tagged_pointer() 45 SkASSERT(sizeof(Value) == sizeof(uintptr_t) * 2); in init_tagged_pointer() 50 SkASSERT(this->getTag() == t); in init_tagged_pointer() 51 SkASSERT(this->ptr<void>() == p); in init_tagged_pointer() 56 SkASSERT(this->getTag() == Tag::kNull); in NullValue() 62 SkASSERT(this->getTag() == Tag::kBool); in BoolValue() 68 SkASSERT(this->getTag() == Tag::kInt); in NumberValue() 74 SkASSERT(this->getTag() == Tag::kFloat); in NumberValue() 97 SkASSERT(this->getTag() == Tag::kArray); in ArrayValue() [all …]
|
/external/skqp/src/core/ |
D | SkBitmapProcState.cpp | 30 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 32 SkASSERT(s.fAlphaScale == 256); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 66 SkASSERT(index <= maxX); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 80 SkASSERT(count > 0 && colors != nullptr); in S32_alpha_D32_nofilter_DX() 81 SkASSERT(s.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in S32_alpha_D32_nofilter_DX() 82 SkASSERT(kNone_SkFilterQuality == s.fFilterQuality); in S32_alpha_D32_nofilter_DX() 83 SkASSERT(4 == s.fPixmap.info().bytesPerPixel()); in S32_alpha_D32_nofilter_DX() 84 SkASSERT(s.fAlphaScale <= 256); in S32_alpha_D32_nofilter_DX() 88 SkASSERT(y < (unsigned)s.fPixmap.height()); in S32_alpha_D32_nofilter_DX() 143 SkASSERT(matrix_only_scale_translate(matrix)); in just_trans_general() [all …]
|
/external/skia/src/core/ |
D | SkBitmapProcState.cpp | 30 SkASSERT((s.fInvType & ~(SkMatrix::kTranslate_Mask | in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 32 SkASSERT(s.fAlphaScale == 256); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 66 SkASSERT(index <= maxX); in Clamp_S32_opaque_D32_nofilter_DX_shaderproc() 80 SkASSERT(count > 0 && colors != nullptr); in S32_alpha_D32_nofilter_DX() 81 SkASSERT(s.fInvType <= (SkMatrix::kTranslate_Mask | SkMatrix::kScale_Mask)); in S32_alpha_D32_nofilter_DX() 82 SkASSERT(kNone_SkFilterQuality == s.fFilterQuality); in S32_alpha_D32_nofilter_DX() 83 SkASSERT(4 == s.fPixmap.info().bytesPerPixel()); in S32_alpha_D32_nofilter_DX() 84 SkASSERT(s.fAlphaScale <= 256); in S32_alpha_D32_nofilter_DX() 88 SkASSERT(y < (unsigned)s.fPixmap.height()); in S32_alpha_D32_nofilter_DX() 143 SkASSERT(matrix_only_scale_translate(matrix)); in just_trans_general() [all …]
|
/external/skqp/include/private/ |
D | SkEncodedInfo.h | 103 SkASSERT(1 == bitsPerComponent || in Make() 111 SkASSERT(kOpaque_Alpha == alpha); in Make() 114 SkASSERT(kOpaque_Alpha != alpha); in Make() 117 SkASSERT(16 != bitsPerComponent); in Make() 122 SkASSERT(kOpaque_Alpha == alpha); in Make() 123 SkASSERT(bitsPerComponent >= 8); in Make() 128 SkASSERT(kOpaque_Alpha == alpha); in Make() 129 SkASSERT(8 == bitsPerComponent); in Make() 132 SkASSERT(kOpaque_Alpha != alpha); in Make() 133 SkASSERT(bitsPerComponent >= 8); in Make() [all …]
|