Searched refs:fGpu (Results 1 - 25 of 59) sorted by relevance

123

/external/skia/src/gpu/
H A DGrGpuObject.cpp14 fGpu = gpu;
21 fGpu->insertObject(this);
31 if (NULL != fGpu) {
33 fGpu->removeObject(this);
34 fGpu = NULL;
39 if (NULL != fGpu) {
41 fGpu->removeObject(this);
42 fGpu = NULL;
47 if (NULL != fGpu) {
48 return fGpu
[all...]
H A DGrStencilAndCoverPathRenderer.cpp29 fGpu = gpu;
34 fGpu->unref();
58 SkAutoTUnref<GrPath> p(fGpu->getContext()->createPath(path, stroke));
72 SkAutoTUnref<GrPath> p(fGpu->getContext()->createPath(path, stroke));
H A DGrClipMaskManager.cpp102 if (path_needs_SW_renderer(this->getContext(), fGpu, path, stroke, element->isAA())) {
115 GrDrawState* drawState = fGpu->drawState();
191 are->set(fGpu->drawState());
194 fGpu->drawState()->addCoverageEffect(effect);
224 GrDrawState* drawState = fGpu->drawState();
252 fGpu->disableScissor();
274 fGpu->enableScissor(scissorSpaceIBounds);
276 fGpu->disableScissor();
307 are->set(fGpu->drawState());
308 setup_drawstate_aaclip(fGpu, resul
[all...]
H A DGrContext.cpp97 fGpu = NULL;
115 SkASSERT(NULL == fGpu);
117 fGpu = GrGpu::Create(backend, backendContext, this);
118 if (NULL == fGpu) {
123 fGpu->setDrawState(fDrawState);
129 fFontCache = SkNEW_ARGS(GrFontCache, (fGpu));
131 fLayerCache.reset(SkNEW_ARGS(GrLayerCache, (fGpu)));
146 if (NULL == fGpu) {
158 fGpu->purgeResources();
170 fGpu
[all...]
H A DGrStencilAndCoverPathRenderer.h50 GrGpu* fGpu; member in class:GrStencilAndCoverPathRenderer
H A DGrTest.cpp27 // We could create a proxy GrDrawTarget that passes through to fGpu until ~GrTextTarget() and
31 tar->init(this, fGpu);
/external/chromium_org/third_party/skia/src/gpu/
H A DGrGpuResource.cpp32 : fGpu(gpu)
44 get_resource_cache2(fGpu)->insertResource(this);
53 if (fGpu) {
55 get_resource_cache2(fGpu)->removeResource(this);
56 fGpu = NULL;
61 if (fGpu) {
63 get_resource_cache2(fGpu)->removeResource(this);
64 fGpu = NULL;
69 if (fGpu) {
70 return fGpu
[all...]
H A DGrClipMaskManager.cpp102 if (path_needs_SW_renderer(this->getContext(), fGpu, path, stroke, element->isAA())) {
115 GrDrawState* drawState = fGpu->drawState();
193 are->set(fGpu->drawState());
196 fGpu->drawState()->addCoverageProcessor(fp);
226 GrDrawState* drawState = fGpu->drawState();
254 fGpu->disableScissor();
276 fGpu->enableScissor(scissorSpaceIBounds);
278 fGpu->disableScissor();
309 are->set(fGpu->drawState());
310 setup_drawstate_aaclip(fGpu, resul
[all...]
H A DGrContext.cpp107 fGpu = NULL;
125 SkASSERT(NULL == fGpu);
127 fGpu = GrGpu::Create(backend, backendContext, this);
128 if (NULL == fGpu) {
133 fGpu->setDrawState(fDrawState);
140 fFontCache = SkNEW_ARGS(GrFontCache, (fGpu));
157 if (NULL == fGpu) {
179 fGpu->unref();
190 fGpu->contextAbandoned();
216 fGpu
[all...]
H A DGrStencilAndCoverPathRenderer.cpp29 fGpu = gpu;
34 fGpu->unref();
69 SkAutoTUnref<GrPath> p(get_gr_path(fGpu, path, stroke));
83 SkAutoTUnref<GrPath> p(get_gr_path(fGpu, path, stroke));
H A DGrStencilAndCoverPathRenderer.h50 GrGpu* fGpu; member in class:GrStencilAndCoverPathRenderer
H A DGrTest.cpp27 // We could create a proxy GrDrawTarget that passes through to fGpu until ~GrTextTarget() and
31 tar->init(this, fGpu);
/external/skia/dm/
H A DDMTaskRunner.cpp6 TaskRunner::TaskRunner(int cpuThreads, int gpuThreads) : fCpu(cpuThreads), fGpu(gpuThreads) {}
10 void TaskRunner::add(GpuTask* task) { fGpu.add(task); }
17 fGpu.wait();
H A DDMTaskRunner.h27 SkTThreadPool<GrContextFactory> fGpu; member in class:DM::TaskRunner
/external/skia/src/gpu/gl/
H A DGrGLUniformManager.cpp18 GrGLUniformManager::GrGLUniformManager(GrGpuGL* gpu) : fGpu(gpu) {
20 fUsingBindUniform = fGpu->glInterface()->fFunctions.fBindUniformLocation != NULL;
43 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fFSLocation, texUnit));
46 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fVSLocation, texUnit));
56 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fFSLocation, v0));
59 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fVSLocation, v0));
75 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fFSLocation, arrayCount, v));
78 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fVSLocation, arrayCount, v));
88 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fFSLocation, v0, v1));
91 GR_GL_CALL(fGpu
[all...]
H A DGrGLProgram.cpp20 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X)
21 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(fGpu->glInterface(), R, X)
46 , fGpu(gpu)
101 const GrDrawState& drawState = fGpu->getDrawState();
130 fGpu->bindTexture(fDstCopyTexUnit, kParams, texture);
141 fBuilderOutput.fColorEffects->setData(fGpu, *fUniformManager, colorStages);
142 fBuilderOutput.fCoverageEffects->setData(fGpu, *fUniformManager, coverageStages);
149 fGpu->flushPathTexGenSettings(fBuilderOutput.fTexCoordSetCnt);
247 fGpu->setProjectionMatrix(drawState.getViewMatrix(), size, rt->origin());
/external/chromium_org/third_party/skia/src/gpu/gl/
H A DGrGLProgramDataManager.cpp22 : fGpu(gpu),
72 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fFSLocation, texUnit));
75 GR_GL_CALL(fGpu->glInterface(), Uniform1i(uni.fVSLocation, texUnit));
85 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fFSLocation, v0));
88 GR_GL_CALL(fGpu->glInterface(), Uniform1f(uni.fVSLocation, v0));
104 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fFSLocation, arrayCount, v));
107 GR_GL_CALL(fGpu->glInterface(), Uniform1fv(uni.fVSLocation, arrayCount, v));
117 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fFSLocation, v0, v1));
120 GR_GL_CALL(fGpu->glInterface(), Uniform2f(uni.fVSLocation, v0, v1));
133 GR_GL_CALL(fGpu
[all...]
H A DGrGLPathRendering.cpp20 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X)
21 #define GL_CALL_RET(RET, X) GR_GL_CALL_RET(fGpu->glInterface(), RET, X)
52 : fGpu(gpu) {
66 fHWPathTexGenSettings.reset(fGpu->glCaps().maxFixedFunctionTextureCoords());
81 fGpu->glStandard() == kGLES_GrGLStandard ? GR_GL_PATH_MODELVIEW : GR_GL_MODELVIEW;
85 for (int i = 0; i < fGpu->glCaps().maxFixedFunctionTextureCoords(); ++i) {
96 return SkNEW_ARGS(GrGLPath, (fGpu, inPath, stroke));
101 return SkNEW_ARGS(GrGLPathRange, (fGpu, pathGenerator, stroke));
135 SkAutoTUnref<GrGLPath> templatePath(SkNEW_ARGS(GrGLPath, (fGpu, SkPath(), stroke)));
152 return SkNEW_ARGS(GrGLPathRange, (fGpu, basePathI
[all...]
H A DGrGLProgram.cpp23 #define GL_CALL(X) GR_GL_CALL(fGpu->glInterface(), X)
24 #define GL_CALL_RET(R, X) GR_GL_CALL_RET(fGpu->glInterface(), R, X)
62 , fGpu(gpu)
117 fGpu->bindTexture(fDstCopyTexUnit, kParams, texture);
130 fGeometryProcessor->setData(fGpu, drawType, fProgramDataManager, geometryProcessor);
132 fColorEffects->setData(fGpu, drawType, fProgramDataManager, colorStages);
133 fCoverageEffects->setData(fGpu, drawType, fProgramDataManager, coverageStages);
139 fGpu->glPathRendering()->flushPathTexGenSettings(fTexCoordSetCnt);
234 fGpu->glPathRendering()->setProjectionMatrix(optState.getViewMatrix(), size, rt->origin());
/external/chromium_org/third_party/skia/tools/timer/
H A DTimer.cpp14 , fGpu(-1.0)
35 fGpu = fGpuTimer.end();
H A DTimer.h48 double fGpu; member in class:Timer
/external/skia/tools/timer/
H A DTimer.cpp14 , fGpu(-1.0)
35 fGpu = fGpuTimer.end();
H A DTimer.h48 double fGpu; member in class:Timer
/external/skia/include/gpu/
H A DGrGpuObject.h46 bool wasDestroyed() const { return NULL == fGpu; }
86 GrGpu* getGpu() const { return fGpu; }
104 GrGpu* fGpu; // not reffed. The GrGpu can be deleted while there member in class:GrGpuObject
/external/chromium_org/third_party/skia/include/gpu/
H A DGrGpuResource.h157 bool wasDestroyed() const { return NULL == fGpu; }
203 GrGpu* getGpu() const { return fGpu; }
238 GrGpu* fGpu; member in class:GrGpuResource

Completed in 452 milliseconds

123