/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i965/ |
gen6_scissor_state.c | 40 struct gen6_scissor_rect *scissor; local 43 scissor = brw_state_batch(brw, AUB_TRACE_SCISSOR_STATE, 44 sizeof(*scissor), 32, &scissor_state_offset); 48 /* The scissor only needs to handle the intersection of drawable and 49 * scissor rect. Clipping to the boundaries of static shared buffers 57 /* If the scissor was out of bounds and got clamped to 0 60 * anything. Instead, just provide a min > max scissor inside 63 scissor->xmin = 1; 64 scissor->xmax = 0; 65 scissor->ymin = 1 [all...] |
brw_state_dump.c | 315 vp->scissor.xmin, vp->scissor.ymin); 317 vp->scissor.xmax, vp->scissor.ymax); 430 const char *name = "SCISSOR"; 432 struct gen6_scissor_rect *scissor = intel->batch.bo->virtual + offset; local 435 scissor->xmin, scissor->ymin); 437 scissor->xmax, scissor->ymax) [all...] |
/external/mesa3d/src/mesa/drivers/dri/i965/ |
gen6_scissor_state.c | 40 struct gen6_scissor_rect *scissor; local 43 scissor = brw_state_batch(brw, AUB_TRACE_SCISSOR_STATE, 44 sizeof(*scissor), 32, &scissor_state_offset); 48 /* The scissor only needs to handle the intersection of drawable and 49 * scissor rect. Clipping to the boundaries of static shared buffers 57 /* If the scissor was out of bounds and got clamped to 0 60 * anything. Instead, just provide a min > max scissor inside 63 scissor->xmin = 1; 64 scissor->xmax = 0; 65 scissor->ymin = 1 [all...] |
brw_state_dump.c | 315 vp->scissor.xmin, vp->scissor.ymin); 317 vp->scissor.xmax, vp->scissor.ymax); 430 const char *name = "SCISSOR"; 432 struct gen6_scissor_rect *scissor = intel->batch.bo->virtual + offset; local 435 scissor->xmin, scissor->ymin); 437 scissor->xmax, scissor->ymax) [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/state_tracker/ |
st_atom_scissor.c | 41 * Scissor depends on the scissor box, and the framebuffer dimensions. 46 struct pipe_scissor_state scissor; local 51 scissor.minx = 0; 52 scissor.miny = 0; 53 scissor.maxx = fb->Width; 54 scissor.maxy = fb->Height; 56 if (ctx->Scissor.Enabled) { 58 GLint xmax = MAX2(0, ctx->Scissor.X + ctx->Scissor.Width) [all...] |
/external/mesa3d/src/mesa/state_tracker/ |
st_atom_scissor.c | 41 * Scissor depends on the scissor box, and the framebuffer dimensions. 46 struct pipe_scissor_state scissor; local 51 scissor.minx = 0; 52 scissor.miny = 0; 53 scissor.maxx = fb->Width; 54 scissor.maxy = fb->Height; 56 if (ctx->Scissor.Enabled) { 58 GLint xmax = MAX2(0, ctx->Scissor.X + ctx->Scissor.Width) [all...] |
/external/deqp/modules/gles2/functional/ |
es2fScissorTests.cpp | 21 * \brief GLES2 Scissor tests. 40 : TestCaseGroup (context, "scissor", "Scissor Tests") 60 const tcu::Vec4 scissor; member in struct:deqp::gles2::Functional::__anon24511 66 { "contained_tris", "Triangles fully inside scissor area (single call)", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 }, 67 { "partial_tris", "Triangles partially inside scissor area (single call)", Vec4(0.3f, 0.3f, 0.4f, 0.4f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 }, 68 { "contained_tri", "Triangle fully inside scissor area", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 }, 69 { "enclosing_tri", "Triangle fully covering scissor area", Vec4(0.4f, 0.4f, 0.2f, 0.2f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 }, 70 { "partial_tri", "Triangle partially inside scissor area", Vec4(0.4f, 0.4f, 0.6f, 0.6f), Vec4(0.0f, 0.0f, 1.0f, 1.0f), TRIANGLE, 1 }, 71 { "outside_render_tri", "Triangle with scissor area outside render target", Vec4(1.4f, 1.4f, 0.6f, 0.6f), Vec4(0.0f, 0.0f, 0.6f, 0.6f), TRIANGL (…) [all...] |
es2fDepthStencilClearTests.cpp | 73 , scissor (0, 0, 0, 0) 84 tcu::IVec4 scissor; member in struct:deqp::gles2::Functional::__anon24489::Clear 121 DepthStencilClearCase (Context& context, const char* name, const char* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked); 145 DepthStencilClearCase::DepthStencilClearCase (Context& context, const char* name, const char* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked) 149 , m_testScissor (scissor) 246 clear->scissor = tcu::IVec4(x, y, w, h); 296 gl.scissor(clear->scissor.x(), clear->scissor.y(), clear->scissor.z(), clear->scissor.w()) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fScissorTests.cpp | 21 * \brief GLES3 Scissor tests 50 TestCaseGroup (context, "scissor", "Scissor Tests") 70 const tcu::Vec4 scissor; member in struct:deqp::gles3::Functional::__anon24662 76 { "contained_quads", "Triangles fully inside scissor area (single call)", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 }, 77 { "partial_quads", "Triangles partially inside scissor area (single call)", Vec4(0.3f, 0.3f, 0.4f, 0.4f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 30 }, 78 { "contained_tri", "Triangle fully inside scissor area", Vec4(0.1f, 0.1f, 0.8f, 0.8f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 }, 79 { "enclosing_tri", "Triangle fully covering scissor area", Vec4(0.4f, 0.4f, 0.2f, 0.2f), Vec4(0.2f, 0.2f, 0.6f, 0.6f), TRIANGLE, 1 }, 80 { "partial_tri", "Triangle partially inside scissor area", Vec4(0.4f, 0.4f, 0.6f, 0.6f), Vec4(0.0f, 0.0f, 1.0f, 1.0f), TRIANGLE, 1 }, 81 { "outside_render_tri", "Triangle with scissor area outside render target", Vec4(1.4f, 1.4f, 0.6f, 0.6f), Vec4(0.0f, 0.0f, 0.6f, 0.6f), TRIANGL (…) [all...] |
es3fRasterizerDiscardTests.cpp | 286 log << TestLog::Message << "Scissor test enabled: glScissor(0, 0, " << renderTarget.getWidth() << ", " << renderTarget.getHeight() << ")" << TestLog::EndMessage; 435 tcu::TestCaseGroup* scissor = new tcu::TestCaseGroup(m_testCtx, "scissor", "Rasterizer discard test for default framebuffer with scissor test enabled"); local 439 addChild(scissor); 464 // Default framebuffer cases with scissor test enabled 466 scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_points", "points", 4, CASE_WRITE_DEPTH, CASEOPTION_SCISSOR, GL_POINTS)); 467 scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_lines", "lines", 4, CASE_WRITE_DEPTH, CASEOPTION_SCISSOR, GL_LINES)); 468 scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_line_strip", "line_strip", 4, CASE_WRITE_DEPTH, CASEOPTION_SCISSOR, GL_LINE_STRIP)); 469 scissor->addChild(new RasterizerDiscardCase(m_context, "write_depth_line_loop", "line_loop", 4, CASE_WR (…) [all...] |
es3fDepthStencilClearTests.cpp | 73 , scissor (0, 0, 0, 0) 84 tcu::IVec4 scissor; member in struct:deqp::gles3::Functional::__anon24618::Clear 121 DepthStencilClearCase (Context& context, const char* name, const char* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked); 145 DepthStencilClearCase::DepthStencilClearCase (Context& context, const char* name, const char* description, int numIters, int numClears, bool depth, bool stencil, bool scissor, bool masked) 149 , m_testScissor (scissor) 249 clear->scissor = tcu::IVec4(x, y, w, h); 299 gl.scissor(clear->scissor.x(), clear->scissor.y(), clear->scissor.z(), clear->scissor.w()) [all...] |
/external/deqp/modules/gles31/functional/ |
es31fNegativeFragmentApiTests.cpp | 46 void scissor (NegativeTestContext& ctx) function in namespace:deqp::gles31::Functional::NegativeTestShared 383 {scissor, "scissor", "Invalid glScissor() usage" },
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/vl/ |
vl_compositor.h | 80 struct pipe_scissor_state scissor; member in struct:vl_compositor_state
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/ |
lp_context.h | 77 struct pipe_scissor_state scissor; member in struct:llvmpipe_context
|
lp_setup_context.h | 107 struct u_rect scissor; member in struct:lp_setup_context 108 struct u_rect draw_region; /* intersection of fb & scissor */
|
lp_setup_line.c | 669 * triangle bounding box and the scissor rect to generate the 670 * scissor planes. 681 * Note that otherwise, the scissor planes only vary in 'C' value, 686 const struct u_rect *scissor = &setup->scissor; local 690 plane[4].c = 1-scissor->x0; 695 plane[5].c = scissor->x1+1; 700 plane[6].c = 1-scissor->y0; 705 plane[7].c = scissor->y1+1;
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeonsi/ |
si_state.h | 78 struct si_pm4_state *scissor; member in struct:si_state::__anon18544
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/svga/ |
svga_state_framebuffer.c | 458 * Scissor state 464 const struct pipe_scissor_state *scissor = &svga->curr.scissor; local 467 rect.x = scissor->minx; 468 rect.y = scissor->miny; 469 rect.w = scissor->maxx - scissor->minx; /* + 1 ?? */ 470 rect.h = scissor->maxy - scissor->miny; /* + 1 ?? */ 478 "hw scissor state" [all...] |
/external/mesa3d/src/gallium/auxiliary/vl/ |
vl_compositor.h | 80 struct pipe_scissor_state scissor; member in struct:vl_compositor_state
|
/external/mesa3d/src/gallium/drivers/llvmpipe/ |
lp_context.h | 77 struct pipe_scissor_state scissor; member in struct:llvmpipe_context
|
lp_setup_context.h | 107 struct u_rect scissor; member in struct:lp_setup_context 108 struct u_rect draw_region; /* intersection of fb & scissor */
|
lp_setup_line.c | 669 * triangle bounding box and the scissor rect to generate the 670 * scissor planes. 681 * Note that otherwise, the scissor planes only vary in 'C' value, 686 const struct u_rect *scissor = &setup->scissor; local 690 plane[4].c = 1-scissor->x0; 695 plane[5].c = scissor->x1+1; 700 plane[6].c = 1-scissor->y0; 705 plane[7].c = scissor->y1+1;
|
/external/mesa3d/src/gallium/drivers/radeonsi/ |
si_state.h | 78 struct si_pm4_state *scissor; member in struct:si_state::__anon31941
|
/external/mesa3d/src/gallium/drivers/svga/ |
svga_state_framebuffer.c | 458 * Scissor state 464 const struct pipe_scissor_state *scissor = &svga->curr.scissor; local 467 rect.x = scissor->minx; 468 rect.y = scissor->miny; 469 rect.w = scissor->maxx - scissor->minx; /* + 1 ?? */ 470 rect.h = scissor->maxy - scissor->miny; /* + 1 ?? */ 478 "hw scissor state" [all...] |
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/ |
sp_context.h | 81 struct pipe_scissor_state scissor; member in struct:softpipe_context 134 /** Derived from scissor and surface bounds: */
|