Searched refs:clearParams (Results 1 – 13 of 13) sorted by relevance
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/ |
D | FramebufferD3D.cpp | 35 ClearParameters clearParams; in GetClearParameters() local 36 memset(&clearParams, 0, sizeof(ClearParameters)); in GetClearParameters() 38 clearParams.colorF = state.getColorClearValue(); in GetClearParameters() 39 clearParams.colorType = GL_FLOAT; in GetClearParameters() 40 clearParams.clearDepth = false; in GetClearParameters() 41 clearParams.depthValue = state.getDepthClearValue(); in GetClearParameters() 42 clearParams.clearStencil = false; in GetClearParameters() 43 clearParams.stencilValue = state.getStencilClearValue(); in GetClearParameters() 44 clearParams.stencilWriteMask = state.getDepthStencilState().stencilWritemask; in GetClearParameters() 51 clearParams.scissorEnabled = true; in GetClearParameters() [all …]
|
D | FramebufferD3D.h | 113 const ClearParameters &clearParams) = 0;
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/ |
D | Clear11.cpp | 368 const ClearParameters &clearParams, in clearFramebuffer() argument 416 if (clearParams.scissorEnabled) in clearFramebuffer() 418 if (clearParams.scissor.x >= framebufferSize.width || in clearFramebuffer() 419 clearParams.scissor.y >= framebufferSize.height || clearParams.scissor.width == 0 || in clearFramebuffer() 420 clearParams.scissor.height == 0) in clearFramebuffer() 428 if (clearParams.scissor.x + clearParams.scissor.width <= 0 || in clearFramebuffer() 429 clearParams.scissor.y + clearParams.scissor.height <= 0) in clearFramebuffer() 435 clearParams.scissor.x > 0 || clearParams.scissor.y > 0 || in clearFramebuffer() 436 clearParams.scissor.x + clearParams.scissor.width < framebufferSize.width || in clearFramebuffer() 437 clearParams.scissor.y + clearParams.scissor.height < framebufferSize.height; in clearFramebuffer() [all …]
|
D | Framebuffer11.cpp | 87 const ClearParameters &clearParams) in clearImpl() argument 92 if (clearParams.scissorEnabled == true && colorAttachment != nullptr && in clearImpl() 98 ClearParameters presentPathFastClearParams = clearParams; in clearImpl() 107 ANGLE_TRY(clearer->clearFramebuffer(context, clearParams, mState)); in clearImpl()
|
D | Clear11.h | 43 const ClearParameters &clearParams,
|
D | Framebuffer11.h | 66 const ClearParameters &clearParams) override;
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/ |
D | clear.metal | 19 constant ClearParams &clearParams [[buffer(0)]]) 21 return float4(gCorners[vid], clearParams.clearDepth, 1.0); 24 fragment MultipleColorOutputs<float> clearFloatFS(constant ClearParams &clearParams [[buffer(0)]]) 26 return toMultipleColorOutputs(clearParams.clearColor); 29 fragment MultipleColorOutputs<int> clearIntFS(constant ClearParams &clearParams [[buffer(0)]]) 31 return toMultipleColorOutputs(as_type<int4>(clearParams.clearColor)); 34 fragment MultipleColorOutputs<uint> clearUIntFS(constant ClearParams &clearParams [[buffer(0)]]) 36 return toMultipleColorOutputs(as_type<uint4>(clearParams.clearColor));
|
D | mtl_default_shaders_src_autogen.inc | 682 constant ClearParams &clearParams [[buffer(0)]]) 684 return float4(gCorners[vid], clearParams.clearDepth, 1.0); 687 fragment MultipleColorOutputs<float> clearFloatFS(constant ClearParams &clearParams [[buffer(0)]]) 689 return toMultipleColorOutputs(clearParams.clearColor); 692 fragment MultipleColorOutputs<int> clearIntFS(constant ClearParams &clearParams [[buffer(0)]]) 694 return toMultipleColorOutputs(as_type<int4>(clearParams.clearColor)); 697 fragment MultipleColorOutputs<uint> clearUIntFS(constant ClearParams &clearParams [[buffer(0)]]) 699 return toMultipleColorOutputs(as_type<uint4>(clearParams.clearColor));
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
D | Renderer9.cpp | 1912 void Renderer9::clear(const ClearParameters &clearParams, in clear() argument 1917 ASSERT(clearParams.colorType == GL_FLOAT); in clear() 1920 bool clearColor = clearParams.clearColor[0]; in clear() 1921 for (unsigned int i = 0; i < clearParams.clearColor.size(); i++) in clear() 1923 ASSERT(clearParams.clearColor[i] == clearColor); in clear() 1926 float depth = gl::clamp01(clearParams.depthValue); in clear() 1927 DWORD stencil = clearParams.stencilValue & 0x000000FF; in clear() 1930 if (clearParams.clearStencil && depthStencilRenderTarget) in clear() 1943 clearParams.clearStencil && in clear() 1944 (clearParams.stencilWriteMask & stencilUnmasked) != stencilUnmasked; in clear() [all …]
|
D | Framebuffer9.h | 61 const ClearParameters &clearParams) override;
|
D | Framebuffer9.cpp | 61 const ClearParameters &clearParams) in clearImpl() argument 74 mRenderer->clear(clearParams, mRenderTargetCache.getColors()[0], in clearImpl()
|
D | Renderer9.h | 149 void clear(const ClearParameters &clearParams,
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/ |
D | mtl_utils.mm | 496 ClearRectParams clearParams; 510 clearParams.clearColor = clearColor; 511 clearParams.dstTextureSize = texture->sizeAt0(); 512 clearParams.enabledBuffers.set(0); 513 clearParams.clearArea = gl::Rectangle(0, 0, texture->widthAt0(), texture->heightAt0()); 516 contextMtl->getDisplay()->getUtils().clearWithDraw(context, encoder, clearParams));
|