HomeSort by relevance Sort by last modified time
    Searched refs:surface (Results 276 - 300 of 917) sorted by null

<<11121314151617181920>>

  /external/chromium_org/third_party/mesa/src/src/gallium/targets/graw-null/
graw_util.c 79 struct pipe_surface *surface,
91 debug_dump_surface_bmp(pipe, filename, surface);
  /external/chromium_org/third_party/mesa/src/src/gbm/backends/dri/
gbm_driint.h 100 gbm_dri_surface(struct gbm_surface *surface)
102 return (struct gbm_dri_surface *) surface;
  /external/chromium_org/ui/gl/
gl_context_cgl.cc 139 bool GLContextCGL::MakeCurrent(GLSurface* surface) {
178 if (IsCurrent(surface))
192 SetCurrent(surface);
194 ReleaseCurrent(surface);
198 if (!surface->OnMakeCurrent(this)) {
206 void GLContextCGL::ReleaseCurrent(GLSurface* surface) {
207 if (!IsCurrent(surface))
214 bool GLContextCGL::IsCurrent(GLSurface* surface) {
gl_gl_api_implementation.cc 259 bool VirtualGLApi::MakeCurrent(GLContext* virtual_context, GLSurface* surface) {
262 if (switched_contexts || surface != current_surface) {
264 // calls if the GLSurface uses the same underlying surface or renders to
267 !virtual_context->IsCurrent(surface)) {
268 if (!real_context_->MakeCurrent(surface)) {
276 DCHECK(virtual_context->IsCurrent(surface));
297 virtual_context->SetCurrent(surface);
298 if (!surface->OnMakeCurrent(virtual_context)) {
  /external/mesa3d/src/gallium/drivers/rbug/
rbug_objects.c 84 struct pipe_surface *surface)
88 if(!surface)
91 assert(surface->texture == rb_resource->resource);
97 memcpy(&rb_surface->base, surface, sizeof(struct pipe_surface));
102 rb_surface->surface = surface; /* we own the surface already */
108 pipe_surface_reference(&surface, NULL);
117 pipe_surface_reference(&rb_surface->surface, NULL);
  /external/mesa3d/src/gallium/targets/graw-null/
graw_util.c 79 struct pipe_surface *surface,
91 debug_dump_surface_bmp(pipe, filename, surface);
  /external/mesa3d/src/gbm/backends/dri/
gbm_driint.h 100 gbm_dri_surface(struct gbm_surface *surface)
102 return (struct gbm_dri_surface *) surface;
  /external/qemu/distrib/sdl-1.2.15/src/video/riscos/
SDL_riscosvideo.c 75 /* Hardware surface functions - common to WIMP and FULLSCREEN */
76 static int RISCOS_AllocHWSurface(_THIS, SDL_Surface *surface);
77 static int RISCOS_LockHWSurface(_THIS, SDL_Surface *surface);
78 static void RISCOS_UnlockHWSurface(_THIS, SDL_Surface *surface);
79 static void RISCOS_FreeHWSurface(_THIS, SDL_Surface *surface);
270 static int RISCOS_AllocHWSurface(_THIS, SDL_Surface *surface)
274 static void RISCOS_FreeHWSurface(_THIS, SDL_Surface *surface)
280 static int RISCOS_LockHWSurface(_THIS, SDL_Surface *surface)
285 static void RISCOS_UnlockHWSurface(_THIS, SDL_Surface *surface)
  /frameworks/base/core/java/android/hardware/camera2/
ICameraDeviceUser.aidl 19 import android.view.Surface;
41 int createStream(int width, int height, int format, in Surface surface);
  /frameworks/rs/java/tests/SampleTest/src/com/android/rs/sample/
SampleRSActivity.java 34 import android.view.Surface;
52 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
55 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
56 if (surface != null) {
57 mOutPixelsAllocation.setSurface(new Surface(surface));
61 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) {
62 if (surface != null) {
63 mOutPixelsAllocation.setSurface(new Surface(surface));
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/ps2gs/
SDL_gsvideo.c 51 /* Hardware surface functions */
52 static int GS_AllocHWSurface(_THIS, SDL_Surface *surface);
53 static int GS_LockHWSurface(_THIS, SDL_Surface *surface);
54 static void GS_UnlockHWSurface(_THIS, SDL_Surface *surface);
55 static void GS_FreeHWSurface(_THIS, SDL_Surface *surface);
580 static int GS_AllocHWSurface(_THIS, SDL_Surface *surface)
584 static void GS_FreeHWSurface(_THIS, SDL_Surface *surface)
588 static int GS_LockHWSurface(_THIS, SDL_Surface *surface)
590 if ( surface == this->screen ) {
602 surface->pixels = mapped_mem + surface->offset
    [all...]
  /frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
RenderTarget.java 26 import android.view.Surface;
55 /** The source for the surface used in this target (if any) */
115 return new RenderTarget(mDisplay, mContext, surface(), fbo, false, false);
156 public RenderTarget forSurface(Surface surface) {
160 eglSurf = mSurfaceSources.get(surface);
162 eglSurf = mEgl.eglCreateWindowSurface(mDisplay, eglConfig, surface, null);
163 mSurfaceSources.put(surface, eglSurf);
169 result.setSurfaceSource(surface);
196 throw new RuntimeException("This device supports only a single display surface!");
359 private EGLSurface surface() { method in class:RenderTarget
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/drivers/softpipe/
sp_tile_cache.c 118 * memory in programs that don't clear the surface before rendering.
153 * Specify the surface to cache.
162 if (ps == tc->surface)
174 tc->surface = ps;
194 return tc->surface;
350 /* write the scratch tile to the surface */
358 if (util_format_is_pure_uint(tc->surface->format)) {
363 } else if (util_format_is_pure_sint(tc->surface->format)) {
399 if (util_format_is_pure_uint(tc->surface->format)) {
404 tc->surface->format
    [all...]
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_tile_cache.c 118 * memory in programs that don't clear the surface before rendering.
153 * Specify the surface to cache.
162 if (ps == tc->surface)
174 tc->surface = ps;
194 return tc->surface;
350 /* write the scratch tile to the surface */
358 if (util_format_is_pure_uint(tc->surface->format)) {
363 } else if (util_format_is_pure_sint(tc->surface->format)) {
399 if (util_format_is_pure_uint(tc->surface->format)) {
404 tc->surface->format
    [all...]
  /frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
TextureViewActivity.java 27 import android.view.Surface;
101 public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) {
110 mCamera.setPreviewTexture(surface);
129 case Surface.ROTATION_0:
132 case Surface.ROTATION_90:
135 case Surface.ROTATION_180:
138 case Surface.ROTATION_270:
147 public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
152 public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) {
159 public void onSurfaceTextureUpdated(SurfaceTexture surface) {
    [all...]
  /external/qemu/
console.c 1115 ds->surface = qemu_resize_displaysurface(ds, s->g_width, s->g_height);
1117 s->ds->surface->width = s->width;
1118 s->ds->surface->height = s->height;
1321 DisplaySurface *surface = (DisplaySurface*) qemu_mallocz(sizeof(DisplaySurface)); local
1362 DisplaySurface *surface = (DisplaySurface*) qemu_mallocz(sizeof(DisplaySurface)); local
1810 DisplaySurface* surface; local
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/aalib/
SDL_aavideo.c 50 /* Hardware surface functions */
51 static int AA_AllocHWSurface(_THIS, SDL_Surface *surface);
52 static int AA_LockHWSurface(_THIS, SDL_Surface *surface);
53 static int AA_FlipHWSurface(_THIS, SDL_Surface *surface);
54 static void AA_UnlockHWSurface(_THIS, SDL_Surface *surface);
55 static void AA_FreeHWSurface(_THIS, SDL_Surface *surface);
299 static int AA_AllocHWSurface(_THIS, SDL_Surface *surface)
303 static void AA_FreeHWSurface(_THIS, SDL_Surface *surface)
309 static int AA_LockHWSurface(_THIS, SDL_Surface *surface)
314 static void AA_UnlockHWSurface(_THIS, SDL_Surface *surface)
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/nds/
SDL_ndsvideo.c 47 /* Hardware surface functions */
48 static int NDS_AllocHWSurface(_THIS, SDL_Surface *surface);
49 static int NDS_LockHWSurface(_THIS, SDL_Surface *surface);
50 static int NDS_FlipHWSurface(_THIS, SDL_Surface *surface);
51 static void NDS_UnlockHWSurface(_THIS, SDL_Surface *surface);
52 static void NDS_FreeHWSurface(_THIS, SDL_Surface *surface);
340 static int NDS_AllocHWSurface(_THIS, SDL_Surface *surface)
354 //surface->pixels = backBuffer;
358 static void NDS_FreeHWSurface(_THIS, SDL_Surface *surface)
365 static int NDS_LockHWSurface(_THIS, SDL_Surface *surface)
    [all...]
  /device/generic/goldfish/opengl/system/egl/
egl.cpp 125 #define VALIDATE_SURFACE_RETURN(surface, ret) \
126 if (surface != EGL_NO_SURFACE) { \
127 egl_surface_t* s( static_cast<egl_surface_t*>(surface) ); \
193 //Surface attributes
205 uint32_t rcSurface; //handle to surface created via remote control
628 egl_surface_t* surface = egl_window_surface_t::create( local
630 if (!surface) {
634 return surface;
682 egl_surface_t* surface = egl_pbuffer_surface_t::create(dpy, config, local
684 if (!surface) {
    [all...]
  /external/qemu/distrib/sdl-1.2.15/src/video/dga/
SDL_dgavideo.c 55 /* Hardware surface functions */
58 static int DGA_AllocHWSurface(_THIS, SDL_Surface *surface);
61 static int DGA_LockHWSurface(_THIS, SDL_Surface *surface);
62 static void DGA_UnlockHWSurface(_THIS, SDL_Surface *surface);
63 static void DGA_FreeHWSurface(_THIS, SDL_Surface *surface);
64 static int DGA_FlipHWSurface(_THIS, SDL_Surface *surface);
431 /* Create the hardware surface lock mutex */
574 /* Expose the back buffer as surface memory */
670 static __inline__ void DGA_AddBusySurface(SDL_Surface *surface)
672 ((vidmem_bucket *)surface->hwdata)->dirty = 1
    [all...]
  /cts/tests/tests/media/src/android/media/cts/
MediaCodecTest.java 28 import android.view.Surface;
67 * <br> calling createInputSurface() with a non-Surface color format throws exception
72 Surface surface = null; local
82 surface = encoder.createInputSurface();
90 surface = encoder.createInputSurface();
99 surface = encoder.createInputSurface();
110 assertNull(surface);
166 * <br> dequeueInputBuffer() fails when encoder configured with an input Surface
171 Surface surface = null local
205 Surface surface = null; local
    [all...]
  /external/chromium_org/content/browser/android/in_process/
synchronous_compositor_output_surface.cc 32 scoped_refptr<gfx::GLSurface> surface) {
49 gpu::GLInProcessContext::CreateWithSurface(surface,
75 SoftwareDevice(SynchronousCompositorOutputSurface* surface)
76 : surface_(surface),
120 // Cannot call out to GetDelegate() here as the output surface is not
162 // Intentional no-op: surface size is controlled by the embedder.
200 scoped_refptr<gfx::GLSurface> surface,
205 DCHECK(surface);
208 CreateWebGraphicsContext3D(surface).Pass(), offscreen_context);
  /external/chromium_org/gpu/gles2_conform_support/egl/
display.cc 16 #include "gpu/gles2_conform_support/egl/surface.h"
93 bool Display::IsValidSurface(EGLSurface surface) {
94 return (surface != NULL) && (surface == surface_.get());
101 // We do not support more than one window surface.
191 surface_.reset(new Surface(win));
196 void Display::DestroySurface(EGLSurface surface) {
197 DCHECK(IsValidSurface(surface));
208 void Display::SwapBuffers(EGLSurface surface) {
209 DCHECK(IsValidSurface(surface));
    [all...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/xvmc/tests/
test_rendering.c 144 XvMCSurface surface; local
184 assert(XvMCCreateSurface(display, &context, &surface) == Success);
264 assert(XvMCRenderSurface(display, NULL, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) == XvMCBadContext);
265 /* Test NULL surface */
268 assert(XvMCRenderSurface(display, &context, 0, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) == BadValue);
270 assert(XvMCRenderSurface(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) == Success);
272 /* Test NULL surface */
276 /*assert(XvMCPutSurface(display, &surface, 0, 0, 0, width, height, 0, 0, width, height, XVMC_FRAME_PICTURE) == BadDrawable);*/
299 display, &surface, window,
319 assert(XvMCDestroySurface(display, &surface) == Success)
    [all...]
  /external/mesa3d/src/gallium/state_trackers/xvmc/tests/
test_rendering.c 144 XvMCSurface surface; local
184 assert(XvMCCreateSurface(display, &context, &surface) == Success);
264 assert(XvMCRenderSurface(display, NULL, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) == XvMCBadContext);
265 /* Test NULL surface */
268 assert(XvMCRenderSurface(display, &context, 0, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) == BadValue);
270 assert(XvMCRenderSurface(display, &context, XVMC_FRAME_PICTURE, &surface, NULL, NULL, 0, NUM_MACROBLOCKS, 0, &mb_array, &block_array) == Success);
272 /* Test NULL surface */
276 /*assert(XvMCPutSurface(display, &surface, 0, 0, 0, width, height, 0, 0, width, height, XVMC_FRAME_PICTURE) == BadDrawable);*/
299 display, &surface, window,
319 assert(XvMCDestroySurface(display, &surface) == Success)
    [all...]

Completed in 749 milliseconds

<<11121314151617181920>>