HomeSort by relevance Sort by last modified time
    Searched refs:surface (Results 26 - 50 of 1334) sorted by null

12 3 4 5 6 7 8 91011>>

  /external/chromium_org/ui/gl/
gl_context_osmesa.cc 50 bool GLContextOSMesa::MakeCurrent(GLSurface* surface) {
53 gfx::Size size = surface->GetSize();
57 surface->GetHandle(),
72 SetCurrent(surface);
77 if (!surface->OnMakeCurrent(this)) {
86 void GLContextOSMesa::ReleaseCurrent(GLSurface* surface) {
87 if (!IsCurrent(surface))
95 bool GLContextOSMesa::IsCurrent(GLSurface* surface) {
109 if (surface) {
115 if (buffer != surface->GetHandle()
    [all...]
gl_context_wgl.cc 72 bool GLContextWGL::MakeCurrent(GLSurface* surface) {
74 if (IsCurrent(surface))
80 if (!wglMakeCurrent(static_cast<HDC>(surface->GetHandle()), context_)) {
88 SetCurrent(surface);
93 if (!surface->OnMakeCurrent(this)) {
102 void GLContextWGL::ReleaseCurrent(GLSurface* surface) {
103 if (!IsCurrent(surface))
110 bool GLContextWGL::IsCurrent(GLSurface* surface) {
122 if (surface) {
123 if (wglGetCurrentDC() != surface->GetHandle()
    [all...]
gl_surface_mac.cc 24 // A "no-op" surface. It is not required that a CGLContextObj have an
26 // made current. Everywhere this surface type is used, we allocate an
120 scoped_refptr<GLSurface> surface(new GLSurfaceOSMesaHeadless());
121 if (!surface->Initialize())
123 return surface;
138 scoped_refptr<GLSurface> surface(
140 if (!surface->Initialize())
143 return surface;
147 scoped_refptr<GLSurface> surface(new NoOpGLSurface(size));
148 if (!surface->Initialize()
    [all...]
gl_context_egl.cc 91 bool GLContextEGL::MakeCurrent(GLSurface* surface) {
93 if (IsCurrent(surface))
99 "surface", surface);
107 surface->GetHandle(),
108 surface->GetHandle(),
118 SetCurrent(surface);
123 if (!surface->OnMakeCurrent(this)) {
136 void GLContextEGL::ReleaseCurrent(GLSurface* surface) {
137 if (!IsCurrent(surface))
    [all...]
gl_context_glx.h 30 virtual bool MakeCurrent(GLSurface* surface) OVERRIDE;
31 virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE;
32 virtual bool IsCurrent(GLSurface* surface) OVERRIDE;
gl_context_osmesa.h 28 virtual bool MakeCurrent(GLSurface* surface) OVERRIDE;
29 virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE;
30 virtual bool IsCurrent(GLSurface* surface) OVERRIDE;
gl_context_stub.h 21 virtual bool MakeCurrent(GLSurface* surface) OVERRIDE;
22 virtual void ReleaseCurrent(GLSurface* surface) OVERRIDE;
23 virtual bool IsCurrent(GLSurface* surface) OVERRIDE;
  /external/qemu/distrib/sdl-1.2.15/src/video/
SDL_bmp.c 54 SDL_Surface *surface; local
85 surface = NULL;
223 /* Create a compatible surface, note that the colors are RGB ordered */
224 surface = SDL_CreateRGBSurface(SDL_SWSURFACE,
226 if ( surface == NULL ) {
232 palette = (surface->format)->palette;
255 /* Read the surface pixels. Note that the bmp image is upside down */
261 top = (Uint8 *)surface->pixels;
262 end = (Uint8 *)surface->pixels+(surface->h*surface->pitch)
364 SDL_Surface *surface; local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/ataricommon/
SDL_atarigl.c 54 static void CopyShadowNull(_THIS, SDL_Surface *surface);
55 static void CopyShadowDirect(_THIS, SDL_Surface *surface);
56 static void CopyShadowRGBTo555(_THIS, SDL_Surface *surface);
57 static void CopyShadowRGBTo565(_THIS, SDL_Surface *surface);
58 static void CopyShadowRGBSwap(_THIS, SDL_Surface *surface);
59 static void CopyShadowRGBToARGB(_THIS, SDL_Surface *surface);
60 static void CopyShadowRGBToABGR(_THIS, SDL_Surface *surface);
61 static void CopyShadowRGBToBGRA(_THIS, SDL_Surface *surface);
62 static void CopyShadowRGBToRGBA(_THIS, SDL_Surface *surface);
63 static void CopyShadow8888To555(_THIS, SDL_Surface *surface);
257 SDL_Surface *surface; local
312 SDL_Surface *surface; local
    [all...]
  /frameworks/base/libs/hwui/renderthread/
EglManager.cpp 29 EGLAPI void EGLAPIENTRY eglBeginFrame(EGLDisplay dpy, EGLSurface surface);
112 // We can't be certain about the state of the current surface (whether
114 // the pbuffer surface which we fully control
196 EGLSurface surface = eglCreateWindowSurface(mEglDisplay, mEglConfig, window, NULL); local
197 LOG_ALWAYS_FATAL_IF(surface == EGL_NO_SURFACE,
200 return surface;
203 void EglManager::destroySurface(EGLSurface surface) {
204 if (isCurrent(surface)) {
207 if (!eglDestroySurface(mEglDisplay, surface)) {
208 ALOGW("Failed to destroy surface %p, error=%s", (void*)surface, egl_error_str())
    [all...]
EglManager.h 42 void destroySurface(EGLSurface surface);
46 bool isCurrent(EGLSurface surface) { return mCurrentSurface == surface; }
47 // Returns true if the current surface changed, false if it was already current
48 bool makeCurrent(EGLSurface surface);
49 void beginFrame(EGLSurface surface, EGLint* width, EGLint* height);
50 bool swapBuffers(EGLSurface surface);
53 // Returns true iff the surface is now preserving buffers.
54 bool setPreserveBuffer(EGLSurface surface, bool preserve);
87 // TODO: Need to be better about surface/context management so that this isn'
    [all...]
  /external/chromium_org/gpu/command_buffer/service/
gl_context_virtual.cc 34 // with the surface (the context already exists), but we do need to
56 bool GLContextVirtual::MakeCurrent(gfx::GLSurface* surface) {
58 return shared_context_->MakeVirtuallyCurrent(this, surface);
64 void GLContextVirtual::ReleaseCurrent(gfx::GLSurface* surface) {
65 if (IsCurrent(surface)) {
67 shared_context_->ReleaseCurrent(surface);
71 bool GLContextVirtual::IsCurrent(gfx::GLSurface* surface) {
72 // If it's a real surface it needs to be current.
73 if (surface &&
74 !surface->IsOffscreen()
    [all...]
  /packages/screensavers/Basic/src/com/android/dreams/basic/
Colors.java 76 public void onSurfaceTextureAvailable(final SurfaceTexture surface,
78 LOG("onSurfaceTextureAvailable(%s, %d, %d)", surface, width, height);
86 mRenderer = new ColorsGLRenderer(surface, width, height);
93 public void onSurfaceTextureSizeChanged(SurfaceTexture surface,
95 LOG("onSurfaceTextureSizeChanged(%s, %d, %d)", surface, width, height);
108 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) {
109 LOG("onSurfaceTextureDestroyed(%s)", surface);
132 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
133 LOG("onSurfaceTextureUpdated(%s)", surface);
  /external/chromium_org/third_party/icu/source/samples/layout/
gdiglue.h 27 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc);
28 void rs_gdiRenderingSurfaceClose(rs_surface *surface);
30 fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);
  /external/chromium_org/third_party/skia/include/gpu/
GrClipData.h 49 void getConservativeBounds(const GrSurface* surface,
52 this->getConservativeBounds(surface->width(), surface->height(),
  /external/icu/icu4c/source/samples/layout/
gdiglue.h 27 void rs_gdiRenderingSurfaceSetHDC(rs_surface *surface, HDC hdc);
28 void rs_gdiRenderingSurfaceClose(rs_surface *surface);
30 fm_fontMap *fm_gdiFontMapOpen(rs_surface *surface, const char *fileName, le_int16 pointSize, gs_guiSupport *guiSupport, LEErrorCode *status);
  /external/skia/include/gpu/
GrClipData.h 49 void getConservativeBounds(const GrSurface* surface,
52 this->getConservativeBounds(surface->width(), surface->height(),
  /external/chromium_org/third_party/mesa/src/src/egl/main/
eglsurface.c 32 * Surface-related functions.
97 _eglLog(_EGL_WARNING, "bad surface attribute 0x%04x", attr);
108 * Parse the list of surface attributes and return the proper error code.
161 /* window surface attributes */
185 /* pbuffer surface attributes */
258 /* no pixmap surface specific attributes */
265 _eglLog(_EGL_WARNING, "bad surface attribute 0x%04x", attr);
311 /* The config can't be used to create a surface of this type */
352 _eglQuerySurface(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surface,
357 *value = surface->Width
    [all...]
  /external/mesa3d/src/egl/main/
eglsurface.c 32 * Surface-related functions.
97 _eglLog(_EGL_WARNING, "bad surface attribute 0x%04x", attr);
108 * Parse the list of surface attributes and return the proper error code.
161 /* window surface attributes */
185 /* pbuffer surface attributes */
258 /* no pixmap surface specific attributes */
265 _eglLog(_EGL_WARNING, "bad surface attribute 0x%04x", attr);
311 /* The config can't be used to create a surface of this type */
352 _eglQuerySurface(_EGLDriver *drv, _EGLDisplay *dpy, _EGLSurface *surface,
357 *value = surface->Width
    [all...]
  /frameworks/native/opengl/libagl/
TextureObjectManager.cpp 34 if (mSize && surface.data)
35 free(surface.data);
43 memset(&surface, 0, sizeof(surface));
44 surface.version = sizeof(surface);
74 if (!surface.data)
77 int w = surface.width;
78 int h = surface.height;
109 return surface;
    [all...]
  /development/ndk/platforms/android-16/include/android/
native_window_jni.h 29 * Return the ANativeWindow associated with a Java Surface object,
34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
  /development/ndk/platforms/android-9/include/android/
native_window_jni.h 29 * Return the ANativeWindow associated with a Java Surface object,
34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);
  /external/chromium_org/content/public/android/java/src/org/chromium/content/common/
SurfaceWrapper.java 9 import android.view.Surface;
12 * A wrapper for marshalling a Surface without self-destruction.
15 private final Surface mSurface;
17 public SurfaceWrapper(Surface surface) {
18 mSurface = surface;
21 public Surface getSurface() {
32 // Ignore flags so that the Surface won't call release()
39 Surface surface = Surface.CREATOR.createFromParcel(in)
    [all...]
  /external/chromium_org/third_party/libva/va/egl/
va_backend_egl.h 32 /* Get EGL ClientBufer buffer index and device id from surface id*/
35 VASurfaceID surface,
  /frameworks/native/include/android/
native_window_jni.h 29 * Return the ANativeWindow associated with a Java Surface object,
34 ANativeWindow* ANativeWindow_fromSurface(JNIEnv* env, jobject surface);

Completed in 628 milliseconds

12 3 4 5 6 7 8 91011>>