Lines Matching refs:id
65 void bindVertexArray(GrGLuint id) {
66 fHWGeometryState.setVertexArrayID(this, id);
68 void bindIndexBufferAndDefaultVertexArray(GrGLuint id) {
69 fHWGeometryState.setIndexBufferIDOnDefaultVertexArray(this, id);
71 void bindVertexBuffer(GrGLuint id) {
72 fHWGeometryState.setVertexBufferID(this, id);
77 void notifyVertexArrayDelete(GrGLuint id) {
78 fHWGeometryState.notifyVertexArrayDelete(id);
80 void notifyVertexBufferDelete(GrGLuint id) {
81 fHWGeometryState.notifyVertexBufferDelete(id);
83 void notifyIndexBufferDelete(GrGLuint id) {
84 fHWGeometryState.notifyIndexBufferDelete(id);
307 void notifyVertexArrayDelete(GrGLuint id) {
308 if (fBoundVertexArrayIDIsValid && fBoundVertexArrayID == id) {
326 void notifyVertexBufferDelete(GrGLuint id) {
327 if (fBoundVertexBufferIDIsValid && id == fBoundVertexBufferID) {
331 fVBOVertexArray->notifyVertexBufferDelete(id);
333 fDefaultVertexArrayAttribState.notifyVertexBufferDelete(id);
336 void notifyIndexBufferDelete(GrGLuint id) {
338 id == fDefaultVertexArrayBoundIndexBufferID) {
342 fVBOVertexArray->notifyIndexBufferDelete(id);
346 void setVertexBufferID(GrGpuGL* gpu, GrGLuint id) {
347 if (!fBoundVertexBufferIDIsValid || id != fBoundVertexBufferID) {
348 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ARRAY_BUFFER, id));
350 fBoundVertexBufferID = id;
358 void setIndexBufferIDOnDefaultVertexArray(GrGpuGL* gpu, GrGLuint id) {
361 id != fDefaultVertexArrayBoundIndexBufferID) {
362 GR_GL_CALL(gpu->glInterface(), BindBuffer(GR_GL_ELEMENT_ARRAY_BUFFER, id));
364 fDefaultVertexArrayBoundIndexBufferID = id;