Searched refs:clearParams (Results 1 – 6 of 6) sorted by relevance
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/ |
D | Renderer11.cpp | 1536 void Renderer11::clear(const gl::ClearParameters &clearParams, gl::Framebuffer *frameBuffer) in clear() argument 1538 …bool alphaUnmasked = (gl::GetAlphaSize(mRenderTargetDesc.format) == 0) || clearParams.colorMaskAlp… in clear() 1539 bool needMaskedColorClear = (clearParams.mask & GL_COLOR_BUFFER_BIT) && in clear() 1540 !(clearParams.colorMaskRed && clearParams.colorMaskGreen && in clear() 1541 clearParams.colorMaskBlue && alphaUnmasked); in clear() 1549 bool needMaskedStencilClear = (clearParams.mask & GL_STENCIL_BUFFER_BIT) && in clear() 1550 … (clearParams.stencilWriteMask & stencilUnmasked) != stencilUnmasked; in clear() 1558 maskedClear(clearParams, frameBuffer->usingExtendedDrawBuffers()); in clear() 1562 if (clearParams.mask & GL_COLOR_BUFFER_BIT) in clear() 1585 const float clearValues[4] = { clearParams.colorClearValue.red, in clear() [all …]
|
D | Renderer9.cpp | 1813 void Renderer9::clear(const gl::ClearParameters &clearParams, gl::Framebuffer *frameBuffer) in clear() argument 1815 D3DCOLOR color = D3DCOLOR_ARGB(gl::unorm<8>(clearParams.colorClearValue.alpha), in clear() 1816 gl::unorm<8>(clearParams.colorClearValue.red), in clear() 1817 gl::unorm<8>(clearParams.colorClearValue.green), in clear() 1818 gl::unorm<8>(clearParams.colorClearValue.blue)); in clear() 1819 float depth = gl::clamp01(clearParams.depthClearValue); in clear() 1820 int stencil = clearParams.stencilClearValue & 0x000000FF; in clear() 1823 if ((clearParams.mask & GL_STENCIL_BUFFER_BIT) && frameBuffer->hasStencil()) in clear() 1829 …bool alphaUnmasked = (gl::GetAlphaSize(mRenderTargetDesc.format) == 0) || clearParams.colorMaskAlp… in clear() 1831 const bool needMaskedStencilClear = (clearParams.mask & GL_STENCIL_BUFFER_BIT) && in clear() [all …]
|
D | Renderer11.h | 80 virtual void clear(const gl::ClearParameters &clearParams, gl::Framebuffer *frameBuffer); 197 void maskedClear(const gl::ClearParameters &clearParams, bool usingExtendedDrawBuffers);
|
D | Renderer.h | 141 virtual void clear(const gl::ClearParameters &clearParams, gl::Framebuffer *frameBuffer) = 0;
|
D | Renderer9.h | 94 virtual void clear(const gl::ClearParameters &clearParams, gl::Framebuffer *frameBuffer);
|
/external/chromium_org/third_party/angle/src/libGLESv2/ |
D | Context.cpp | 1947 ClearParameters clearParams; in clear() local 1948 clearParams.mask = finalMask; in clear() 1949 clearParams.colorClearValue = mState.colorClearValue; in clear() 1950 clearParams.colorMaskRed = mState.blend.colorMaskRed; in clear() 1951 clearParams.colorMaskGreen = mState.blend.colorMaskGreen; in clear() 1952 clearParams.colorMaskBlue = mState.blend.colorMaskBlue; in clear() 1953 clearParams.colorMaskAlpha = mState.blend.colorMaskAlpha; in clear() 1954 clearParams.depthClearValue = mState.depthClearValue; in clear() 1955 clearParams.stencilClearValue = mState.stencilClearValue; in clear() 1956 clearParams.stencilWriteMask = mState.depthStencil.stencilWritemask; in clear() [all …]
|