Lines Matching refs:GrAlwaysAssert
30 GrAlwaysAssert(texture < GrDebugGL::getInstance()->getMaxTextureUnits());
39 GrAlwaysAssert(texture < GrDebugGL::getInstance()->getMaxTextureUnits());
48 GrAlwaysAssert(program);
53 GrAlwaysAssert(shader);
71 GrAlwaysAssert(target == GR_GL_TEXTURE_2D);
87 GrAlwaysAssert(GR_GL_ARRAY_BUFFER == target ||
89 GrAlwaysAssert(size >= 0);
90 GrAlwaysAssert(GR_GL_STREAM_DRAW == usage ||
107 GrAlwaysAssert(buffer);
108 GrAlwaysAssert(buffer->getBound());
128 GrAlwaysAssert(false);
131 GrAlwaysAssert(false);
164 GrAlwaysAssert(false);
178 GrAlwaysAssert(false);
212 GrAlwaysAssert(GR_GL_FRAMEBUFFER == target ||
227 GrAlwaysAssert(GR_GL_RENDERBUFFER == target);
286 GrAlwaysAssert(buffer);
290 GrAlwaysAssert(!buffer->getBound());
292 GrAlwaysAssert(!buffer->getDeleted());
318 GrAlwaysAssert(buffer);
320 GrAlwaysAssert(!buffer->getDeleted());
371 GrAlwaysAssert(buffer);
376 GrAlwaysAssert(!buffer->getColorBound());
377 GrAlwaysAssert(!buffer->getDepthBound());
380 //GrAlwaysAssert(!buffer->getStencilBound());
382 GrAlwaysAssert(!buffer->getDeleted());
392 GrAlwaysAssert(GR_GL_FRAMEBUFFER == target);
393 GrAlwaysAssert(GR_GL_COLOR_ATTACHMENT0 == attachment ||
396 GrAlwaysAssert(GR_GL_RENDERBUFFER == renderbuffertarget);
400 GrAlwaysAssert(NULL != framebuffer);
419 GrAlwaysAssert(false);
432 GrAlwaysAssert(GR_GL_FRAMEBUFFER == target);
433 GrAlwaysAssert(GR_GL_COLOR_ATTACHMENT0 == attachment ||
436 GrAlwaysAssert(GR_GL_TEXTURE_2D == textarget);
440 GrAlwaysAssert(NULL != framebuffer);
448 GrAlwaysAssert(!texture->getBound());
451 GrAlwaysAssert(0 == level);
464 GrAlwaysAssert(false);
479 GrAlwaysAssert(GR_GL_VERTEX_SHADER == type ||
493 GrAlwaysAssert(program);
508 GrAlwaysAssert(shader);
524 GrAlwaysAssert(obj);
558 GrAlwaysAssert(array);
576 GrAlwaysAssert((0 == id) || NULL != array);
581 GrAlwaysAssert(GR_GL_ARRAY_BUFFER == target || GR_GL_ELEMENT_ARRAY_BUFFER == target);
624 GrAlwaysAssert(buffer);
626 GrAlwaysAssert(!buffer->getDeleted());
634 GrAlwaysAssert(GR_GL_ARRAY_BUFFER == target ||
637 GrAlwaysAssert(GR_GL_WRITE_ONLY == access);
653 GrAlwaysAssert(!buffer->getMapped());
658 GrAlwaysAssert(false);
666 GrAlwaysAssert(GR_GL_ARRAY_BUFFER == target ||
683 GrAlwaysAssert(buffer->getMapped());
688 GrAlwaysAssert(false);
696 GrAlwaysAssert(GR_GL_ARRAY_BUFFER == target ||
698 GrAlwaysAssert(GR_GL_BUFFER_SIZE == value ||
711 GrAlwaysAssert(buffer);