OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:GrContext
(Results
1 - 25
of
50
) sorted by null
1
2
/external/skia/src/gpu/
GrAddPathRenderers_none.cpp
13
void GrPathRenderer::AddPathRenderers(
GrContext
*,
GrAddPathRenderers_tesselated.cpp
13
void GrPathRenderer::AddPathRenderers(
GrContext
*,
GrPathRendererChain.h
17
class
GrContext
;
36
GrPathRendererChain(
GrContext
* context, UsageFlags flags);
58
GrContext
* fOwner;
GrResource.cpp
36
const
GrContext
* GrResource::getContext() const {
44
GrContext
* GrResource::getContext() {
GrAddPathRenderers_default.cpp
13
void GrPathRenderer::AddPathRenderers(
GrContext
* ctx,
GrAAHairLinePathRenderer.h
18
static GrPathRenderer* Create(
GrContext
* context);
34
GrAAHairLinePathRenderer(const
GrContext
* context,
GrTexture.cpp
12
#include "
GrContext
.h"
20
GrContext
* context = this->getContext();
34
GrContext
* context = this->getContext();
SkGpuCanvas.cpp
11
#include "
GrContext
.h"
18
SkGpuCanvas::SkGpuCanvas(
GrContext
* context, GrRenderTarget* renderTarget) {
SkGr.cpp
59
GrContext
::TextureCacheEntry sk_gr_create_bitmap_texture(
GrContext
* ctx,
60
GrContext
::TextureKey key,
64
GrContext
::TextureCacheEntry entry;
101
GrContext
::kExact_ScratchTexMatch);
122
GrContext
::kExact_ScratchTexMatch);
GrRenderTarget.cpp
12
#include "
GrContext
.h"
20
GrContext
* context = this->getContext();
34
GrContext
* context = this->getContext();
46
GrContext
* context = this->getContext();
GrContext.cpp
10
#include "
GrContext
.h"
46
GrContext
*
GrContext
::Create(GrEngine engine,
48
GrContext
* ctx = NULL;
51
ctx = new
GrContext
(fGpu);
57
GrContext
::~
GrContext
() {
71
void
GrContext
::contextLost() {
76
void
GrContext
::contextDestroyed() {
102
void
GrContext
::resetContext()
[
all
...]
GrPathRenderer.h
37
* This is called to install custom path renderers in every
GrContext
at
47
static void AddPathRenderers(
GrContext
* context,
/external/skia/include/gpu/
SkGpuCanvas.h
16
class
GrContext
;
20
* Subclass of canvas that creates devices compatible with the
GrContext
pass
26
* The
GrContext
object is reference counted. When passed to our
33
explicit SkGpuCanvas(
GrContext
*, GrRenderTarget*);
50
GrContext
* fContext;
GrResource.h
16
class
GrContext
;
35
* them. Used when the API context has been torn down before the
GrContext
.
41
* will be in this state after their creating
GrContext
is destroyed or has
44
* ~
GrContext
, freeResources with the force flag, or contextLost.
63
*
GrContext
automatically releases all its resources.
65
const
GrContext
* getContext() const;
66
GrContext
* getContext();
GrTextContext.h
19
class
GrContext
;
26
GrTextContext(
GrContext
*,
39
GrContext
* fContext;
GrContext.h
34
class GR_API
GrContext
: public GrRefCnt {
37
* Creates a
GrContext
from within a 3D context.
39
static
GrContext
* Create(GrEngine engine,
42
virtual ~
GrContext
();
45
* The
GrContext
normally assumes that no outsider is setting state
56
*
GrContext
is no longer going to be used for two reasons:
57
* 1) ~
GrContext
will not try to free the objects in the 3D API.
58
* 2) If you've created GrResources that outlive the
GrContext
they will
61
* Content drawn since the last
GrContext
::flush() may be lost.
67
* Use this method when
GrContext
destruction is pending, bu
[
all
...]
SkGpuDevice.h
18
#include "
GrContext
.h"
37
SkGpuDevice(
GrContext
*, SkBitmap::Config,
44
SkGpuDevice(
GrContext
*, GrRenderTarget*);
51
SkGpuDevice(
GrContext
*, GrTexture*);
55
GrContext
* context() const { return fContext; }
118
typedef
GrContext
::TextureCacheEntry TexCache;
155
GrContext
* fContext;
167
void initFromRenderTarget(
GrContext
*, GrRenderTarget*);
SkGr.h
18
#include "
GrContext
.h"
199
static const
GrContext
::TextureKey gUNCACHED_KEY = ~0;
200
GrContext
::TextureCacheEntry sk_gr_create_bitmap_texture(
GrContext
* ctx,
201
GrContext
::TextureKey key,
/external/webkit/Source/WebCore/platform/graphics/android/rendering/
GaneshContext.h
32
#include "
GrContext
.h"
50
GrContext
* getGrContext();
51
GrContext
* m_grContext;
GaneshContext.cpp
61
GrContext
* GaneshContext::getGrContext()
64
m_grContext =
GrContext
::Create(kOpenGL_Shaders_GrEngine, 0);
160
GrContext
*
grContext
= getGrContext();
161
GrRenderTarget* renderTarget =
grContext
->createPlatformRenderTarget(renderTargetDesc);
163
m_tileDeviceSurface = new SkGpuDevice(
grContext
, renderTarget);
/external/skia/tests/
GLProgramsTest.cpp
10
#include "
GrContext
.h"
13
static void GLProgramsTest(skiatest::Reporter* reporter,
GrContext
* context) {
Test.cpp
10
#include "
GrContext
.h"
80
GrContext
* GpuTest::GetContext() {
83
static SkAutoTUnref<
GrContext
> gGrContext;
89
gGrContext.reset(
GrContext
::Create(kOpenGL_Shaders_GrEngine, ctx));
Test.h
15
class
GrContext
;
106
GrContext
* fContext;
108
static
GrContext
* GetContext();
/external/webkit/Source/WebCore/platform/graphics/gpu/
DrawingBuffer.h
46
class
GrContext
;
107
void setGrContext(
GrContext
* ctx);
149
GrContext
* m_grContext;
/external/skia/samplecode/
SampleBitmapRect.cpp
29
static void make_bitmap(SkBitmap* bitmap,
GrContext
* ctx) {
69
GrContext
* ctx = SampleCode::GetGr();
Completed in 1397 milliseconds
1
2