Home
last modified time | relevance | path

Searched refs:gl (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLCanvasImpl.java89 GLCanvasImpl(GL11 gl) { in GLCanvasImpl() argument
90 mGL = gl; in GLCanvasImpl()
91 mGLState = new GLState(gl); in GLCanvasImpl()
104 GL11 gl = mGL; in setSize() local
105 gl.glViewport(0, 0, width, height); in setSize()
106 gl.glMatrixMode(GL11.GL_PROJECTION); in setSize()
107 gl.glLoadIdentity(); in setSize()
108 GLU.gluOrtho2D(gl, 0, width, 0, height); in setSize()
110 gl.glMatrixMode(GL11.GL_MODELVIEW); in setSize()
111 gl.glLoadIdentity(); in setSize()
[all …]
DRawTexture.java41 GL11 gl = canvas.getGLInstance(); in prepare() local
54 gl.glBindTexture(GL11.GL_TEXTURE_2D, sTextureId[0]); in prepare()
55 gl.glTexParameterfv(GL11.GL_TEXTURE_2D, in prepare()
57 gl.glTexParameteri(GL11.GL_TEXTURE_2D, in prepare()
59 gl.glTexParameteri(GL11.GL_TEXTURE_2D, in prepare()
61 gl.glTexParameterf(GL11.GL_TEXTURE_2D, in prepare()
63 gl.glTexParameterf(GL11.GL_TEXTURE_2D, in prepare()
66 gl.glTexImage2D(GL11.GL_TEXTURE_2D, 0, GL11.GL_RGBA, in prepare()
DExtTexture.java37 GL11 gl = canvas.getGLInstance(); in uploadToCanvas() local
50 gl.glBindTexture(mTarget, mId); in uploadToCanvas()
51 gl.glTexParameterfv(mTarget, in uploadToCanvas()
53 gl.glTexParameteri(mTarget, in uploadToCanvas()
55 gl.glTexParameteri(mTarget, in uploadToCanvas()
57 gl.glTexParameterf(mTarget, in uploadToCanvas()
59 gl.glTexParameterf(mTarget, in uploadToCanvas()
DGLId.java38 public synchronized static void glDeleteTextures(GL11 gl, int n, int[] textures, int offset) { in glDeleteTextures() argument
39 gl.glDeleteTextures(n, textures, offset); in glDeleteTextures()
42 public synchronized static void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { in glDeleteBuffers() argument
43 gl.glDeleteBuffers(n, buffers, offset); in glDeleteBuffers()
DUploadedTexture.java217 GL11 gl = canvas.getGLInstance(); in uploadToCanvas() local
242 gl.glBindTexture(GL11.GL_TEXTURE_2D, sTextureId[0]); in uploadToCanvas()
243 gl.glTexParameterfv(GL11.GL_TEXTURE_2D, in uploadToCanvas()
245 gl.glTexParameteri(GL11.GL_TEXTURE_2D, in uploadToCanvas()
247 gl.glTexParameteri(GL11.GL_TEXTURE_2D, in uploadToCanvas()
249 gl.glTexParameterf(GL11.GL_TEXTURE_2D, in uploadToCanvas()
251 gl.glTexParameterf(GL11.GL_TEXTURE_2D, in uploadToCanvas()
261 gl.glTexImage2D(GL11.GL_TEXTURE_2D, 0, format, in uploadToCanvas()
DCropView.java209 GL11 gl = canvas.getGLInstance(); in renderFace() local
211 gl.glEnable(GL11.GL_STENCIL_TEST); in renderFace()
212 gl.glClear(GL11.GL_STENCIL_BUFFER_BIT); in renderFace()
213 gl.glStencilOp(GL11.GL_KEEP, GL11.GL_KEEP, GL11.GL_REPLACE); in renderFace()
214 gl.glStencilFunc(GL11.GL_ALWAYS, 1, 1); in renderFace()
222 gl.glStencilOp(GL11.GL_KEEP, GL11.GL_KEEP, GL11.GL_KEEP); in renderFace()
233 GL11 gl = canvas.getGLInstance(); in renderBackground() local
235 gl.glStencilFunc(GL11.GL_NOTEQUAL, 1, 1); in renderBackground()
237 gl.glDisable(GL11.GL_STENCIL_TEST); in renderBackground()
624 GL11 gl = canvas.getGLInstance(); in drawHighlightRectangle() local
[all …]
DGLRootView.java253 GL11 gl = (GL11) gl1; in onSurfaceCreated() local
256 Log.i(TAG, "GLObject has changed from " + mGL + " to " + gl); in onSurfaceCreated()
260 mGL = gl; in onSurfaceCreated()
261 mCanvas = new GLCanvasImpl(gl); in onSurfaceCreated()
289 GL11 gl = (GL11) gl1; in onSurfaceChanged() local
290 Utils.assertTrue(mGL == gl); in onSurfaceChanged()
309 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument
323 onDrawFrameLocked(gl); in onDrawFrame()
358 private void onDrawFrameLocked(GL10 gl) { in onDrawFrameLocked() argument
DNinePatchTexture.java400 GL11 gl = canvas.getGLInstance(); in prepareBuffers() local
403 gl.glBindBuffer(GL11.GL_ARRAY_BUFFER, mBufferNames[0]); in prepareBuffers()
404 gl.glBufferData(GL11.GL_ARRAY_BUFFER, in prepareBuffers()
408 gl.glBindBuffer(GL11.GL_ARRAY_BUFFER, mBufferNames[1]); in prepareBuffers()
409 gl.glBufferData(GL11.GL_ARRAY_BUFFER, in prepareBuffers()
413 gl.glBindBuffer(GL11.GL_ELEMENT_ARRAY_BUFFER, mBufferNames[2]); in prepareBuffers()
414 gl.glBufferData(GL11.GL_ELEMENT_ARRAY_BUFFER, in prepareBuffers()
DSlideshowView.java96 GL11 gl = canvas.getGLInstance(); in render() local
97 gl.glBlendFunc(GL11.GL_ONE, GL11.GL_ONE); in render()
121 gl.glBlendFunc(GL11.GL_ONE, GL11.GL_ONE_MINUS_SRC_ALPHA); in render()
/packages/apps/Nfc/src/com/android/nfc/
DFireflyRenderer.java396 public void draw(GL10 gl) { in draw() argument
397 gl.glLoadIdentity(); in draw()
400 gl.glFrontFace(GL10.GL_CCW); in draw()
402 gl.glEnableClientState(GL10.GL_VERTEX_ARRAY); in draw()
403 gl.glEnableClientState(GL10.GL_TEXTURE_COORD_ARRAY); in draw()
405 gl.glVertexPointer(3, GL10.GL_FLOAT, 0, mVertexBuffer); in draw()
406 gl.glTexCoordPointer(2, GL10.GL_FLOAT, 0, mTextureBuffer); in draw()
408gl.glTranslatef(mX, mY, -NEAR_CLIPPING_PLANE-mZ*(FAR_CLIPPING_PLANE-NEAR_CLIPPING_PLANE)); in draw()
409 gl.glColor4f(1, 1, 1, mAlpha); in draw()
412 gl.glTranslatef(TEXTURE_HEIGHT/2, TEXTURE_HEIGHT/2, 0); in draw()
[all …]
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DMosaicRendererSurfaceViewRenderer.java43 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument
48 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument
57 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
/packages/apps/Gallery2/tests/src/com/android/gallery3d/ui/
DGLCanvasMock.java35 public GLCanvasMock(GL11 gl) { in GLCanvasMock() argument
36 mGL = gl; in GLCanvasMock()
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/
DPhotoView.java166 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument
186 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument
193 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
/packages/experimental/CameraPreviewTest/src/com/example/android/videochatcameratest/
DSurfaceTextureView.java175 public void onSurfaceCreated(GL10 gl, EGLConfig config) { in onSurfaceCreated() argument
204 public void onSurfaceChanged(GL10 gl, int width, int height) { in onSurfaceChanged() argument
211 public void onDrawFrame(GL10 gl) { in onDrawFrame() argument
/packages/apps/Camera/perftests/panorama/input/
Dtest_008.ppm741 / ("��!��/�^,/e%/f&0a"-~?J|KQwFLK'(���bBFiIM7J,/E*-:!�gl����w{F(,���* ) ����������…
2482 …���������������������������������������������������������������=3<1bb TTgltx,x�7x�7uz:��Equ;nq…
3320 …;66464JI,5483PJ)d_:HC==EEY_1V[.(,�DHZ^0uxKY^4;? ��78 pqEbf,`d)gl*pu4��h��ZnsK_d<aiFlt…
3554 P!�a_�li>&%�lk��ϴ�����������W=<<%&O78�w|�gl?AI `#.�Y`f5<g<A�`e�tu_=>X=?���ns����gn{ZaP-6�{�ͨ…
3649 % 4lKTQ3;:#<!&,(�ahͫ��x}lBIa7>�gl������¼��������������������������������������������������…
3765 …z{v`a_pqostotupnqilogmqfinbqvkuznmqfothinbgl`lpensgmqflpekodhmadh]inbinbei^gl`kodhmadh]ei^dh]dh]dh…
6932 …;��P_d-kp5[a&]`&pt:ae*qu;|}D��Mzv<{w=WRMI`Z:("6. PD=ZOH[KCfVMZP?_TDvtOVS.gl:x}K_f4T[)>I'�/:
9126 …Mb�XCp8LxAZ�OV�LW�MKwB>k5Ho?n�fg�ZQwD5[&Ou?T{EX~IBh3Mt>]�MPvAk�[e�Vh�YEi6v�gl�]_�PX|IY}JCg4:^*6Z'C…
Dtest_007.ppm331 fk����gl& ��4��� ^6=0 #��&��>�8��C��M��]�`�
425 …�����������ّ��������������B'0F,50*];F�gsX<E< )}^hS4>E&0/��5%~fn{gl���������������������…
577 O KR%g-:; a/:wJPK#J!0�glں��in3) ) &
1180 �����;.,^QO>1/%H=<dYXRJIF>=63-)& %!B>8f^]nfe���������������xwuefiYZlX]vbg�qv{gl�ux�������svT…
7978 #5K6LbMVkQTiPShMav[g|bkfbw`h}fl�gl�gf{a5J0-B(/D*J`?LbBBX5H^;J]?��w��������ƾͻ�ƩYkM*=.A1E0D-E/…
8887 …#1K)'A)C!3K)0I'*C!/H&6P,?Y5<Z3;Y1/O(1Q*'D&C,J",J"0O'=[4PnDDb8e�WSqE^}Lx�gl�YZ|HOp<Z|HQu?TxC>b-=…
Dtest_012.ppm53 … %������� �!�&�?760;#'1%"%0#!F:7A/.7&%/! * `?F=#�gl_duWZhJM7 %#…
437 V/3������������Ȳ����:&��g6<W&,):�Y^�gl��������Ͳ��{io���fm|bi������ĺ������������������������…
1730 …C(*;! D*)Y<<O11A O-.) (%��5 BL�aa{YW��������������������������ʁgl-, & �*1…
1979  �� ��H;;fRT5!#*t]`;!#v]_��Ètt�����́gi{ad�v{�gl." �! ! �����.
Dtest_034.ppm2260 �!!!"""%%%(&'(&'.,/758DCL76?gl|�����������������ݽ�ڼ��IQ]'(0()1**/,,0*()&#%!!!"""!!!"""%…
2597 ������� ���������������doq���������������������Xdh P[`[gl[gi]hk[hh,88!…
9011 …7;P>DO=CI6<H5;J7=L:?O:AQ<CVCIXEKT?FZELbJR`HPeMSkSYlTZiRXkSYoX^s[_u^aw`f{di{gl~ko�v{�~�������������…
9022 …48A/5A/5A/5C17D17F4:I7=M<BK8>O<BWBIWBIQ=BTAEYBHZCI[DJaJPgPSkSWlTZoX^mY^p]a{gl�qv�ot�uz������������…
Dtest_011.ppm1987 O,0�gl=!I(-V<;T;:F60=-' �
8616 …7Hg6TtCZzIm�[f�R3OB^.`|LMm<7W&Ll;TtCPq=(JFf3i�V;](3T 4V!SuAXzHd�Su�f~�ox�gl�Z<[*e�SSsB;Z)6R ?[)>…
Dtest_003.ppm1922 :(;0 (,(��. kHCvTVW56/0!��< �gl����mn4���z|�x{D#*}]dfAI:3 '�B!F&&�3 …
8295 % -D)JaFVkSTiRRfRYmY`t`bvbbw`dxal�gl�gh}fWlT,A)EZC6K1dx_VgMWhOL^DL^D����Ů��������ɽϹauQ&: 5
Dtest_006.ppm3008 …YEH���H46'1 >'*=&)}dh�gl'XADA)-# ��*% !C)(I15/44b?DdAE4* �������…
9184 …?Ee6TsFYwKu�ed~S(C6Q&YtIPk?5P%A[0Kg:XtF=Y)-If�RTpA;W'3O5QXtB_{Ku�a|�kx�gl�Z^zL1M >Z-XsCSn><W'6…