Home
last modified time | relevance | path

Searched refs:mRenderer (Results 1 – 25 of 205) sorted by relevance

123456789

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DDisplayD3D.cpp164 DisplayD3D::DisplayD3D(const egl::DisplayState &state) : DisplayImpl(state), mRenderer(nullptr) {} in DisplayD3D()
170 ASSERT(mRenderer != nullptr); in createWindowSurface()
171 return new WindowSurfaceD3D(state, mRenderer, mDisplay, window, attribs); in createWindowSurface()
177 ASSERT(mRenderer != nullptr); in createPbufferSurface()
178 return new PbufferSurfaceD3D(state, mRenderer, mDisplay, 0, nullptr, attribs); in createPbufferSurface()
186 ASSERT(mRenderer != nullptr); in createPbufferFromClientBuffer()
187 return new PbufferSurfaceD3D(state, mRenderer, mDisplay, buftype, clientBuffer, attribs); in createPbufferFromClientBuffer()
203 return new EGLImageD3D(state, target, attribs, mRenderer); in createImage()
208 return mRenderer->createEGLDevice(); in createDevice()
217 ASSERT(mRenderer != nullptr); in createContext()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DDisplayD3D.cpp153 DisplayD3D::DisplayD3D(const egl::DisplayState &state) : DisplayImpl(state), mRenderer(nullptr) {} in DisplayD3D()
159 ASSERT(mRenderer != nullptr); in createWindowSurface()
160 return new WindowSurfaceD3D(state, mRenderer, mDisplay, window, attribs); in createWindowSurface()
166 ASSERT(mRenderer != nullptr); in createPbufferSurface()
167 return new PbufferSurfaceD3D(state, mRenderer, mDisplay, 0, nullptr, attribs); in createPbufferSurface()
175 ASSERT(mRenderer != nullptr); in createPbufferFromClientBuffer()
176 return new PbufferSurfaceD3D(state, mRenderer, mDisplay, buftype, clientBuffer, attribs); in createPbufferFromClientBuffer()
192 return new EGLImageD3D(state, target, attribs, mRenderer); in createImage()
197 return mRenderer->createEGLDevice(); in createDevice()
206 ASSERT(mRenderer != nullptr); in createContext()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DContext9.cpp31 : ContextD3D(state, errorSet), mRenderer(renderer) in Context9()
53 return new ShaderD3D(data, mRenderer->getFeatures(), mRenderer->getNativeExtensions()); in createShader()
58 return new ProgramD3D(data, mRenderer); in createProgram()
63 return new Framebuffer9(data, mRenderer); in createFramebuffer()
71 return new TextureD3D_2D(state, mRenderer); in createTexture()
73 return new TextureD3D_Cube(state, mRenderer); in createTexture()
75 return new TextureD3D_External(state, mRenderer); in createTexture()
84 return new RenderbufferD3D(state, mRenderer); in createRenderbuffer()
89 return new Buffer9(state, mRenderer); in createBuffer()
99 return new Query9(mRenderer, type); in createQuery()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DContext11.cpp115 : ContextD3D(state, errorSet), mRenderer(renderer) in Context11()
132 if (mRenderer->getRenderer11DeviceCaps().featureLevel <= D3D_FEATURE_LEVEL_9_3) in createCompiler()
144 return new ShaderD3D(data, mRenderer->getFeatures(), mRenderer->getNativeExtensions()); in createShader()
149 return new Program11(data, mRenderer); in createProgram()
154 return new Framebuffer11(data, mRenderer); in createFramebuffer()
162 return new TextureD3D_2D(state, mRenderer); in createTexture()
164 return new TextureD3D_Cube(state, mRenderer); in createTexture()
166 return new TextureD3D_3D(state, mRenderer); in createTexture()
168 return new TextureD3D_2DArray(state, mRenderer); in createTexture()
170 return new TextureD3D_External(state, mRenderer); in createTexture()
[all …]
DSwapChain11.cpp63 mRenderer(renderer), in SwapChain11()
98 ASSERT(!mRenderer->presentPathFastEnabled() || orientation == 0); in SwapChain11()
190 ID3D11Device *device = mRenderer->getDevice(); in resetOffscreenColorBuffer()
206 d3d11::Format::Get(mOffscreenRenderTargetFormat, mRenderer->getRenderer11DeviceCaps()); in resetOffscreenColorBuffer()
252 !mNativeWindow->getNativeWindow() && mRenderer->getShareHandleSupport(); in resetOffscreenColorBuffer()
266 angle::Result result = mRenderer->allocateTexture(displayD3D, offscreenTextureDesc, in resetOffscreenColorBuffer()
313 angle::Result result = mRenderer->allocateResource(displayD3D, offscreenRTVDesc, in resetOffscreenColorBuffer()
327 result = mRenderer->allocateResource(displayD3D, offscreenSRVDesc, mOffscreenTexture.get(), in resetOffscreenColorBuffer()
349 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in resetOffscreenColorBuffer()
372 d3d11::Format::Get(mDepthBufferFormat, mRenderer->getRenderer11DeviceCaps()); in resetOffscreenDepthBuffer()
[all …]
DTransformFeedback11.cpp21 mRenderer(renderer), in TransformFeedback11()
25 mSerial(mRenderer->generateSerial()) in TransformFeedback11()
47 mRenderer->getStateManager()->invalidateTransformFeedback(); in begin()
53 mRenderer->getStateManager()->invalidateTransformFeedback(); in end()
54 if (mRenderer->getFeatures().flushAfterEndingTransformFeedback.enabled) in end()
56 mRenderer->getDeviceContext()->Flush(); in end()
63 mRenderer->getStateManager()->invalidateTransformFeedback(); in pause()
69 mRenderer->getStateManager()->invalidateTransformFeedback(); in resume()
80 mRenderer->getStateManager()->invalidateTransformFeedback(); in bindIndexedBuffer()
DPixelTransfer11.cpp38 : mRenderer(renderer), in PixelTransfer11()
70 ANGLE_TRY(mRenderer->allocateResource(context11, rasterDesc, &mCopyRasterizerState)); in loadResources()
88 ANGLE_TRY(mRenderer->allocateResource(context11, depthStencilDesc, &mCopyDepthStencilState)); in loadResources()
98 ANGLE_TRY(mRenderer->allocateResource(context11, constantBufferDesc, &mParamsConstantBuffer)); in loadResources()
102 ANGLE_TRY(mRenderer->allocateResource(context11, ShaderData(g_VS_BufferToTexture), in loadResources()
106 ANGLE_TRY(mRenderer->allocateResource(context11, ShaderData(g_GS_BufferToTexture), in loadResources()
169 ASSERT(mRenderer->supportsFastCopyBufferToTexture(destinationFormat)); in copyBufferToTexture()
181 sourceglFormatInfo.sizedInternalFormat, mRenderer->getRenderer11DeviceCaps()); in copyBufferToTexture()
197 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in copyBufferToTexture()
201 StateManager11 *stateManager = mRenderer->getStateManager(); in copyBufferToTexture()
[all …]
DFramebuffer11.cpp59 : FramebufferD3D(data, renderer), mRenderer(renderer) in Framebuffer11()
61 ASSERT(mRenderer != nullptr); in Framebuffer11()
88 Clear11 *clearer = mRenderer->getClearer(); in clearImpl()
92 UsePresentPathFast(mRenderer, colorAttachment)) in clearImpl()
133 ID3D11DeviceContext1 *deviceContext1 = mRenderer->getDeviceContext1IfSupported(); in invalidateBase()
232 ID3D11DeviceContext1 *deviceContext1 = mRenderer->getDeviceContext1IfSupported(); in invalidateAttachment()
271 return mRenderer->readFromAttachment(context, *readAttachment, area, format, type, in readPixelsImpl()
308 const bool invertColorSource = UsePresentPathFast(mRenderer, readBuffer); in blitImpl()
317 const bool invertColorDest = UsePresentPathFast(mRenderer, &drawBuffer); in blitImpl()
326 ANGLE_TRY(mRenderer->blitRenderbufferRect( in blitImpl()
[all …]
DQuery11.cpp60 : QueryImpl(type), mResult(0), mResultSum(0), mRenderer(renderer) in Query11()
67 mRenderer->getStateManager()->onDeleteQueryObject(this); in ~Query11()
73 mRenderer->getStateManager()->onBeginQuery(this); in begin()
134 ID3D11DeviceContext *context = mRenderer->getDeviceContext(); in pause()
165 ANGLE_TRY(mRenderer->allocateResource(context11, queryDesc, &mActiveQuery->query)); in resume()
174 ANGLE_TRY(mRenderer->allocateResource(context11, desc, &mActiveQuery->beginTimestamp)); in resume()
175 ANGLE_TRY(mRenderer->allocateResource(context11, desc, &mActiveQuery->endTimestamp)); in resume()
178 ID3D11DeviceContext *context = mRenderer->getDeviceContext(); in resume()
221 ID3D11DeviceContext *context = mRenderer->getDeviceContext(); in testQuery()
285 mRenderer->setGPUDisjoint(); in testQuery()
[all …]
DBlit11.cpp530 : mRenderer(renderer), in Blit11()
585 6 * mRenderer->getNativeCaps().max3DTextureSize); in initResources()
594 ANGLE_TRY(mRenderer->allocateResource(context11, vbDesc, &mVertexBuffer)); in initResources()
612 ANGLE_TRY(mRenderer->allocateResource(context11, pointSamplerDesc, &mPointSampler)); in initResources()
630 ANGLE_TRY(mRenderer->allocateResource(context11, linearSamplerDesc, &mLinearSampler)); in initResources()
646 ANGLE_TRY(mRenderer->allocateResource(context11, rasterDesc, &mScissorEnabledRasterizerState)); in initResources()
650 ANGLE_TRY(mRenderer->allocateResource(context11, rasterDesc, &mScissorDisabledRasterizerState)); in initResources()
669 ANGLE_TRY(mRenderer->allocateResource(context11, depthStencilDesc, &mDepthStencilState)); in initResources()
680 ANGLE_TRY(mRenderer->allocateResource(context11, swizzleBufferDesc, &mSwizzleCB)); in initResources()
763 ANGLE_TRY(mQuad2DIL.resolve(context11, mRenderer)); in getShaderSupport()
[all …]
DVertexBuffer11.cpp25 : mRenderer(renderer), in VertexBuffer11()
54 ANGLE_TRY(mRenderer->allocateResource(GetImplAs<Context11>(context), bufferDesc, &mBuffer)); in initialize()
78 ANGLE_TRY(mRenderer->mapResource(context, mBuffer.get(), 0, D3D11_MAP_WRITE_NO_OVERWRITE, 0, in mapResource()
91 ID3D11DeviceContext *dxContext = mRenderer->getDeviceContext(); in hintUnmapResource()
125 const D3D_FEATURE_LEVEL featureLevel = mRenderer->getRenderer11DeviceCaps().featureLevel; in storeVertexAttributes()
154 ANGLE_TRY(mRenderer->mapResource(context, mBuffer.get(), 0, D3D11_MAP_WRITE_DISCARD, 0, in discard()
157 mRenderer->getDeviceContext()->Unmap(mBuffer.get(), 0); in discard()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DContextGL.cpp40 : ContextImpl(state, errorSet), mRenderer(renderer) in ContextGL()
60 return new ShaderGL(data, shader, mRenderer->getMultiviewImplementationType(), mRenderer); in createShader()
66 getExtensions().pathRendering, mRenderer); in createProgram()
94 mRenderer->getBlitter(), getNativeTextureCaps()); in createRenderbuffer()
195 return mRenderer->flush(); in flush()
200 return mRenderer->finish(); in finish()
408 mRenderer->stencilFillPath(mState, path, fillMode, mask); in stencilFillPath()
413 mRenderer->stencilStrokePath(mState, path, reference, mask); in stencilStrokePath()
418 mRenderer->coverFillPath(mState, path, coverMode); in coverFillPath()
423 mRenderer->coverStrokePath(mState, path, coverMode); in coverStrokePath()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DContext11.cpp118 : ContextD3D(state, errorSet), mRenderer(renderer) in Context11()
135 if (mRenderer->getRenderer11DeviceCaps().featureLevel <= D3D_FEATURE_LEVEL_9_3) in createCompiler()
147 return new ShaderD3D(data, mRenderer->getFeatures(), mRenderer->getNativeExtensions()); in createShader()
152 return new Program11(data, mRenderer); in createProgram()
157 return new Framebuffer11(data, mRenderer); in createFramebuffer()
167 return new TextureD3D_2D(state, mRenderer); in createTexture()
169 return new TextureD3D_Cube(state, mRenderer); in createTexture()
171 return new TextureD3D_3D(state, mRenderer); in createTexture()
173 return new TextureD3D_2DArray(state, mRenderer); in createTexture()
175 return new TextureD3D_External(state, mRenderer); in createTexture()
[all …]
DSwapChain11.cpp63 mRenderer(renderer), in SwapChain11()
98 ASSERT(!mRenderer->presentPathFastEnabled() || orientation == 0); in SwapChain11()
190 ID3D11Device *device = mRenderer->getDevice(); in resetOffscreenColorBuffer()
206 d3d11::Format::Get(mOffscreenRenderTargetFormat, mRenderer->getRenderer11DeviceCaps()); in resetOffscreenColorBuffer()
252 !mNativeWindow->getNativeWindow() && mRenderer->getShareHandleSupport(); in resetOffscreenColorBuffer()
266 angle::Result result = mRenderer->allocateTexture(displayD3D, offscreenTextureDesc, in resetOffscreenColorBuffer()
313 angle::Result result = mRenderer->allocateResource(displayD3D, offscreenRTVDesc, in resetOffscreenColorBuffer()
333 result = mRenderer->allocateResource(displayD3D, offscreenSRVDesc, mOffscreenTexture.get(), in resetOffscreenColorBuffer()
361 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in resetOffscreenColorBuffer()
384 d3d11::Format::Get(mDepthBufferFormat, mRenderer->getRenderer11DeviceCaps()); in resetOffscreenDepthBuffer()
[all …]
DTransformFeedback11.cpp21 mRenderer(renderer), in TransformFeedback11()
25 mSerial(mRenderer->generateSerial()) in TransformFeedback11()
47 mRenderer->getStateManager()->invalidateTransformFeedback(); in begin()
53 mRenderer->getStateManager()->invalidateTransformFeedback(); in end()
54 if (mRenderer->getFeatures().flushAfterEndingTransformFeedback.enabled) in end()
56 mRenderer->getDeviceContext()->Flush(); in end()
63 mRenderer->getStateManager()->invalidateTransformFeedback(); in pause()
69 mRenderer->getStateManager()->invalidateTransformFeedback(); in resume()
80 mRenderer->getStateManager()->invalidateTransformFeedback(); in bindIndexedBuffer()
DPixelTransfer11.cpp39 : mRenderer(renderer), in PixelTransfer11()
71 ANGLE_TRY(mRenderer->allocateResource(context11, rasterDesc, &mCopyRasterizerState)); in loadResources()
89 ANGLE_TRY(mRenderer->allocateResource(context11, depthStencilDesc, &mCopyDepthStencilState)); in loadResources()
99 ANGLE_TRY(mRenderer->allocateResource(context11, constantBufferDesc, &mParamsConstantBuffer)); in loadResources()
103 ANGLE_TRY(mRenderer->allocateResource(context11, ShaderData(g_VS_BufferToTexture), in loadResources()
107 ANGLE_TRY(mRenderer->allocateResource(context11, ShaderData(g_GS_BufferToTexture), in loadResources()
170 ASSERT(mRenderer->supportsFastCopyBufferToTexture(destinationFormat)); in copyBufferToTexture()
182 sourceglFormatInfo.sizedInternalFormat, mRenderer->getRenderer11DeviceCaps()); in copyBufferToTexture()
198 ID3D11DeviceContext *deviceContext = mRenderer->getDeviceContext(); in copyBufferToTexture()
202 StateManager11 *stateManager = mRenderer->getStateManager(); in copyBufferToTexture()
[all …]
DQuery11.cpp60 : QueryImpl(type), mResult(0), mResultSum(0), mRenderer(renderer) in Query11()
67 mRenderer->getStateManager()->onDeleteQueryObject(this); in ~Query11()
73 mRenderer->getStateManager()->onBeginQuery(this); in begin()
134 ID3D11DeviceContext *context = mRenderer->getDeviceContext(); in pause()
165 ANGLE_TRY(mRenderer->allocateResource(context11, queryDesc, &mActiveQuery->query)); in resume()
174 ANGLE_TRY(mRenderer->allocateResource(context11, desc, &mActiveQuery->beginTimestamp)); in resume()
175 ANGLE_TRY(mRenderer->allocateResource(context11, desc, &mActiveQuery->endTimestamp)); in resume()
178 ID3D11DeviceContext *context = mRenderer->getDeviceContext(); in resume()
221 ID3D11DeviceContext *context = mRenderer->getDeviceContext(); in testQuery()
285 mRenderer->setGPUDisjoint(); in testQuery()
[all …]
DBlit11.cpp534 : mRenderer(renderer), in Blit11()
589 6 * mRenderer->getNativeCaps().max3DTextureSize); in initResources()
598 ANGLE_TRY(mRenderer->allocateResource(context11, vbDesc, &mVertexBuffer)); in initResources()
616 ANGLE_TRY(mRenderer->allocateResource(context11, pointSamplerDesc, &mPointSampler)); in initResources()
634 ANGLE_TRY(mRenderer->allocateResource(context11, linearSamplerDesc, &mLinearSampler)); in initResources()
650 ANGLE_TRY(mRenderer->allocateResource(context11, rasterDesc, &mScissorEnabledRasterizerState)); in initResources()
654 ANGLE_TRY(mRenderer->allocateResource(context11, rasterDesc, &mScissorDisabledRasterizerState)); in initResources()
673 ANGLE_TRY(mRenderer->allocateResource(context11, depthStencilDesc, &mDepthStencilState)); in initResources()
684 ANGLE_TRY(mRenderer->allocateResource(context11, swizzleBufferDesc, &mSwizzleCB)); in initResources()
767 ANGLE_TRY(mQuad2DIL.resolve(context11, mRenderer)); in getShaderSupport()
[all …]
DVertexBuffer11.cpp25 : mRenderer(renderer), in VertexBuffer11()
54 ANGLE_TRY(mRenderer->allocateResource(GetImplAs<Context11>(context), bufferDesc, &mBuffer)); in initialize()
78 ANGLE_TRY(mRenderer->mapResource(context, mBuffer.get(), 0, D3D11_MAP_WRITE_NO_OVERWRITE, 0, in mapResource()
91 ID3D11DeviceContext *dxContext = mRenderer->getDeviceContext(); in hintUnmapResource()
125 const D3D_FEATURE_LEVEL featureLevel = mRenderer->getRenderer11DeviceCaps().featureLevel; in storeVertexAttributes()
154 ANGLE_TRY(mRenderer->mapResource(context, mBuffer.get(), 0, D3D11_MAP_WRITE_DISCARD, 0, in discard()
157 mRenderer->getDeviceContext()->Unmap(mBuffer.get(), 0); in discard()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DDisplayVk.cpp35 delete mRenderer; in ~DisplayVk()
40 ASSERT(mRenderer != nullptr && display != nullptr); in initialize()
41 angle::Result result = mRenderer->initialize(this, display, getWSIExtension(), getWSILayer()); in initialize()
48 mRenderer->reloadVolkIfNeeded(); in terminate()
50 ASSERT(mRenderer); in terminate()
51 mRenderer->onDestroy(this); in terminate()
60 ASSERT(mRenderer); in makeCurrent()
61 mRenderer->setGlobalDebugAnnotator(); in makeCurrent()
68 return mRenderer->isDeviceLost(); in testDeviceLost()
80 if (mRenderer) in getRendererDescription()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DContext9.cpp33 : ContextD3D(state, errorSet), mRenderer(renderer) in Context9()
55 return new ShaderD3D(data, mRenderer->getFeatures(), mRenderer->getNativeExtensions()); in createShader()
60 return new ProgramD3D(data, mRenderer); in createProgram()
65 return new Framebuffer9(data, mRenderer); in createFramebuffer()
75 return new TextureD3D_2D(state, mRenderer); in createTexture()
77 return new TextureD3D_Cube(state, mRenderer); in createTexture()
79 return new TextureD3D_External(state, mRenderer); in createTexture()
88 return new RenderbufferD3D(state, mRenderer); in createRenderbuffer()
93 return new Buffer9(state, mRenderer); in createBuffer()
103 return new Query9(mRenderer, type); in createQuery()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DContextGL.cpp43 mRenderer(renderer), in ContextGL()
64 return new ShaderGL(data, shader, mRenderer->getMultiviewImplementationType(), mRenderer); in createShader()
69 return new ProgramGL(data, getFunctions(), getFeaturesGL(), getStateManager(), mRenderer); in createProgram()
211 return mRenderer->flush(); in flush()
216 return mRenderer->finish(); in finish()
332 mRenderer->markWorkSubmitted(); in drawArrays()
353 mRenderer->markWorkSubmitted(); in drawArraysInstanced()
476 mRenderer->markWorkSubmitted(); in drawArraysInstancedBaseInstance()
509 mRenderer->markWorkSubmitted(); in drawElements()
543 mRenderer->markWorkSubmitted(); in drawElementsBaseVertex()
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DDisplayVk.cpp31 delete mRenderer; in ~DisplayVk()
36 ASSERT(mRenderer != nullptr && display != nullptr); in initialize()
37 angle::Result result = mRenderer->initialize(this, display, getWSIExtension(), getWSILayer()); in initialize()
44 ASSERT(mRenderer); in terminate()
45 mRenderer->onDestroy(this); in terminate()
57 return mRenderer->isDeviceLost(); in testDeviceLost()
70 if (mRenderer) in getVendorString()
72 vendorString += " " + mRenderer->getVendorString(); in getVendorString()
110 ASSERT(mRenderer); in createPbufferSurface()
149 return new ContextVk(state, errorSet, mRenderer); in createContext()
[all …]
/third_party/skia/platform_tools/android/apps/AndroidKit/src/main/java/org/skia/androidkit/util/
DSkottieView.java95 private SkottieRenderer mRenderer; field in SkottieView
104 mRenderer = new SkottieRenderer(makeAnimation(inputStream), background); in SkottieView()
105 mBackingView.getHolder().addCallback(mRenderer); in SkottieView()
167 mRenderer = new SkottieRenderer(makeAnimation(inputStream), background); in setSource()
168 mBackingView.getHolder().addCallback(mRenderer); in setSource()
172 mRenderer.play(); in play()
176 mRenderer.pause(); in pause()
180 mRenderer.setBaseTime(java.lang.System.currentTimeMillis() - ((long)t * 1000)); in seekTime()
184 double totalFrames = mRenderer.getAnimation().getFrameCount(); in seekFrame()
185 double totalTime = mRenderer.getAnimation().getDuration(); in seekFrame()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/src/main/java/com/google/oboe/samples/rhythmgame/
DGameSurfaceView.java29 private final RendererWrapper mRenderer; field in GameSurfaceView
34 mRenderer = new RendererWrapper(); in GameSurfaceView()
36 setRenderer(mRenderer); in GameSurfaceView()
42 mRenderer = new RendererWrapper(); in GameSurfaceView()
44 setRenderer(mRenderer); in GameSurfaceView()

123456789