Home
last modified time | relevance | path

Searched refs:setShader (Results 1 – 25 of 98) sorted by relevance

1234

/external/skia/samplecode/
DSampleAnimatedGradient.cpp60 paint.setShader(shader1)->unref(); in onDrawContent()
69 paint.setShader(shader2)->unref(); in onDrawContent()
76 paint.setShader(shader3)->unref(); in onDrawContent()
83 paint.setShader(shader4)->unref(); in onDrawContent()
DSampleShaders.cpp104 paint.setShader(fShader); in onDrawContent()
115 paint.setShader(NULL); in onDrawContent()
117 paint.setShader(make_bitmapfade(fBitmap))->unref(); in onDrawContent()
120 paint.setShader(new SkTransparentShader)->unref(); in onDrawContent()
DSampleGradients.cpp27 p.setShader(setgrad(r, 0xFF00FF00, 0x0000FF00))->unref(); in test_alphagradients()
32 p.setShader(setgrad(r, 0xFF00FF00, 0x00000000))->unref(); in test_alphagradients()
37 p.setShader(setgrad(r, 0xFF00FF00, 0x00FF0000))->unref(); in test_alphagradients()
158 paint.setShader(shader)->unref(); in onDrawContent()
DSampleAvoid.cpp60 paint.setShader(fShader); in onDrawContent()
74 paint.setShader(NULL); in onDrawContent()
DSampleVertices.cpp101 paint.setShader(NULL); in onDrawContent()
108 paint.setShader(fShader0); in onDrawContent()
115 paint.setShader(fShader1); in onDrawContent()
DSampleAll.cpp463 paint.setShader(SkShader::CreateBitmapShader(fTx, in drawPicture()
482 paint.setShader(linear)->unref(); in drawPicture()
492 paint.setShader(transparentShader)->unref(); in drawPicture()
501 paint.setShader(radial)->unref(); in drawPicture()
505 paint.setShader(NULL); in drawPicture()
516 paint.setShader(shaderTest())->unref(); // test compose shader in drawPicture()
518 paint.setShader(NULL); in drawPicture()
DSampleFilter.cpp53 paint->setShader(s)->unref(); in draw_bm()
55 paint->setShader(NULL); in draw_bm()
DSampleDitherBitmap.cpp19 frame.setShader(NULL); in draw_rect()
32 p.setShader(s)->unref(); in draw_gradient()
DSampleTiling.cpp45 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, in makebm()
53 paint->setShader(shader)->unref(); in setup()
DSampleBigGradient.cpp38 p.setShader(make_grad(this->width(), this->height()))->unref(); in onDrawContent()
DSample2PtRadial.cpp41 paint.setShader(s)->unref(); in onDrawContent()
/external/webkit/Source/ThirdParty/ANGLE/src/libGLESv2/
DBlit.h72 bool setShader(ShaderId source, const char *profile,
74 HRESULT (WINAPI IDirect3DDevice9::*setShader)(D3DShaderType*));
DBlit.cpp186 bool Blit::setShader(ShaderId source, const char *profile, in setShader() function in gl::Blit
188 HRESULT (WINAPI IDirect3DDevice9::*setShader)(D3DShaderType*)) in setShader()
222 HRESULT hr = (device->*setShader)(shader); in setShader()
235 …return setShader<IDirect3DVertexShader9>(shader, mContext->supportsShaderModel3() ? "vs_3_0" : "vs… in setVertexShader()
240 …return setShader<IDirect3DPixelShader9>(shader, mContext->supportsShaderModel3() ? "ps_3_0" : "ps_… in setPixelShader()
/external/skia/gm/
Dgradients.cpp110 paint.setShader(shader); in onDraw()
170 paint.setShader(s)->unref(); in onDraw()
207 paint.setShader(shader); in onDraw()
247 paint.setShader(shader)->unref(); in onDraw()
Dgradtext.cpp75 paint.setShader(make_grad(SkIntToScalar(80)))->unref(); in onDraw()
80 paint.setShader(make_grad2(SkIntToScalar(80)))->unref(); in onDraw()
Dfilltypespersp.cpp60 paint.setShader(s)->unref(); in showFour()
88 bkgnrd.setShader(s)->unref(); in onDraw()
Dtilemodes.cpp43 paint.setShader(SkGradientShader::CreateLinear(pts, colors, pos, in makebm()
51 paint->setShader(shader)->unref(); in setup()
Dtablecolorfilter.cpp29 paint.setShader(s)->unref(); in make_bm0()
50 paint.setShader(s)->unref(); in make_bm1()
Darithmode.cpp37 paint.setShader(s)->unref(); in make_src()
52 paint.setShader(s)->unref(); in make_dst()
Dxfermodes.cpp147 p.setShader(s); in onDraw()
156 p.setShader(NULL); in onDraw()
/external/chromium/chrome/browser/ui/views/infobars/
Dinfobar_background.cc57 paint.setShader(gradient_shader); in Paint()
64 paint.setShader(NULL); in Paint()
/external/skia/src/views/
DSkProgressView.cpp96 p.setShader(fOnShader); in onDraw()
100 p.setShader(fOffShader); in onDraw()
/external/chromium/chrome/browser/ui/views/
Ddetachable_toolbar_view.cc100 SkSafeUnref(paint.setShader(gfx::CreateGradientShader(vertical_padding + 1, in PaintVerticalDivider()
112 SkSafeUnref(paint_down.setShader(gfx::CreateGradientShader( in PaintVerticalDivider()
/external/chromium/chrome/browser/ui/gtk/infobars/
Dinfobar_arrow_model.cc101 paint.setShader(gradient_shader); in Paint()
107 paint.setShader(NULL); in Paint()
/external/chromium/chrome/browser/chromeos/login/
Dusername_view.cc154 paint.setShader(composite_shader)->unref(); in PaintUsername()
183 paint.setShader(composite_shader)->unref(); in PaintUsername()

1234