/external/skia/gyp/ |
D | gpu.gypi | 5 # Include this gypi to include all 'gpu' files 15 '<(skia_include_path)/gpu/GrBlend.h', 16 '<(skia_include_path)/gpu/GrCaps.h', 17 '<(skia_include_path)/gpu/GrClip.h', 18 '<(skia_include_path)/gpu/GrColor.h', 19 '<(skia_include_path)/gpu/GrConfig.h', 20 '<(skia_include_path)/gpu/GrContextOptions.h', 21 '<(skia_include_path)/gpu/GrContext.h', 22 '<(skia_include_path)/gpu/GrCoordTransform.h', 23 '<(skia_include_path)/gpu/GrDrawContext.h', [all …]
|
D | gputest.gyp | 16 '../include/gpu', 20 '../src/gpu', 21 '../../src/gpu', 25 '../src/gpu', 26 '../../src/gpu', 30 '<(skia_src_path)/gpu/GrContextFactory.cpp', 31 '<(skia_src_path)/gpu/GrContextFactory.h', 32 '<(skia_src_path)/gpu/GrTest.cpp', 33 '<(skia_src_path)/gpu/GrTest.h',
|
D | gpu.gyp | 5 # GYP for building gpu 76 '../include/gpu', 93 'gpu.gypi', 96 '../include/gpu', 99 '../src/gpu', 111 'gpu.gypi', # Makes the gypi appear in IDEs (but does not modify the build). 133 '../src/gpu/gl/GrGLDefaultInterface_none.cpp', 134 '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', 178 '../src/gpu/gl/GrGLDefaultInterface_none.cpp', 179 '../src/gpu/gl/GrGLCreateNativeInterface_none.cpp', [all …]
|
/external/skia/ |
D | Android.mk | 371 src/gpu/GrAuditTrail.cpp \ 372 src/gpu/GrBatchAtlas.cpp \ 373 src/gpu/GrBatchFlushState.cpp \ 374 src/gpu/GrBatchTest.cpp \ 375 src/gpu/GrBlend.cpp \ 376 src/gpu/GrBlurUtils.cpp \ 377 src/gpu/GrBufferAllocPool.cpp \ 378 src/gpu/GrCaps.cpp \ 379 src/gpu/GrClip.cpp \ 380 src/gpu/GrClipMaskManager.cpp \ [all …]
|
/external/skia/src/gpu/vk/ |
D | GrVkCommandBuffer.cpp | 18 GrVkCommandBuffer* GrVkCommandBuffer::Create(const GrVkGpu* gpu, VkCommandPool cmdPool) { in Create() argument 28 VkResult err = GR_VK_CALL(gpu->vkInterface(), AllocateCommandBuffers(gpu->device(), in Create() 49 void GrVkCommandBuffer::freeGPUData(const GrVkGpu* gpu) const { in freeGPUData() 53 fTrackedResources[i]->unref(gpu); in freeGPUData() 58 GR_VK_CALL(gpu->vkInterface(), DestroyFence(gpu->device(), fSubmitFence, nullptr)); in freeGPUData() 61 GR_VK_CALL(gpu->vkInterface(), FreeCommandBuffers(gpu->device(), gpu->cmdPool(), in freeGPUData() 71 void GrVkCommandBuffer::begin(const GrVkGpu* gpu) { in begin() argument 80 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), BeginCommandBuffer(fCmdBuffer, in begin() 85 void GrVkCommandBuffer::end(const GrVkGpu* gpu) { in end() argument 88 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), EndCommandBuffer(fCmdBuffer)); in end() [all …]
|
D | GrVkBuffer.cpp | 21 const GrVkBuffer::Resource* GrVkBuffer::Create(const GrVkGpu* gpu, const Desc& desc) { in Create() argument 54 err = VK_CALL(gpu, CreateBuffer(gpu->device(), &bufInfo, nullptr, &buffer)); in Create() 62 if (!GrVkMemory::AllocAndBindBufferMemory(gpu, in Create() 66 VK_CALL(gpu, DestroyBuffer(gpu->device(), buffer, nullptr)); in Create() 72 VK_CALL(gpu, DestroyBuffer(gpu->device(), buffer, nullptr)); in Create() 73 VK_CALL(gpu, FreeMemory(gpu->device(), alloc, nullptr)); in Create() 81 void GrVkBuffer::addMemoryBarrier(const GrVkGpu* gpu, in addMemoryBarrier() argument 100 gpu->addBufferMemoryBarrier(srcStageMask, dstStageMask, byRegion, &bufferMemoryBarrier); in addMemoryBarrier() 103 void GrVkBuffer::Resource::freeGPUData(const GrVkGpu* gpu) const { in freeGPUData() 106 VK_CALL(gpu, DestroyBuffer(gpu->device(), fBuffer, nullptr)); in freeGPUData() [all …]
|
D | GrVkRenderTarget.cpp | 22 GrVkRenderTarget::GrVkRenderTarget(GrVkGpu* gpu, in GrVkRenderTarget() argument 29 : GrSurface(gpu, lifeCycle, desc) in GrVkRenderTarget() 32 , GrRenderTarget(gpu, lifeCycle, desc, kUnified_SampleConfig) in GrVkRenderTarget() 41 this->createFramebuffer(gpu); in GrVkRenderTarget() 48 GrVkRenderTarget::GrVkRenderTarget(GrVkGpu* gpu, in GrVkRenderTarget() argument 56 : GrSurface(gpu, lifeCycle, desc) in GrVkRenderTarget() 59 , GrRenderTarget(gpu, lifeCycle, desc, kUnified_SampleConfig) in GrVkRenderTarget() 68 this->createFramebuffer(gpu); in GrVkRenderTarget() 74 GrVkRenderTarget::GrVkRenderTarget(GrVkGpu* gpu, in GrVkRenderTarget() argument 79 : GrSurface(gpu, lifeCycle, desc) in GrVkRenderTarget() [all …]
|
D | GrVkCommandBuffer.h | 23 static GrVkCommandBuffer* Create(const GrVkGpu* gpu, VkCommandPool cmdPool); 26 void begin(const GrVkGpu* gpu); 27 void end(const GrVkGpu* gpu); 33 void beginRenderPass(const GrVkGpu* gpu, 36 void endRenderPass(const GrVkGpu* gpu); 38 void submitToQueue(const GrVkGpu* gpu, VkQueue queue, GrVkGpu::SyncQueue sync); 39 bool finished(const GrVkGpu* gpu) const; 45 void bindPipeline(const GrVkGpu* gpu) const; 46 void bindDynamicState(const GrVkGpu* gpu) const; 47 void bindDescriptorSet(const GrVkGpu* gpu) const; [all …]
|
D | GrVkTextureRenderTarget.cpp | 18 GrVkTextureRenderTarget::Create(GrVkGpu* gpu, in Create() argument 26 const GrVkImageView* imageView = GrVkImageView::Create(gpu, image, format, in Create() 52 msaaImageResource = GrVkImage::CreateResource(gpu, msImageDesc); in Create() 55 imageView->unref(gpu); in Create() 68 resolveAttachmentView = GrVkImageView::Create(gpu, image, pixelFormat, in Create() 71 msaaImageResource->unref(gpu); in Create() 72 imageView->unref(gpu); in Create() 89 colorAttachmentView = GrVkImageView::Create(gpu, colorImage, pixelFormat, in Create() 93 resolveAttachmentView->unref(gpu); in Create() 94 msaaImageResource->unref(gpu); in Create() [all …]
|
D | GrVkProgram.cpp | 24 GrVkProgram::GrVkProgram(GrVkGpu* gpu, in GrVkProgram() argument 53 fVertexUniformBuffer.reset(GrVkUniformBuffer::Create(gpu, vertexUniformSize, true)); in GrVkProgram() 54 fFragmentUniformBuffer.reset(GrVkUniformBuffer::Create(gpu, fragmentUniformSize, true)); in GrVkProgram() 73 void GrVkProgram::freeTempResources(const GrVkGpu* gpu) { in freeTempResources() argument 75 fSamplers[i]->unref(gpu); in freeTempResources() 80 fTextureViews[i]->unref(gpu); in freeTempResources() 85 fTextures[i]->unref(gpu); in freeTempResources() 90 void GrVkProgram::freeGPUResources(const GrVkGpu* gpu) { in freeGPUResources() argument 92 fPipeline->unref(gpu); in freeGPUResources() 96 fDescriptorPool->unref(gpu); in freeGPUResources() [all …]
|
D | GrVkImage.cpp | 15 void GrVkImage::setImageLayout(const GrVkGpu* gpu, VkImageLayout newLayout, in setImageLayout() argument 42 gpu->addImageMemoryBarrier(srcStageMask, dstStageMask, byRegion, &imageMemoryBarrier); in setImageLayout() 47 const GrVkImage::Resource* GrVkImage::CreateResource(const GrVkGpu* gpu, in CreateResource() argument 81 err = VK_CALL(gpu, CreateImage(gpu->device(), &imageCreateInfo, nullptr, &image)); in CreateResource() 84 if (!GrVkMemory::AllocAndBindImageMemory(gpu, image, imageDesc.fMemProps, &alloc)) { in CreateResource() 85 VK_CALL(gpu, DestroyImage(gpu->device(), image, nullptr)); in CreateResource() 101 void GrVkImage::releaseImage(const GrVkGpu* gpu) { in releaseImage() argument 103 fResource->unref(gpu); in releaseImage() 115 void GrVkImage::Resource::freeGPUData(const GrVkGpu* gpu) const { in freeGPUData() 116 VK_CALL(gpu, DestroyImage(gpu->device(), fImage, nullptr)); in freeGPUData() [all …]
|
D | GrVkTexture.cpp | 16 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture() argument 21 : GrSurface(gpu, lifeCycle, desc) in GrVkTexture() 23 , INHERITED(gpu, lifeCycle, desc) in GrVkTexture() 29 GrVkTexture::GrVkTexture(GrVkGpu* gpu, in GrVkTexture() argument 35 : GrSurface(gpu, lifeCycle, desc) in GrVkTexture() 37 , INHERITED(gpu, lifeCycle, desc) in GrVkTexture() 41 GrVkTexture* GrVkTexture::Create(GrVkGpu* gpu, in Create() argument 47 const GrVkImageView* imageView = GrVkImageView::Create(gpu, image, format, in Create() 53 return new GrVkTexture(gpu, desc, lifeCycle, imageResource, imageView); in Create() 56 GrVkTexture* GrVkTexture::CreateNewTexture(GrVkGpu* gpu, const GrSurfaceDesc& desc, in CreateNewTexture() argument [all …]
|
D | GrVkUniformBuffer.h | 19 static GrVkUniformBuffer* Create(GrVkGpu* gpu, size_t size, bool dynamic); 21 void* map(const GrVkGpu* gpu) { in map() argument 22 return this->vkMap(gpu); in map() 24 void unmap(const GrVkGpu* gpu) { in unmap() argument 25 this->vkUnmap(gpu); in unmap() 27 bool updateData(const GrVkGpu* gpu, const void* src, size_t srcSizeInBytes) { in updateData() argument 28 return this->vkUpdateData(gpu, src, srcSizeInBytes); in updateData() 30 void release(const GrVkGpu* gpu) { in release() argument 31 this->vkRelease(gpu); in release()
|
D | GrVkStencilAttachment.cpp | 16 GrVkStencilAttachment::GrVkStencilAttachment(GrVkGpu* gpu, in GrVkStencilAttachment() argument 22 : INHERITED(gpu, lifeCycle, desc.fWidth, desc.fHeight, format.fStencilBits, desc.fSamples) in GrVkStencilAttachment() 31 GrVkStencilAttachment* GrVkStencilAttachment::Create(GrVkGpu* gpu, in Create() argument 48 const GrVkImage::Resource* imageResource = GrVkImage::CreateResource(gpu, imageDesc); in Create() 53 const GrVkImageView* imageView = GrVkImageView::Create(gpu, imageResource->fImage, in Create() 57 imageResource->unref(gpu); in Create() 61 GrVkStencilAttachment* stencil = new GrVkStencilAttachment(gpu, lifeCycle, format, imageDesc, in Create() 63 imageResource->unref(gpu); in Create() 64 imageView->unref(gpu); in Create() 84 GrVkGpu* gpu = this->getVkGpu(); in onRelease() local [all …]
|
D | GrVkMemory.cpp | 32 static bool alloc_device_memory(const GrVkGpu* gpu, in alloc_device_memory() argument 37 if (!get_valid_memory_type_index(gpu->physicalDeviceMemoryProperties(), in alloc_device_memory() 51 VkResult err = GR_VK_CALL(gpu->vkInterface(), AllocateMemory(gpu->device(), in alloc_device_memory() 61 bool GrVkMemory::AllocAndBindBufferMemory(const GrVkGpu* gpu, in AllocAndBindBufferMemory() argument 65 const GrVkInterface* interface = gpu->vkInterface(); in AllocAndBindBufferMemory() 66 VkDevice device = gpu->device(); in AllocAndBindBufferMemory() 72 if (!alloc_device_memory(gpu, &memReqs, flags, memory)) { in AllocAndBindBufferMemory() 85 bool GrVkMemory::AllocAndBindImageMemory(const GrVkGpu* gpu, in AllocAndBindImageMemory() argument 89 const GrVkInterface* interface = gpu->vkInterface(); in AllocAndBindImageMemory() 90 VkDevice device = gpu->device(); in AllocAndBindImageMemory() [all …]
|
D | GrVkDescriptorPool.cpp | 14 GrVkDescriptorPool::GrVkDescriptorPool(const GrVkGpu* gpu, const DescriptorTypeCounts& typeCounts) in GrVkDescriptorPool() argument 38 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), CreateDescriptorPool(gpu->device(), in GrVkDescriptorPool() 48 void GrVkDescriptorPool::reset(const GrVkGpu* gpu) { in reset() argument 49 GR_VK_CALL_ERRCHECK(gpu->vkInterface(), ResetDescriptorPool(gpu->device(), fDescPool, 0)); in reset() 52 void GrVkDescriptorPool::freeGPUData(const GrVkGpu* gpu) const { in freeGPUData() 55 GR_VK_CALL(gpu->vkInterface(), DestroyDescriptorPool(gpu->device(), fDescPool, nullptr)); in freeGPUData()
|
/external/skia/tests/ |
D | VkClearTests.cpp | 50 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in basic_clear_test() local 51 gpu->discard(NULL); in basic_clear_test() 61 GrTexture* tex = gpu->createTexture(surfDesc, SkBudgeted::kNo, nullptr, 0); in basic_clear_test() 66 gpu->clear(rect, GrColor_TRANSPARENT_BLACK, tex->asRenderTarget()); in basic_clear_test() 68 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test() 76 gpu->clear(rect, GrColor_WHITE, tex->asRenderTarget()); in basic_clear_test() 78 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test() 88 gpu->clear(rect, myColor, tex->asRenderTarget()); in basic_clear_test() 90 gpu->readPixels(tex, 0, 0, 5, 5, config, (void*)buffer.get(), 0); in basic_clear_test() 104 GrVkGpu* gpu = static_cast<GrVkGpu*>(context->getGpu()); in sub_clear_test() local [all …]
|
/external/vulkan-validation-layers/demos/ |
D | vulkaninfo.c | 92 struct app_gpu *gpu; /* point back to the GPU */ member 408 vkGetPhysicalDeviceFormatProperties(dev->gpu->obj, fmt, in app_dev_init_formats() 421 struct app_gpu *gpu, char *layer_name, uint32_t *extension_count, in app_get_physical_device_layer_extensions() argument 429 err = vkEnumerateDeviceExtensionProperties(gpu->obj, layer_name, in app_get_physical_device_layer_extensions() 437 err = vkEnumerateDeviceExtensionProperties(gpu->obj, layer_name, in app_get_physical_device_layer_extensions() 446 static void app_dev_init(struct app_dev *dev, struct app_gpu *gpu) { in app_dev_init() argument 470 err = vkEnumerateDeviceLayerProperties(gpu->obj, &count, NULL); in app_dev_init() 485 err = vkEnumerateDeviceLayerProperties(gpu->obj, &count, in app_dev_init() 490 gpu->device_layer_count = count; in app_dev_init() 491 gpu->device_layers = device_layers; in app_dev_init() [all …]
|
/external/autotest/client/site_tests/graphics_dEQP/ |
D | diff.sh | 5 for gpu in ${gpus[*]} 7 rm expectations/${gpu}/*.json 8 cat expectations/${gpu}/* | sort > /tmp/${gpu}.sorted 9 cat expectations/${gpu}/* | sort | uniq > /tmp/${gpu}.sorted_uniq 10 diff /tmp/${gpu}.sorted /tmp/${gpu}.sorted_uniq > ${gpu}.diff
|
/external/skia/src/gpu/gl/ |
D | GrGLPathRange.cpp | 14 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, PathGenerator* pathGenerator, const GrStrokeInfo& stroke) in GrGLPathRange() argument 15 : INHERITED(gpu, pathGenerator), in GrGLPathRange() 17 fBasePathID(gpu->glPathRendering()->genPaths(this->getNumPaths())), in GrGLPathRange() 23 GrGLPathRange::GrGLPathRange(GrGLGpu* gpu, in GrGLPathRange() argument 28 : INHERITED(gpu, numPaths), in GrGLPathRange() 54 GrGLGpu* gpu = static_cast<GrGLGpu*>(this->getGpu()); in onInitPath() local 55 if (nullptr == gpu) { in onInitPath() 62 GR_GL_CALL_RET(gpu->glInterface(), isPath, IsPath(fBasePathID + index))); in onInitPath() 66 GrGLPath::InitPathObjectEmptyPath(gpu, fBasePathID + index); in onInitPath() 68 GrGLPath::InitPathObjectPathData(gpu, fBasePathID + index, origSkPath); in onInitPath() [all …]
|
D | GrGLVertexArray.cpp | 39 void GrGLAttribArrayState::set(GrGLGpu* gpu, in set() argument 48 GR_GL_CALL(gpu->glInterface(), EnableVertexAttribArray(index)); in set() 58 gpu->bindVertexBuffer(vertexBufferID); in set() 61 GR_GL_CALL(gpu->glInterface(), VertexAttribPointer(index, in set() 68 SkASSERT(gpu->caps()->shaderCaps()->integerSupport()); in set() 70 GR_GL_CALL(gpu->glInterface(), VertexAttribIPointer(index, in set() 84 void GrGLAttribArrayState::disableUnusedArrays(const GrGLGpu* gpu, uint64_t usedMask) { in disableUnusedArrays() argument 89 GR_GL_CALL(gpu->glInterface(), DisableVertexAttribArray(i)); in disableUnusedArrays() 109 GrGLAttribArrayState* GrGLVertexArray::bind(GrGLGpu* gpu) { in bind() argument 113 gpu->bindVertexArray(fID); in bind() [all …]
|
D | GrGLPath.cpp | 91 inline bool init_path_object_for_general_path(GrGLGpu* gpu, GrGLuint pathID, in init_path_object_for_general_path() argument 178 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, pathCommands.count(), &pathCommands[0], in init_path_object_for_general_path() 201 bool GrGLPath::InitPathObjectPathDataCheckingDegenerates(GrGLGpu* gpu, GrGLuint pathID, in InitPathObjectPathDataCheckingDegenerates() argument 203 return init_path_object_for_general_path<true>(gpu, pathID, skPath); in InitPathObjectPathDataCheckingDegenerates() 206 void GrGLPath::InitPathObjectPathData(GrGLGpu* gpu, in InitPathObjectPathData() argument 235 GR_GL_CALL(gpu->glInterface(), PathCommands(pathID, pathCommands.count(), &pathCommands[0], in InitPathObjectPathData() 241 SkAssertResult(init_path_object_for_general_path<false>(gpu, pathID, skPath)); in InitPathObjectPathData() 244 void GrGLPath::InitPathObjectStroke(GrGLGpu* gpu, GrGLuint pathID, const GrStrokeInfo& stroke) { in InitPathObjectStroke() argument 248 GR_GL_CALL(gpu->glInterface(), in InitPathObjectStroke() 250 GR_GL_CALL(gpu->glInterface(), in InitPathObjectStroke() [all …]
|
D | GrGLBufferImpl.cpp | 19 GrGLBufferImpl::GrGLBufferImpl(GrGLGpu* gpu, const Desc& desc, GrGLenum bufferType) in GrGLBufferImpl() argument 24 if (gpu->caps()->mustClearUploadedBufferData()) { in GrGLBufferImpl() 38 void GrGLBufferImpl::release(GrGLGpu* gpu) { in release() argument 45 gpu->releaseBuffer(fDesc.fID, fBufferType); in release() 62 void* GrGLBufferImpl::map(GrGLGpu* gpu) { in map() argument 68 fMapPtr = gpu->mapBuffer(fDesc.fID, fBufferType, fDesc.fUsage, fGLSizeInBytes, in map() 76 void GrGLBufferImpl::unmap(GrGLGpu* gpu) { in unmap() argument 80 gpu->unmapBuffer(fDesc.fID, fBufferType, fMapPtr); in unmap() 90 bool GrGLBufferImpl::updateData(GrGLGpu* gpu, const void* src, size_t srcSizeInBytes) { in updateData() argument 101 gpu->bufferData(fDesc.fID, fBufferType, fDesc.fUsage, fDesc.fSizeInBytes, src, in updateData()
|
D | GrGLPathRendering.cpp | 19 #define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) 20 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(this->gpu()->glInterface(), RET, X) 64 GrGLPathRendering::GrGLPathRendering(GrGLGpu* gpu) in GrGLPathRendering() argument 65 : GrPathRendering(gpu) in GrGLPathRendering() 67 const GrGLInterface* glInterface = gpu->glInterface(); in GrGLPathRendering() 91 return new GrGLPath(this->gpu(), inPath, stroke); in createPath() 96 return new GrGLPathRange(this->gpu(), pathGenerator, stroke); in createPathRange() 100 GrGLGpu* gpu = this->gpu(); in onStencilPath() local 101 SkASSERT(gpu->caps()->shaderCaps()->pathRenderingSupport()); in onStencilPath() 102 gpu->flushColorWrite(false); in onStencilPath() [all …]
|
D | GrGLRenderTarget.cpp | 19 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, in GrGLRenderTarget() argument 23 : GrSurface(gpu, idDesc.fLifeCycle, desc) in GrGLRenderTarget() 24 , INHERITED(gpu, idDesc.fLifeCycle, desc, idDesc.fSampleConfig, stencil) { in GrGLRenderTarget() 29 GrGLRenderTarget::GrGLRenderTarget(GrGLGpu* gpu, const GrSurfaceDesc& desc, const IDDesc& idDesc, in GrGLRenderTarget() argument 31 : GrSurface(gpu, idDesc.fLifeCycle, desc) in GrGLRenderTarget() 32 , INHERITED(gpu, idDesc.fLifeCycle, desc, idDesc.fSampleConfig) { in GrGLRenderTarget() 52 GrGLRenderTarget* GrGLRenderTarget::CreateWrapped(GrGLGpu* gpu, in CreateWrapped() argument 65 sb = new GrGLStencilAttachment(gpu, sbDesc, desc.fWidth, desc.fHeight, in CreateWrapped() 68 return (new GrGLRenderTarget(gpu, desc, idDesc, sb)); in CreateWrapped() 76 GrGLGpu* gpu = this->getGLGpu(); in completeStencilAttachment() local [all …]
|