/external/skqp/tests/ |
ResourceCacheTest.cpp | 202 GrGpu* gpu = context->contextPriv().getGpu(); local 204 if (!gpu || !gpu->glContextForTesting()) { 212 backendTextures[0] = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, 215 backendTextures[1] = gpu->createTestingOnlyBackendTexture(nullptr, kW, kH, 242 bool borrowedIsAlive = gpu->isTestingOnlyBackendTexture(backendTextures[0]); 243 bool adoptedIsAlive = gpu->isTestingOnlyBackendTexture(backendTextures[1]); 248 gpu->deleteTestingOnlyBackendTexture(&(backendTextures[0]), !borrowedIsAlive); 249 gpu->deleteTestingOnlyBackendTexture(&(backendTextures[1]), !adoptedIsAlive); 263 TestResource(GrGpu* gpu, SkBudgeted budgeted = SkBudgeted::kYes, size_t size = kDefaultSize 372 GrGpu* gpu = context->contextPriv().getGpu(); local 430 GrGpu* gpu = context->contextPriv().getGpu(); local 527 GrGpu* gpu = context->contextPriv().getGpu(); local 602 GrGpu* gpu = context->contextPriv().getGpu(); local 666 GrGpu* gpu = context->contextPriv().getGpu(); local 714 GrGpu* gpu = context->contextPriv().getGpu(); local 774 GrGpu* gpu = context->contextPriv().getGpu(); local 834 GrGpu* gpu = context->contextPriv().getGpu(); local 930 GrGpu* gpu = context->contextPriv().getGpu(); local 999 GrGpu* gpu = context->contextPriv().getGpu(); local 1042 GrGpu* gpu = context->contextPriv().getGpu(); local 1072 GrGpu* gpu = context->contextPriv().getGpu(); local 1112 GrGpu* gpu = context->contextPriv().getGpu(); local 1169 GrGpu* gpu = context->contextPriv().getGpu(); local 1267 GrGpu* gpu = context->contextPriv().getGpu(); local 1370 GrGpu* gpu = context->contextPriv().getGpu(); local 1484 GrGpu* gpu = context->contextPriv().getGpu(); local 1554 GrGpu* gpu = context->contextPriv().getGpu(); local 1590 GrGpu* gpu = context->contextPriv().getGpu(); local [all...] |
DeferredDisplayListTest.cpp | 186 // Make sure non-GPU-backed surfaces fail characterization 211 GrGpu* gpu = context->contextPriv().getGpu(); local 215 GrBackendTexture backendTex = gpu->createTestingOnlyBackendTexture( 225 gpu->deleteTestingOnlyBackendTexture(&backendTex); 237 gpu->deleteTestingOnlyBackendTexture(&backendTex); 243 gpu->deleteTestingOnlyBackendTexture(&backendTex); 263 gpu->deleteTestingOnlyBackendTexture(&backendTex); 273 gpu->deleteTestingOnlyBackendTexture(&backendTex); 296 gpu->deleteTestingOnlyBackendTexture(&backendTex); 315 gpu->deleteTestingOnlyBackendTexture(&backendTex) [all...] |
SurfaceSemaphoreTest.cpp | 136 GrVkGpu* gpu = static_cast<GrVkGpu*>(mainCtx->contextPriv().getGpu()); local 137 const GrVkInterface* interface = gpu->vkInterface(); 138 VkDevice device = gpu->device(); 239 GrGLGpu* gpu = static_cast<GrGLGpu*>(ctx->contextPriv().getGpu()); local 240 const GrGLInterface* interface = gpu->glInterface(); 250 GrVkGpu* gpu = static_cast<GrVkGpu*>(ctx->contextPriv().getGpu()); local 251 const GrVkInterface* interface = gpu->vkInterface(); 252 VkDevice device = gpu->device(); 253 VkQueue queue = gpu->queue(); 254 VkCommandPool cmdPool = gpu->cmdPool() [all...] |
TransferPixelsTest.cpp | 8 // This is a GPU-backend specific test. It relies on static intializers to work 72 GrGpu* gpu = context->contextPriv().getGpu(); local 74 if (!gpu->caps()->isConfigTexturable(config)) { 77 if (renderTarget && !gpu->caps()->isConfigRenderable(config, false)) { 121 result = gpu->transferPixels(tex.get(), 0, 0, kTextureWidth, kTextureHeight, 126 result = gpu->readPixels(tex.get(), origin, 0, 0, kTextureWidth, kTextureHeight, 153 result = gpu->transferPixels(tex.get(), kLeft, kTop, kWidth, kHeight, config, 158 result = gpu->readPixels(tex.get(), origin, 0, 0, kTextureWidth, kTextureHeight,
|
/external/vulkan-validation-layers/demos/ |
vulkaninfo.c | 108 struct AppGpu *gpu; /* point back to the GPU */ member in struct:AppDev 488 vkGetPhysicalDeviceFormatProperties(dev->gpu->obj, fmt, &dev->format_props[f]); 490 if (CheckExtensionEnabled(VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, dev->gpu->inst->inst_extensions, 491 dev->gpu->inst->inst_extensions_count)) { 494 dev->gpu->inst->vkGetPhysicalDeviceFormatProperties2KHR(dev->gpu->obj, fmt, &dev->format_props2[f]); 505 static void AppGetPhysicalDeviceLayerExtensions(struct AppGpu *gpu, char *layer_name, uint32_t *extension_count, 513 err = vkEnumerateDeviceExtensionProperties(gpu->obj, layer_name, &ext_count, NULL); 520 err = vkEnumerateDeviceExtensionProperties(gpu->obj, layer_name, &ext_count, ext_ptr) [all...] |
/external/mesa3d/src/gallium/drivers/etnaviv/ |
etnaviv_screen.c | 79 if (screen->gpu) 80 etna_gpu_del(screen->gpu); 538 if (etna_gpu_get_param(screen->gpu, ETNA_GPU_INSTRUCTION_COUNT, &val)) { 544 if (etna_gpu_get_param(screen->gpu, ETNA_GPU_VERTEX_OUTPUT_BUFFER_SIZE, 551 if (etna_gpu_get_param(screen->gpu, ETNA_GPU_VERTEX_CACHE_SIZE, &val)) { 557 if (etna_gpu_get_param(screen->gpu, ETNA_GPU_SHADER_CORE_COUNT, &val)) { 563 if (etna_gpu_get_param(screen->gpu, ETNA_GPU_STREAM_COUNT, &val)) { 569 if (etna_gpu_get_param(screen->gpu, ETNA_GPU_REGISTER_MAX, &val)) { 575 if (etna_gpu_get_param(screen->gpu, ETNA_GPU_PIXEL_PIPES, &val)) { 581 if (etna_gpu_get_param(screen->gpu, ETNA_GPU_NUM_CONSTANTS, &val)) [all...] |
/external/skia/include/gpu/ |
GrSurface.h | 75 GrSurface(GrGpu* gpu, const GrSurfaceDesc& desc) 76 : INHERITED(gpu)
|
/external/skia/tools/fiddle/ |
fiddle_main.h | 43 , gpu(g) 60 bool gpu; member in struct:DrawOptions 68 // This flag is used when a GPU texture resource is created and exposed as a GrBackendTexture. 71 // for the non-backend gpu SkImages. 74 // Parameters for an GPU offscreen resource exposed as a GrBackendRenderTarget
|
/external/skqp/include/gpu/ |
GrSurface.h | 75 GrSurface(GrGpu* gpu, const GrSurfaceDesc& desc) 76 : INHERITED(gpu)
|
/external/skqp/tools/fiddle/ |
fiddle_main.h | 43 , gpu(g) 60 bool gpu; member in struct:DrawOptions 68 // This flag is used when a GPU texture resource is created and exposed as a GrBackendTexture. 71 // for the non-backend gpu SkImages. 74 // Parameters for an GPU offscreen resource exposed as a GrBackendRenderTarget
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
gpu_debug_allocator.cc | 16 #include "tensorflow/core/common_runtime/gpu/gpu_debug_allocator.h" 21 #include "tensorflow/core/common_runtime/gpu/gpu_id.h" 22 #include "tensorflow/core/common_runtime/gpu/gpu_id_utils.h" 23 #include "tensorflow/core/common_runtime/gpu/gpu_init.h" 45 gpu::DeviceMemory<int64> gpu_ptr{gpu::DeviceMemoryBase{ptr, MASK_BYTES}}; 67 gpu::DeviceMemory<int64> gpu_ptr{gpu::DeviceMemoryBase{ptr, MASK_BYTES}}; 175 gpu::DeviceMemory<float> nan_ptr{ 176 gpu::DeviceMemoryBase{static_cast<float*>(allocated_ptr), req_size}} [all...] |
/external/tensorflow/tensorflow/core/kernels/ |
resize_op_benchmark_test.cc | 52 BM_ResizeDev(gpu, ResizeNearestNeighbor, 10, 499, 499); 55 BM_ResizeDev(gpu, ResizeBilinear, 10, 499, 499);
|
/external/tensorflow/tensorflow/tools/ci_build/osx/cpu/ |
run_contrib.sh | 34 bazel test --test_tag_filters=-no_oss,-gpu,-benchmark-test,-nomac \
|
run_py2_cc_core.sh | 34 bazel test --test_tag_filters=-no_oss,-gpu,-benchmark-test,-nomac \
|
/prebuilts/ndk/r16/sources/third_party/vulkan/src/layers/ |
unique_objects.h | 102 VkPhysicalDevice gpu; member in struct:unique_objects::layer_data 104 layer_data() : wsi_enabled(false), gpu(VK_NULL_HANDLE){};
|
/external/skia/src/gpu/ |
GrResourceProvider.cpp | 42 GrResourceProvider::GrResourceProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* owner, 45 , fGpu(gpu) 350 SkASSERT(this->gpu()->pathRendering()); 351 return this->gpu()->pathRendering()->createPath(path, style); 360 SkASSERT(this->gpu()->pathRendering()); 361 return this->gpu()->pathRendering()->createPathRange(gen, style); 369 SkASSERT(this->gpu()->pathRendering()); 370 return this->gpu()->pathRendering()->createGlyphs(tf, effects, desc, style); 380 return this->gpu()->createBuffer(size, intendedType, accessPattern, data); 383 this->gpu()->caps()->preferClientSideDynamicBuffers() & [all...] |
/external/skqp/src/gpu/ |
GrResourceProvider.cpp | 36 GrResourceProvider::GrResourceProvider(GrGpu* gpu, GrResourceCache* cache, GrSingleOwner* owner) 38 , fGpu(gpu) 358 SkASSERT(this->gpu()->pathRendering()); 359 return this->gpu()->pathRendering()->createPath(path, style); 368 SkASSERT(this->gpu()->pathRendering()); 369 return this->gpu()->pathRendering()->createPathRange(gen, style); 377 SkASSERT(this->gpu()->pathRendering()); 378 return this->gpu()->pathRendering()->createGlyphs(tf, effects, desc, style); 388 return this->gpu()->createBuffer(size, intendedType, accessPattern, data); 391 this->gpu()->caps()->preferClientSideDynamicBuffers() & [all...] |
/external/skia/src/gpu/vk/ |
GrVkResourceProvider.h | 39 GrVkResourceProvider(GrVkGpu* gpu); 168 PipelineStateCache(GrVkGpu* gpu); 208 CompatibleRenderPassSet(const GrVkGpu* gpu, const GrVkRenderTarget& target); 219 GrVkRenderPass* getRenderPass(const GrVkGpu* gpu, 223 void releaseResources(const GrVkGpu* gpu);
|
GrVkUtil.cpp | 317 bool GrCompileVkShaderModule(const GrVkGpu* gpu, 324 std::unique_ptr<SkSL::Program> program = gpu->shaderCompiler()->convertProgram( 329 SkDebugf("SkSL error:\n%s\n", gpu->shaderCompiler()->errorText().c_str()); 334 if (!gpu->shaderCompiler()->toSPIRV(*program, &code)) { 335 SkDebugf("%s\n", gpu->shaderCompiler()->errorText().c_str()); 347 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateShaderModule(gpu->device(),
|
/external/skqp/src/gpu/vk/ |
GrVkResourceProvider.h | 39 GrVkResourceProvider(GrVkGpu* gpu); 168 PipelineStateCache(GrVkGpu* gpu); 208 CompatibleRenderPassSet(const GrVkGpu* gpu, const GrVkRenderTarget& target); 219 GrVkRenderPass* getRenderPass(const GrVkGpu* gpu, 223 void releaseResources(const GrVkGpu* gpu);
|
GrVkUtil.cpp | 316 bool GrCompileVkShaderModule(const GrVkGpu* gpu, 323 std::unique_ptr<SkSL::Program> program = gpu->shaderCompiler()->convertProgram( 328 SkDebugf("SkSL error:\n%s\n", gpu->shaderCompiler()->errorText().c_str()); 333 if (!gpu->shaderCompiler()->toSPIRV(*program, &code)) { 334 SkDebugf("%s\n", gpu->shaderCompiler()->errorText().c_str()); 346 VkResult err = GR_VK_CALL(gpu->vkInterface(), CreateShaderModule(gpu->device(),
|
/external/skia/tests/ |
SurfaceSemaphoreTest.cpp | 136 GrVkGpu* gpu = static_cast<GrVkGpu*>(mainCtx->contextPriv().getGpu()); local 137 const GrVkInterface* interface = gpu->vkInterface(); 138 VkDevice device = gpu->device(); 239 GrGLGpu* gpu = static_cast<GrGLGpu*>(ctx->contextPriv().getGpu()); local 240 const GrGLInterface* interface = gpu->glInterface(); 250 GrVkGpu* gpu = static_cast<GrVkGpu*>(ctx->contextPriv().getGpu()); local 251 const GrVkInterface* interface = gpu->vkInterface(); 252 VkDevice device = gpu->device(); 253 VkQueue queue = gpu->queue(); 254 VkCommandPool cmdPool = gpu->cmdPool() [all...] |
/external/tensorflow/tensorflow/compiler/aot/ |
compile.cc | 89 // TODO(toddw): Should we let the user pick the XLA cpu vs. gpu client? 90 namespace gpu = perftools::gputools; 91 gpu::Platform* cpu_platform = 92 gpu::MultiPlatformManager::PlatformWithName("Host").ValueOrDie();
|
/external/tensorflow/tensorflow/python/debug/cli/ |
evaluator.py | 45 "/job:worker/replica:0/task:1/gpu:0:hidden_0/MatMul:0" 49 "/job:worker/replica:0/task:1/gpu:0:hidden_0/MatMul:0:DebugNumericSummary" 51 "/job:worker/replica:0/task:1/gpu:0:hidden_0/MatMul:0:DebugNumericSummary[1]"
|
/external/skia/src/gpu/gl/ |
GrGLVaryingHandler.cpp | 20 SkASSERT(glPB->gpu()->glCaps().shaderCaps()->pathRenderingSupport() &&
|