Searched refs:get_ref (Results 1 – 2 of 2) sorted by relevance
/external/skia/src/utils/ |
D | SkLua.cpp | 85 template <typename T> T* get_ref(lua_State* L, int index) { in get_ref() function 461 get_ref<SkCanvas>(L, 1)->clear(0); in lcanvas_clear() 466 get_ref<SkCanvas>(L, 1)->drawColor(lua2color(L, 2)); in lcanvas_drawColor() 471 get_ref<SkCanvas>(L, 1)->drawPaint(*get_obj<SkPaint>(L, 2)); in lcanvas_drawPaint() 479 get_ref<SkCanvas>(L, 1)->drawRect(rect, *paint); in lcanvas_drawRect() 485 get_ref<SkCanvas>(L, 1)->drawOval(*lua2rect(L, 2, &rect), in lcanvas_drawOval() 491 get_ref<SkCanvas>(L, 1)->drawCircle(lua2scalar(L, 2), in lcanvas_drawCircle() 513 SkCanvas* canvas = get_ref<SkCanvas>(L, 1); in lcanvas_drawImage() 514 SkImage* image = get_ref<SkImage>(L, 2); in lcanvas_drawImage() 527 SkCanvas* canvas = get_ref<SkCanvas>(L, 1); in lcanvas_drawImageRect() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_wm_pass0.c | 42 static struct brw_wm_ref *get_ref( struct brw_wm_compile *c ) in get_ref() function 84 struct brw_wm_ref *ref = get_ref(c); in pass0_set_fpreg_value() 113 struct brw_wm_ref *ref = get_ref(c); in get_param_ref() 289 struct brw_wm_ref *newref = get_ref(c); in get_new_ref()
|