Lines Matching refs:gl

126     public void drawThumbnails(RenderView view, GL11 gl, int state) {
141 grid.bindArrays(gl);
271 drawDisplayItem(view, gl, displayItem, texture, PASS_THUMBNAIL_CONTENT, placeholder,
287 grid.unbindArrays(gl);
298 public void drawFocusItems(RenderView view, GL11 gl, float zoomValue, boolean slideshowMode, float timeElapsedSinceView) {
333 gl.glEnable(GL11.GL_BLEND);
334 gl.glBlendFunc(GL11.GL_ONE, GL11.GL_ONE);
437 quad.bindArrays(gl);
438 drawDisplayItem(view, gl, displayItem, texture, PASS_FOCUS_CONTENT, null, 0.0f);
439 quad.unbindArrays(gl);
450 quad.bindArrays(gl);
451 drawDisplayItem(view, gl, displayItem, fsTexture, PASS_FOCUS_CONTENT, null, 1.0f);
452 quad.unbindArrays(gl);
468 GridDrawables.sVideoGrid.bindArrays(gl);
469 drawDisplayItem(view, gl, displayItem, drawables.mTextureVideo, PASS_VIDEO_LABEL, null, 0);
470 GridDrawables.sVideoGrid.unbindArrays(gl);
478 public void drawBlendedComponents(RenderView view, GL11 gl, float alpha, int state, int hudMode, float stackMixRatio,
490 GridDrawables.sFrame.bindArrays(gl);
510 drawDisplayItem(view, gl, displayItem, texturePlaceHolder, PASS_FRAME_PLACEHOLDER, null, 0);
551 drawDisplayItem(view, gl, itemDrawn, textureToUse, PASS_FRAME, previousTexture, ratio);
556 GridDrawables.sFrame.unbindArrays(gl);
558 gl.glDepthFunc(GL10.GL_ALWAYS);
561 GridDrawables.sTextGrid.bindArrays(gl);
563 gl.glTranslatef(0.0f, -textOffsetY, 0.0f);
582 drawDisplayItem(view, gl, displayItem, textureString, PASS_TEXT_LABEL, null, 0);
601 gl.glTranslatef(0.0f, -yLocOffset, 0.0f);
611 drawDisplayItem(view, gl, displayItem, textureString, PASS_TEXT_LABEL, null, 0);
616 GridDrawables.sLocationGrid.bindArrays(gl);
634 gl.glTranslatef(textWidth, -yLocationLabelOffset, 0.0f);
635 drawDisplayItem(view, gl, displayItem, locationTexture, PASS_LOCATION_LABEL, null, 0);
636 gl.glTranslatef(-textWidth, yLocationLabelOffset, 0.0f);
642 GridDrawables.sLocationGrid.unbindArrays(gl);
644 GridDrawables.sSourceIconGrid.bindArrays(gl);
658 gl.glTranslatef(0.24f, 0.5f, 0);
659 drawDisplayItem(view, gl, displayItem, locationTexture, PASS_MEDIASET_SOURCE_LABEL,
661 gl.glTranslatef(-0.24f, -0.5f, 0);
665 GridDrawables.sSourceIconGrid.unbindArrays(gl);
667 gl.glTranslatef(0.0f, yLocOffset, 0.0f);
668 gl.glTranslatef(0.0f, textOffsetY, 0.0f);
669 GridDrawables.sTextGrid.unbindArrays(gl);
676 GridDrawables.sSelectedGrid.bindArrays(gl);
682 drawDisplayItem(view, gl, displayItem, textureToUse, PASS_SELECTION_LABEL, null, 0);
685 GridDrawables.sSelectedGrid.unbindArrays(gl);
687 GridDrawables.sVideoGrid.bindArrays(gl);
693 drawDisplayItem(view, gl, displayItem, videoTexture, PASS_VIDEO_LABEL, null, 0);
697 GridDrawables.sVideoGrid.unbindArrays(gl);
698 gl.glDepthFunc(GL10.GL_LEQUAL);
702 private void drawDisplayItem(RenderView view, GL11 gl, DisplayItem displayItem, Texture texture, int pass,
765 gl.glTranslatef(-translateXf, -translateYf, -translateZf);
769 gl.glRotatef(theta, 0.0f, 0.0f, 1.0f);
776 GridQuadFrame.draw(gl);
778 GridQuad.draw(gl, orientation);
781 gl.glRotatef(-theta, 0.0f, 0.0f, 1.0f);
783 gl.glTranslatef(translateXf, translateYf, translateZf);