Home
last modified time | relevance | path

Searched refs:mImpl (Results 1 – 25 of 54) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/dawn_native/
DDawnNative.cpp42 Adapter::Adapter(AdapterBase* impl) : mImpl(impl) { in Adapter()
46 mImpl = nullptr; in ~Adapter()
53 properties->backendType = mImpl->GetBackendType(); in GetProperties()
54 properties->adapterType = mImpl->GetAdapterType(); in GetProperties()
55 properties->driverDescription = mImpl->GetDriverDescription().c_str(); in GetProperties()
56 properties->deviceID = mImpl->GetPCIInfo().deviceId; in GetProperties()
57 properties->vendorID = mImpl->GetPCIInfo().vendorId; in GetProperties()
58 properties->name = mImpl->GetPCIInfo().name.c_str(); in GetProperties()
62 switch (mImpl->GetBackendType()) { in GetBackendType()
84 switch (mImpl->GetAdapterType()) { in GetDeviceType()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DDawnNative.cpp39 Adapter::Adapter(AdapterBase* impl) : mImpl(impl) { in Adapter()
43 mImpl = nullptr; in ~Adapter()
47 return mImpl->GetBackendType(); in GetBackendType()
51 return mImpl->GetDeviceType(); in GetDeviceType()
55 return mImpl->GetPCIInfo(); in GetPCIInfo()
59 return mImpl != nullptr; in operator bool()
63 return reinterpret_cast<DawnDevice>(mImpl->CreateDevice(deviceDescriptor)); in CreateDevice()
73 Instance::Instance() : mImpl(new InstanceBase()) { in Instance()
77 delete mImpl; in ~Instance()
78 mImpl = nullptr; in ~Instance()
[all …]
/third_party/skia/third_party/externals/dawn/src/dawn_wire/
DWireClient.cpp21 : mImpl(new client::Client(descriptor.serializer, descriptor.memoryTransferService)) { in WireClient()
25 mImpl.reset(); in ~WireClient()
29 return mImpl->HandleCommands(commands, size); in HandleCommands()
33 return mImpl->ReserveTexture(device); in ReserveTexture()
37 return mImpl->ReserveSwapChain(device); in ReserveSwapChain()
41 return mImpl->ReserveDevice(); in ReserveDevice()
45 mImpl->ReclaimTextureReservation(reservation); in ReclaimTextureReservation()
49 mImpl->ReclaimSwapChainReservation(reservation); in ReclaimSwapChainReservation()
53 mImpl->ReclaimDeviceReservation(reservation); in ReclaimDeviceReservation()
57 mImpl->Disconnect(); in Disconnect()
DWireServer.cpp21 : mImpl(new server::Server(*descriptor.procs, in WireServer()
27 mImpl.reset(); in ~WireServer()
31 return mImpl->HandleCommands(commands, size); in HandleCommands()
39 return mImpl->InjectTexture(texture, id, generation, deviceId, deviceGeneration); in InjectTexture()
47 return mImpl->InjectSwapChain(swapchain, id, generation, deviceId, deviceGeneration); in InjectSwapChain()
51 return mImpl->InjectDevice(device, id, generation); in InjectDevice()
55 return mImpl->GetDevice(id, generation); in GetDevice()
/third_party/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQPRunner.java35 private SkQP mImpl; field in SkQPRunner
45 mImpl = new SkQP(); in SkQPRunner()
54 mImpl.nInit(assetManager, mOutputDirectory); in SkQPRunner()
56 int totalCount = mImpl.mUnitTests.length + mImpl.mGMs.length * mImpl.mBackends.length; in SkQPRunner()
60 for (int backend = 0; backend < mImpl.mBackends.length; backend++) { in SkQPRunner()
61 for (int gm = 0; gm < mImpl.mGMs.length; gm++) { in SkQPRunner()
63 mImpl.mBackends[backend] + "_" + mImpl.mGMs[gm]); in SkQPRunner()
66 for (int unitTest = 0; unitTest < mImpl.mUnitTests.length; unitTest++) { in SkQPRunner()
68 "unitTest_" + mImpl.mUnitTests[unitTest]); in SkQPRunner()
105 for (int backend = 0; backend < mImpl.mBackends.length; backend++) { in run()
[all …]
/third_party/flutter/skia/platform_tools/android/apps/skqp/src/main/java/org/skia/skqp/
DSkQPRunner.java35 private SkQP mImpl; field in SkQPRunner
45 mImpl = new SkQP(); in SkQPRunner()
54 mImpl.nInit(assetManager, mOutputDirectory); in SkQPRunner()
56 int totalCount = mImpl.mUnitTests.length + mImpl.mGMs.length * mImpl.mBackends.length; in SkQPRunner()
60 for (int backend = 0; backend < mImpl.mBackends.length; backend++) { in SkQPRunner()
61 for (int gm = 0; gm < mImpl.mGMs.length; gm++) { in SkQPRunner()
63 mImpl.mBackends[backend] + "_" + mImpl.mGMs[gm]); in SkQPRunner()
66 for (int unitTest = 0; unitTest < mImpl.mUnitTests.length; unitTest++) { in SkQPRunner()
68 "unitTest_" + mImpl.mUnitTests[unitTest]); in SkQPRunner()
105 for (int backend = 0; backend < mImpl.mBackends.length; backend++) { in run()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/
DNativeWindow11WinRT.cpp48 mImpl = std::make_shared<CoreWindowNativeWindow>(); in initialize()
49 if (mImpl) in initialize()
51 return mImpl->initialize(window, propertySet.Get()); in initialize()
56 mImpl = std::make_shared<SwapChainPanelNativeWindow>(); in initialize()
57 if (mImpl) in initialize()
59 return mImpl->initialize(window, propertySet.Get()); in initialize()
73 if (mImpl) in getClientRect()
75 return mImpl->getClientRect(rect); in getClientRect()
100 if (mImpl) in createSwapChain()
105 mImpl->createSwapChain(device, factory2, format, width, height, mHasAlpha, &swapChain1); in createSwapChain()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/winrt/
DNativeWindow11WinRT.cpp48 mImpl = std::make_shared<CoreWindowNativeWindow>(); in initialize()
49 if (mImpl) in initialize()
51 return mImpl->initialize(window, propertySet.Get()); in initialize()
56 mImpl = std::make_shared<SwapChainPanelNativeWindow>(); in initialize()
57 if (mImpl) in initialize()
59 return mImpl->initialize(window, propertySet.Get()); in initialize()
73 if (mImpl) in getClientRect()
75 return mImpl->getClientRect(rect); in getClientRect()
93 if (mImpl) in createSwapChain()
98 mImpl->createSwapChain(device, factory2, format, width, height, mHasAlpha, &swapChain1); in createSwapChain()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DCLProgram.cpp38 return mImpl->build(devices, options, notify); in build()
70 return mImpl->compile(devices, options, programs, headerIncludeNames, notify); in compile()
121 return mImpl->getInfo(name, valueSize, value, valueSizeRet); in getInfo()
152 return mImpl->getBuildInfo(device->cast<Device>(), name, valueSize, value, valueSizeRet); in getBuildInfo()
167 cl_int errorCode = mImpl->createKernels(numKernels, createFuncs, numKernelsRet); in createKernels()
210 mImpl(context.getImpl().createProgramWithSource(*this, source, errorCode)), in Program()
219 mImpl(context.getImpl().createProgramWithIL(*this, il, length, errorCode)), in Program()
220 mSource(mImpl ? mImpl->getSource(errorCode) : std::string{}) in Program()
232 mImpl(context.getImpl() in Program()
234 mSource(mImpl ? mImpl->getSource(errorCode) : std::string{}) in Program()
[all …]
DTransformFeedback_unittest.cpp33 TransformFeedbackTest() : mImpl(nullptr), mFeedback(nullptr) {} in TransformFeedbackTest()
47 mImpl = rx::GetImplAs<rx::MockTransformFeedbackImpl>(mFeedback); in SetUp()
48 EXPECT_CALL(*mImpl, destructor()); in SetUp()
61 testing::Mock::VerifyAndClear(mImpl); in TearDown()
65 rx::MockTransformFeedbackImpl *mImpl; member in __anon0641a1340111::TransformFeedbackTest
75 EXPECT_CALL(*mImpl, begin(nullptr, gl::PrimitiveMode::Triangles)); in TEST_F()
80 EXPECT_CALL(*mImpl, end(nullptr)); in TEST_F()
90 EXPECT_CALL(*mImpl, begin(nullptr, gl::PrimitiveMode::Triangles)); in TEST_F()
94 EXPECT_CALL(*mImpl, pause(nullptr)); in TEST_F()
97 EXPECT_CALL(*mImpl, resume(nullptr)); in TEST_F()
[all …]
DFence_unittest.cpp42 mImpl = new MockFenceNVImpl; in SetUp()
43 EXPECT_CALL(factory, createFenceNV()).WillOnce(Return(mImpl)); in SetUp()
45 EXPECT_CALL(*mImpl, destroy()); in SetUp()
52 MockFenceNVImpl *mImpl; member in __anon6973ca140111::FenceNVTest
58 EXPECT_CALL(*mImpl, set(_, _)).WillOnce(Return(angle::Result::Continue)).RetiresOnSaturation(); in TEST_F()
63 EXPECT_CALL(*mImpl, test(_, _)) in TEST_F()
98 mImpl = new MockSyncImpl; in SetUp()
99 EXPECT_CALL(factory, createSync()).WillOnce(Return(mImpl)); in SetUp()
102 EXPECT_CALL(*mImpl, destroy()); in SetUp()
109 MockSyncImpl *mImpl; member in __anon6973ca140111::FenceSyncTest
[all …]
DCLCommandQueue.cpp121 ANGLE_CL_TRY(mImpl->setProperty(properties, enable)); in setProperty()
151 mImpl->enqueueReadBuffer(buf, blocking, offset, size, ptr, waitEvents, eventCreateFuncPtr); in enqueueReadBuffer()
174 mImpl->enqueueWriteBuffer(buf, blocking, offset, size, ptr, waitEvents, eventCreateFuncPtr); in enqueueWriteBuffer()
201 cl_int errorCode = mImpl->enqueueReadBufferRect( in enqueueReadBufferRect()
230 cl_int errorCode = mImpl->enqueueWriteBufferRect( in enqueueWriteBufferRect()
254 cl_int errorCode = mImpl->enqueueCopyBuffer(src, dst, srcOffset, dstOffset, size, waitEvents, in enqueueCopyBuffer()
281 cl_int errorCode = mImpl->enqueueCopyBufferRect(src, dst, srcOrigin, dstOrigin, region, in enqueueCopyBufferRect()
304 cl_int errorCode = mImpl->enqueueFillBuffer(buf, pattern, patternSize, offset, size, waitEvents, in enqueueFillBuffer()
328 void *const map = mImpl->enqueueMapBuffer(buf, blocking, mapFlags, offset, size, waitEvents, in enqueueMapBuffer()
353 cl_int errorCode = mImpl->enqueueReadImage(img, blocking, origin, region, rowPitch, slicePitch, in enqueueReadImage()
[all …]
DBuffer.cpp47 mImpl(factory->createBuffer(mState)), in Buffer()
50 mImplObserver.bind(mImpl); in Buffer()
55 SafeDelete(mImpl); in ~Buffer()
61 if (mImpl) in onDestroy()
62 mImpl->destroy(context); in onDestroy()
136 if (mImpl->setDataWithUsageFlags(context, target, nullptr, dataForImpl, size, usage, flags) == in bufferDataImpl()
189 if (mImpl->setDataWithUsageFlags(context, target, clientBuffer, nullptr, size, in bufferExternalDataImpl()
221 ANGLE_TRY(mImpl->setSubData(context, target, data, size, offset)); in bufferSubData()
239 mImpl->copySubData(context, source->getImplementation(), sourceOffset, destOffset, size)); in copyBufferSubData()
255 ANGLE_TRY(mImpl->map(context, access, &mState.mMapPointer)); in map()
[all …]
DCLEvent.cpp20 const cl_int errorCode = mImpl->setUserEventStatus(executionStatus); in setUserEventStatus()
54 const cl_int errorCode = mImpl->getCommandExecutionStatus(execStatus); in getInfo()
98 ANGLE_CL_TRY(mImpl->setCallback(*this, commandExecCallbackType)); in setCallback()
111 return mImpl->getProfilingInfo(name, valueSize, value, valueSizeRet); in getProfilingInfo()
145 mImpl(context.getImpl().createUserEvent(*this, errorCode)) in Event()
155 mImpl(createFunc(*this)) in Event()
DCLMemory.cpp163 mImpl(context.getImpl().createBuffer(buffer, size, hostPtr, errorCode)), in Memory()
180 mImpl(parent.mImpl->createSubBuffer(buffer, flags, size, errorCode)), in Memory()
199 mImpl(context.getImpl().createImage(image, flags, format, desc, hostPtr, errorCode)), in Memory()
200 mSize(mImpl ? mImpl->getSize(errorCode) : 0u), in Memory()
DCLKernel.cpp20 return mImpl->setArg(argIndex, argSize, argValue); in setArg()
220 mImpl(program.getImpl().createKernel(*this, name, errorCode)), in Kernel()
221 mInfo(mImpl ? mImpl->createInfo(errorCode) : rx::CLKernelImpl::Info{}) in Kernel()
227 : mProgram(&program), mImpl(createFunc(*this)), mInfo(mImpl->createInfo(errorCode)) in Kernel()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/
DTransformFeedback_unittest.cpp33 TransformFeedbackTest() : mImpl(nullptr), mFeedback(nullptr) {} in TransformFeedbackTest()
47 mImpl = rx::GetImplAs<rx::MockTransformFeedbackImpl>(mFeedback); in SetUp()
48 EXPECT_CALL(*mImpl, destructor()); in SetUp()
61 testing::Mock::VerifyAndClear(mImpl); in TearDown()
65 rx::MockTransformFeedbackImpl *mImpl; member in __anon72740ce90111::TransformFeedbackTest
75 EXPECT_CALL(*mImpl, begin(nullptr, gl::PrimitiveMode::Triangles)); in TEST_F()
80 EXPECT_CALL(*mImpl, end(nullptr)); in TEST_F()
90 EXPECT_CALL(*mImpl, begin(nullptr, gl::PrimitiveMode::Triangles)); in TEST_F()
94 EXPECT_CALL(*mImpl, pause(nullptr)); in TEST_F()
97 EXPECT_CALL(*mImpl, resume(nullptr)); in TEST_F()
[all …]
DFence_unittest.cpp43 mImpl = new MockFenceNVImpl; in SetUp()
44 EXPECT_CALL(*mImpl, destroy()); in SetUp()
45 mFence = new gl::FenceNV(mImpl); in SetUp()
50 MockFenceNVImpl *mImpl; member in __anon8c2b3e490111::FenceNVTest
70 EXPECT_CALL(*mImpl, set(_, _)).WillOnce(Return(angle::Result::Continue)).RetiresOnSaturation(); in TEST_F()
75 EXPECT_CALL(*mImpl, test(_, _)) in TEST_F()
110 mImpl = new MockSyncImpl; in SetUp()
111 EXPECT_CALL(*mImpl, destroy()); in SetUp()
112 mFence = new gl::Sync(mImpl, 1); in SetUp()
118 MockSyncImpl *mImpl; member in __anon8c2b3e490111::FenceSyncTest
[all …]
DBuffer.cpp43 mImpl(factory->createBuffer(mState)), in Buffer()
46 mImplObserver.bind(mImpl); in Buffer()
51 SafeDelete(mImpl); in ~Buffer()
57 if (mImpl) in onDestroy()
58 mImpl->destroy(context); in onDestroy()
90 ANGLE_TRY(mImpl->setData(context, target, dataForImpl, size, usage)); in bufferData()
108 ANGLE_TRY(mImpl->setSubData(context, target, data, size, offset)); in bufferSubData()
126 mImpl->copySubData(context, source->getImplementation(), sourceOffset, destOffset, size)); in copyBufferSubData()
142 ANGLE_TRY(mImpl->map(context, access, &mState.mMapPointer)); in map()
168 ANGLE_TRY(mImpl->mapRange(context, offset, length, access, &mState.mMapPointer)); in mapRange()
[all …]
DFramebuffer.cpp622 mImpl(factory->createFramebuffer(mState)), in Framebuffer()
627 ASSERT(mImpl != nullptr); in Framebuffer()
639 mImpl(surface->getImplementation()->createDefaultFramebuffer(context, mState)), in Framebuffer()
644 ASSERT(mImpl != nullptr); in Framebuffer()
672 mImpl(factory->createFramebuffer(mState)), in Framebuffer()
683 SafeDelete(mImpl); in ~Framebuffer()
698 mImpl->destroy(context); in onDestroy()
984 if (mImpl->shouldSyncStateBeforeCheckStatus()) in checkStatusImpl()
993 if (!mImpl->checkStatus(context)) in checkStatusImpl()
1273 return mImpl->discard(context, count, attachments); in discard()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/preprocessor/
DPreprocessor.cpp45 mImpl = new PreprocessorImpl(diagnostics, directiveHandler, settings); in Preprocessor()
50 delete mImpl; in ~Preprocessor()
63 return mImpl->tokenizer.init(count, string, length); in init()
68 PredefineMacro(&mImpl->macroSet, name, value); in predefineMacro()
76 mImpl->macroExpander.lex(token); in lex()
86 mImpl->diagnostics->report(Diagnostics::PP_INVALID_NUMBER, token->location, in lex()
90 mImpl->diagnostics->report(Diagnostics::PP_INVALID_CHARACTER, token->location, in lex()
102 mImpl->tokenizer.setMaxTokenSize(maxTokenSize); in setMaxTokenSize()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/preprocessor/
DPreprocessor.cpp45 mImpl = new PreprocessorImpl(diagnostics, directiveHandler, settings); in Preprocessor()
50 delete mImpl; in ~Preprocessor()
63 return mImpl->tokenizer.init(count, string, length); in init()
68 PredefineMacro(&mImpl->macroSet, name, value); in predefineMacro()
76 mImpl->macroExpander.lex(token); in lex()
86 mImpl->diagnostics->report(Diagnostics::PP_INVALID_NUMBER, token->location, in lex()
90 mImpl->diagnostics->report(Diagnostics::PP_INVALID_CHARACTER, token->location, in lex()
102 mImpl->tokenizer.setMaxTokenSize(maxTokenSize); in setMaxTokenSize()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/preprocessor/
DPreprocessor.cpp52 mImpl = new PreprocessorImpl(diagnostics, directiveHandler, settings); in Preprocessor()
57 delete mImpl; in ~Preprocessor()
70 return mImpl->tokenizer.init(count, string, length); in init()
75 PredefineMacro(&mImpl->macroSet, name, value); in predefineMacro()
83 mImpl->macroExpander.lex(token); in lex()
93 mImpl->diagnostics->report(Diagnostics::PP_INVALID_NUMBER, in lex()
97 mImpl->diagnostics->report(Diagnostics::PP_INVALID_CHARACTER, in lex()
109 mImpl->tokenizer.setMaxTokenSize(maxTokenSize); in setMaxTokenSize()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_wire/
DWireClient.cpp21 : mImpl(new client::Client(descriptor.serializer, descriptor.memoryTransferService)) { in WireClient()
25 mImpl.reset(); in ~WireClient()
29 return mImpl->GetDevice(); in GetDevice()
37 return mImpl->HandleCommands(commands, size); in HandleCommands()
41 return mImpl->ReserveTexture(device); in ReserveTexture()
DWireServer.cpp21 : mImpl(new server::Server(descriptor.device, in WireServer()
28 mImpl.reset(); in ~WireServer()
32 return mImpl->HandleCommands(commands, size); in HandleCommands()
36 return mImpl->InjectTexture(texture, id, generation); in InjectTexture()

123