/external/skia/tools/gpu/gl/debug/ |
DebugGLTestContext.h | 13 namespace sk_gpu_test { namespace 15 } // namespace sk_gpu_test
|
/external/skia/tools/gpu/gl/mesa/ |
GLTestContext_mesa.h | 13 namespace sk_gpu_test { namespace 15 } // namespace sk_gpu_test
|
/external/skia/tools/gpu/gl/none/ |
CreatePlatformGLTestContext_none.cpp | 11 namespace sk_gpu_test { namespace 16 } // namespace sk_gpu_test
|
/external/skia/tools/gpu/gl/null/ |
NullGLTestContext.h | 13 namespace sk_gpu_test { namespace 15 } // namespace sk_gpu_test
|
NullGLTestContext.cpp | 18 class NullGLContext : public sk_gpu_test::GLTestContext { 31 namespace sk_gpu_test { namespace 43 } // namespace sk_gpu_test
|
/external/skia/tools/gpu/mock/ |
MockTestContext.h | 13 namespace sk_gpu_test { namespace 21 } // namespace sk_gpu_test
|
MockTestContext.cpp | 15 class MockTestContext : public sk_gpu_test::TestContext { 34 typedef sk_gpu_test::TestContext INHERITED; 39 namespace sk_gpu_test { namespace 43 } // namespace sk_gpu_test
|
/external/skia/tools/gpu/mtl/ |
MtlTestContext.h | 15 namespace sk_gpu_test { namespace 17 } // namespace sk_gpu_test
|
MtlTestContext.mm | 19 * Implements sk_gpu_test::FenceSync for Metal. 24 class MtlFenceSync : public sk_gpu_test::FenceSync { 63 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override { 82 return (sk_gpu_test::PlatformFence)fence; 85 bool waitFence(sk_gpu_test::PlatformFence opaqueFence) const override { 92 void deleteFence(sk_gpu_test::PlatformFence opaqueFence) const override { 105 typedef sk_gpu_test::FenceSync INHERITED; 108 GR_STATIC_ASSERT(sizeof(VkFence) <= sizeof(sk_gpu_test::PlatformFence)); 111 class MtlTestContext : public sk_gpu_test::TestContext { 152 typedef sk_gpu_test::TestContext INHERITED [all...] |
/external/skia/dm/ |
DMGpuSupport.h | 32 sk_gpu_test::GrContextFactory* grFactory, 33 sk_gpu_test::GrContextFactory::ContextType type, 34 sk_gpu_test::GrContextFactory::ContextOverrides overrides, 63 namespace sk_gpu_test { 91 } // namespace sk_gpu_test 97 static inline SkSurface* NewGpuSurface(sk_gpu_test::GrContextFactory*, 98 sk_gpu_test::GrContextFactory::ContextType, 99 sk_gpu_test::GrContextFactory::ContextOverrides,
|
/external/skia/tools/gpu/gl/ |
GLTestContext.cpp | 15 class GLFenceSync : public sk_gpu_test::FenceSync { 17 static std::unique_ptr<GLFenceSync> MakeIfSupported(const sk_gpu_test::GLTestContext*); 19 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override; 20 bool waitFence(sk_gpu_test::PlatformFence fence) const override; 21 void deleteFence(sk_gpu_test::PlatformFence fence) const override; 24 GLFenceSync(const sk_gpu_test::GLTestContext*, const char* ext = ""); 33 GR_STATIC_ASSERT(sizeof(GLsync) <= sizeof(sk_gpu_test::PlatformFence)); 46 std::unique_ptr<GLFenceSync> GLFenceSync::MakeIfSupported(const sk_gpu_test::GLTestContext* ctx) { 68 GLFenceSync::GLFenceSync(const sk_gpu_test::GLTestContext* ctx, const char* ext) { 74 sk_gpu_test::PlatformFence GLFenceSync::insertFence() const 223 namespace sk_gpu_test { namespace [all...] |
/external/skia/tests/ |
SurfaceSemaphoreTest.cpp | 54 const sk_gpu_test::ContextInfo& childInfo, 99 const sk_gpu_test::ContextInfo& mainInfo, 100 const sk_gpu_test::ContextInfo& childInfo1, 101 const sk_gpu_test::ContextInfo& childInfo2) { 140 static constexpr auto kNativeGLType = sk_gpu_test::GrContextFactory::kGL_ContextType; 142 static constexpr auto kNativeGLType = sk_gpu_test::GrContextFactory::kGLES_ContextType; 145 for (int typeInt = 0; typeInt < sk_gpu_test::GrContextFactory::kContextTypeCnt; ++typeInt) { 146 sk_gpu_test::GrContextFactory::ContextType contextType = 147 (sk_gpu_test::GrContextFactory::ContextType) typeInt; 150 if (contextType == sk_gpu_test::GrContextFactory::kGL_ContextType | [all...] |
Test.h | 18 namespace sk_gpu_test { namespace 22 } // namespace sk_gpu_test 90 typedef void (*TestProc)(skiatest::Reporter*, sk_gpu_test::GrContextFactory*); 121 using GrContextFactoryContextType = sk_gpu_test::GrContextFactory::ContextType; 126 typedef void GrContextTestFn(Reporter*, const sk_gpu_test::ContextInfo&); 134 Reporter*, sk_gpu_test::GrContextFactory*); 185 static void test_##name(skiatest::Reporter*, sk_gpu_test::GrContextFactory*); \ 188 void test_##name(skiatest::Reporter* reporter, sk_gpu_test::GrContextFactory*) 192 static void test_##name(skiatest::Reporter*, sk_gpu_test::GrContextFactory*); \ 195 void test_##name(skiatest::Reporter* reporter, sk_gpu_test::GrContextFactory* factory [all...] |
GrContextAbandonTest.cpp | 15 using namespace sk_gpu_test;
|
GLProgramsTest.cpp | 341 static int get_glprograms_max_stages(const sk_gpu_test::ContextInfo& ctxInfo) { 359 if (ctxInfo.type() == sk_gpu_test::GrContextFactory::kANGLE_D3D9_ES2_ContextType || 360 ctxInfo.type() == sk_gpu_test::GrContextFactory::kANGLE_D3D11_ES2_ContextType) { 367 static int get_glprograms_max_levels(const sk_gpu_test::ContextInfo& ctxInfo) { 375 if (ctxInfo.type() == sk_gpu_test::GrContextFactory::kANGLE_D3D9_ES2_ContextType || 376 ctxInfo.type() == sk_gpu_test::GrContextFactory::kANGLE_D3D11_ES2_ContextType) { 383 static void test_glprograms(skiatest::Reporter* reporter, const sk_gpu_test::ContextInfo& ctxInfo) { 395 if (sk_gpu_test::GrContextFactory::kANGLE_D3D9_ES2_ContextType == ctxInfo.type()) { 415 sk_gpu_test::GrContextFactory debugFactory(opts);
|
/external/skia/tools/gpu/ |
FenceSync.h | 13 namespace sk_gpu_test { namespace 32 } // namespace sk_gpu_test
|
/external/skia/tools/ |
ok_test.cpp | 50 sk_gpu_test::GrContextFactory* factory = nullptr; 53 sk_gpu_test::GrContextFactory a_real_factory(options); 79 bool IsGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { 80 return kOpenGL_GrBackend == sk_gpu_test::GrContextFactory::ContextTypeBackend(type); 82 bool IsVulkanContextType(sk_gpu_test::GrContextFactory::ContextType type) { 83 return kVulkan_GrBackend == sk_gpu_test::GrContextFactory::ContextTypeBackend(type); 85 bool IsRenderingGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { 86 return IsGLContextType(type) && sk_gpu_test::GrContextFactory::IsRenderingContext(type); 88 bool IsNullGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { 89 return type == sk_gpu_test::GrContextFactory::kNullGL_ContextType [all...] |
/external/skia/tools/gpu/gl/angle/ |
GLTestContext_angle.h | 13 namespace sk_gpu_test { namespace 37 } // namespace sk_gpu_test
|
/external/skia/tools/gpu/vk/ |
VkTestContext.cpp | 18 * Implements sk_gpu_test::FenceSync for Vulkan. It creates a single command 22 class VkFenceSync : public sk_gpu_test::FenceSync { 61 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override { 80 return (sk_gpu_test::PlatformFence)fence; 83 bool waitFence(sk_gpu_test::PlatformFence opaqueFence) const override { 90 void deleteFence(sk_gpu_test::PlatformFence opaqueFence) const override { 103 typedef sk_gpu_test::FenceSync INHERITED; 106 GR_STATIC_ASSERT(sizeof(VkFence) <= sizeof(sk_gpu_test::PlatformFence)); 109 class VkTestContextImpl : public sk_gpu_test::VkTestContext { 150 typedef sk_gpu_test::VkTestContext INHERITED 154 namespace sk_gpu_test { namespace [all...] |
VkTestContext.h | 17 namespace sk_gpu_test { namespace 45 } // namespace sk_gpu_test
|
/external/skia/bench/ |
nanobench.h | 32 sk_gpu_test::GrContextFactory::ContextType ctxType; 33 sk_gpu_test::GrContextFactory::ContextOverrides ctxOverrides;
|
/external/skia/tools/gpu/gl/egl/ |
CreatePlatformGLTestContext_egl.cpp | 22 class EGLFenceSync : public sk_gpu_test::FenceSync { 26 sk_gpu_test::PlatformFence SK_WARN_UNUSED_RESULT insertFence() const override; 27 bool waitFence(sk_gpu_test::PlatformFence fence) const override; 28 void deleteFence(sk_gpu_test::PlatformFence fence) const override; 39 typedef sk_gpu_test::FenceSync INHERITED; 42 class EGLGLTestContext : public sk_gpu_test::GLTestContext { 50 std::unique_ptr<sk_gpu_test::GLTestContext> makeNew() const override; 269 std::unique_ptr<sk_gpu_test::GLTestContext> EGLGLTestContext::makeNew() const { 270 std::unique_ptr<sk_gpu_test::GLTestContext> ctx(new EGLGLTestContext(this->gl()->fStandard, 324 sk_gpu_test::PlatformFence EGLFenceSync::insertFence() const 347 namespace sk_gpu_test { namespace [all...] |
/external/skia/tools/gpu/gl/command_buffer/ |
GLTestContext_command_buffer.h | 14 namespace sk_gpu_test { namespace 54 } // namespace sk_gpu_test
|
/external/skia/tools/skiaserve/ |
Request.h | 24 namespace sk_gpu_test { namespace 78 sk_gpu_test::GrContextFactory* fContextFactory;
|
/external/skia/tools/skpbench/ |
skpbench.cpp | 75 GpuSync(const sk_gpu_test::FenceSync* fenceSync); 83 const sk_gpu_test::FenceSync* const fFenceSync; 84 sk_gpu_test::PlatformFence fFence; 102 static void run_benchmark(const sk_gpu_test::FenceSync* fenceSync, SkCanvas* canvas, 133 static void run_gpu_time_benchmark(sk_gpu_test::GpuTimer* gpuTimer, 134 const sk_gpu_test::FenceSync* fenceSync, SkCanvas* canvas, 136 using sk_gpu_test::PlatformTimerQuery; 169 using QueryStatus = sk_gpu_test::GpuTimer::QueryStatus; 280 sk_gpu_test::GrContextFactory factory(ctxOptions); 281 sk_gpu_test::ContextInfo ctxInfo [all...] |