Searched refs:fProgram (Results 1 – 8 of 8) sorted by relevance
/external/skia/src/gpu/gl/ |
D | GrGLGpuProgramCache.cpp | 27 Entry() : fProgram(nullptr), fLRUStamp(0) {} in Entry() 29 SkAutoTUnref<GrGLProgram> fProgram; member 35 SkASSERT(entry->fProgram.get()); in operator ()() 36 return GrProgramDesc::Less(desc, entry->fProgram->getDesc()); in operator ()() 40 SkASSERT(entry->fProgram.get()); in operator ()() 41 return GrProgramDesc::Less(entry->fProgram->getDesc(), desc); in operator ()() 82 SkASSERT(fEntries[i]->fProgram.get()); in reset() 83 fEntries[i]->fProgram->abandon(); in reset() 125 if (hashedEntry && hashedEntry->fProgram->getDesc() == *args.fDesc) { in refProgram() 126 SkASSERT(hashedEntry->fProgram); in refProgram() [all …]
|
D | GrGLGpu.cpp | 225 fWireRectProgram.fProgram = 0; in GrGLGpu() 259 if (0 != fCopyPrograms[i].fProgram) { in ~GrGLGpu() 260 GL_CALL(DeleteProgram(fCopyPrograms[i].fProgram)); in ~GrGLGpu() 268 if (0 != fWireRectProgram.fProgram) { in ~GrGLGpu() 269 GL_CALL(DeleteProgram(fWireRectProgram.fProgram)); in ~GrGLGpu() 280 if (0 != fPLSSetupProgram.fProgram) { in ~GrGLGpu() 281 GL_CALL(DeleteProgram(fPLSSetupProgram.fProgram)); in ~GrGLGpu() 347 GL_CALL_RET(fPLSSetupProgram.fProgram, CreateProgram()); in createPLSSetupProgram() 353 GrGLuint vshader = GrGLCompileAndAttachShader(*fGLContext, fPLSSetupProgram.fProgram, in createPLSSetupProgram() 358 GrGLuint fshader = GrGLCompileAndAttachShader(*fGLContext, fPLSSetupProgram.fProgram, in createPLSSetupProgram() [all …]
|
D | GrGLGpu.h | 574 GrGLuint fProgram; member 582 GrGLuint fProgram; member 603 GrGLuint fProgram; member
|
/external/skia/src/gpu/gl/debug/ |
D | GrDebugGL.cpp | 41 , fProgram(nullptr) in GrDebugGL() 74 fProgram = nullptr; in ~GrDebugGL() 187 if (fProgram) { in useProgram() 188 GrAlwaysAssert(fProgram->getInUse()); in useProgram() 189 fProgram->resetInUse(); in useProgram() 191 GrAlwaysAssert(!fProgram->getDeleted()); in useProgram() 192 fProgram->unref(); in useProgram() 195 fProgram = program; in useProgram() 197 if (fProgram) { in useProgram() 198 GrAlwaysAssert(!fProgram->getDeleted()); in useProgram() [all …]
|
D | GrDebugGL.h | 135 GrProgramObj* fProgram; variable
|
/external/skia/bench/ |
D | GLVec4ScalarBench.cpp | 48 , fProgram(0) { in GLVec4ScalarBench() 89 GrGLuint fProgram; member in GLVec4ScalarBench 254 fProgram = this->setupShader(ctx); in setup() 263 GR_GL_CALL(gl, UseProgram(fProgram)); in setup() 287 GR_GL_CALL(gl, DeleteProgram(fProgram)); in teardown()
|
D | GLVertexAttributesBench.cpp | 30 , fProgram(0) in GLVertexAttributesBench() 55 GrGLuint fProgram; member in GLVertexAttributesBench 161 fProgram = setupShader(ctx, fAttribs, kMaxAttribs); in setup() 208 GR_GL_CALL(gl, UseProgram(fProgram)); in setup() 255 GR_GL_CALL(gl, DeleteProgram(fProgram)); in teardown()
|
D | GLInstancedArraysBench.cpp | 54 , fProgram(0) in GLCpuPosInstancedArraysBench() 102 GrGLuint fProgram; member in GLCpuPosInstancedArraysBench 309 fProgram = this->setupShader(ctx); in setup() 339 GR_GL_CALL(gl, UseProgram(fProgram)); in setup() 378 GR_GL_CALL(gl, DeleteProgram(fProgram)); in teardown()
|