/development/tools/emulator/opengl/system/GLESv2_enc/ |
D | gl2_client_proc.h | 12 typedef void (gl2_APIENTRY *glActiveTexture_client_proc_t) (void * ctx, GLenum); 13 typedef void (gl2_APIENTRY *glAttachShader_client_proc_t) (void * ctx, GLuint, GLuint); 14 typedef void (gl2_APIENTRY *glBindAttribLocation_client_proc_t) (void * ctx, GLuint, GLuint, const … 15 typedef void (gl2_APIENTRY *glBindBuffer_client_proc_t) (void * ctx, GLenum, GLuint); 16 typedef void (gl2_APIENTRY *glBindFramebuffer_client_proc_t) (void * ctx, GLenum, GLuint); 17 typedef void (gl2_APIENTRY *glBindRenderbuffer_client_proc_t) (void * ctx, GLenum, GLuint); 18 typedef void (gl2_APIENTRY *glBindTexture_client_proc_t) (void * ctx, GLenum, GLuint); 19 typedef void (gl2_APIENTRY *glBlendColor_client_proc_t) (void * ctx, GLclampf, GLclampf, GLclampf, … 20 typedef void (gl2_APIENTRY *glBlendEquation_client_proc_t) (void * ctx, GLenum); 21 typedef void (gl2_APIENTRY *glBlendEquationSeparate_client_proc_t) (void * ctx, GLenum, GLenum); [all …]
|
D | GL2Encoder.cpp | 32 ctx->setError(err); \ 39 ctx->setError(err); \ 123 GL2Encoder *ctx = (GL2Encoder *)self; in s_glGetError() local 124 GLenum err = ctx->getError(); in s_glGetError() 126 ctx->setError(GL_NO_ERROR); in s_glGetError() 130 return ctx->m_glGetError_enc(self); in s_glGetError() 136 GL2Encoder *ctx = (GL2Encoder *) self; in s_glFlush() local 137 ctx->m_glFlush_enc(self); in s_glFlush() 138 ctx->m_stream->flush(); in s_glFlush() 163 GL2Encoder *ctx = (GL2Encoder *)self; in s_glPixelStorei() local [all …]
|
D | gl2_entry.cpp | 223 #define GET_CONTEXT gl2_client_context_t * ctx = getCurrentContext() 229 ctx->glActiveTexture(ctx, texture); in glActiveTexture() 235 ctx->glAttachShader(ctx, program, shader); in glAttachShader() 241 ctx->glBindAttribLocation(ctx, program, index, name); in glBindAttribLocation() 247 ctx->glBindBuffer(ctx, target, buffer); in glBindBuffer() 253 ctx->glBindFramebuffer(ctx, target, framebuffer); in glBindFramebuffer() 259 ctx->glBindRenderbuffer(ctx, target, renderbuffer); in glBindRenderbuffer() 265 ctx->glBindTexture(ctx, target, texture); in glBindTexture() 271 ctx->glBlendColor(ctx, red, green, blue, alpha); in glBlendColor() 277 ctx->glBlendEquation(ctx, mode); in glBlendEquation() [all …]
|
D | GL2EncoderUtils.cpp | 23 GL2Encoder *ctx = (GL2Encoder *)self; in pixelDataSize() local 24 assert (ctx->state() != NULL); in pixelDataSize() 25 return ctx->state()->pixelDataSize(width, height, format, type, pack); in pixelDataSize() 36 GL2Encoder * ctx = (GL2Encoder *) self; in uniformType() local 37 assert (ctx->shared() != NULL); in uniformType() 38 return ctx->shared()->getProgramUniformType(program, location); in uniformType()
|
D | gl2_enc.cpp | 20 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glActiveTexture_enc() local 21 IOStream *stream = ctx->m_stream; in glActiveTexture_enc() 35 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glAttachShader_enc() local 36 IOStream *stream = ctx->m_stream; in glAttachShader_enc() 51 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindAttribLocation_enc() local 52 IOStream *stream = ctx->m_stream; in glBindAttribLocation_enc() 70 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindBuffer_enc() local 71 IOStream *stream = ctx->m_stream; in glBindBuffer_enc() 86 gl2_encoder_context_t *ctx = (gl2_encoder_context_t *)self; in glBindFramebuffer_enc() local 87 IOStream *stream = ctx->m_stream; in glBindFramebuffer_enc() [all …]
|
/development/tools/emulator/opengl/system/GLESv1_enc/ |
D | gl_client_proc.h | 12 typedef void (gl_APIENTRY *glAlphaFunc_client_proc_t) (void * ctx, GLenum, GLclampf); 13 typedef void (gl_APIENTRY *glClearColor_client_proc_t) (void * ctx, GLclampf, GLclampf, GLclampf, G… 14 typedef void (gl_APIENTRY *glClearDepthf_client_proc_t) (void * ctx, GLclampf); 15 typedef void (gl_APIENTRY *glClipPlanef_client_proc_t) (void * ctx, GLenum, const GLfloat*); 16 typedef void (gl_APIENTRY *glColor4f_client_proc_t) (void * ctx, GLfloat, GLfloat, GLfloat, GLfloat… 17 typedef void (gl_APIENTRY *glDepthRangef_client_proc_t) (void * ctx, GLclampf, GLclampf); 18 typedef void (gl_APIENTRY *glFogf_client_proc_t) (void * ctx, GLenum, GLfloat); 19 typedef void (gl_APIENTRY *glFogfv_client_proc_t) (void * ctx, GLenum, const GLfloat*); 20 typedef void (gl_APIENTRY *glFrustumf_client_proc_t) (void * ctx, GLfloat, GLfloat, GLfloat, GLfloa… 21 typedef void (gl_APIENTRY *glGetClipPlanef_client_proc_t) (void * ctx, GLenum, GLfloat*); [all …]
|
D | GLEncoder.cpp | 33 ctx->setError(err); \ 40 ctx->setError(err); \ 46 GLEncoder *ctx = (GLEncoder *)self; in s_glGetError() local 47 GLenum err = ctx->getError(); in s_glGetError() 49 ctx->setError(GL_NO_ERROR); in s_glGetError() 53 return ctx->m_glGetError_enc(self); in s_glGetError() 73 GLEncoder *ctx = (GLEncoder *)self; in s_glGetIntegerv() local 74 assert(ctx->m_state != NULL); in s_glGetIntegerv() 75 GLClientState* state = ctx->m_state; in s_glGetIntegerv() 79 GLint * compressedTextureFormats = ctx->getCompressedTextureFormats(); in s_glGetIntegerv() [all …]
|
D | gl_entry.cpp | 306 #define GET_CONTEXT gl_client_context_t * ctx = getCurrentContext() 312 ctx->glAlphaFunc(ctx, func, ref); in glAlphaFunc() 318 ctx->glClearColor(ctx, red, green, blue, alpha); in glClearColor() 324 ctx->glClearDepthf(ctx, depth); in glClearDepthf() 330 ctx->glClipPlanef(ctx, plane, equation); in glClipPlanef() 336 ctx->glColor4f(ctx, red, green, blue, alpha); in glColor4f() 342 ctx->glDepthRangef(ctx, zNear, zFar); in glDepthRangef() 348 ctx->glFogf(ctx, pname, param); in glFogf() 354 ctx->glFogfv(ctx, pname, params); in glFogfv() 360 ctx->glFrustumf(ctx, left, right, bottom, top, zNear, zFar); in glFrustumf() [all …]
|
D | gl_enc.cpp | 20 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glAlphaFunc_enc() local 21 IOStream *stream = ctx->m_stream; in glAlphaFunc_enc() 36 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClearColor_enc() local 37 IOStream *stream = ctx->m_stream; in glClearColor_enc() 54 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClearDepthf_enc() local 55 IOStream *stream = ctx->m_stream; in glClearDepthf_enc() 69 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glClipPlanef_enc() local 70 IOStream *stream = ctx->m_stream; in glClipPlanef_enc() 87 gl_encoder_context_t *ctx = (gl_encoder_context_t *)self; in glColor4f_enc() local 88 IOStream *stream = ctx->m_stream; in glColor4f_enc() [all …]
|
D | GLEncoderUtils.cpp | 22 GLEncoder *ctx = (GLEncoder *)self; in pixelDataSize() local 23 return ctx->pixelDataSize(width, height, format, type, pack); in pixelDataSize()
|
/development/tools/emulator/opengl/system/renderControl_enc/ |
D | renderControl_client_proc.h | 12 typedef GLint (renderControl_APIENTRY *rcGetRendererVersion_client_proc_t) (void * ctx); 13 typedef EGLint (renderControl_APIENTRY *rcGetEGLVersion_client_proc_t) (void * ctx, EGLint*, EGLint… 14 typedef EGLint (renderControl_APIENTRY *rcQueryEGLString_client_proc_t) (void * ctx, EGLenum, void*… 15 typedef EGLint (renderControl_APIENTRY *rcGetGLString_client_proc_t) (void * ctx, EGLenum, void*, E… 16 typedef EGLint (renderControl_APIENTRY *rcGetNumConfigs_client_proc_t) (void * ctx, uint32_t*); 17 typedef EGLint (renderControl_APIENTRY *rcGetConfigs_client_proc_t) (void * ctx, uint32_t, GLuint*); 18 typedef EGLint (renderControl_APIENTRY *rcChooseConfig_client_proc_t) (void * ctx, EGLint*, uint32_… 19 typedef EGLint (renderControl_APIENTRY *rcGetFBParam_client_proc_t) (void * ctx, EGLint); 20 typedef uint32_t (renderControl_APIENTRY *rcCreateContext_client_proc_t) (void * ctx, uint32_t, uin… 21 typedef void (renderControl_APIENTRY *rcDestroyContext_client_proc_t) (void * ctx, uint32_t); [all …]
|
D | renderControl_entry.cpp | 40 #define GET_CONTEXT renderControl_client_context_t * ctx = getCurrentContext() 46 return ctx->rcGetRendererVersion(ctx); in rcGetRendererVersion() 52 return ctx->rcGetEGLVersion(ctx, major, minor); in rcGetEGLVersion() 58 return ctx->rcQueryEGLString(ctx, name, buffer, bufferSize); in rcQueryEGLString() 64 return ctx->rcGetGLString(ctx, name, buffer, bufferSize); in rcGetGLString() 70 return ctx->rcGetNumConfigs(ctx, numAttribs); in rcGetNumConfigs() 76 return ctx->rcGetConfigs(ctx, bufSize, buffer); in rcGetConfigs() 82 return ctx->rcChooseConfig(ctx, attribs, attribs_size, configs, configs_size); in rcChooseConfig() 88 return ctx->rcGetFBParam(ctx, param); in rcGetFBParam() 94 return ctx->rcCreateContext(ctx, config, share, glVersion); in rcCreateContext() [all …]
|
D | renderControl_enc.cpp | 20 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetRendererVersion_enc() local 21 IOStream *stream = ctx->m_stream; in rcGetRendererVersion_enc() 38 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetEGLVersion_enc() local 39 IOStream *stream = ctx->m_stream; in rcGetEGLVersion_enc() 62 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcQueryEGLString_enc() local 63 IOStream *stream = ctx->m_stream; in rcQueryEGLString_enc() 85 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetGLString_enc() local 86 IOStream *stream = ctx->m_stream; in rcGetGLString_enc() 108 renderControl_encoder_context_t *ctx = (renderControl_encoder_context_t *)self; in rcGetNumConfigs_enc() local 109 IOStream *stream = ctx->m_stream; in rcGetNumConfigs_enc() [all …]
|
/development/tools/yuv420sp2rgb/ |
D | yuv420sp2rgb.c | 46 rgb_context *ctx); 62 rgb_context ctx; in color_convert_common() local 64 ctx.buffer = buffer; in color_convert_common() 65 ctx.size = size; /* debug */ in color_convert_common() 66 ctx.width = width; in color_convert_common() 67 ctx.height = height; in color_convert_common() 68 ctx.rotate = rotate; in color_convert_common() 74 ctx.i = i; in color_convert_common() 75 ctx.j = j; in color_convert_common() 76 cb(nB, nB, nB, &ctx); in color_convert_common() [all …]
|
/development/tools/emulator/opengl/tests/gles_android_wrapper/ |
D | glesv1_emul_ifc.cpp | 28 gl_wrapper_context_t *ctx = new gl_wrapper_context_t; in createFromLib() local 29 if (ctx == NULL) { in createFromLib() 33 ctx->initDispatchByName(ApiInitializer::s_getProc, initializer); in createFromLib() 36 return ctx; in createFromLib()
|
D | glesv2_emul_ifc.cpp | 28 gl2_wrapper_context_t *ctx = new gl2_wrapper_context_t; in createFromLib() local 29 if (ctx == NULL) { in createFromLib() 33 ctx->initDispatchByName(ApiInitializer::s_getProc, initializer); in createFromLib() 36 return ctx; in createFromLib()
|
D | egl.cpp | 491 EGLContext ctx = getDispatch()->eglCreateContext(dpy, config, share, attrib); in eglCreateContext() local 493 EGLWrapperContext *wctx = new EGLWrapperContext(ctx, version); in eglCreateContext() 494 if (ctx != EGL_NO_CONTEXT) { in eglCreateContext() 506 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() argument 508 EGLWrapperContext *wctx = (EGLWrapperContext *)ctx; in eglDestroyContext() 511 if (ctx && ctx != EGL_NO_CONTEXT) { in eglDestroyContext() 517 server->utEnc()->destroyContext(ti->serverConn->utEnc(), getpid(), (uint32_t)ctx); in eglDestroyContext() 527 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument 529 EGLWrapperContext *wctx = (EGLWrapperContext *)ctx; in eglMakeCurrent() 530 EGLContext aglContext = (ctx == EGL_NO_CONTEXT ? EGL_NO_CONTEXT : wctx->aglContext); in eglMakeCurrent() [all …]
|
/development/tools/emulator/opengl/system/GLESv2/ |
D | gl2.cpp | 27 #define GET_CONTEXT GL2Encoder * ctx = getEGLThreadInfo()->hostConn->gl2Encoder(); 68 ctx->override2DTextureTarget(target); in glEGLImageTargetTexture2DOES() 70 ctx->restore2DTextureTarget(); in glEGLImageTargetTexture2DOES() 122 ctx->set_glEGLImageTargetTexture2DOES(glEGLImageTargetTexture2DOES); in init() 123 ctx->set_glEGLImageTargetRenderbufferStorageOES(glEGLImageTargetRenderbufferStorageOES); in init() 124 ctx->set_glGetString(my_glGetString); in init()
|
/development/tools/emulator/opengl/system/GLESv1/ |
D | gl.cpp | 28 #define GET_CONTEXT GLEncoder * ctx = getEGLThreadInfo()->hostConn->glEncoder(); 68 ctx->override2DTextureTarget(target); in glEGLImageTargetTexture2DOES() 71 ctx->restore2DTextureTarget(); in glEGLImageTargetTexture2DOES() 125 ctx->set_glEGLImageTargetTexture2DOES(glEGLImageTargetTexture2DOES); in init() 126 ctx->set_glEGLImageTargetRenderbufferStorageOES(glEGLImageTargetRenderbufferStorageOES); in init() 127 ctx->set_glGetString(my_glGetString); in init()
|
/development/samples/KeyChainDemo/src/com/example/android/keychain/ |
D | SecureWebServer.java | 57 public SecureWebServer(Context ctx) { in SecureWebServer() argument 68 FileInputStream fis = ctx.getAssets() in SecureWebServer() 85 base64Image = createBase64Image(ctx); in SecureWebServer() 172 private String createBase64Image(Context ctx) { in createBase64Image() argument 175 bis = new BufferedInputStream(ctx.getAssets().open(EMBEDDED_IMAGE_FILENAME)); in createBase64Image()
|
/development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/ |
D | AudioFocusHelper.java | 34 public AudioFocusHelper(Context ctx, MusicFocusable focusable) { in AudioFocusHelper() argument 35 mAM = (AudioManager) ctx.getSystemService(Context.AUDIO_SERVICE); in AudioFocusHelper()
|
/development/samples/WeatherListWidget/src/com/example/android/weatherlistwidget/ |
D | WeatherWidgetProvider.java | 103 public void onReceive(Context ctx, Intent intent) { in onReceive() argument 110 final Context context = ctx; in onReceive() 145 final String formatStr = ctx.getResources().getString(R.string.toast_format_string); in onReceive() 146 Toast.makeText(ctx, String.format(formatStr, day), Toast.LENGTH_SHORT).show(); in onReceive() 149 super.onReceive(ctx, intent); in onReceive()
|
/development/tools/emulator/opengl/system/egl/ |
D | egl.cpp | 840 EGLContext_t* ctx = getEGLThreadInfo()->currentContext; in eglSwapInterval() local 841 if (!ctx) { in eglSwapInterval() 844 if (!ctx->draw) { in eglSwapInterval() 847 egl_surface_t* draw(static_cast<egl_surface_t*>(ctx->draw)); in eglSwapInterval() 893 EGLBoolean eglDestroyContext(EGLDisplay dpy, EGLContext ctx) in eglDestroyContext() argument 896 VALIDATE_CONTEXT_RETURN(ctx, EGL_FALSE); in eglDestroyContext() 898 EGLContext_t * context = static_cast<EGLContext_t*>(ctx); in eglDestroyContext() 915 EGLBoolean eglMakeCurrent(EGLDisplay dpy, EGLSurface draw, EGLSurface read, EGLContext ctx) in eglMakeCurrent() argument 921 if ((read == EGL_NO_SURFACE && draw == EGL_NO_SURFACE) && (ctx != EGL_NO_CONTEXT)) in eglMakeCurrent() 923 if ((read != EGL_NO_SURFACE || draw != EGL_NO_SURFACE) && (ctx == EGL_NO_CONTEXT)) in eglMakeCurrent() [all …]
|
/development/tutorials/NotepadCodeLab/Notepadv1Solution/src/com/android/demo/notepad1/ |
D | NotesDbAdapter.java | 87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() argument 88 this.mCtx = ctx; in NotesDbAdapter()
|
/development/tutorials/NotepadCodeLab/Notepadv2/src/com/android/demo/notepad2/ |
D | NotesDbAdapter.java | 87 public NotesDbAdapter(Context ctx) { in NotesDbAdapter() argument 88 this.mCtx = ctx; in NotesDbAdapter()
|