Home
last modified time | relevance | path

Searched refs:fDisplayParams (Results 1 – 10 of 10) sorted by relevance

/external/skia/tools/viewer/sk_app/
DGLWindowContext.cpp29 fDisplayParams = params; in GLWindowContext()
30 fDisplayParams.fMSAASampleCount = fDisplayParams.fMSAASampleCount ? in GLWindowContext()
31 GrNextPow2(fDisplayParams.fMSAASampleCount) : in GLWindowContext()
41 fDisplayParams.fGrContextOptions); in initializeContext()
42 if (!fContext && fDisplayParams.fMSAASampleCount) { in initializeContext()
43 fDisplayParams.fMSAASampleCount /= 2; in initializeContext()
51 fPixelConfig = fContext->caps()->srgbSupport() && fDisplayParams.fColorSpace in initializeContext()
88 fDisplayParams.fColorSpace, in getBackbufferSurface()
107 fDisplayParams = params; in setDisplayParams()
DWindowContext.h38 const DisplayParams& getDisplayParams() { return fDisplayParams; } in getDisplayParams()
61 DisplayParams fDisplayParams; variable
DVulkanWindowContext.h32 this->createSwapchain(w, h, fDisplayParams); in resize()
DVulkanWindowContext.cpp186 fDisplayParams = params; in createSwapchain()
283 fDisplayParams.fColorSpace, in createBuffers()
452 if (!this->createSwapchain(-1, -1, fDisplayParams)) { in getBackbufferSurface()
/external/skia/tools/viewer/sk_app/android/
DRasterWindowContext_android.cpp39 fDisplayParams = params; in RasterWindowContext_android()
48 switch(fDisplayParams.fColorType) { in setBuffersGeometry()
62 fDisplayParams = params; in setDisplayParams()
77 fDisplayParams.fColorType, in getBackbufferSurface()
79 fDisplayParams.fColorSpace); in getBackbufferSurface()
DGLWindowContext_android.cpp78 EGL_SAMPLE_BUFFERS, fDisplayParams.fMSAASampleCount ? 1 : 0, in onInitializeContext()
79 EGL_SAMPLES, fDisplayParams.fMSAASampleCount, in onInitializeContext()
109 if (srgbColorSpace == fDisplayParams.fColorSpace && majorVersion == 1 && minorVersion >= 2) { in onInitializeContext()
/external/skia/tools/viewer/sk_app/win/
DRasterWindowContext_win.cpp38 fDisplayParams = params; in RasterWindowContext_win()
45 fDisplayParams = params; in setDisplayParams()
67 SkImageInfo info = SkImageInfo::Make(w, h, fDisplayParams.fColorType, kPremul_SkAlphaType, in resize()
68 fDisplayParams.fColorSpace); in resize()
DGLWindowContext_win.cpp55 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */, in onInitializeContext()
68 fHGLRC = SkCreateWGLContext(dc, fDisplayParams.fMSAASampleCount, false /* deepColor */, in onInitializeContext()
/external/skia/tools/viewer/sk_app/unix/
DRasterWindowContext_unix.cpp38 fDisplayParams = params; in RasterWindowContext_xlib()
46 fDisplayParams = params; in setDisplayParams()
53 SkImageInfo info = SkImageInfo::Make(w, h, fDisplayParams.fColorType, kPremul_SkAlphaType, in resize()
54 fDisplayParams.fColorSpace); in resize()
/external/skia/tools/viewer/sk_app/mac/
DRasterWindowContext_mac.cpp91 SkImageInfo info = SkImageInfo::Make(fWidth, fHeight, fDisplayParams.fColorType, in onInitializeContext()
92 kPremul_SkAlphaType, fDisplayParams.fColorSpace); in onInitializeContext()