/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_cull.c | 44 unsigned cull_face; /**< which face(s) to cull (one of PIPE_FACE_x) */ 55 * Triangles can be culled using regular face cull. 95 * Some apis apparently do not allow us to cull zero area tris in cull_tri() 108 struct cull_stage *cull = cull_stage(stage); in cull_first_tri() local 110 cull->cull_face = stage->draw->rasterizer->cull_face; in cull_first_tri() 111 cull->front_ccw = stage->draw->rasterizer->front_ccw; in cull_first_tri() 143 struct cull_stage *cull = CALLOC_STRUCT(cull_stage); in draw_cull_stage() local 144 if (!cull) in draw_cull_stage() 147 cull->stage.draw = draw; in draw_cull_stage() 148 cull in draw_cull_stage() [all...] |
H A D | draw_pipe.c | 51 draw->pipeline.cull = draw_cull_stage(draw); in draw_pipeline_init() 64 !draw->pipeline.cull || in draw_pipeline_init() 99 if (draw->pipeline.cull) in draw_pipeline_destroy() 100 draw->pipeline.cull->destroy(draw->pipeline.cull); in draw_pipeline_destroy()
|
H A D | draw_pipe_validate.c | 125 /* polygon cull - this is difficult - hardware can cull just fine in draw_need_pipeline() 246 /* Always run the cull stage as we calculate determinant there in validate_pipeline() 254 draw->pipeline.cull->next = next; in validate_pipeline() 255 next = draw->pipeline.cull; in validate_pipeline()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_lower_clip_cull_distance_arrays.c | 30 * This pass combines clip and cull distance arrays in separate locations and 37 * Get the length of the clip/cull distance array, looking past 47 * underlying clip/cull distance array length, not the per-vertex in get_unwrapped_array_length() 69 nir_variable *cull = NULL; in combine_clip_cull() local 77 cull = var; in combine_clip_cull() 80 if (!cull && !clip) { in combine_clip_cull() 92 if (!cull && clip) { in combine_clip_cull() 98 * the combined clip/cull distance array was clip-only and mess up. in combine_clip_cull() 105 const unsigned cull_array_size = get_unwrapped_array_length(nir, cull); in combine_clip_cull() 117 if (cull) { in combine_clip_cull() [all...] |
/third_party/skia/tests/ |
H A D | PictureBBHTest.cpp | 100 SkRect cull = {-200,-200,+200,+200}; in DEF_TEST() local 104 auto canvas = recorder.beginRecording(cull, bbh); in DEF_TEST() 106 canvas->clipRect(cull); in DEF_TEST() 116 auto canvas = recorder.beginRecording(cull, &factory); in DEF_TEST() 117 canvas->clipRect(cull); in DEF_TEST()
|
H A D | DashPathEffectTest.cpp | 44 SkRect cull = SkRect::MakeWH(1.0f, 1.0f); in DEF_TEST() local 85 bool actualResult = as_PEB(dash)->asPoints(&results, src, rec, mats[i], &cull); in DEF_TEST() 89 // On the third pass all the lines should be outside the translated cull rect in DEF_TEST() 134 SkRect cull = SkRect::MakeXYWH(43,236,57,149); in DEF_TEST() local 136 path.addRect(cull); in DEF_TEST() 142 paint.getFillPath(path, &path2, &cull); in DEF_TEST()
|
H A D | PictureTest.cpp | 731 // If we record bounded ops into a picture with a big cull and calculate the 732 // bounds of those ops, we should trim down the picture cull to the ops' bounds. 790 SkRect cull = { 0,0, 10,20 }; in DEF_TEST() local 793 sk_sp<SkPicture> p1 = SkPicture::MakePlaceholder(cull), in DEF_TEST() 794 p2 = SkPicture::MakePlaceholder(cull); in DEF_TEST() 796 REPORTER_ASSERT(r, p1->cullRect() == cull); in DEF_TEST() 801 SkCanvas* canvas = recorder.beginRecording(cull); in DEF_TEST()
|
/third_party/skia/src/core/ |
H A D | SkMiniRecorder.cpp | 50 SkMiniPicture(const SkRect* cull, T&& op) in SkMiniPicture() argument 51 : fCull(cull ? *cull : bounds(op)) in SkMiniPicture() 98 sk_sp<SkPicture> SkMiniRecorder::detachAsPicture(const SkRect* cull) { in detachAsPicture() argument 102 auto pic = sk_make_sp<SkMiniPicture<T>>(cull, std::move(*op)); \ in detachAsPicture()
|
H A D | SkBigPicture.cpp | 15 SkBigPicture::SkBigPicture(const SkRect& cull, in SkBigPicture() argument 20 : fCullRect(cull) in SkBigPicture()
|
H A D | SkPicture.cpp | 321 sk_sp<SkPicture> SkPicture::MakePlaceholder(SkRect cull) { in MakePlaceholder() argument 323 explicit Placeholder(SkRect cull) : fCull(cull) {} in MakePlaceholder() 337 return sk_make_sp<Placeholder>(cull); in MakePlaceholder()
|
H A D | SkMiniRecorder.h | 29 // If cull is nullptr we'll calculate it. 30 sk_sp<SkPicture> detachAsPicture(const SkRect* cull);
|
H A D | SkBigPicture.h | 38 SkBigPicture(const SkRect& cull,
|
H A D | SkOverdrawCanvas.cpp | 151 const SkRect* cull, const SkPaint* paint) { in onDrawAtlas2() 159 fList[0]->onDrawAtlas2(image, xform, texs, colors, count, mode, sampling, cull, paintPtr); in onDrawAtlas2() 148 onDrawAtlas2(const SkImage* image, const SkRSXform xform[], const SkRect texs[], const SkColor colors[], int count, SkBlendMode mode, const SkSamplingOptions& sampling, const SkRect* cull, const SkPaint* paint) onDrawAtlas2() argument
|
H A D | SkRecordDraw.cpp | 143 r.cull, r.paint)); 228 // The paint could do anything to our bounds. The only safe answer is the cull. in adjustAndMap() 241 // Nothing can draw outside the cull rect. in adjustAndMap() 305 // the bound shouldn't be smaller than the cull. in pushSaveBlock() 447 if (op.cull) { in bounds() 448 // TODO: <reed> can we pass nullptr for the paint? Isn't cull already "correct" in bounds() 450 return this->adjustAndMap(*op.cull, op.paint); in bounds() 533 // We do not guarantee anything for operations outside of the cull rect
|
H A D | SkRecorder.cpp | 270 const SkSamplingOptions& sampling, const SkRect* cull, in onDrawAtlas2() 280 this->copy(cull)); in onDrawAtlas2() 268 onDrawAtlas2(const SkImage* atlas, const SkRSXform xform[], const SkRect tex[], const SkColor colors[], int count, SkBlendMode mode, const SkSamplingOptions& sampling, const SkRect* cull, const SkPaint* paint) onDrawAtlas2() argument
|
/third_party/skia/samplecode/ |
H A D | SampleAtlas.cpp | 23 const SkRect tex[], const SkColor colors[], int count, const SkRect* cull, in draw_atlas() 26 sampling, cull, paint); in draw_atlas() 30 const SkRect tex[], const SkColor colors[], int count, const SkRect* cull, in draw_atlas_sim() 191 const SkRect cull = this->getBounds(); variable 193 fProc(canvas, fAtlas.get(), xform, fTex, colorsPtr, N, &cull, sampling, &paint); 22 draw_atlas(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], const SkRect tex[], const SkColor colors[], int count, const SkRect* cull, const SkSamplingOptions& sampling, const SkPaint* paint) draw_atlas() argument 29 draw_atlas_sim(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], const SkRect tex[], const SkColor colors[], int count, const SkRect* cull, const SkSamplingOptions& sampling, const SkPaint* paint) draw_atlas_sim() argument
|
H A D | SampleShip.cpp | 27 const SkRect tex[], const SkColor colors[], int count, const SkRect* cull, in draw_atlas() 30 cull, paint); in draw_atlas() 34 const SkRect tex[], const SkColor colors[], int count, const SkRect* cull, in draw_atlas_sim() 26 draw_atlas(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], const SkRect tex[], const SkColor colors[], int count, const SkRect* cull, const SkSamplingOptions& sampling, const SkPaint* paint) draw_atlas() argument 33 draw_atlas_sim(SkCanvas* canvas, SkImage* atlas, const SkRSXform xform[], const SkRect tex[], const SkColor colors[], int count, const SkRect* cull, const SkSamplingOptions& sampling, const SkPaint* paint) draw_atlas_sim() argument
|
/third_party/skia/src/effects/ |
H A D | SkOpPathEffect.cpp | 24 const SkRect* cull, const SkMatrix& ctm) const { in onFilterPath() 27 if (!fOne->filterPath(&one, src, rec, cull, ctm)) { in onFilterPath() 34 if (!fTwo->filterPath(&two, src, rec, cull, ctm)) { in onFilterPath() 23 onFilterPath(SkPath* dst, const SkPath& src, SkStrokeRec* rec, const SkRect* cull, const SkMatrix& ctm) const onFilterPath() argument
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | renderer9_utils.cpp | 222 D3DCULL cull = D3DCULL_CCW; in ConvertCullMode() local 226 cull = (frontFace == GL_CCW ? D3DCULL_CW : D3DCULL_CCW); in ConvertCullMode() 229 cull = (frontFace == GL_CCW ? D3DCULL_CCW : D3DCULL_CW); in ConvertCullMode() 232 cull = D3DCULL_NONE; // culling will be handled during draw in ConvertCullMode() 238 return cull; in ConvertCullMode()
|
/third_party/mesa3d/src/gallium/drivers/lima/ |
H A D | lima_gpu.h | 136 #define PLBU_CMD_PRIMITIVE_SETUP(force_point_size, cull, index_size) \ 138 (cull) | ((index_size) << 9), 0x1000010B)
|
/third_party/skia/src/utils/ |
H A D | SkPaintFilterCanvas.cpp | 217 const SkRect* cull, const SkPaint* paint) { in onDrawAtlas2() 220 this->SkNWayCanvas::onDrawAtlas2(image, xform, tex, colors, count, bmode, sampling, cull, in onDrawAtlas2() 214 onDrawAtlas2(const SkImage* image, const SkRSXform xform[], const SkRect tex[], const SkColor colors[], int count, SkBlendMode bmode, const SkSamplingOptions& sampling, const SkRect* cull, const SkPaint* paint) onDrawAtlas2() argument
|
/third_party/mesa3d/src/mesa/state_tracker/ |
H A D | st_draw_hw_select.c | 150 nir_ssa_def *cull = nir_ixor(b, is_neg, config); in face_culling() local 151 return_if_true(b, nir_ior(b, is_zero, cull)); in face_culling() 157 nir_ssa_def *cull = NULL; in fast_frustum_culling() local 182 cull = i ? nir_ior(b, cull, outside) : outside; in fast_frustum_culling() 185 return_if_true(b, cull); in fast_frustum_culling()
|
/third_party/skia/third_party/externals/spirv-cross/ |
H A D | spirv_hlsl.cpp | 619 for (uint32_t cull = 0; cull < cull_distance_count; cull += 4) in emit_builtin_outputs_in_struct() 621 uint32_t to_declare = cull_distance_count - cull; in emit_builtin_outputs_in_struct() 625 uint32_t semantic_index = cull / 4; in emit_builtin_outputs_in_struct() 749 for (uint32_t cull = 0; cull < cull_distance_count; cull += 4) in emit_builtin_inputs_in_struct() 751 uint32_t to_declare = cull_distance_count - cull; in emit_builtin_inputs_in_struct() 755 uint32_t semantic_index = cull / in emit_builtin_inputs_in_struct() [all...] |
/third_party/skia/include/core/ |
H A D | SkPicture.h | 35 SkCanvas matrix or SkCanvas clip. SkPicture has a cull SkRect, which is used as 133 /** Returns cull SkRect for this picture, passed in when SkPicture was created. 134 Returned SkRect does not specify clipping SkRect for SkPicture; cull is hint 138 cull. 182 cull SkRect, a hint of its bounds. Result is immutable; it cannot be changed 188 @param cull placeholder dimensions 193 static sk_sp<SkPicture> MakePlaceholder(SkRect cull);
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
H A D | svga_pipe_rasterizer.c | 85 translate_cull_mode(unsigned cull) in translate_cull_mode() argument 87 switch (cull) { in translate_cull_mode() 98 assert(!"Bad cull mode"); in translate_cull_mode()
|