/external/swiftshader/src/Renderer/ |
PixelProcessor.hpp | 137 struct Stencil 317 Stencil stencil; member in class:sw::PixelProcessor 318 Stencil stencilCCW;
|
PixelProcessor.cpp | 603 stencil.set(stencilReference, context->stencilMask, context->stencilWriteMask); 615 stencil.set(context->stencilReference, stencilMask, context->stencilWriteMask); 642 stencil.set(context->stencilReference, context->stencilMask, stencilWriteMask); [all...] |
Renderer.hpp | 158 PixelProcessor::Stencil stencil[2]; // clockwise, counterclockwise member in struct:sw::DrawData 159 PixelProcessor::Stencil stencilCCW;
|
/frameworks/base/libs/hwui/ |
OpenGLReadback.cpp | 197 renderState.stencil().disable();
|
/external/deqp/modules/glshared/ |
glsScissorTests.cpp | 434 throw tcu::NotSupportedError("Cannot clear stencil; no stencil buffer present", "", __FILE__, __LINE__); 575 static void clearBuffers (const glw::Functions& gl, Color color, float depth, int stencil); 593 void FramebufferClearCase::clearBuffers (const glw::Functions& gl, Color color, float depth, int stencil) 605 gl.clearBufferiv(GL_STENCIL, 0, &stencil); 647 // Depth/stencil 819 // Render something to expose changes to depth/stencil buffer
|
/external/mesa3d/src/amd/addrlib/r800/ |
ciaddrlib.cpp | [all...] |
siaddrlib.cpp | [all...] |
/external/swiftshader/src/D3D9/ |
Direct3DDevice9Ex.cpp | 110 long Direct3DDevice9Ex::Clear(unsigned long count, const D3DRECT *rects, unsigned long flags, unsigned long color, float z, unsigned long stencil) 112 TRACE("unsigned long count = %d, const D3DRECT *rects = 0x%0.8p, unsigned long flags = 0x%0.8X, unsigned long color = 0x%0.8X, float z = %f, unsigned long stencil = %d", count, rects, flags, color, z, stencil); 114 return Direct3DDevice9::Clear(count, rects, flags, color, z, stencil); [all...] |
/external/swiftshader/src/OpenGL/libGL/ |
Image.cpp | 681 unsigned char *stencil = reinterpret_cast<unsigned char*>(lockStencil(0, 0, 0, sw::PUBLIC)); local 683 if(stencil) 688 unsigned char *dest = static_cast<unsigned char*>(stencil) + (y + yoffset) * getStencilPitchB() + xoffset;
|
/system/core/libpixelflinger/ |
pixelflinger.cpp | 541 if (c->state.mask.stencil != mask) { 542 c->state.mask.stencil = mask; 792 c->state.mask.stencil = 0xFFFFFFFF;
|
/external/deqp/external/vulkancts/modules/vulkan/api/ |
vktApiImageClearingTests.cpp | 320 const deUint32 stencil = access.getPixStencil(x, y); local 321 const bool result = stencil == ref; 326 s << "Ref:" << ref << " Threshold:0" << " Stencil:" << stencil; local [all...] |
/external/mesa3d/src/gallium/drivers/nouveau/nv50/ |
nv50_surface.c | 369 unsigned stencil, 393 PUSH_DATA (push, stencil & 0xff); 471 uint8_t stencil = 0; local 482 desc->unpack_s_8uint(&stencil, 0, data, 0, 1, 1); 484 pipe->clear_depth_stencil(pipe, sf, clear, depth, stencil, 529 double depth, unsigned stencil) 566 PUSH_DATA (push, stencil & 0xff); [all...] |
/external/swiftshader/src/Shader/ |
PixelRoutine.cpp | 59 Int sMask[4]; // Stencil mask 319 value &= *Pointer<Byte8>(data + OFFSET(DrawData,stencil[0].testMaskQ)); 328 valueCCW &= *Pointer<Byte8>(data + OFFSET(DrawData,stencil[1].testMaskQ)); 355 value = CmpGT(As<SByte8>(value), *Pointer<SByte8>(data + OFFSET(DrawData,stencil[CCW].referenceMaskedSignedQ))); 358 value = CmpEQ(value, *Pointer<Byte8>(data + OFFSET(DrawData,stencil[CCW].referenceMaskedQ))); 361 value = CmpEQ(value, *Pointer<Byte8>(data + OFFSET(DrawData,stencil[CCW].referenceMaskedQ))); 366 equal = CmpEQ(equal, *Pointer<Byte8>(data + OFFSET(DrawData,stencil[CCW].referenceMaskedQ))); 368 value = CmpGT(As<SByte8>(value), *Pointer<SByte8>(data + OFFSET(DrawData,stencil[CCW].referenceMaskedSignedQ))); 372 equal = *Pointer<Byte8>(data + OFFSET(DrawData,stencil[CCW].referenceMaskedSignedQ)); 379 value = CmpGT(As<SByte8>(value), *Pointer<SByte8>(data + OFFSET(DrawData,stencil[CCW].referenceMaskedSignedQ))) [all...] |
/external/skia/src/gpu/vk/ |
GrVkGpu.cpp | 1594 GrStencilAttachment* stencil = target->renderTargetPriv().getStencilAttachment(); local [all...] |
/external/skqp/src/gpu/vk/ |
GrVkGpu.cpp | 1633 GrStencilAttachment* stencil = target->renderTargetPriv().getStencilAttachment(); local [all...] |
/external/deqp/modules/gles31/functional/ |
es31fStencilTexturingTests.cpp | 21 * \brief Stencil texturing tests. 172 // clear depth and stencil 424 << TestLog::Image("Result", "Result stencil buffer", result); 427 log << TestLog::Image("Reference", "Reference stencil buffer", stencilToRedAccess(stencilRef)); 460 << TestLog::Image("Result", "Result stencil buffer", result); 844 const int stencil = int((deInt32Hash(x) ^ deInt32Hash(y)) & 0xff); local 846 gl.clearStencil(stencil); 850 tcu::clearStencil(tcu::getSubregion(reference.getAccess(), x, y, clearW, clearH), stencil); local 899 m_testCtx.getLog() << TestLog::Message << "NOTE: Texture compare mode has no effect when reading stencil values." << TestLog::EndMessage; [all...] |
/external/mesa3d/src/gallium/drivers/svga/ |
svga_cmd_vgpu10.c | 365 /* Depth / Stencil buffer */ 373 /* no depth/stencil buffer - still need a relocation */ 687 uint16 stencil, 709 cmd->stencil = stencil; [all...] |
svga_context.h | 142 } stencil[2]; member in struct:svga_depth_stencil_state 145 * back face stencil. We really need two: 462 /* Bitmask of depth/stencil state objects IDs */
|
/external/deqp/modules/egl/ |
teglImageFormatTests.cpp | 260 ModifyRenderbufferClearStencil (GLint stencil) : m_stencil(stencil) {} 386 throw IllegalRendererException(); // Skip, GLES2 does not support sampling stencil textures 580 throw IllegalRendererException(); // Skip, interpreting non-stencil data as stencil data is not meaningful 591 log << tcu::TestLog::Message << "Rendering with stencil buffer" << tcu::TestLog::EndMessage; 657 const int stencil = (int)(((float)(level + 1) * 0.1f) * (float)maxStencil); local 659 GLU_CHECK_GLW_CALL(gl, stencilFunc(GL_LESS, stencil, 0xFFFFFFFFu)); 691 return tcu::pixelThresholdCompare(log, "StencilResult", "Result from rendering with stencil buffer", referenceScreen, screen, compareThreshold, tcu::COMPARE_LOG_RESULT); 710 throw IllegalRendererException(); // Skip, GLES2 does not support ReadPixels for stencil attachment [all...] |
/external/mesa3d/src/amd/vulkan/winsys/amdgpu/ |
radv_amdgpu_surface.c | 485 /* Calculate texture layout information for stencil. */ 489 AddrSurfInfoIn.flags.stencil = 1; 499 /* DB uses the depth pitch for both stencil and depth. */
|
/external/mesa3d/src/gallium/drivers/svga/include/ |
svga3d_surfacedefs.h | 43 * 2. Green, bump V and stencil are stored in the second channel. 84 SVGA3DBLOCKDESC_STENCIL = 1 << 16, /* Block with a stencil channel */ 147 uint8 stencil; member in union:SVGA3dChannelDef::__anon29968 [all...] |
/external/mesa3d/src/mesa/main/ |
texparam.c | 504 bool stencil = params[0] == GL_STENCIL_INDEX; local 505 if (!stencil && params[0] != GL_DEPTH_COMPONENT) 508 if (texObj->StencilSampling == stencil) 511 texObj->StencilSampling = stencil; [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_cb_drawpixels.c | 110 * stencil value value, then writes to FRAG_RESULT_DEPTH/FRAG_RESULT_STENCIL. 615 /* Stencil writing bypasses the normal fragment pipeline to 616 * disable color writing and set stencil test to always pass. 621 /* depth/stencil */ 623 dsa.stencil[0].enabled = 1; 624 dsa.stencil[0].func = PIPE_FUNC_ALWAYS; 625 dsa.stencil[0].writemask = ctx->Stencil.WriteMask[0] & 0xff; 626 dsa.stencil[0].zpass_op = PIPE_STENCIL_OP_REPLACE; 628 /* writing depth+stencil: depth test always passes * [all...] |
/external/swiftshader/src/D3D8/ |
Direct3DDevice8.hpp | 63 long __stdcall Clear(unsigned long count, const D3DRECT *rects, unsigned long flags, unsigned long color, float z, unsigned long stencil) override;
|
/external/deqp/external/openglcts/modules/gl/ |
gl4cStencilTexturingTests.cpp | 594 : TestCase(context, "functional", "Checks if sampling stencil texture gives expected results") 656 * @param is_stencil Selects if stencil or depth channel is sampled 809 * @param is_stencil Selects if stencil or depth channel is sampled 858 * @param is_stencil Selects if stencil or depth channel is sampled 940 * @param is_stencil Selects if stencil or depth channel is sampled 1051 const GLuint stencil = 1 + stencil_h + stencil_v; local 1056 GLubyte* stencil_data = (GLubyte*)&stencil; 1080 * @param is_stencil Selects if stencil of depth channel is sampled 1145 if (true == is_stencil) /* Stencil channel */ [all...] |